No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_ipv6.yml' with initscripts as provider] **** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:50:18 -0400 (0:00:00.017) 0:00:00.017 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Saturday 06 July 2024 06:50:19 -0400 (0:00:00.890) 0:00:00.908 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/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] *** Saturday 06 July 2024 06:50:19 -0400 (0:00:00.018) 0:00:00.926 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:50:19 -0400 (0:00:00.497) 0:00:01.424 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:50:20 -0400 (0:00:00.428) 0:00:01.852 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 06:50:20 -0400 (0:00:00.030) 0:00:01.883 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Saturday 06 July 2024 06:50:20 -0400 (0:00:00.026) 0:00:01.910 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** Saturday 06 July 2024 06:50:20 -0400 (0:00:00.046) 0:00:01.956 ********* 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] *********************************************** Saturday 06 July 2024 06:50:20 -0400 (0:00:00.417) 0:00:02.374 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Saturday 06 July 2024 06:50:20 -0400 (0:00:00.016) 0:00:02.391 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Saturday 06 July 2024 06:50:20 -0400 (0:00:00.018) 0:00:02.409 ********* [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.241947", "end": "2024-07-06 06:50:21.151760", "rc": 0, "start": "2024-07-06 06:50:20.909813" } TASK [Enable EPEL 6] *********************************************************** Saturday 06 July 2024 06:50:21 -0400 (0:00:00.594) 0:00:03.004 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Saturday 06 July 2024 06:50:21 -0400 (0:00:00.014) 0:00:03.018 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing IPv6 config] ******************************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:50:21 -0400 (0:00:00.016) 0:00:03.034 ********* ok: [managed_node1] TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:50:21 -0400 (0:00:00.643) 0:00:03.678 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:50:21 -0400 (0:00:00.021) 0:00:03.700 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:50:21 -0400 (0:00:00.021) 0:00:03.721 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002687", "end": "2024-07-06 06:50:22.224657", "rc": 0, "start": "2024-07-06 06:50:22.221970" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:50:22 -0400 (0:00:00.354) 0:00:04.076 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:50:22 -0400 (0:00:00.018) 0:00:04.095 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:50:22 -0400 (0:00:00.017) 0:00:04.113 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Saturday 06 July 2024 06:50:22 -0400 (0:00:00.024) 0:00:04.137 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:50:22 -0400 (0:00:00.015) 0:00:04.153 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:50:22 -0400 (0:00:00.015) 0:00:04.168 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:50:22 -0400 (0:00:00.022) 0:00:04.190 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:50:22 -0400 (0:00:00.020) 0:00:04.211 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002963", "end": "2024-07-06 06:50:22.711227", "rc": 0, "start": "2024-07-06 06:50:22.708264" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:50:22 -0400 (0:00:00.352) 0:00:04.563 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:50:22 -0400 (0:00:00.018) 0:00:04.582 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:50:22 -0400 (0:00:00.017) 0:00:04.600 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* Saturday 06 July 2024 06:50:25 -0400 (0:00:02.961) 0:00:07.561 ********* 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.012553", "end": "2024-07-06 06:50:26.079312", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-06 06:50:26.066759" } 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.003580", "end": "2024-07-06 06:50:26.463477", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-06 06:50:26.459897" } 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.003734", "end": "2024-07-06 06:50:26.804354", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-06 06:50:26.800620" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:50:26 -0400 (0:00:01.095) 0:00:08.657 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022135", "end": "2024-07-06 06:50:27.179531", "rc": 0, "start": "2024-07-06 06:50:27.157396" } TASK [Delete veth interface veth0] ********************************************* Saturday 06 July 2024 06:50:27 -0400 (0:00:00.372) 0:00:09.030 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** Saturday 06 July 2024 06:50:27 -0400 (0:00:00.018) 0:00:09.049 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Saturday 06 July 2024 06:50:27 -0400 (0:00:00.017) 0:00:09.066 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Saturday 06 July 2024 06:50:27 -0400 (0:00:00.016) 0:00:09.083 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Saturday 06 July 2024 06:50:27 -0400 (0:00:00.016) 0:00:09.100 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up gateway ip on veth peer] ****************************************** Saturday 06 July 2024 06:50:27 -0400 (0:00:00.015) 0:00:09.115 ********* ok: [managed_node1] => { "changed": false, "cmd": "ip netns add ns1\nip link set peerveth0 netns ns1\nip netns exec ns1 ip -6 addr add 2001:db8::1/32 dev peerveth0\nip netns exec ns1 ip link set peerveth0 up\n", "delta": "0:00:00.035285", "end": "2024-07-06 06:50:27.649624", "rc": 0, "start": "2024-07-06 06:50:27.614339" } TASK [TEST: I can configure an interface with static ipv6 config] ************** Saturday 06 July 2024 06:50:27 -0400 (0:00:00.385) 0:00:09.501 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:50:27 -0400 (0:00:00.017) 0:00:09.518 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/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] *** Saturday 06 July 2024 06:50:27 -0400 (0:00:00.028) 0:00:09.547 ********* 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] *********** Saturday 06 July 2024 06:50:27 -0400 (0:00:00.016) 0:00:09.563 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:50:27 -0400 (0:00:00.015) 0:00:09.579 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:50:27 -0400 (0:00:00.015) 0:00:09.595 ********* 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] *** Saturday 06 July 2024 06:50:29 -0400 (0:00:01.716) 0:00:11.311 ********* 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] ************** Saturday 06 July 2024 06:50:31 -0400 (0:00:01.707) 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] *** Saturday 06 July 2024 06:50:31 -0400 (0:00:00.035) 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] *** Saturday 06 July 2024 06:50:31 -0400 (0:00:00.031) 0:00:13.086 ********* 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] *** Saturday 06 July 2024 06:50:31 -0400 (0:00:00.030) 0:00:13.117 ********* 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] *** Saturday 06 July 2024 06:50:31 -0400 (0:00:00.039) 0:00:13.156 ********* 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] *** Saturday 06 July 2024 06:50:31 -0400 (0:00:00.030) 0:00:13.187 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:50:31 -0400 (0:00:00.036) 0:00:13.223 ********* 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] *** Saturday 06 July 2024 06:50:31 -0400 (0:00:00.064) 0:00:13.287 ********* 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] *** Saturday 06 July 2024 06:50:31 -0400 (0:00:00.031) 0:00:13.319 ********* 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] *** Saturday 06 July 2024 06:50:31 -0400 (0:00:00.031) 0:00:13.350 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:50:31 -0400 (0:00:00.038) 0:00:13.389 ********* 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] ***** Saturday 06 July 2024 06:50:31 -0400 (0:00:00.031) 0:00:13.420 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:50:31 -0400 (0:00:00.034) 0:00:13.454 ********* 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] *** Saturday 06 July 2024 06:50:32 -0400 (0:00:00.746) 0:00:14.201 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-34000x9leptka/tmpcushq5ng" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:50:32 -0400 (0:00:00.380) 0:00:14.581 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "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] ********** Saturday 06 July 2024 06:50:35 -0400 (0:00:02.826) 0:00:17.407 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:50:35 -0400 (0:00:00.032) 0:00:17.439 ********* 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] *** Saturday 06 July 2024 06:50:35 -0400 (0:00:00.033) 0:00:17.473 ********* 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/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "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] *** Saturday 06 July 2024 06:50:35 -0400 (0:00:00.057) 0:00:17.531 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:50:35 -0400 (0:00:00.030) 0:00:17.562 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** Saturday 06 July 2024 06:50:36 -0400 (0:00:00.433) 0:00:17.995 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/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'] ******************************* Saturday 06 July 2024 06:50:36 -0400 (0:00:00.059) 0:00:18.055 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** Saturday 06 July 2024 06:50:36 -0400 (0:00:00.052) 0:00:18.108 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720263026.0700712, "block_size": 4096, "blocks": 0, "ctime": 1720263026.0700712, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 55077, "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": 1720263026.0700712, "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'] ************************** Saturday 06 July 2024 06:50:36 -0400 (0:00:00.373) 0:00:18.482 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Saturday 06 July 2024 06:50:36 -0400 (0:00:00.037) 0:00:18.519 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/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'] ********************************* Saturday 06 July 2024 06:50:36 -0400 (0:00:00.062) 0:00:18.582 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/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] ************ Saturday 06 July 2024 06:50:36 -0400 (0:00:00.057) 0:00:18.639 ********* 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] ******************************************************* Saturday 06 July 2024 06:50:36 -0400 (0:00:00.060) 0:00:18.699 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720263033.3782258, "block_size": 4096, "blocks": 8, "ctime": 1720263033.3602257, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720263033.3602257, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 253, "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] ******************** Saturday 06 July 2024 06:50:37 -0400 (0:00:00.369) 0:00:19.069 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:50:37 -0400 (0:00:00.037) 0:00:19.106 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.018924", "end": "2024-07-06 06:50:37.625217", "rc": 1, "start": "2024-07-06 06:50:37.606293" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:50:37 -0400 (0:00:00.386) 0:00:19.492 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** Saturday 06 July 2024 06:50:37 -0400 (0:00:00.034) 0:00:19.527 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002913", "end": "2024-07-06 06:50:38.037705", "rc": 0, "start": "2024-07-06 06:50:38.034792" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** Saturday 06 July 2024 06:50:38 -0400 (0:00:00.378) 0:00:19.906 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** Saturday 06 July 2024 06:50:38 -0400 (0:00:00.042) 0:00:19.948 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002788", "end": "2024-07-06 06:50:38.460875", "rc": 0, "start": "2024-07-06 06:50:38.458087" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** Saturday 06 July 2024 06:50:38 -0400 (0:00:00.379) 0:00:20.328 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** Saturday 06 July 2024 06:50:38 -0400 (0:00:00.042) 0:00:20.371 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** Saturday 06 July 2024 06:50:38 -0400 (0:00:00.037) 0:00:20.408 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** Saturday 06 July 2024 06:50:38 -0400 (0:00:00.035) 0:00:20.444 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ip address information] ********************************************** Saturday 06 July 2024 06:50:38 -0400 (0:00:00.064) 0:00:20.508 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "addr", "show", "veth0" ], "delta": "0:00:00.003118", "end": "2024-07-06 06:50:39.015546", "rc": 0, "start": "2024-07-06 06:50:39.012428" } STDOUT: 120: veth0@if119: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 2a:2e:a6:57:7d:41 brd ff:ff:ff:ff:ff:ff link-netns ns1 inet6 2001:db8::4/32 scope global valid_lft forever preferred_lft forever inet6 2001:db8::3/32 scope global valid_lft forever preferred_lft forever inet6 2001:db8::2/32 scope global valid_lft forever preferred_lft forever inet6 fe80::282e:a6ff:fe57:7d41/64 scope link valid_lft forever preferred_lft forever TASK [Show ip_addr] ************************************************************ Saturday 06 July 2024 06:50:39 -0400 (0:00:00.373) 0:00:20.882 ********* ok: [managed_node1] => { "ip_addr.stdout": "120: veth0@if119: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether 2a:2e:a6:57:7d:41 brd ff:ff:ff:ff:ff:ff link-netns ns1\n inet6 2001:db8::4/32 scope global \n valid_lft forever preferred_lft forever\n inet6 2001:db8::3/32 scope global \n valid_lft forever preferred_lft forever\n inet6 2001:db8::2/32 scope global \n valid_lft forever preferred_lft forever\n inet6 fe80::282e:a6ff:fe57:7d41/64 scope link \n valid_lft forever preferred_lft forever" } TASK [Assert ipv6 addresses are correctly set] ********************************* Saturday 06 July 2024 06:50:39 -0400 (0:00:00.034) 0:00:20.916 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* Saturday 06 July 2024 06:50:39 -0400 (0:00:00.037) 0:00:20.953 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003396", "end": "2024-07-06 06:50:39.462565", "rc": 0, "start": "2024-07-06 06:50:39.459169" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/32 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 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 [Show ipv6_route] ********************************************************* Saturday 06 July 2024 06:50:39 -0400 (0:00:00.375) 0:00:21.329 ********* ok: [managed_node1] => { "ipv6_route.stdout": "::1 dev lo proto kernel metric 256 pref medium\n2001:db8::/32 dev veth0 proto kernel metric 256 pref medium\nfe80::/64 dev eth0 proto kernel metric 256 pref medium\nfe80::/64 dev veth0 proto kernel metric 256 pref medium\ndefault via 2001:db8::1 dev veth0 metric 1 pref medium" } TASK [Assert default ipv6 route is set] **************************************** Saturday 06 July 2024 06:50:39 -0400 (0:00:00.035) 0:00:21.365 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure ping6 command is present] ***************************************** Saturday 06 July 2024 06:50:39 -0400 (0:00:00.036) 0:00:21.402 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Test gateway can be pinged] ********************************************** Saturday 06 July 2024 06:50:42 -0400 (0:00:02.729) 0:00:24.132 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ping6", "-c1", "2001:db8::1" ], "delta": "0:00:00.004197", "end": "2024-07-06 06:50:42.635872", "rc": 0, "start": "2024-07-06 06:50:42.631675" } STDOUT: PING 2001:db8::1(2001:db8::1) 56 data bytes 64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.052 ms --- 2001:db8::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.052/0.052/0.052/0.000 ms TASK [TEARDOWN: remove profiles.] ********************************************** Saturday 06 July 2024 06:50:42 -0400 (0:00:00.369) 0:00:24.501 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:50:42 -0400 (0:00:00.034) 0:00:24.536 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/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] *** Saturday 06 July 2024 06:50:42 -0400 (0:00:00.059) 0:00:24.595 ********* 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] *********** Saturday 06 July 2024 06:50:42 -0400 (0:00:00.040) 0:00:24.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] *** Saturday 06 July 2024 06:50:42 -0400 (0:00:00.032) 0:00:24.668 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:50:42 -0400 (0:00:00.032) 0:00:24.700 ********* 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] *** Saturday 06 July 2024 06:50:44 -0400 (0:00:01.625) 0:00:26.326 ********* 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] ************** Saturday 06 July 2024 06:50:46 -0400 (0:00:01.499) 0:00:27.825 ********* 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] *** Saturday 06 July 2024 06:50:46 -0400 (0:00:00.034) 0:00:27.860 ********* 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] *** Saturday 06 July 2024 06:50:46 -0400 (0:00:00.034) 0:00:27.894 ********* 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] *** Saturday 06 July 2024 06:50:46 -0400 (0:00:00.031) 0:00:27.926 ********* 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] *** Saturday 06 July 2024 06:50:46 -0400 (0:00:00.065) 0:00:27.991 ********* 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] *** Saturday 06 July 2024 06:50:46 -0400 (0:00:00.034) 0:00:28.026 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:50:46 -0400 (0:00:00.040) 0:00:28.066 ********* 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] *** Saturday 06 July 2024 06:50:46 -0400 (0:00:00.065) 0:00:28.132 ********* 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] *** Saturday 06 July 2024 06:50:46 -0400 (0:00:00.032) 0:00:28.164 ********* 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] *** Saturday 06 July 2024 06:50:46 -0400 (0:00:00.031) 0:00:28.196 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:50:46 -0400 (0:00:00.036) 0:00:28.232 ********* 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] ***** Saturday 06 July 2024 06:50:46 -0400 (0:00:00.034) 0:00:28.266 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:50:46 -0400 (0:00:00.030) 0:00:28.297 ********* 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] *** Saturday 06 July 2024 06:50:47 -0400 (0:00:00.533) 0:00:28.831 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-34000x9leptka/tmpgybun7h2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:50:47 -0400 (0:00:00.375) 0:00:29.206 ********* 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] ********** Saturday 06 July 2024 06:50:48 -0400 (0:00:00.633) 0:00:29.839 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:50:48 -0400 (0:00:00.032) 0:00:29.872 ********* 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] *** Saturday 06 July 2024 06:50:48 -0400 (0:00:00.036) 0:00:29.909 ********* 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] *** Saturday 06 July 2024 06:50:48 -0400 (0:00:00.035) 0:00:29.944 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:50:48 -0400 (0:00:00.034) 0:00:29.978 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:50:48 -0400 (0:00:00.364) 0:00:30.343 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Saturday 06 July 2024 06:50:48 -0400 (0:00:00.067) 0:00:30.411 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:50:48 -0400 (0:00:00.032) 0:00:30.443 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:50:48 -0400 (0:00:00.031) 0:00:30.474 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:50:48 -0400 (0:00:00.054) 0:00:30.529 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:50:48 -0400 (0:00:00.053) 0:00:30.582 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002997", "end": "2024-07-06 06:50:49.086017", "rc": 0, "start": "2024-07-06 06:50:49.083020" } STDOUT: bonding_masters eth0 lo veth0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:50:49 -0400 (0:00:00.403) 0:00:30.986 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:50:49 -0400 (0:00:00.037) 0:00:31.023 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'veth0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:50:49 -0400 (0:00:00.035) 0:00:31.059 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* Saturday 06 July 2024 06:50:52 -0400 (0:00:02.750) 0:00:33.809 ********* 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] ******************************** Saturday 06 July 2024 06:50:52 -0400 (0:00:00.050) 0:00:33.859 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* Saturday 06 July 2024 06:50:52 -0400 (0:00:00.059) 0:00:33.919 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008628", "end": "2024-07-06 06:50:52.432767", "rc": 0, "start": "2024-07-06 06:50:52.424139" } TASK [Create dummy interface veth0] ******************************************** Saturday 06 July 2024 06:50:52 -0400 (0:00:00.383) 0:00:34.302 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Saturday 06 July 2024 06:50:52 -0400 (0:00:00.034) 0:00:34.336 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Saturday 06 July 2024 06:50:52 -0400 (0:00:00.033) 0:00:34.370 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Saturday 06 July 2024 06:50:52 -0400 (0:00:00.033) 0:00:34.404 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up namespace] ****************************************************** Saturday 06 July 2024 06:50:52 -0400 (0:00:00.035) 0:00:34.440 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "netns", "delete", "ns1" ], "delta": "0:00:00.007799", "end": "2024-07-06 06:50:52.951848", "rc": 0, "start": "2024-07-06 06:50:52.944049" } TASK [Verify network state restored to default] ******************************** Saturday 06 July 2024 06:50:53 -0400 (0:00:00.379) 0:00:34.819 ********* included: /var/ARTIFACTS/work-general_vx6ysrn/plans/general/tree/tmp.Jv8SKhVEkz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Saturday 06 July 2024 06:50:53 -0400 (0:00:00.065) 0:00:34.884 ********* 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.008164", "end": "2024-07-06 06:50:53.392450", "rc": 0, "start": "2024-07-06 06:50:53.384286" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:2c:b9:dc:12:f1 brd ff:ff:ff:ff:ff:ff inet 10.31.47.228/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2046sec preferred_lft 2046sec inet6 fe80::2c:b9ff:fedc:12f1/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.228 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.228 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] ************************************* Saturday 06 July 2024 06:50:53 -0400 (0:00:00.373) 0:00:35.258 ********* 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.343358", "end": "2024-07-06 06:50:54.111321", "rc": 0, "start": "2024-07-06 06:50:53.767963" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1459 0 --:--:-- --:--:-- --:--:-- 1452 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2669 0 --:--:-- --:--:-- --:--:-- 2669 PLAY RECAP ********************************************************************* managed_node1 : ok=84 changed=2 unreachable=0 failed=0 skipped=52 rescued=0 ignored=1 Saturday 06 July 2024 06:50:54 -0400 (0:00:00.727) 0:00:35.985 ********* =============================================================================== Install iproute --------------------------------------------------------- 2.96s fedora.linux_system_roles.network : Configure networking connection profiles --- 2.83s Install iproute --------------------------------------------------------- 2.75s Ensure ping6 command is present ----------------------------------------- 2.73s fedora.linux_system_roles.network : Check which services are running ---- 1.72s fedora.linux_system_roles.network : Check which packages are installed --- 1.71s fedora.linux_system_roles.network : Check which services are running ---- 1.63s fedora.linux_system_roles.network : Check which packages are installed --- 1.50s Create veth interface veth0 --------------------------------------------- 1.10s Gathering Facts --------------------------------------------------------- 0.89s fedora.linux_system_roles.network : Enable network service -------------- 0.75s Verify DNS and network connectivity ------------------------------------- 0.73s Gathering Facts --------------------------------------------------------- 0.64s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.63s Enable EPEL 8 ----------------------------------------------------------- 0.59s fedora.linux_system_roles.network : Enable network service -------------- 0.53s Gather the minimum subset of ansible_facts required by the network role test --- 0.50s fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.43s Check if system is ostree ----------------------------------------------- 0.43s Create EPEL 8 ----------------------------------------------------------- 0.42s