# 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_bridge_initscripts.yml ***************************************** 11 plays in /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tests_bridge_initscripts.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tests_bridge_initscripts.yml:5 Wednesday 24 July 2024 16:43:04 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tests_bridge_initscripts.yml:8 Wednesday 24 July 2024 16:43:05 +0000 (0:00:00.698) 0:00:00.712 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-warningsmz9c4i5u/tests/tasks/el_repo_setup.yml:3 Wednesday 24 July 2024 16:43:05 +0000 (0:00:00.014) 0:00:00.726 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/el_repo_setup.yml:19 Wednesday 24 July 2024 16:43:05 +0000 (0:00:00.318) 0:00:01.045 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/el_repo_setup.yml:24 Wednesday 24 July 2024 16:43:06 +0000 (0:00:00.350) 0:00:01.395 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/el_repo_setup.yml:28 Wednesday 24 July 2024 16:43:06 +0000 (0:00:00.109) 0:00:01.505 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/el_repo_setup.yml:53 Wednesday 24 July 2024 16:43:06 +0000 (0:00:00.029) 0:00:01.534 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/enable_epel.yml:8 Wednesday 24 July 2024 16:43:06 +0000 (0:00:00.034) 0:00:01.569 ******** 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-warningsmz9c4i5u/tests/tasks/enable_epel.yml:24 Wednesday 24 July 2024 16:43:06 +0000 (0:00:00.356) 0:00:01.925 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/enable_epel.yml:30 Wednesday 24 July 2024 16:43:06 +0000 (0:00:00.020) 0:00:01.946 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/enable_epel.yml:35 Wednesday 24 July 2024 16:43:06 +0000 (0:00:00.015) 0:00:01.961 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.230866", "end": "2024-07-24 16:43:06.969581", "rc": 0, "start": "2024-07-24 16:43:06.738715" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tasks/enable_epel.yml:40 Wednesday 24 July 2024 16:43:06 +0000 (0:00:00.415) 0:00:02.377 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tests_bridge_initscripts.yml:10 Wednesday 24 July 2024 16:43:07 +0000 (0:00:00.012) 0:00:02.389 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_bridge.yml:3 Wednesday 24 July 2024 16:43:07 +0000 (0:00:00.013) 0:00:02.402 ******** ok: [sut] META: ran handlers TASK [Set interface=LSR-TST-br31] ********************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_bridge.yml:9 Wednesday 24 July 2024 16:43:07 +0000 (0:00:00.485) 0:00:02.888 ******** ok: [sut] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_bridge.yml:12 Wednesday 24 July 2024 16:43:07 +0000 (0:00:00.018) 0:00:02.906 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 16:43:07 +0000 (0:00:00.022) 0:00:02.929 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 16:43:07 +0000 (0:00:00.050) 0:00:02.979 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003043", "end": "2024-07-24 16:43:07.807580", "rc": 0, "start": "2024-07-24 16:43:07.804537" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 16:43:07 +0000 (0:00:00.246) 0:00:03.226 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 16:43:07 +0000 (0:00:00.023) 0:00:03.250 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_bridge.yml:14 Wednesday 24 July 2024 16:43:07 +0000 (0:00:00.020) 0:00:03.271 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 16:43:07 +0000 (0:00:00.022) 0:00:03.294 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 16:43:07 +0000 (0:00:00.017) 0:00:03.311 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 16:43:08 +0000 (0:00:00.197) 0:00:03.509 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_bridge.yml:17 Wednesday 24 July 2024 16:43:08 +0000 (0:00:00.053) 0:00:03.562 ******** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:43:08 +0000 (0:00:00.566) 0:00:04.128 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:43:08 +0000 (0:00:00.036) 0:00:04.165 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:43:08 +0000 (0:00:00.066) 0:00:04.231 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:43:08 +0000 (0:00:00.014) 0:00:04.246 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:43:08 +0000 (0:00:00.039) 0:00:04.286 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:43:10 +0000 (0:00:01.932) 0:00:06.218 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:43:12 +0000 (0:00:01.852) 0:00:08.071 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:43:12 +0000 (0:00:00.121) 0:00:08.192 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:43:12 +0000 (0:00:00.043) 0:00:08.236 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:43:12 +0000 (0:00:00.077) 0:00:08.313 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:43:13 +0000 (0:00:00.096) 0:00:08.410 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:43:13 +0000 (0:00:00.058) 0:00:08.468 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:43:13 +0000 (0:00:00.055) 0:00:08.524 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:43:13 +0000 (0:00:00.049) 0:00:08.573 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:43:13 +0000 (0:00:00.069) 0:00:08.643 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:43:13 +0000 (0:00:00.039) 0:00:08.682 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:43:13 +0000 (0:00:00.024) 0:00:08.707 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:43:13 +0000 (0:00:00.028) 0:00:08.736 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:43:13 +0000 (0:00:00.039) 0:00:08.776 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:43:13 +0000 (0:00:00.035) 0:00:08.811 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:43:14 +0000 (0:00:00.709) 0:00:09.521 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-8500uid_c_z5/tmpwj0rez44" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:43:14 +0000 (0:00:00.394) 0:00:09.915 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31' [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active) [005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:43:17 +0000 (0:00:02.789) 0:00:12.705 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:43:17 +0000 (0:00:00.079) 0:00:12.785 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:43:17 +0000 (0:00:00.026) 0:00:12.811 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)\n[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:43:17 +0000 (0:00:00.043) 0:00:12.855 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:43:17 +0000 (0:00:00.060) 0:00:12.915 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/run_tasks.yml:3 Wednesday 24 July 2024 16:43:17 +0000 (0:00:00.439) 0:00:13.354 ******** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_present.yml'] ********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/run_tasks.yml:6 Wednesday 24 July 2024 16:43:18 +0000 (0:00:00.612) 0:00:13.967 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 16:43:18 +0000 (0:00:00.071) 0:00:14.039 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 16:43:18 +0000 (0:00:00.059) 0:00:14.098 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721839395.128338, "block_size": 4096, "blocks": 0, "ctime": 1721839395.128338, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30413, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LSR-TST-br31", "lnk_target": "../../devices/virtual/net/LSR-TST-br31", "mode": "0777", "mtime": 1721839395.128338, "nlink": 1, "path": "/sys/class/net/LSR-TST-br31", "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 - 'LSR-TST-br31'] ******************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 16:43:18 +0000 (0:00:00.272) 0:00:14.370 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_present.yml] *********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/run_tasks.yml:3 Wednesday 24 July 2024 16:43:19 +0000 (0:00:00.044) 0:00:14.415 ******** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/run_tasks.yml:6 Wednesday 24 July 2024 16:43:19 +0000 (0:00:00.518) 0:00:14.933 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 16:43:19 +0000 (0:00:00.038) 0:00:14.972 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 16:43:19 +0000 (0:00:00.042) 0:00:15.014 ******** 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-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 16:43:19 +0000 (0:00:00.025) 0:00:15.040 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721839394.987651, "block_size": 4096, "blocks": 8, "ctime": 1721839394.9676511, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721839394.9676511, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 151, "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-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 16:43:20 +0000 (0:00:00.349) 0:00:15.390 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 16:43:20 +0000 (0:00:00.057) 0:00:15.447 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.016465", "end": "2024-07-24 16:43:20.295898", "rc": 1, "start": "2024-07-24 16:43:20.279433" } 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-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 16:43:20 +0000 (0:00:00.278) 0:00:15.725 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 16:43:20 +0000 (0:00:00.056) 0:00:15.781 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:01.004138", "end": "2024-07-24 16:43:21.579813", "rc": 0, "start": "2024-07-24 16:43:20.575675" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 16:43:21 +0000 (0:00:01.257) 0:00:17.039 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 16:43:21 +0000 (0:00:00.140) 0:00:17.179 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:00.002796", "end": "2024-07-24 16:43:21.986592", "rc": 0, "start": "2024-07-24 16:43:21.983796" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 16:43:22 +0000 (0:00:00.247) 0:00:17.427 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'LSR-TST-br31'] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 16:43:22 +0000 (0:00:00.062) 0:00:17.489 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'LSR-TST-br31'] **** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 16:43:22 +0000 (0:00:00.056) 0:00:17.545 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 16:43:22 +0000 (0:00:00.056) 0:00:17.602 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/down_profile.yml:3 Wednesday 24 July 2024 16:43:22 +0000 (0:00:00.189) 0:00:17.791 ******** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:43:22 +0000 (0:00:00.583) 0:00:18.375 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:43:23 +0000 (0:00:00.067) 0:00:18.443 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:43:23 +0000 (0:00:00.078) 0:00:18.521 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:43:23 +0000 (0:00:00.099) 0:00:18.620 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:43:23 +0000 (0:00:00.028) 0:00:18.649 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:43:24 +0000 (0:00:01.493) 0:00:20.142 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:43:26 +0000 (0:00:01.246) 0:00:21.389 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:43:26 +0000 (0:00:00.059) 0:00:21.448 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:43:26 +0000 (0:00:00.029) 0:00:21.478 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:43:26 +0000 (0:00:00.049) 0:00:21.528 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:43:26 +0000 (0:00:00.053) 0:00:21.581 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:43:26 +0000 (0:00:00.041) 0:00:21.622 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:43:26 +0000 (0:00:00.035) 0:00:21.658 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:43:26 +0000 (0:00:00.112) 0:00:21.770 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:43:26 +0000 (0:00:00.120) 0:00:21.891 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:43:26 +0000 (0:00:00.079) 0:00:21.970 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:43:26 +0000 (0:00:00.131) 0:00:22.102 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:43:26 +0000 (0:00:00.052) 0:00:22.155 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:43:26 +0000 (0:00:00.057) 0:00:22.212 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:43:26 +0000 (0:00:00.034) 0:00:22.246 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:43:27 +0000 (0:00:00.687) 0:00:22.934 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-8500uid_c_z5/tmpq02kbp84" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:43:28 +0000 (0:00:00.463) 0:00:23.398 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:43:28 +0000 (0:00:00.371) 0:00:23.769 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:43:28 +0000 (0:00:00.043) 0:00:23.813 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:43:28 +0000 (0:00:00.075) 0:00:23.888 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:43:28 +0000 (0:00:00.042) 0:00:23.930 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:43:28 +0000 (0:00:00.078) 0:00:24.008 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/down_profile+delete_interface.yml:5 Wednesday 24 July 2024 16:43:28 +0000 (0:00:00.243) 0:00:24.252 ******** ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/down_profile+delete_interface.yml:8 Wednesday 24 July 2024 16:43:29 +0000 (0:00:00.561) 0:00:24.814 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 July 2024 16:43:29 +0000 (0:00:00.199) 0:00:25.014 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.014860", "end": "2024-07-24 16:43:29.861288", "rc": 0, "start": "2024-07-24 16:43:29.846428" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/remove_profile.yml:3 Wednesday 24 July 2024 16:43:29 +0000 (0:00:00.307) 0:00:25.321 ******** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 16:43:30 +0000 (0:00:00.633) 0:00:25.955 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:43:30 +0000 (0:00:00.049) 0:00:26.005 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 16:43:30 +0000 (0:00:00.065) 0:00:26.070 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 16:43:30 +0000 (0:00:00.062) 0:00:26.133 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 16:43:30 +0000 (0:00:00.068) 0:00:26.201 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 16:43:32 +0000 (0:00:01.528) 0:00:27.730 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 16:43:33 +0000 (0:00:01.466) 0:00:29.196 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 16:43:33 +0000 (0:00:00.041) 0:00:29.238 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 16:43:33 +0000 (0:00:00.033) 0:00:29.272 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 16:43:33 +0000 (0:00:00.033) 0:00:29.305 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 16:43:33 +0000 (0:00:00.029) 0:00:29.335 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 16:43:33 +0000 (0:00:00.042) 0:00:29.378 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 16:43:34 +0000 (0:00:00.029) 0:00:29.407 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 16:43:34 +0000 (0:00:00.029) 0:00:29.437 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 16:43:34 +0000 (0:00:00.101) 0:00:29.538 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 16:43:34 +0000 (0:00:00.026) 0:00:29.564 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 16:43:34 +0000 (0:00:00.029) 0:00:29.594 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 16:43:34 +0000 (0:00:00.032) 0:00:29.626 ******** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 16:43:34 +0000 (0:00:00.024) 0:00:29.651 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 16:43:34 +0000 (0:00:00.032) 0:00:29.684 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 16:43:34 +0000 (0:00:00.400) 0:00:30.084 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-8500uid_c_z5/tmp8nk7nnin" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 16:43:35 +0000 (0:00:00.378) 0:00:30.462 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 16:43:35 +0000 (0:00:00.313) 0:00:30.776 ******** 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-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 16:43:35 +0000 (0:00:00.025) 0:00:30.802 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 16:43:35 +0000 (0:00:00.026) 0:00:30.828 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 16:43:35 +0000 (0:00:00.026) 0:00:30.854 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 16:43:35 +0000 (0:00:00.025) 0:00:30.879 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/run_tasks.yml:3 Wednesday 24 July 2024 16:43:35 +0000 (0:00:00.202) 0:00:31.082 ******** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/run_tasks.yml:6 Wednesday 24 July 2024 16:43:36 +0000 (0:00:00.526) 0:00:31.608 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 16:43:36 +0000 (0:00:00.058) 0:00:31.666 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/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-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 16:43:36 +0000 (0:00:00.068) 0:00:31.735 ******** 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-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 16:43:36 +0000 (0:00:00.084) 0:00:31.819 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 16:43:36 +0000 (0:00:00.274) 0:00:32.093 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 16:43:36 +0000 (0:00:00.081) 0:00:32.175 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.016315", "end": "2024-07-24 16:43:37.020647", "rc": 1, "start": "2024-07-24 16:43:37.004332" } 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-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 16:43:37 +0000 (0:00:00.324) 0:00:32.500 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 16:43:37 +0000 (0:00:00.057) 0:00:32.557 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 16:43:37 +0000 (0:00:00.039) 0:00:32.596 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 16:43:37 +0000 (0:00:00.037) 0:00:32.633 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 16:43:37 +0000 (0:00:00.052) 0:00:32.686 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'LSR-TST-br31'] ********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 16:43:37 +0000 (0:00:00.030) 0:00:32.717 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_absent.yml] ************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/run_tasks.yml:3 Wednesday 24 July 2024 16:43:37 +0000 (0:00:00.103) 0:00:32.820 ******** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/run_tasks.yml:6 Wednesday 24 July 2024 16:43:38 +0000 (0:00:00.612) 0:00:33.432 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 16:43:38 +0000 (0:00:00.039) 0:00:33.471 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 16:43:38 +0000 (0:00:00.040) 0:00:33.512 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 16:43:38 +0000 (0:00:00.246) 0:00:33.759 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Verify that cleanup restored state to default] *************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_bridge.yml:64 Wednesday 24 July 2024 16:43:38 +0000 (0:00:00.036) 0:00:33.795 ******** ok: [sut] META: ran handlers TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_bridge.yml:67 Wednesday 24 July 2024 16:43:38 +0000 (0:00:00.525) 0:00:34.320 ******** included: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 24 July 2024 16:43:39 +0000 (0:00:00.119) 0:00:34.440 ******** 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.007878", "end": "2024-07-24 16:43:39.247136", "rc": 0, "start": "2024-07-24 16:43:39.239258" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:d5:59:82:0f brd ff:ff:ff:ff:ff:ff inet 10.31.13.102/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3337sec preferred_lft 3337sec inet6 fe80::8ff:d5ff:fe59:820f/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.102 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.102 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-warningsmz9c4i5u/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 24 July 2024 16:43:39 +0000 (0:00:00.242) 0:00:34.682 ******** 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.118802", "end": "2024-07-24 16:43:39.639462", "rc": 0, "start": "2024-07-24 16:43:39.520660" } STDOUT: CHECK DNS AND CONNECTIVITY 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 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.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 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 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 5754 0 --:--:-- --:--:-- --:--:-- 5754 % 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 7097 0 --:--:-- --:--:-- --:--:-- 7097 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=91 changed=2 unreachable=0 failed=0 skipped=62 rescued=0 ignored=2 Wednesday 24 July 2024 16:43:39 +0000 (0:00:00.366) 0:00:35.048 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.79s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Check which services are running ----------- 1.93s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.85s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.47s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Get the ansible_managed comment in ifcfg-LSR-TST-br31 ------------------- 1.26s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tasks/get_profile_stat.yml:49 linux-system-roles.network : Check which packages are installed --------- 1.25s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.71s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/tests_bridge_initscripts.yml:5 linux-system-roles.network : Enable network service --------------------- 0.69s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/roles/linux-system-roles.network/tasks/main.yml:171 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/remove_profile.yml:3 Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/run_tasks.yml:3 -- Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/run_tasks.yml:3 -- Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/down_profile.yml:3 Gathering Facts --------------------------------------------------------- 0.57s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_bridge.yml:17 Gathering Facts --------------------------------------------------------- 0.56s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.53s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/run_tasks.yml:3 -- Gathering Facts --------------------------------------------------------- 0.53s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/tests_bridge.yml:64 Gathering Facts --------------------------------------------------------- 0.52s /WORKDIR/git-fix-templating-warningsmz9c4i5u/tests/playbooks/run_tasks.yml:3 -- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---