# 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-fix-templating-warnings3hs17rnv/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/tests_states_nm.yml:6 Wednesday 24 July 2024 22:28:19 +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-fix-templating-warnings3hs17rnv/tests/tests_states_nm.yml:9 Wednesday 24 July 2024 22:28:20 +0000 (0:00:00.707) 0:00:00.720 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/tasks/el_repo_setup.yml:3 Wednesday 24 July 2024 22:28:20 +0000 (0:00:00.051) 0:00:00.771 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/tasks/el_repo_setup.yml:19 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.355) 0:00:01.127 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/tasks/el_repo_setup.yml:24 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.288) 0:00:01.415 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/tasks/el_repo_setup.yml:28 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.119) 0:00:01.534 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/tasks/el_repo_setup.yml:53 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.056) 0:00:01.591 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/tasks/enable_epel.yml:8 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.116) 0:00:01.708 ******** 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-fix-templating-warnings3hs17rnv/tests/tasks/enable_epel.yml:24 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.336) 0:00:02.044 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/tasks/enable_epel.yml:30 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.030) 0:00:02.075 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/tasks/enable_epel.yml:35 Wednesday 24 July 2024 22:28:22 +0000 (0:00:00.045) 0:00:02.121 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.221186", "end": "2024-07-24 22:28:22.436224", "rc": 0, "start": "2024-07-24 22:28:22.215038" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/tasks/enable_epel.yml:40 Wednesday 24 July 2024 22:28:22 +0000 (0:00:00.463) 0:00:02.584 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/tests_states_nm.yml:11 Wednesday 24 July 2024 22:28:22 +0000 (0:00:00.030) 0:00:02.614 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tests_states.yml:3 Wednesday 24 July 2024 22:28:22 +0000 (0:00:00.062) 0:00:02.676 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tests_states.yml:11 Wednesday 24 July 2024 22:28:23 +0000 (0:00:00.493) 0:00:03.169 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tests_states.yml:22 Wednesday 24 July 2024 22:28:23 +0000 (0:00:00.034) 0:00:03.204 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:28:23 +0000 (0:00:00.018) 0:00:03.222 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:28:23 +0000 (0:00:00.036) 0:00:03.259 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:28:23 +0000 (0:00:00.042) 0:00:03.301 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:28:23 +0000 (0:00:00.057) 0:00:03.358 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:28:23 +0000 (0:00:00.026) 0:00:03.385 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002556", "end": "2024-07-24 22:28:23.430480", "rc": 0, "start": "2024-07-24 22:28:23.427924" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:28:23 +0000 (0:00:00.201) 0:00:03.586 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:28:23 +0000 (0:00:00.019) 0:00:03.606 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:28:23 +0000 (0:00:00.071) 0:00:03.677 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 July 2024 22:28:23 +0000 (0:00:00.037) 0:00:03.715 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006457", "end": "2024-07-24 22:28:23.764349", "rc": 1, "start": "2024-07-24 22:28:23.757892" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:28:23 +0000 (0:00:00.199) 0:00:03.914 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:28:23 +0000 (0:00:00.019) 0:00:03.933 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.190) 0:00:04.123 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.013) 0:00:04.137 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.019) 0:00:04.157 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.096) 0:00:04.253 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.029) 0:00:04.282 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.025) 0:00:04.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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.036) 0:00:04.343 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.021) 0:00:04.364 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:28:25 +0000 (0:00:01.385) 0:00:05.750 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:26 +0000 (0:00:01.355) 0:00:07.106 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.032) 0:00:07.139 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.029) 0:00:07.169 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.037) 0:00:07.206 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.058) 0:00:07.265 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.035) 0:00:07.300 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.046) 0:00:07.346 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.040) 0:00:07.387 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.044) 0:00:07.431 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.022) 0:00:07.453 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.022) 0:00:07.476 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.029) 0:00:07.505 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.543) 0:00:08.049 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.027) 0:00:08.077 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.025) 0:00:08.102 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.057) 0:00:08.160 ******** 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, c9e52f81-e990-4a17-b647-90d0440ee5d6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.597) 0:00:08.757 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.043) 0:00:08.800 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9e52f81-e990-4a17-b647-90d0440ee5d6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.083) 0:00:08.884 ******** 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, c9e52f81-e990-4a17-b647-90d0440ee5d6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9e52f81-e990-4a17-b647-90d0440ee5d6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.044) 0:00:08.929 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.029) 0:00:08.958 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:28:29 +0000 (0:00:00.373) 0:00:09.331 ******** 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, c9e52f81-e990-4a17-b647-90d0440ee5d6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9e52f81-e990-4a17-b647-90d0440ee5d6" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:28:29 +0000 (0:00:00.026) 0:00:09.357 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:28:29 +0000 (0:00:00.053) 0:00:09.411 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:28:29 +0000 (0:00:00.049) 0:00:09.460 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:28:29 +0000 (0:00:00.042) 0:00:09.503 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860108.6038773, "block_size": 4096, "blocks": 8, "ctime": 1721860108.5578773, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721860108.5578773, "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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:28:29 +0000 (0:00:00.226) 0:00:09.730 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:28:29 +0000 (0:00:00.024) 0:00:09.754 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017009", "end": "2024-07-24 22:28:29.824166", "rc": 0, "start": "2024-07-24 22:28:29.807157" } 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:28:29 +0000 (0:00:00.217) 0:00:09.972 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:28:29 +0000 (0:00:00.024) 0:00:09.996 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:28:29 +0000 (0:00:00.024) 0:00:10.021 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:28:30 +0000 (0:00:00.098) 0:00:10.119 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:28:30 +0000 (0:00:00.083) 0:00:10.203 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:28:30 +0000 (0:00:00.063) 0:00:10.266 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:28:30 +0000 (0:00:00.101) 0:00:10.368 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:28:30 +0000 (0:00:00.054) 0:00:10.422 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:28:30 +0000 (0:00:00.054) 0:00:10.476 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:28:30 +0000 (0:00:00.115) 0:00:10.592 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:28:30 +0000 (0:00:00.044) 0:00:10.636 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860108.560008, "block_size": 4096, "blocks": 0, "ctime": 1721860108.560008, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36899, "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": 1721860108.560008, "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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:28:30 +0000 (0:00:00.296) 0:00:10.933 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:28:30 +0000 (0:00:00.048) 0:00:10.981 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:28:30 +0000 (0:00:00.059) 0:00:11.040 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:28:31 +0000 (0:00:00.078) 0:00:11.119 ******** 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.053974", "end": "2024-07-24 22:28:31.263609", "rc": 1, "start": "2024-07-24 22:28:31.209635" } STDOUT: Connection 'statebr' (c9e52f81-e990-4a17-b647-90d0440ee5d6) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tests_states.yml:45 Wednesday 24 July 2024 22:28:31 +0000 (0:00:00.455) 0:00:11.574 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:28:31 +0000 (0:00:00.072) 0:00:11.646 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:28:31 +0000 (0:00:00.131) 0:00:11.778 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:28:31 +0000 (0:00:00.260) 0:00:12.039 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.085) 0:00:12.124 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.051) 0:00:12.175 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002402", "end": "2024-07-24 22:28:32.287931", "rc": 0, "start": "2024-07-24 22:28:32.285529" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.292) 0:00:12.468 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.037) 0:00:12.506 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.061) 0:00:12.568 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.101) 0:00:12.669 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004681", "end": "2024-07-24 22:28:32.727297", "rc": 1, "start": "2024-07-24 22:28:32.722616" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.227) 0:00:12.897 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.096) 0:00:12.993 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.232) 0:00:13.226 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.034) 0:00:13.260 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.045) 0:00:13.305 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.057) 0:00:13.363 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.047) 0:00:13.410 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.034) 0:00:13.445 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.030) 0:00:13.476 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.025) 0:00:13.501 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:28:34 +0000 (0:00:01.394) 0:00:14.896 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:36 +0000 (0:00:01.285) 0:00:16.182 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:36 +0000 (0:00:00.034) 0:00:16.216 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:28:36 +0000 (0:00:00.025) 0:00:16.242 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:28:36 +0000 (0:00:00.024) 0:00:16.267 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:28:36 +0000 (0:00:00.031) 0:00:16.299 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:28:36 +0000 (0:00:00.051) 0:00:16.350 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:28:36 +0000 (0:00:00.057) 0:00:16.407 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:28:36 +0000 (0:00:00.050) 0:00:16.457 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:28:36 +0000 (0:00:00.062) 0:00:16.520 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:28:36 +0000 (0:00:00.047) 0:00:16.567 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:28:36 +0000 (0:00:00.030) 0:00:16.598 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:28:36 +0000 (0:00:00.089) 0:00:16.687 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.466) 0:00:17.153 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.028) 0:00:17.182 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.052) 0:00:17.234 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.067) 0:00:17.302 ******** 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, e4d389cc-dc5e-48e2-b6d3-d6dabb9016ef TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.374) 0:00:17.677 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.064) 0:00:17.741 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e4d389cc-dc5e-48e2-b6d3-d6dabb9016ef" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.060) 0:00:17.802 ******** 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, e4d389cc-dc5e-48e2-b6d3-d6dabb9016ef\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e4d389cc-dc5e-48e2-b6d3-d6dabb9016ef" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.025) 0:00:17.827 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.028) 0:00:17.856 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.205) 0:00:18.062 ******** 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, e4d389cc-dc5e-48e2-b6d3-d6dabb9016ef\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e4d389cc-dc5e-48e2-b6d3-d6dabb9016ef" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.024) 0:00:18.087 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.057) 0:00:18.144 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.039) 0:00:18.183 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.231) 0:00:18.415 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.031) 0:00:18.446 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.058) 0:00:18.505 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.025) 0:00:18.531 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860117.472907, "block_size": 4096, "blocks": 8, "ctime": 1721860117.472907, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721860117.472907, "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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.217) 0:00:18.748 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.026) 0:00:18.774 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016538", "end": "2024-07-24 22:28:38.863404", "rc": 0, "start": "2024-07-24 22:28:38.846866" } 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.237) 0:00:19.012 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.048) 0:00:19.061 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.072) 0:00:19.133 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.070) 0:00:19.203 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.037) 0:00:19.240 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.030) 0:00:19.271 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.030) 0:00:19.301 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.054) 0:00:19.356 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.168) 0:00:19.525 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.091) 0:00:19.616 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.038) 0:00:19.655 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.058) 0:00:19.713 ******** 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.032876", "end": "2024-07-24 22:28:39.782212", "rc": 1, "start": "2024-07-24 22:28:39.749336" } STDOUT: Connection 'statebr' (e4d389cc-dc5e-48e2-b6d3-d6dabb9016ef) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tests_states.yml:65 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.220) 0:00:19.934 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.039) 0:00:19.974 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.024) 0:00:19.998 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.048) 0:00:20.047 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.039) 0:00:20.087 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:28:40 +0000 (0:00:00.033) 0:00:20.120 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002237", "end": "2024-07-24 22:28:40.153258", "rc": 0, "start": "2024-07-24 22:28:40.151021" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:28:40 +0000 (0:00:00.185) 0:00:20.306 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:28:40 +0000 (0:00:00.024) 0:00:20.331 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:28:40 +0000 (0:00:00.059) 0:00:20.390 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:28:40 +0000 (0:00:00.182) 0:00:20.572 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:40 +0000 (0:00:00.097) 0:00:20.670 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:40 +0000 (0:00:00.122) 0:00:20.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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:28:40 +0000 (0:00:00.171) 0:00:20.965 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:28:40 +0000 (0:00:00.083) 0:00:21.048 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:28:40 +0000 (0:00:00.035) 0:00:21.084 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:28:42 +0000 (0:00:01.396) 0:00:22.481 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:43 +0000 (0:00:01.361) 0:00:23.843 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:43 +0000 (0:00:00.201) 0:00:24.044 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:28:43 +0000 (0:00:00.066) 0:00:24.110 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.044) 0:00:24.155 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.034) 0:00:24.190 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.065) 0:00:24.255 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.031) 0:00:24.287 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.048) 0:00:24.335 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.065) 0:00:24.400 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.029) 0:00:24.429 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.032) 0:00:24.462 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.068) 0:00:24.531 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.372) 0:00:24.903 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.052) 0:00:24.956 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.045) 0:00:25.002 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.046) 0:00:25.048 ******** 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, e39755cf-e9cd-47c3-bb1e-a40147a4a9e4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.410) 0:00:25.459 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.055) 0:00:25.514 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e39755cf-e9cd-47c3-bb1e-a40147a4a9e4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.026) 0:00:25.541 ******** 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, e39755cf-e9cd-47c3-bb1e-a40147a4a9e4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e39755cf-e9cd-47c3-bb1e-a40147a4a9e4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.023) 0:00:25.564 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.022) 0:00:25.587 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.187) 0:00:25.774 ******** 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, e39755cf-e9cd-47c3-bb1e-a40147a4a9e4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e39755cf-e9cd-47c3-bb1e-a40147a4a9e4" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.034) 0:00:25.808 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.064) 0:00:25.873 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.065) 0:00:25.939 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.073) 0:00:26.012 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.031) 0:00:26.044 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.030) 0:00:26.074 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.023) 0:00:26.098 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:28:47 +0000 (0:00:01.359) 0:00:27.457 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:48 +0000 (0:00:01.256) 0:00:28.714 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.066) 0:00:28.780 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.040) 0:00:28.820 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.031) 0:00:28.852 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.043) 0:00:28.895 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.086) 0:00:28.982 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.039) 0:00:29.021 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.064) 0:00:29.086 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.048) 0:00:29.135 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.060) 0:00:29.195 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.064) 0:00:29.259 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.039) 0:00:29.299 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.565) 0:00:29.864 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.117) 0:00:29.982 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.057) 0:00:30.039 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.059) 0:00:30.098 ******** 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, e39755cf-e9cd-47c3-bb1e-a40147a4a9e4 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.333) 0:00:30.432 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.039) 0:00:30.471 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e39755cf-e9cd-47c3-bb1e-a40147a4a9e4 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.034) 0:00:30.505 ******** 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, e39755cf-e9cd-47c3-bb1e-a40147a4a9e4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e39755cf-e9cd-47c3-bb1e-a40147a4a9e4 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.026) 0:00:30.531 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.053) 0:00:30.584 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.196) 0:00:30.781 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.152) 0:00:30.933 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.052) 0:00:30.986 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860125.2618747, "block_size": 4096, "blocks": 0, "ctime": 1721860125.2618747, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37030, "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": 1721860125.2618747, "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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.220) 0:00:31.207 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.034) 0:00:31.242 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.064) 0:00:31.306 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.049) 0:00:31.356 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860125.3049333, "block_size": 4096, "blocks": 8, "ctime": 1721860125.259933, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721860125.259933, "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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.187) 0:00:31.544 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.071) 0:00:31.615 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017087", "end": "2024-07-24 22:28:51.727135", "rc": 0, "start": "2024-07-24 22:28:51.710048" } 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.276) 0:00:31.892 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.035) 0:00:31.927 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.043) 0:00:31.971 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.059) 0:00:32.031 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.045) 0:00:32.077 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.128) 0:00:32.206 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.067) 0:00:32.273 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.055) 0:00:32.329 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.059) 0:00:32.388 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.048) 0:00:32.437 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.097) 0:00:32.534 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.074) 0:00:32.609 ******** 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.055479", "end": "2024-07-24 22:28:52.729229", "rc": 1, "start": "2024-07-24 22:28:52.673750" } STDOUT: Connection 'statebr' (e39755cf-e9cd-47c3-bb1e-a40147a4a9e4) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tests_states.yml:83 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.304) 0:00:32.913 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.156) 0:00:33.070 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.048) 0:00:33.119 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.079) 0:00:33.198 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.053) 0:00:33.251 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.043) 0:00:33.295 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002361", "end": "2024-07-24 22:28:53.346752", "rc": 0, "start": "2024-07-24 22:28:53.344391" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.198) 0:00:33.494 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.025) 0:00:33.520 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.026) 0:00:33.546 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.073) 0:00:33.619 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.048) 0:00:33.668 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.048) 0:00:33.716 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.029) 0:00:33.745 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.023) 0:00:33.769 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.023) 0:00:33.793 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:28:55 +0000 (0:00:01.410) 0:00:35.204 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:56 +0000 (0:00:01.269) 0:00:36.474 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.051) 0:00:36.525 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.064) 0:00:36.590 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.066) 0:00:36.656 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.033) 0:00:36.690 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.056) 0:00:36.747 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.047) 0:00:36.794 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.072) 0:00:36.867 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.143) 0:00:37.010 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.041) 0:00:37.052 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.059) 0:00:37.111 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.304) 0:00:37.416 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.347) 0:00:37.764 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.032) 0:00:37.796 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.023) 0:00:37.820 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.028) 0:00:37.849 ******** 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, 2c8b437f-3d3e-40ab-931e-6086feb25d31 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.391) 0:00:38.240 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.077) 0:00:38.317 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2c8b437f-3d3e-40ab-931e-6086feb25d31" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.051) 0:00:38.369 ******** 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, 2c8b437f-3d3e-40ab-931e-6086feb25d31\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2c8b437f-3d3e-40ab-931e-6086feb25d31" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.041) 0:00:38.410 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.025) 0:00:38.435 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.221) 0:00:38.657 ******** 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, 2c8b437f-3d3e-40ab-931e-6086feb25d31\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2c8b437f-3d3e-40ab-931e-6086feb25d31" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.050) 0:00:38.708 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.047) 0:00:38.755 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.094) 0:00:38.850 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.115) 0:00:38.966 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.028) 0:00:38.994 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.049) 0:00:39.043 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:29:00 +0000 (0:00:01.346) 0:00:40.390 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:29:01 +0000 (0:00:01.278) 0:00:41.668 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.030) 0:00:41.699 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.067) 0:00:41.766 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.039) 0:00:41.806 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.066) 0:00:41.872 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.102) 0:00:41.975 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.030) 0:00:42.006 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.063) 0:00:42.069 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.084) 0:00:42.154 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.037) 0:00:42.192 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.069) 0:00:42.262 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.055) 0:00:42.318 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.445) 0:00:42.763 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.050) 0:00:42.813 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.041) 0:00:42.855 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.027) 0:00:42.883 ******** 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, 2c8b437f-3d3e-40ab-931e-6086feb25d31 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.444) 0:00:43.328 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.053) 0:00:43.381 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2c8b437f-3d3e-40ab-931e-6086feb25d31 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.044) 0:00:43.425 ******** 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, 2c8b437f-3d3e-40ab-931e-6086feb25d31 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2c8b437f-3d3e-40ab-931e-6086feb25d31 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.041) 0:00:43.467 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.102) 0:00:43.570 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.296) 0:00:43.867 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.073) 0:00:43.941 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.075) 0:00:44.016 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.052) 0:00:44.068 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.033) 0:00:44.102 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:29:04 +0000 (0:00:00.023) 0:00:44.125 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:29:04 +0000 (0:00:00.022) 0:00:44.148 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:29:05 +0000 (0:00:01.383) 0:00:45.531 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:29:06 +0000 (0:00:01.241) 0:00:46.773 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.046) 0:00:46.819 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.022) 0:00:46.842 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.029) 0:00:46.871 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.052) 0:00:46.923 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.064) 0:00:46.988 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.033) 0:00:47.021 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.050) 0:00:47.071 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.070) 0:00:47.142 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.033) 0:00:47.175 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.070) 0:00:47.246 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.029) 0:00:47.275 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.347) 0:00:47.623 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.025) 0:00:47.649 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.021) 0:00:47.670 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.020) 0:00:47.691 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.339) 0:00:48.030 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.089) 0:00:48.120 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.050) 0:00:48.171 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.037) 0:00:48.208 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.025) 0:00:48.233 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.205) 0:00:48.439 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.127) 0:00:48.566 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.105) 0:00:48.672 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860138.023599, "block_size": 4096, "blocks": 0, "ctime": 1721860138.023599, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37161, "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": 1721860138.023599, "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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.235) 0:00:48.907 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.072) 0:00:48.979 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.053) 0:00:49.033 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.033) 0:00:49.066 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:29:09 +0000 (0:00:00.189) 0:00:49.256 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:29:09 +0000 (0:00:00.028) 0:00:49.284 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020063", "end": "2024-07-24 22:29:09.334199", "rc": 1, "start": "2024-07-24 22:29:09.314136" } 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:29:09 +0000 (0:00:00.204) 0:00:49.488 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:29:09 +0000 (0:00:00.027) 0:00:49.516 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:29:09 +0000 (0:00:00.027) 0:00:49.543 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:29:09 +0000 (0:00:00.023) 0:00:49.567 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:29:09 +0000 (0:00:00.024) 0:00:49.591 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 22:29:09 +0000 (0:00:00.025) 0:00:49.616 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:29:09 +0000 (0:00:00.047) 0:00:49.664 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:29:09 +0000 (0:00:00.122) 0:00:49.786 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:29:09 +0000 (0:00:00.040) 0:00:49.826 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:29:09 +0000 (0:00:00.063) 0:00:49.890 ******** 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.063335", "end": "2024-07-24 22:29:09.990148", "rc": 1, "start": "2024-07-24 22:29:09.926813" } STDOUT: Connection 'statebr' (2c8b437f-3d3e-40ab-931e-6086feb25d31) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tests_states.yml:103 Wednesday 24 July 2024 22:29:10 +0000 (0:00:00.258) 0:00:50.148 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:29:10 +0000 (0:00:00.053) 0:00:50.202 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:29:10 +0000 (0:00:00.050) 0:00:50.252 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:29:10 +0000 (0:00:00.078) 0:00:50.331 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:29:10 +0000 (0:00:00.051) 0:00:50.382 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:29:10 +0000 (0:00:00.045) 0:00:50.427 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002309", "end": "2024-07-24 22:29:10.487168", "rc": 0, "start": "2024-07-24 22:29:10.484859" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:29:10 +0000 (0:00:00.227) 0:00:50.655 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:29:10 +0000 (0:00:00.031) 0:00:50.687 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:29:10 +0000 (0:00:00.049) 0:00:50.736 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:29:10 +0000 (0:00:00.118) 0:00:50.855 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:29:10 +0000 (0:00:00.127) 0:00:50.983 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:29:10 +0000 (0:00:00.103) 0:00:51.086 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:29:11 +0000 (0:00:00.085) 0:00:51.171 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:29:11 +0000 (0:00:00.036) 0:00:51.208 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:29:11 +0000 (0:00:00.056) 0:00:51.265 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:29:12 +0000 (0:00:01.337) 0:00:52.602 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:29:13 +0000 (0:00:01.370) 0:00:53.973 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:29:13 +0000 (0:00:00.091) 0:00:54.064 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:29:13 +0000 (0:00:00.045) 0:00:54.110 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.033) 0:00:54.143 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.056) 0:00:54.200 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.053) 0:00:54.254 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.038) 0:00:54.293 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.049) 0:00:54.342 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.115) 0:00:54.458 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.027) 0:00:54.486 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.023) 0:00:54.509 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.025) 0:00:54.535 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.339) 0:00:54.875 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.026) 0:00:54.902 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.055) 0:00:54.958 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.023) 0:00:54.982 ******** 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, a1c1058a-2b14-4378-9440-61ce6e460332 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.377) 0:00:55.360 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.022) 0:00:55.382 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a1c1058a-2b14-4378-9440-61ce6e460332" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.022) 0:00:55.405 ******** 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, a1c1058a-2b14-4378-9440-61ce6e460332\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a1c1058a-2b14-4378-9440-61ce6e460332" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.024) 0:00:55.430 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.024) 0:00:55.454 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.206) 0:00:55.661 ******** 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, a1c1058a-2b14-4378-9440-61ce6e460332\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a1c1058a-2b14-4378-9440-61ce6e460332" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.033) 0:00:55.694 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.038) 0:00:55.733 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.041) 0:00:55.774 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.044) 0:00:55.819 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.039) 0:00:55.859 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.106) 0:00:55.966 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:29:17 +0000 (0:00:01.338) 0:00:57.305 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:29:18 +0000 (0:00:01.263) 0:00:58.568 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:29:18 +0000 (0:00:00.033) 0:00:58.601 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:29:18 +0000 (0:00:00.023) 0:00:58.625 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:29:18 +0000 (0:00:00.023) 0:00:58.649 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:29:18 +0000 (0:00:00.023) 0:00:58.672 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:29:18 +0000 (0:00:00.033) 0:00:58.706 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:29:18 +0000 (0:00:00.060) 0:00:58.766 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:29:18 +0000 (0:00:00.039) 0:00:58.805 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:29:18 +0000 (0:00:00.047) 0:00:58.853 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:29:18 +0000 (0:00:00.053) 0:00:58.907 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:29:18 +0000 (0:00:00.029) 0:00:58.936 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:29:18 +0000 (0:00:00.039) 0:00:58.976 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:29:19 +0000 (0:00:00.363) 0:00:59.339 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:29:19 +0000 (0:00:00.027) 0:00:59.366 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:29:19 +0000 (0:00:00.057) 0:00:59.424 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:29:19 +0000 (0:00:00.030) 0:00:59.454 ******** 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, a1c1058a-2b14-4378-9440-61ce6e460332 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:29:19 +0000 (0:00:00.312) 0:00:59.766 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:29:19 +0000 (0:00:00.046) 0:00:59.813 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a1c1058a-2b14-4378-9440-61ce6e460332 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:29:19 +0000 (0:00:00.041) 0:00:59.855 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a1c1058a-2b14-4378-9440-61ce6e460332 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a1c1058a-2b14-4378-9440-61ce6e460332 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:29:19 +0000 (0:00:00.025) 0:00:59.880 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:29:19 +0000 (0:00:00.022) 0:00:59.903 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 July 2024 22:29:19 +0000 (0:00:00.214) 0:01:00.118 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:29:20 +0000 (0:00:00.038) 0:01:00.156 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:29:20 +0000 (0:00:00.053) 0:01:00.209 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:29:20 +0000 (0:00:00.027) 0:01:00.236 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:29:20 +0000 (0:00:00.022) 0:01:00.258 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:29:20 +0000 (0:00:00.032) 0:01:00.291 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:29:21 +0000 (0:00:01.323) 0:01:01.615 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:29:22 +0000 (0:00:01.233) 0:01:02.849 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:29:22 +0000 (0:00:00.024) 0:01:02.873 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:29:22 +0000 (0:00:00.023) 0:01:02.896 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:29:22 +0000 (0:00:00.023) 0:01:02.920 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:29:22 +0000 (0:00:00.026) 0:01:02.946 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:29:22 +0000 (0:00:00.028) 0:01:02.975 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:29:22 +0000 (0:00:00.024) 0:01:02.999 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:29:22 +0000 (0:00:00.049) 0:01:03.048 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:29:22 +0000 (0:00:00.057) 0:01:03.106 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:29:23 +0000 (0:00:00.023) 0:01:03.129 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:29:23 +0000 (0:00:00.021) 0:01:03.151 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:29:23 +0000 (0:00:00.039) 0:01:03.190 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:29:23 +0000 (0:00:00.381) 0:01:03.572 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:29:23 +0000 (0:00:00.029) 0:01:03.601 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:29:23 +0000 (0:00:00.043) 0:01:03.645 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:29:23 +0000 (0:00:00.048) 0:01:03.694 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:29:23 +0000 (0:00:00.337) 0:01:04.031 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:29:23 +0000 (0:00:00.023) 0:01:04.055 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:29:23 +0000 (0:00:00.034) 0:01:04.090 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:29:23 +0000 (0:00:00.023) 0:01:04.113 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:29:24 +0000 (0:00:00.022) 0:01:04.136 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:29:24 +0000 (0:00:00.205) 0:01:04.342 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 22:29:24 +0000 (0:00:00.105) 0:01:04.447 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:29:24 +0000 (0:00:00.075) 0:01:04.522 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:29:24 +0000 (0:00:00.108) 0:01:04.631 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:29:24 +0000 (0:00:00.034) 0:01:04.665 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:29:24 +0000 (0:00:00.034) 0:01:04.699 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:29:24 +0000 (0:00:00.027) 0:01:04.727 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:29:25 +0000 (0:00:01.352) 0:01:06.080 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:29:27 +0000 (0:00:01.272) 0:01:07.352 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:29:27 +0000 (0:00:00.024) 0:01:07.377 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:29:27 +0000 (0:00:00.066) 0:01:07.443 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:29:27 +0000 (0:00:00.027) 0:01:07.471 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:29:27 +0000 (0:00:00.065) 0:01:07.537 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:29:27 +0000 (0:00:00.061) 0:01:07.598 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:29:27 +0000 (0:00:00.034) 0:01:07.633 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:29:27 +0000 (0:00:00.034) 0:01:07.668 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:29:27 +0000 (0:00:00.063) 0:01:07.731 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:29:27 +0000 (0:00:00.024) 0:01:07.756 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:29:27 +0000 (0:00:00.026) 0:01:07.782 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:29:27 +0000 (0:00:00.030) 0:01:07.812 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:29:28 +0000 (0:00:00.320) 0:01:08.132 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:29:28 +0000 (0:00:00.026) 0:01:08.158 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:29:28 +0000 (0:00:00.020) 0:01:08.179 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:29:28 +0000 (0:00:00.021) 0:01:08.200 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:29:28 +0000 (0:00:00.463) 0:01:08.663 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:29:28 +0000 (0:00:00.087) 0:01:08.751 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:29:28 +0000 (0:00:00.037) 0:01:08.789 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:29:28 +0000 (0:00:00.042) 0:01:08.831 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:29:28 +0000 (0:00:00.024) 0:01:08.855 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:29:28 +0000 (0:00:00.182) 0:01:09.038 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.099) 0:01:09.137 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.059) 0:01:09.196 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.026) 0:01:09.222 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.234) 0:01:09.457 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.035) 0:01:09.492 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.015908", "end": "2024-07-24 22:29:29.591049", "rc": 1, "start": "2024-07-24 22:29:29.575141" } 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.257) 0:01:09.750 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.027) 0:01:09.778 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.025) 0:01:09.803 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.067) 0:01:09.870 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.028) 0:01:09.899 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.029) 0:01:09.929 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.053) 0:01:09.982 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.075) 0:01:10.057 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:29:29 +0000 (0:00:00.059) 0:01:10.116 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:29:30 +0000 (0:00:00.217) 0:01:10.334 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:29:30 +0000 (0:00:00.047) 0:01:10.381 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:29:30 +0000 (0:00:00.068) 0:01:10.449 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:29:30 +0000 (0:00:00.078) 0:01:10.528 ******** 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.034467", "end": "2024-07-24 22:29:30.636059", "rc": 1, "start": "2024-07-24 22:29:30.601592" } 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-fix-templating-warnings3hs17rnv/tests/playbooks/tests_states.yml:126 Wednesday 24 July 2024 22:29:30 +0000 (0:00:00.273) 0:01:10.801 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:29:30 +0000 (0:00:00.052) 0:01:10.854 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:29:30 +0000 (0:00:00.097) 0:01:10.952 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:29:30 +0000 (0:00:00.110) 0:01:11.063 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:29:30 +0000 (0:00:00.054) 0:01:11.117 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:29:31 +0000 (0:00:00.061) 0:01:11.179 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002358", "end": "2024-07-24 22:29:31.227477", "rc": 0, "start": "2024-07-24 22:29:31.225119" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:29:31 +0000 (0:00:00.225) 0:01:11.404 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:29:31 +0000 (0:00:00.055) 0:01:11.460 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:29:31 +0000 (0:00:00.042) 0:01:11.502 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:29:31 +0000 (0:00:00.093) 0:01:11.596 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:29:31 +0000 (0:00:00.157) 0:01:11.753 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:29:31 +0000 (0:00:00.051) 0:01:11.805 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:29:31 +0000 (0:00:00.042) 0:01:11.848 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:29:31 +0000 (0:00:00.096) 0:01:11.945 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:29:31 +0000 (0:00:00.040) 0:01:11.985 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:29:33 +0000 (0:00:01.361) 0:01:13.347 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:29:34 +0000 (0:00:01.290) 0:01:14.638 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:29:34 +0000 (0:00:00.039) 0:01:14.677 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:29:34 +0000 (0:00:00.042) 0:01:14.719 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:29:34 +0000 (0:00:00.040) 0:01:14.760 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:29:34 +0000 (0:00:00.095) 0:01:14.855 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:29:34 +0000 (0:00:00.053) 0:01:14.908 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:29:34 +0000 (0:00:00.086) 0:01:14.995 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:29:34 +0000 (0:00:00.088) 0:01:15.084 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:29:35 +0000 (0:00:00.093) 0:01:15.178 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:29:35 +0000 (0:00:00.027) 0:01:15.206 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:29:35 +0000 (0:00:00.054) 0:01:15.261 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:29:35 +0000 (0:00:00.032) 0:01:15.293 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:29:35 +0000 (0:00:00.364) 0:01:15.658 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:29:35 +0000 (0:00:00.044) 0:01:15.702 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:29:35 +0000 (0:00:00.039) 0:01:15.742 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:29:35 +0000 (0:00:00.037) 0:01:15.779 ******** 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, ceb54f82-2a18-494a-aeaf-a87e11a0fd92 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:29:36 +0000 (0:00:00.461) 0:01:16.240 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:29:36 +0000 (0:00:00.061) 0:01:16.302 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ceb54f82-2a18-494a-aeaf-a87e11a0fd92" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:29:36 +0000 (0:00:00.051) 0:01:16.353 ******** 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, ceb54f82-2a18-494a-aeaf-a87e11a0fd92\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ceb54f82-2a18-494a-aeaf-a87e11a0fd92" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:29:36 +0000 (0:00:00.045) 0:01:16.399 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:29:36 +0000 (0:00:00.115) 0:01:16.515 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:29:36 +0000 (0:00:00.188) 0:01:16.704 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ceb54f82-2a18-494a-aeaf-a87e11a0fd92\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ceb54f82-2a18-494a-aeaf-a87e11a0fd92" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:29:36 +0000 (0:00:00.025) 0:01:16.730 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:29:36 +0000 (0:00:00.038) 0:01:16.768 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:29:36 +0000 (0:00:00.062) 0:01:16.831 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:29:36 +0000 (0:00:00.032) 0:01:16.863 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:29:36 +0000 (0:00:00.025) 0:01:16.888 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:29:36 +0000 (0:00:00.028) 0:01:16.916 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:29:38 +0000 (0:00:01.354) 0:01:18.271 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:29:39 +0000 (0:00:01.304) 0:01:19.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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:29:39 +0000 (0:00:00.071) 0:01:19.647 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:29:39 +0000 (0:00:00.038) 0:01:19.685 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:29:39 +0000 (0:00:00.076) 0:01:19.762 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:29:39 +0000 (0:00:00.030) 0:01:19.793 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:29:39 +0000 (0:00:00.049) 0:01:19.843 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:29:39 +0000 (0:00:00.061) 0:01:19.904 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:29:39 +0000 (0:00:00.046) 0:01:19.951 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:29:39 +0000 (0:00:00.091) 0:01:20.042 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:29:39 +0000 (0:00:00.029) 0:01:20.071 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:29:39 +0000 (0:00:00.029) 0:01:20.101 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:29:40 +0000 (0:00:00.032) 0:01:20.134 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:29:40 +0000 (0:00:00.356) 0:01:20.490 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:29:40 +0000 (0:00:00.062) 0:01:20.552 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:29:40 +0000 (0:00:00.029) 0:01:20.582 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:29:40 +0000 (0:00:00.026) 0:01:20.608 ******** 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, ceb54f82-2a18-494a-aeaf-a87e11a0fd92 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:29:40 +0000 (0:00:00.343) 0:01:20.952 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:29:40 +0000 (0:00:00.033) 0:01:20.985 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ceb54f82-2a18-494a-aeaf-a87e11a0fd92 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:29:40 +0000 (0:00:00.054) 0:01:21.040 ******** 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, ceb54f82-2a18-494a-aeaf-a87e11a0fd92 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ceb54f82-2a18-494a-aeaf-a87e11a0fd92 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:29:40 +0000 (0:00:00.033) 0:01:21.073 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:29:41 +0000 (0:00:00.045) 0:01:21.119 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 22:29:41 +0000 (0:00:00.227) 0:01:21.347 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:29:41 +0000 (0:00:00.042) 0:01:21.389 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:29:41 +0000 (0:00:00.134) 0:01:21.524 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:29:41 +0000 (0:00:00.033) 0:01:21.558 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:29:41 +0000 (0:00:00.124) 0:01:21.682 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:29:41 +0000 (0:00:00.037) 0:01:21.720 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:29:42 +0000 (0:00:01.386) 0:01:23.107 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:29:44 +0000 (0:00:01.354) 0:01:24.461 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:29:44 +0000 (0:00:00.077) 0:01:24.538 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:29:44 +0000 (0:00:00.070) 0:01:24.609 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:29:44 +0000 (0:00:00.036) 0:01:24.645 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:29:44 +0000 (0:00:00.043) 0:01:24.689 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:29:44 +0000 (0:00:00.104) 0:01:24.793 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:29:44 +0000 (0:00:00.028) 0:01:24.821 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:29:44 +0000 (0:00:00.051) 0:01:24.873 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:29:44 +0000 (0:00:00.077) 0:01:24.951 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:29:44 +0000 (0:00:00.024) 0:01:24.975 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:29:44 +0000 (0:00:00.028) 0:01:25.004 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:29:44 +0000 (0:00:00.029) 0:01:25.033 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:29:45 +0000 (0:00:00.356) 0:01:25.390 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:29:45 +0000 (0:00:00.033) 0:01:25.424 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:29:45 +0000 (0:00:00.024) 0:01:25.448 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:29:45 +0000 (0:00:00.023) 0:01:25.471 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:29:45 +0000 (0:00:00.385) 0:01:25.856 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:29:45 +0000 (0:00:00.049) 0:01:25.906 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:29:45 +0000 (0:00:00.057) 0:01:25.963 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:29:45 +0000 (0:00:00.035) 0:01:25.999 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:29:46 +0000 (0:00:00.139) 0:01:26.138 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:29:46 +0000 (0:00:00.217) 0:01:26.355 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 22:29:46 +0000 (0:00:00.066) 0:01:26.421 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:29:46 +0000 (0:00:00.053) 0:01:26.475 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:29:46 +0000 (0:00:00.058) 0:01:26.533 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:29:46 +0000 (0:00:00.031) 0:01:26.564 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:29:46 +0000 (0:00:00.029) 0:01:26.594 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:29:46 +0000 (0:00:00.024) 0:01:26.619 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:29:47 +0000 (0:00:01.394) 0:01:28.014 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:29:49 +0000 (0:00:01.406) 0:01:29.421 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:29:49 +0000 (0:00:00.050) 0:01:29.471 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:29:49 +0000 (0:00:00.029) 0:01:29.501 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:29:49 +0000 (0:00:00.043) 0:01:29.544 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:29:49 +0000 (0:00:00.062) 0:01:29.607 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:29:49 +0000 (0:00:00.044) 0:01:29.651 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:29:49 +0000 (0:00:00.040) 0:01:29.691 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:29:49 +0000 (0:00:00.066) 0:01:29.758 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:29:49 +0000 (0:00:00.064) 0:01:29.822 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:29:49 +0000 (0:00:00.061) 0:01:29.883 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:29:49 +0000 (0:00:00.026) 0:01:29.909 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:29:49 +0000 (0:00:00.026) 0:01:29.936 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:29:50 +0000 (0:00:00.355) 0:01:30.291 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:29:50 +0000 (0:00:00.097) 0:01:30.388 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:29:50 +0000 (0:00:00.037) 0:01:30.426 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:29:50 +0000 (0:00:00.056) 0:01:30.483 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:29:50 +0000 (0:00:00.529) 0:01:31.012 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:29:50 +0000 (0:00:00.069) 0:01:31.082 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:29:51 +0000 (0:00:00.081) 0:01:31.163 ******** 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-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:29:51 +0000 (0:00:00.058) 0:01:31.222 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:29:51 +0000 (0:00:00.075) 0:01:31.298 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:29:51 +0000 (0:00:00.238) 0:01:31.536 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 22:29:51 +0000 (0:00:00.083) 0:01:31.619 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:29:51 +0000 (0:00:00.090) 0:01:31.710 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:29:51 +0000 (0:00:00.053) 0:01:31.763 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:29:51 +0000 (0:00:00.260) 0:01:32.024 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:29:51 +0000 (0:00:00.039) 0:01:32.063 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019022", "end": "2024-07-24 22:29:52.116322", "rc": 1, "start": "2024-07-24 22:29:52.097300" } 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:29:52 +0000 (0:00:00.212) 0:01:32.275 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:29:52 +0000 (0:00:00.027) 0:01:32.302 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:29:52 +0000 (0:00:00.028) 0:01:32.330 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:29:52 +0000 (0:00:00.026) 0:01:32.357 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:29:52 +0000 (0:00:00.038) 0:01:32.396 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 22:29:52 +0000 (0:00:00.027) 0:01:32.423 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 24 July 2024 22:29:52 +0000 (0:00:00.027) 0:01:32.450 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.865688", "end": "2024-07-24 22:29:53.382300", "rc": 0, "start": "2024-07-24 22:29:52.516612" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 24 July 2024 22:29:53 +0000 (0:00:01.098) 0:01:33.548 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 24 July 2024 22:29:53 +0000 (0:00:00.047) 0:01:33.596 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:29:53 +0000 (0:00:00.066) 0:01:33.662 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:29:53 +0000 (0:00:00.119) 0:01:33.782 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:29:53 +0000 (0:00:00.048) 0:01:33.831 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:29:53 +0000 (0:00:00.207) 0:01:34.038 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:29:53 +0000 (0:00:00.071) 0:01:34.109 ******** 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:29:54 +0000 (0:00:00.043) 0:01:34.153 ******** included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:29:54 +0000 (0:00:00.097) 0:01:34.251 ******** 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.036278", "end": "2024-07-24 22:29:54.332344", "rc": 1, "start": "2024-07-24 22:29:54.296066" } 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-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 24 July 2024 22:29:54 +0000 (0:00:00.252) 0:01:34.503 ******** 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.007172", "end": "2024-07-24 22:29:54.568072", "rc": 0, "start": "2024-07-24 22:29:54.560900" } 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 12:97:4f:1f:0c:ab brd ff:ff:ff:ff:ff:ff inet 10.31.10.181/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2131sec preferred_lft 2131sec inet6 fe80::1097:4fff:fe1f:cab/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.181 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.181 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 network connectivity] ************************************* task path: /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 24 July 2024 22:29:54 +0000 (0:00:00.215) 0:01:34.719 ******** 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.177577", "end": "2024-07-24 22:29:54.939302", "rc": 0, "start": "2024-07-24 22:29:54.761725" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 3546 0 --:--:-- --:--:-- --:--:-- 3546 % 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 4098 0 --:--:-- --:--:-- --:--:-- 4098 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Wednesday 24 July 2024 22:29:54 +0000 (0:00:00.381) 0:01:35.100 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.24s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable and start NetworkManager ------------ 1.97s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Enable and start NetworkManager ------------ 1.73s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Configure networking connection profiles --- 1.43s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.41s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.38s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.35s /WORKDIR/git-fix-templating-warnings3hs17rnv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---