No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 06:58:51 -0400 (0:00:00.017) 0:00:00.017 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Thursday 25 July 2024 06:58:52 -0400 (0:00:00.888) 0:00:00.905 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** Thursday 25 July 2024 06:58:52 -0400 (0:00:00.018) 0:00:00.924 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Thursday 25 July 2024 06:58:53 -0400 (0:00:00.486) 0:00:01.410 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Thursday 25 July 2024 06:58:53 -0400 (0:00:00.427) 0:00:01.838 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Thursday 25 July 2024 06:58:53 -0400 (0:00:00.032) 0:00:01.871 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Thursday 25 July 2024 06:58:53 -0400 (0:00:00.030) 0:00:01.901 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** Thursday 25 July 2024 06:58:53 -0400 (0:00:00.053) 0:00:01.955 ********* ok: [managed_node1] => { "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] *********************************************** Thursday 25 July 2024 06:58:54 -0400 (0:00:00.420) 0:00:02.375 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Thursday 25 July 2024 06:58:54 -0400 (0:00:00.018) 0:00:02.393 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Thursday 25 July 2024 06:58:54 -0400 (0:00:00.017) 0:00:02.411 ********* [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. ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.220819", "end": "2024-07-25 06:58:54.563857", "rc": 0, "start": "2024-07-25 06:58:54.343038" } TASK [Enable EPEL 6] *********************************************************** Thursday 25 July 2024 06:58:54 -0400 (0:00:00.571) 0:00:02.982 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Thursday 25 July 2024 06:58:54 -0400 (0:00:00.016) 0:00:02.999 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 06:58:54 -0400 (0:00:00.019) 0:00:03.018 ********* ok: [managed_node1] TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 06:58:55 -0400 (0:00:00.682) 0:00:03.700 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 06:58:55 -0400 (0:00:00.040) 0:00:03.741 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 06:58:55 -0400 (0:00:00.022) 0:00:03.764 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002724", "end": "2024-07-25 06:58:55.697725", "rc": 0, "start": "2024-07-25 06:58:55.695001" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 06:58:55 -0400 (0:00:00.349) 0:00:04.114 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 06:58:55 -0400 (0:00:00.019) 0:00:04.133 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** Thursday 25 July 2024 06:58:55 -0400 (0:00:00.020) 0:00:04.153 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Thursday 25 July 2024 06:58:55 -0400 (0:00:00.050) 0:00:04.204 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Thursday 25 July 2024 06:58:55 -0400 (0:00:00.020) 0:00:04.224 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 06:58:55 -0400 (0:00:00.016) 0:00:04.241 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 06:58:55 -0400 (0:00:00.022) 0:00:04.264 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 06:58:55 -0400 (0:00:00.026) 0:00:04.290 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002644", "end": "2024-07-25 06:58:56.222682", "rc": 0, "start": "2024-07-25 06:58:56.220038" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 06:58:56 -0400 (0:00:00.348) 0:00:04.639 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 06:58:56 -0400 (0:00:00.066) 0:00:04.705 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Thursday 25 July 2024 06:58:56 -0400 (0:00:00.019) 0:00:04.724 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* Thursday 25 July 2024 06:58:59 -0400 (0:00:02.760) 0:00:07.484 ********* ok: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.011173", "end": "2024-07-25 06:58:59.432071", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-25 06:58:59.420898" } ok: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003469", "end": "2024-07-25 06:58:59.807033", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-25 06:58:59.803564" } ok: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003921", "end": "2024-07-25 06:59:00.151830", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-25 06:59:00.147909" } TASK [Set up veth as managed by NetworkManager] ******************************** Thursday 25 July 2024 06:59:00 -0400 (0:00:01.087) 0:00:08.572 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.211266", "end": "2024-07-25 06:59:00.716613", "rc": 0, "start": "2024-07-25 06:59:00.505347" } TASK [Delete veth interface veth0] ********************************************* Thursday 25 July 2024 06:59:00 -0400 (0:00:00.561) 0:00:09.133 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** Thursday 25 July 2024 06:59:00 -0400 (0:00:00.019) 0:00:09.153 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Thursday 25 July 2024 06:59:00 -0400 (0:00:00.020) 0:00:09.173 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Thursday 25 July 2024 06:59:00 -0400 (0:00:00.019) 0:00:09.193 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Thursday 25 July 2024 06:59:00 -0400 (0:00:00.019) 0:00:09.212 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** Thursday 25 July 2024 06:59:00 -0400 (0:00:00.020) 0:00:09.233 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 06:59:00 -0400 (0:00:00.046) 0:00:09.279 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** Thursday 25 July 2024 06:59:00 -0400 (0:00:00.026) 0:00:09.306 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721905139.423912, "block_size": 4096, "blocks": 0, "ctime": 1721905139.423912, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24895, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1721905139.423912, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** Thursday 25 July 2024 06:59:01 -0400 (0:00:00.346) 0:00:09.653 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ Thursday 25 July 2024 06:59:01 -0400 (0:00:00.021) 0:00:09.674 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 06:59:01 -0400 (0:00:00.019) 0:00:09.694 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 06:59:01 -0400 (0:00:00.031) 0:00:09.726 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 06:59:01 -0400 (0:00:00.019) 0:00:09.746 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 06:59:01 -0400 (0:00:00.020) 0:00:09.766 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 06:59:01 -0400 (0:00:00.017) 0:00:09.784 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 06:59:02 -0400 (0:00:01.566) 0:00:11.350 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 06:59:04 -0400 (0:00:01.669) 0:00:13.019 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 06:59:04 -0400 (0:00:00.034) 0:00:13.054 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 06:59:04 -0400 (0:00:00.036) 0:00:13.091 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 06:59:04 -0400 (0:00:00.032) 0:00:13.123 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:04 -0400 (0:00:00.035) 0:00:13.158 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:04 -0400 (0:00:00.043) 0:00:13.202 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:04 -0400 (0:00:00.032) 0:00:13.235 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 06:59:04 -0400 (0:00:00.041) 0:00:13.276 ********* changed: [managed_node1] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.el8.x86_64" ] } lsrpackages: dhcp-client network-scripts TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 06:59:08 -0400 (0:00:03.831) 0:00:17.107 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 06:59:08 -0400 (0:00:00.035) 0:00:17.143 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:08 -0400 (0:00:00.035) 0:00:17.178 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 06:59:08 -0400 (0:00:00.042) 0:00:17.220 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 06:59:08 -0400 (0:00:00.037) 0:00:17.258 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 06:59:08 -0400 (0:00:00.034) 0:00:17.292 ********* changed: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 06:59:09 -0400 (0:00:01.012) 0:00:18.305 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-10910fpnlcmk8/tmpfofeazk7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 06:59:10 -0400 (0:00:00.378) 0:00:18.683 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 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 [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 06:59:17 -0400 (0:00:06.866) 0:00:25.550 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 06:59:17 -0400 (0:00:00.035) 0:00:25.585 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 06:59:17 -0400 (0:00:00.036) 0:00:25.622 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 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, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 06:59:17 -0400 (0:00:00.039) 0:00:25.661 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 06:59:17 -0400 (0:00:00.036) 0:00:25.698 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** Thursday 25 July 2024 06:59:17 -0400 (0:00:00.475) 0:00:26.173 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 06:59:17 -0400 (0:00:00.078) 0:00:26.252 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** Thursday 25 July 2024 06:59:17 -0400 (0:00:00.055) 0:00:26.308 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721905139.423912, "block_size": 4096, "blocks": 0, "ctime": 1721905139.423912, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24895, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1721905139.423912, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** Thursday 25 July 2024 06:59:18 -0400 (0:00:00.365) 0:00:26.673 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Thursday 25 July 2024 06:59:18 -0400 (0:00:00.036) 0:00:26.710 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 06:59:18 -0400 (0:00:00.079) 0:00:26.790 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Thursday 25 July 2024 06:59:18 -0400 (0:00:00.060) 0:00:26.850 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Thursday 25 July 2024 06:59:18 -0400 (0:00:00.036) 0:00:26.887 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721905150.9348984, "block_size": 4096, "blocks": 8, "ctime": 1721905150.9178984, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301237, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721905150.9178984, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "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] ******************** Thursday 25 July 2024 06:59:18 -0400 (0:00:00.376) 0:00:27.263 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 06:59:18 -0400 (0:00:00.037) 0:00:27.300 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017738", "end": "2024-07-25 06:59:19.254428", "rc": 1, "start": "2024-07-25 06:59:19.236690" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 06:59:19 -0400 (0:00:00.382) 0:00:27.683 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** Thursday 25 July 2024 06:59:19 -0400 (0:00:00.037) 0:00:27.721 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.002718", "end": "2024-07-25 06:59:20.660207", "rc": 0, "start": "2024-07-25 06:59:19.657489" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** Thursday 25 July 2024 06:59:20 -0400 (0:00:01.374) 0:00:29.096 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** Thursday 25 July 2024 06:59:20 -0400 (0:00:00.045) 0:00:29.141 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002838", "end": "2024-07-25 06:59:21.082489", "rc": 0, "start": "2024-07-25 06:59:21.079651" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** Thursday 25 July 2024 06:59:21 -0400 (0:00:00.375) 0:00:29.517 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** Thursday 25 July 2024 06:59:21 -0400 (0:00:00.078) 0:00:29.595 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** Thursday 25 July 2024 06:59:21 -0400 (0:00:00.038) 0:00:29.634 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** Thursday 25 July 2024 06:59:21 -0400 (0:00:00.043) 0:00:29.678 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** Thursday 25 July 2024 06:59:21 -0400 (0:00:00.039) 0:00:29.718 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002902", "end": "2024-07-25 06:59:21.654532", "rc": 0, "start": "2024-07-25 06:59:21.651630" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.254 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.254 metric 100 169.254.0.0/16 dev veth0 scope link metric 1014 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ Thursday 25 July 2024 06:59:21 -0400 (0:00:00.368) 0:00:30.086 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* Thursday 25 July 2024 06:59:21 -0400 (0:00:00.039) 0:00:30.126 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003109", "end": "2024-07-25 06:59:22.064121", "rc": 0, "start": "2024-07-25 06:59:22.061012" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ Thursday 25 July 2024 06:59:22 -0400 (0:00:00.368) 0:00:30.495 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** Thursday 25 July 2024 06:59:22 -0400 (0:00:00.033) 0:00:30.528 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 06:59:22 -0400 (0:00:00.035) 0:00:30.564 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 06:59:22 -0400 (0:00:00.060) 0:00:30.624 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 06:59:22 -0400 (0:00:00.043) 0:00:30.668 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 06:59:22 -0400 (0:00:00.033) 0:00:30.702 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 06:59:22 -0400 (0:00:00.037) 0:00:30.739 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 06:59:23 -0400 (0:00:01.591) 0:00:32.330 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 06:59:25 -0400 (0:00:01.423) 0:00:33.753 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 06:59:25 -0400 (0:00:00.038) 0:00:33.792 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 06:59:25 -0400 (0:00:00.034) 0:00:33.826 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 06:59:25 -0400 (0:00:00.073) 0:00:33.899 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:25 -0400 (0:00:00.034) 0:00:33.934 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:25 -0400 (0:00:00.044) 0:00:33.979 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:25 -0400 (0:00:00.036) 0:00:34.015 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 06:59:25 -0400 (0:00:00.039) 0:00:34.054 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 06:59:25 -0400 (0:00:00.070) 0:00:34.125 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 06:59:25 -0400 (0:00:00.036) 0:00:34.162 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:25 -0400 (0:00:00.035) 0:00:34.198 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 06:59:25 -0400 (0:00:00.043) 0:00:34.241 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 06:59:25 -0400 (0:00:00.034) 0:00:34.275 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 06:59:25 -0400 (0:00:00.036) 0:00:34.312 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 06:59:26 -0400 (0:00:00.529) 0:00:34.842 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-10910fpnlcmk8/tmpvea0n2q0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 06:59:26 -0400 (0:00:00.372) 0:00:35.215 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 06:59:27 -0400 (0:00:00.646) 0:00:35.862 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 06:59:27 -0400 (0:00:00.034) 0:00:35.896 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 06:59:27 -0400 (0:00:00.037) 0:00:35.934 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 06:59:27 -0400 (0:00:00.039) 0:00:35.973 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 06:59:27 -0400 (0:00:00.034) 0:00:36.007 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Thursday 25 July 2024 06:59:28 -0400 (0:00:00.368) 0:00:36.376 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Thursday 25 July 2024 06:59:28 -0400 (0:00:00.083) 0:00:36.460 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Thursday 25 July 2024 06:59:28 -0400 (0:00:00.035) 0:00:36.495 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 06:59:28 -0400 (0:00:00.034) 0:00:36.530 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 06:59:28 -0400 (0:00:00.056) 0:00:36.586 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 06:59:28 -0400 (0:00:00.100) 0:00:36.687 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002719", "end": "2024-07-25 06:59:28.624203", "rc": 0, "start": "2024-07-25 06:59:28.621484" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 06:59:28 -0400 (0:00:00.372) 0:00:37.059 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 06:59:28 -0400 (0:00:00.035) 0:00:37.095 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* Thursday 25 July 2024 06:59:28 -0400 (0:00:00.035) 0:00:37.130 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* Thursday 25 July 2024 06:59:31 -0400 (0:00:02.614) 0:00:39.744 ********* skipping: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** Thursday 25 July 2024 06:59:31 -0400 (0:00:00.054) 0:00:39.799 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* Thursday 25 July 2024 06:59:31 -0400 (0:00:00.036) 0:00:39.835 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.007616", "end": "2024-07-25 06:59:31.777548", "rc": 0, "start": "2024-07-25 06:59:31.769932" } TASK [Create dummy interface veth0] ******************************************** Thursday 25 July 2024 06:59:31 -0400 (0:00:00.421) 0:00:40.257 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Thursday 25 July 2024 06:59:31 -0400 (0:00:00.038) 0:00:40.295 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Thursday 25 July 2024 06:59:31 -0400 (0:00:00.037) 0:00:40.333 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Thursday 25 July 2024 06:59:32 -0400 (0:00:00.035) 0:00:40.368 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** Thursday 25 July 2024 06:59:32 -0400 (0:00:00.034) 0:00:40.403 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** Thursday 25 July 2024 06:59:32 -0400 (0:00:00.034) 0:00:40.437 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Thursday 25 July 2024 06:59:32 -0400 (0:00:00.087) 0:00:40.525 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Thursday 25 July 2024 06:59:32 -0400 (0:00:00.034) 0:00:40.559 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 06:59:32 -0400 (0:00:00.034) 0:00:40.594 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 06:59:32 -0400 (0:00:00.056) 0:00:40.650 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 06:59:32 -0400 (0:00:00.056) 0:00:40.707 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002764", "end": "2024-07-25 06:59:32.642894", "rc": 0, "start": "2024-07-25 06:59:32.640130" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 06:59:32 -0400 (0:00:00.368) 0:00:41.075 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 06:59:32 -0400 (0:00:00.081) 0:00:41.156 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Thursday 25 July 2024 06:59:32 -0400 (0:00:00.036) 0:00:41.192 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* Thursday 25 July 2024 06:59:35 -0400 (0:00:02.606) 0:00:43.799 ********* ok: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.009791", "end": "2024-07-25 06:59:35.755535", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-25 06:59:35.745744" } ok: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003573", "end": "2024-07-25 06:59:36.135480", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-25 06:59:36.131907" } ok: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003918", "end": "2024-07-25 06:59:36.477303", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-25 06:59:36.473385" } TASK [Set up veth as managed by NetworkManager] ******************************** Thursday 25 July 2024 06:59:36 -0400 (0:00:01.112) 0:00:44.911 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.019152", "end": "2024-07-25 06:59:36.861142", "rc": 0, "start": "2024-07-25 06:59:36.841990" } TASK [Delete veth interface veth0] ********************************************* Thursday 25 July 2024 06:59:36 -0400 (0:00:00.385) 0:00:45.297 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** Thursday 25 July 2024 06:59:36 -0400 (0:00:00.037) 0:00:45.334 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Thursday 25 July 2024 06:59:37 -0400 (0:00:00.037) 0:00:45.372 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Thursday 25 July 2024 06:59:37 -0400 (0:00:00.041) 0:00:45.413 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Thursday 25 July 2024 06:59:37 -0400 (0:00:00.078) 0:00:45.492 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 06:59:37 -0400 (0:00:00.035) 0:00:45.528 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 06:59:37 -0400 (0:00:00.064) 0:00:45.593 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 06:59:37 -0400 (0:00:00.043) 0:00:45.636 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 06:59:37 -0400 (0:00:00.033) 0:00:45.670 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 06:59:37 -0400 (0:00:00.036) 0:00:45.707 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 06:59:38 -0400 (0:00:01.551) 0:00:47.258 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 06:59:40 -0400 (0:00:01.469) 0:00:48.728 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 06:59:40 -0400 (0:00:00.038) 0:00:48.766 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 06:59:40 -0400 (0:00:00.035) 0:00:48.801 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 06:59:40 -0400 (0:00:00.036) 0:00:48.838 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:40 -0400 (0:00:00.034) 0:00:48.872 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:40 -0400 (0:00:00.047) 0:00:48.919 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:40 -0400 (0:00:00.037) 0:00:48.957 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 06:59:40 -0400 (0:00:00.041) 0:00:48.998 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 06:59:40 -0400 (0:00:00.071) 0:00:49.070 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 06:59:40 -0400 (0:00:00.035) 0:00:49.105 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:40 -0400 (0:00:00.036) 0:00:49.142 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 06:59:40 -0400 (0:00:00.115) 0:00:49.257 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 06:59:40 -0400 (0:00:00.034) 0:00:49.292 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 06:59:40 -0400 (0:00:00.035) 0:00:49.327 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 06:59:41 -0400 (0:00:00.525) 0:00:49.853 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-10910fpnlcmk8/tmpzxrhcg4q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 06:59:41 -0400 (0:00:00.368) 0:00:50.222 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 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 [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 06:59:48 -0400 (0:00:06.675) 0:00:56.897 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 06:59:48 -0400 (0:00:00.075) 0:00:56.972 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 06:59:48 -0400 (0:00:00.037) 0:00:57.010 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 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, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 06:59:48 -0400 (0:00:00.040) 0:00:57.050 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 06:59:48 -0400 (0:00:00.035) 0:00:57.086 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** Thursday 25 July 2024 06:59:49 -0400 (0:00:00.361) 0:00:57.448 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 06:59:49 -0400 (0:00:00.082) 0:00:57.530 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** Thursday 25 July 2024 06:59:49 -0400 (0:00:00.057) 0:00:57.588 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721905175.7490847, "block_size": 4096, "blocks": 0, "ctime": 1721905175.7490847, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25481, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1721905175.7490847, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** Thursday 25 July 2024 06:59:49 -0400 (0:00:00.373) 0:00:57.961 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Thursday 25 July 2024 06:59:49 -0400 (0:00:00.038) 0:00:58.000 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 06:59:49 -0400 (0:00:00.132) 0:00:58.132 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Thursday 25 July 2024 06:59:49 -0400 (0:00:00.061) 0:00:58.194 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Thursday 25 July 2024 06:59:49 -0400 (0:00:00.037) 0:00:58.231 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721905182.2918975, "block_size": 4096, "blocks": 8, "ctime": 1721905182.2738974, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301237, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721905182.2738974, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "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] ******************** Thursday 25 July 2024 06:59:50 -0400 (0:00:00.373) 0:00:58.605 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 06:59:50 -0400 (0:00:00.037) 0:00:58.642 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.016778", "end": "2024-07-25 06:59:50.592169", "rc": 1, "start": "2024-07-25 06:59:50.575391" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 06:59:50 -0400 (0:00:00.380) 0:00:59.023 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** Thursday 25 July 2024 06:59:50 -0400 (0:00:00.037) 0:00:59.060 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.003916", "end": "2024-07-25 06:59:52.001859", "rc": 0, "start": "2024-07-25 06:59:50.997943" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** Thursday 25 July 2024 06:59:52 -0400 (0:00:01.420) 0:01:00.481 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** Thursday 25 July 2024 06:59:52 -0400 (0:00:00.045) 0:01:00.526 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002746", "end": "2024-07-25 06:59:52.469901", "rc": 0, "start": "2024-07-25 06:59:52.467155" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** Thursday 25 July 2024 06:59:52 -0400 (0:00:00.378) 0:01:00.905 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** Thursday 25 July 2024 06:59:52 -0400 (0:00:00.045) 0:01:00.950 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** Thursday 25 July 2024 06:59:52 -0400 (0:00:00.040) 0:01:00.991 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** Thursday 25 July 2024 06:59:52 -0400 (0:00:00.039) 0:01:01.030 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** Thursday 25 July 2024 06:59:52 -0400 (0:00:00.038) 0:01:01.069 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003156", "end": "2024-07-25 06:59:53.006094", "rc": 0, "start": "2024-07-25 06:59:53.002938" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.254 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.254 metric 100 169.254.0.0/16 dev veth0 scope link metric 1016 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* Thursday 25 July 2024 06:59:53 -0400 (0:00:00.370) 0:01:01.439 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* Thursday 25 July 2024 06:59:53 -0400 (0:00:00.039) 0:01:01.479 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003298", "end": "2024-07-25 06:59:53.418633", "rc": 0, "start": "2024-07-25 06:59:53.415335" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* Thursday 25 July 2024 06:59:53 -0400 (0:00:00.373) 0:01:01.852 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** Thursday 25 July 2024 06:59:53 -0400 (0:00:00.034) 0:01:01.886 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 06:59:53 -0400 (0:00:00.037) 0:01:01.924 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 06:59:53 -0400 (0:00:00.119) 0:01:02.043 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 06:59:53 -0400 (0:00:00.043) 0:01:02.087 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 06:59:53 -0400 (0:00:00.037) 0:01:02.124 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 06:59:53 -0400 (0:00:00.038) 0:01:02.162 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 06:59:55 -0400 (0:00:01.545) 0:01:03.708 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 06:59:56 -0400 (0:00:01.417) 0:01:05.126 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 06:59:56 -0400 (0:00:00.037) 0:01:05.163 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 06:59:56 -0400 (0:00:00.079) 0:01:05.243 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 06:59:56 -0400 (0:00:00.034) 0:01:05.277 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:56 -0400 (0:00:00.034) 0:01:05.312 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:56 -0400 (0:00:00.047) 0:01:05.360 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:57 -0400 (0:00:00.035) 0:01:05.395 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 06:59:57 -0400 (0:00:00.040) 0:01:05.436 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 06:59:57 -0400 (0:00:00.069) 0:01:05.505 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 06:59:57 -0400 (0:00:00.036) 0:01:05.542 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 06:59:57 -0400 (0:00:00.036) 0:01:05.579 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 06:59:57 -0400 (0:00:00.038) 0:01:05.618 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 06:59:57 -0400 (0:00:00.037) 0:01:05.655 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 06:59:57 -0400 (0:00:00.034) 0:01:05.689 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 06:59:57 -0400 (0:00:00.532) 0:01:06.222 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-10910fpnlcmk8/tmpw5irjzkz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 06:59:58 -0400 (0:00:00.433) 0:01:06.655 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 06:59:58 -0400 (0:00:00.593) 0:01:07.249 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 06:59:58 -0400 (0:00:00.036) 0:01:07.285 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 06:59:58 -0400 (0:00:00.039) 0:01:07.325 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 06:59:59 -0400 (0:00:00.041) 0:01:07.366 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 06:59:59 -0400 (0:00:00.035) 0:01:07.401 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Thursday 25 July 2024 06:59:59 -0400 (0:00:00.365) 0:01:07.767 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Thursday 25 July 2024 06:59:59 -0400 (0:00:00.090) 0:01:07.857 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Thursday 25 July 2024 06:59:59 -0400 (0:00:00.036) 0:01:07.894 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 06:59:59 -0400 (0:00:00.033) 0:01:07.928 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 06:59:59 -0400 (0:00:00.106) 0:01:08.034 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 06:59:59 -0400 (0:00:00.055) 0:01:08.089 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002843", "end": "2024-07-25 07:00:00.020568", "rc": 0, "start": "2024-07-25 07:00:00.017725" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:00:00 -0400 (0:00:00.364) 0:01:08.454 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:00:00 -0400 (0:00:00.037) 0:01:08.491 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* Thursday 25 July 2024 07:00:00 -0400 (0:00:00.037) 0:01:08.529 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* Thursday 25 July 2024 07:00:02 -0400 (0:00:02.607) 0:01:11.137 ********* skipping: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** Thursday 25 July 2024 07:00:02 -0400 (0:00:00.052) 0:01:11.189 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* Thursday 25 July 2024 07:00:02 -0400 (0:00:00.036) 0:01:11.226 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009102", "end": "2024-07-25 07:00:03.176418", "rc": 0, "start": "2024-07-25 07:00:03.167316" } TASK [Create dummy interface veth0] ******************************************** Thursday 25 July 2024 07:00:03 -0400 (0:00:00.391) 0:01:11.618 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Thursday 25 July 2024 07:00:03 -0400 (0:00:00.038) 0:01:11.656 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Thursday 25 July 2024 07:00:03 -0400 (0:00:00.036) 0:01:11.693 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Thursday 25 July 2024 07:00:03 -0400 (0:00:00.038) 0:01:11.731 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** Thursday 25 July 2024 07:00:03 -0400 (0:00:00.035) 0:01:11.767 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Thursday 25 July 2024 07:00:03 -0400 (0:00:00.088) 0:01:11.856 ********* ok: [managed_node1] => { "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.007578", "end": "2024-07-25 07:00:03.794166", "rc": 0, "start": "2024-07-25 07:00:03.786588" } 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:37:40:5a:4f:cb brd ff:ff:ff:ff:ff:ff inet 10.31.9.254/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3447sec preferred_lft 3447sec inet6 fe80::1037:40ff:fe5a:4fcb/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.254 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.254 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 nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* Thursday 25 July 2024 07:00:03 -0400 (0:00:00.371) 0:01:12.227 ********* ok: [managed_node1] => { "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.267349", "end": "2024-07-25 07:00:04.433902", "rc": 0, "start": "2024-07-25 07:00:04.166553" } STDOUT: CHECK DNS AND CONNECTIVITY 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 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.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 2103 0 --:--:-- --:--:-- --:--:-- 2103 % 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 3637 0 --:--:-- --:--:-- --:--:-- 3637 PLAY RECAP ********************************************************************* managed_node1 : ok=141 changed=6 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Thursday 25 July 2024 07:00:04 -0400 (0:00:00.620) 0:01:12.848 ********* =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.87s fedora.linux_system_roles.network : Configure networking connection profiles --- 6.68s fedora.linux_system_roles.network : Install packages -------------------- 3.83s Install iproute --------------------------------------------------------- 2.76s Install iproute --------------------------------------------------------- 2.61s Install iproute --------------------------------------------------------- 2.61s Install iproute --------------------------------------------------------- 2.61s fedora.linux_system_roles.network : Check which packages are installed --- 1.67s fedora.linux_system_roles.network : Check which services are running ---- 1.59s fedora.linux_system_roles.network : Check which services are running ---- 1.57s fedora.linux_system_roles.network : Check which services are running ---- 1.55s fedora.linux_system_roles.network : Check which services are running ---- 1.55s fedora.linux_system_roles.network : Check which packages are installed --- 1.47s fedora.linux_system_roles.network : Check which packages are installed --- 1.42s Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.42s fedora.linux_system_roles.network : Check which packages are installed --- 1.42s Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.37s Create veth interface veth0 --------------------------------------------- 1.11s Create veth interface veth0 --------------------------------------------- 1.09s fedora.linux_system_roles.network : Enable network service -------------- 1.01s