No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_route_device.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:26:08 -0400 (0:00:00.017) 0:00:00.017 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Thursday 25 July 2024 07:26:09 -0400 (0:00:00.889) 0:00:00.907 ********* 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 07:26:09 -0400 (0:00:00.021) 0:00:00.928 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Thursday 25 July 2024 07:26:10 -0400 (0:00:00.493) 0:00:01.421 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Thursday 25 July 2024 07:26:10 -0400 (0:00:00.431) 0:00:01.853 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Thursday 25 July 2024 07:26:10 -0400 (0:00:00.033) 0:00:01.886 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Thursday 25 July 2024 07:26:10 -0400 (0:00:00.028) 0:00:01.915 ********* 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 07:26:10 -0400 (0:00:00.048) 0:00:01.963 ********* 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 07:26:11 -0400 (0:00:00.438) 0:00:02.401 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Thursday 25 July 2024 07:26:11 -0400 (0:00:00.017) 0:00:02.419 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Thursday 25 July 2024 07:26:11 -0400 (0:00:00.019) 0:00:02.439 ********* [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.234110", "end": "2024-07-25 07:26:11.861947", "rc": 0, "start": "2024-07-25 07:26:11.627837" } TASK [Enable EPEL 6] *********************************************************** Thursday 25 July 2024 07:26:11 -0400 (0:00:00.596) 0:00:03.035 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Thursday 25 July 2024 07:26:11 -0400 (0:00:00.016) 0:00:03.051 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Test output device of routes] ******************************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:26:11 -0400 (0:00:00.016) 0:00:03.068 ********* ok: [managed_node1] TASK [Set type and interface0] ************************************************* Thursday 25 July 2024 07:26:12 -0400 (0:00:00.637) 0:00:03.705 ********* ok: [managed_node1] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Show interfaces] ********************************************************* Thursday 25 July 2024 07:26:12 -0400 (0:00:00.018) 0:00:03.724 ********* 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 07:26:12 -0400 (0:00:00.021) 0:00:03.745 ********* 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 07:26:12 -0400 (0:00:00.021) 0:00:03.767 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002964", "end": "2024-07-25 07:26:12.955513", "rc": 0, "start": "2024-07-25 07:26:12.952549" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:26:13 -0400 (0:00:00.363) 0:00:04.130 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:26:13 -0400 (0:00:00.019) 0:00:04.149 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Manage test interface] *************************************************** Thursday 25 July 2024 07:26:13 -0400 (0:00:00.018) 0:00:04.168 ********* 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 07:26:13 -0400 (0:00:00.026) 0:00:04.195 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Thursday 25 July 2024 07:26:13 -0400 (0:00:00.016) 0:00:04.212 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 07:26:13 -0400 (0:00:00.019) 0:00:04.231 ********* 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 07:26:13 -0400 (0:00:00.021) 0:00:04.253 ********* 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 07:26:13 -0400 (0:00:00.021) 0:00:04.274 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002974", "end": "2024-07-25 07:26:13.454186", "rc": 0, "start": "2024-07-25 07:26:13.451212" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:26:13 -0400 (0:00:00.354) 0:00:04.629 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:26:13 -0400 (0:00:00.019) 0:00:04.649 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* Thursday 25 July 2024 07:26:13 -0400 (0:00:00.018) 0:00:04.667 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface ethtest0] ****************************************** Thursday 25 July 2024 07:26:16 -0400 (0:00:02.891) 0:00:07.559 ********* ok: [managed_node1] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.010021", "end": "2024-07-25 07:26:16.752482", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-07-25 07:26:16.742461" } ok: [managed_node1] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003627", "end": "2024-07-25 07:26:17.129234", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-07-25 07:26:17.125607" } ok: [managed_node1] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.003825", "end": "2024-07-25 07:26:17.477712", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-07-25 07:26:17.473887" } TASK [Set up veth as managed by NetworkManager] ******************************** Thursday 25 July 2024 07:26:17 -0400 (0:00:01.094) 0:00:08.653 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.027746", "end": "2024-07-25 07:26:17.860192", "rc": 0, "start": "2024-07-25 07:26:17.832446" } TASK [Delete veth interface ethtest0] ****************************************** Thursday 25 July 2024 07:26:17 -0400 (0:00:00.392) 0:00:09.046 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** Thursday 25 July 2024 07:26:17 -0400 (0:00:00.020) 0:00:09.066 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** Thursday 25 July 2024 07:26:17 -0400 (0:00:00.018) 0:00:09.085 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* Thursday 25 July 2024 07:26:17 -0400 (0:00:00.018) 0:00:09.103 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* Thursday 25 July 2024 07:26:18 -0400 (0:00:00.020) 0:00:09.123 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ Thursday 25 July 2024 07:26:18 -0400 (0:00:00.018) 0:00:09.141 ********* 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 07:26:18 -0400 (0:00:00.023) 0:00:09.164 ********* 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 ethtest0] ***************************************** Thursday 25 July 2024 07:26:18 -0400 (0:00:00.023) 0:00:09.188 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721906776.7457483, "block_size": 4096, "blocks": 0, "ctime": 1721906776.7457483, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 58532, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1721906776.7457483, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 - 'ethtest0'] *********************** Thursday 25 July 2024 07:26:18 -0400 (0:00:00.352) 0:00:09.541 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set interface1] ********************************************************** Thursday 25 July 2024 07:26:18 -0400 (0:00:00.021) 0:00:09.562 ********* ok: [managed_node1] => { "ansible_facts": { "interface": "ethtest1" }, "changed": false } TASK [Show interfaces] ********************************************************* Thursday 25 July 2024 07:26:18 -0400 (0:00:00.019) 0:00:09.582 ********* 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 07:26:18 -0400 (0:00:00.024) 0:00:09.606 ********* 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 07:26:18 -0400 (0:00:00.020) 0:00:09.627 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002977", "end": "2024-07-25 07:26:18.805111", "rc": 0, "start": "2024-07-25 07:26:18.802134" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:26:18 -0400 (0:00:00.352) 0:00:09.980 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:26:18 -0400 (0:00:00.019) 0:00:10.000 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Manage test interface] *************************************************** Thursday 25 July 2024 07:26:18 -0400 (0:00:00.019) 0:00:10.020 ********* 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 07:26:18 -0400 (0:00:00.028) 0:00:10.048 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Thursday 25 July 2024 07:26:18 -0400 (0:00:00.018) 0:00:10.067 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 07:26:18 -0400 (0:00:00.016) 0:00:10.084 ********* 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 07:26:18 -0400 (0:00:00.022) 0:00:10.106 ********* 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 07:26:19 -0400 (0:00:00.023) 0:00:10.130 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002815", "end": "2024-07-25 07:26:19.307176", "rc": 0, "start": "2024-07-25 07:26:19.304361" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:26:19 -0400 (0:00:00.351) 0:00:10.481 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:26:19 -0400 (0:00:00.020) 0:00:10.501 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* Thursday 25 July 2024 07:26:19 -0400 (0:00:00.020) 0:00:10.521 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface ethtest1] ****************************************** Thursday 25 July 2024 07:26:22 -0400 (0:00:02.610) 0:00:13.132 ********* ok: [managed_node1] => (item=ip link add ethtest1 type veth peer name peerethtest1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest1", "type", "veth", "peer", "name", "peerethtest1" ], "delta": "0:00:00.012770", "end": "2024-07-25 07:26:22.336961", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-07-25 07:26:22.324191" } ok: [managed_node1] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003518", "end": "2024-07-25 07:26:22.708869", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-07-25 07:26:22.705351" } ok: [managed_node1] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.003889", "end": "2024-07-25 07:26:23.050657", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-07-25 07:26:23.046768" } TASK [Set up veth as managed by NetworkManager] ******************************** Thursday 25 July 2024 07:26:23 -0400 (0:00:01.093) 0:00:14.226 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.027686", "end": "2024-07-25 07:26:23.436790", "rc": 0, "start": "2024-07-25 07:26:23.409104" } TASK [Delete veth interface ethtest1] ****************************************** Thursday 25 July 2024 07:26:23 -0400 (0:00:00.401) 0:00:14.627 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** Thursday 25 July 2024 07:26:23 -0400 (0:00:00.019) 0:00:14.646 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** Thursday 25 July 2024 07:26:23 -0400 (0:00:00.019) 0:00:14.666 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* Thursday 25 July 2024 07:26:23 -0400 (0:00:00.019) 0:00:14.685 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* Thursday 25 July 2024 07:26:23 -0400 (0:00:00.018) 0:00:14.704 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ Thursday 25 July 2024 07:26:23 -0400 (0:00:00.017) 0:00:14.722 ********* 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 07:26:23 -0400 (0:00:00.029) 0:00:14.751 ********* 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 ethtest1] ***************************************** Thursday 25 July 2024 07:26:23 -0400 (0:00:00.025) 0:00:14.776 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721906782.3279412, "block_size": 4096, "blocks": 0, "ctime": 1721906782.3279412, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 59118, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest1", "lnk_target": "../../devices/virtual/net/ethtest1", "mode": "0777", "mtime": 1721906782.3279412, "nlink": 1, "path": "/sys/class/net/ethtest1", "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 - 'ethtest1'] *********************** Thursday 25 July 2024 07:26:24 -0400 (0:00:00.359) 0:00:15.136 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:26:24 -0400 (0:00:00.022) 0:00:15.158 ********* 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 07:26:24 -0400 (0:00:00.029) 0:00:15.187 ********* 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 07:26:24 -0400 (0:00:00.020) 0:00:15.207 ********* 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 07:26:24 -0400 (0:00:00.016) 0:00:15.224 ********* 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 07:26:24 -0400 (0:00:00.016) 0:00:15.241 ********* 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 07:26:25 -0400 (0:00:01.721) 0:00:16.962 ********* 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 07:26:27 -0400 (0:00:01.641) 0:00:18.604 ********* 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 07:26:27 -0400 (0:00:00.058) 0:00:18.662 ********* 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 07:26:27 -0400 (0:00:00.035) 0:00:18.698 ********* 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 07:26:27 -0400 (0:00:00.033) 0:00:18.731 ********* 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 07:26:27 -0400 (0:00:00.035) 0:00:18.767 ********* 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 07:26:27 -0400 (0:00:00.044) 0:00:18.812 ********* 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 07:26:27 -0400 (0:00:00.033) 0:00:18.845 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:26:27 -0400 (0:00:00.044) 0:00:18.890 ********* 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 07:26:27 -0400 (0:00:00.069) 0:00:18.960 ********* 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 07:26:27 -0400 (0:00:00.036) 0:00:18.996 ********* 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 07:26:27 -0400 (0:00:00.032) 0:00:19.029 ********* 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 07:26:27 -0400 (0:00:00.040) 0:00:19.070 ********* 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 07:26:27 -0400 (0:00:00.035) 0:00:19.105 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:26:28 -0400 (0:00:00.033) 0:00:19.139 ********* 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 07:26:28 -0400 (0:00:00.785) 0:00:19.924 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37644qwv5hv37/tmpll4v5kp2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:26:29 -0400 (0:00:00.375) 0:00:20.299 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24", "2001:db8::2/32" ], "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.10.64", "prefix": 26 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db6::4", "prefix": 128 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" }, { "autoconnect": false, "interface_name": "ethtest1", "ip": { "address": [ "198.51.100.6/24", "2001:db8::4/32" ], "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.12.128", "prefix": 26 } ] }, "name": "ethtest1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'ethtest0': add ifcfg-rh profile 'ethtest0' [006] #1, state:up persistent_state:present, 'ethtest1': add ifcfg-rh profile 'ethtest1' [007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0 (is-modified) [008] #0, state:up persistent_state:present, 'ethtest0': call 'ifup ethtest0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface ethtest0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest0 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"' [009] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1 (is-modified) [010] #1, state:up persistent_state:present, 'ethtest1': call 'ifup ethtest1': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface ethtest1 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest1 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 07:26:42 -0400 (0:00:13.036) 0:00:33.336 ********* 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 07:26:42 -0400 (0:00:00.032) 0:00:33.368 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add ifcfg-rh profile 'ethtest0'", "[006] #1, state:up persistent_state:present, 'ethtest1': add ifcfg-rh profile 'ethtest1'", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0 (is-modified)", "[008] #0, state:up persistent_state:present, 'ethtest0': call 'ifup ethtest0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface ethtest0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest0 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\"'", "[009] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1 (is-modified)", "[010] #1, state:up persistent_state:present, 'ethtest1': call 'ifup ethtest1': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface ethtest1 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest1 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 07:26:42 -0400 (0:00:00.037) 0:00:33.405 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24", "2001:db8::2/32" ], "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.10.64", "prefix": 26 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db6::4", "prefix": 128 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" }, { "autoconnect": false, "interface_name": "ethtest1", "ip": { "address": [ "198.51.100.6/24", "2001:db8::4/32" ], "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.12.128", "prefix": 26 } ] }, "name": "ethtest1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'ethtest0': add ifcfg-rh profile 'ethtest0'\n[006] #1, state:up persistent_state:present, 'ethtest1': add ifcfg-rh profile 'ethtest1'\n[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0 (is-modified)\n[008] #0, state:up persistent_state:present, 'ethtest0': call 'ifup ethtest0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface ethtest0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest0 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[009] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1 (is-modified)\n[010] #1, state:up persistent_state:present, 'ethtest1': call 'ifup ethtest1': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface ethtest1 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest1 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": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add ifcfg-rh profile 'ethtest0'", "[006] #1, state:up persistent_state:present, 'ethtest1': add ifcfg-rh profile 'ethtest1'", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0 (is-modified)", "[008] #0, state:up persistent_state:present, 'ethtest0': call 'ifup ethtest0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface ethtest0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest0 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\"'", "[009] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1 (is-modified)", "[010] #1, state:up persistent_state:present, 'ethtest1': call 'ifup ethtest1': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface ethtest1 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest1 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 07:26:42 -0400 (0:00:00.063) 0:00:33.469 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:26:42 -0400 (0:00:00.034) 0:00:33.504 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get the IPv4 routes from the route table main] *************************** Thursday 25 July 2024 07:26:42 -0400 (0:00:00.436) 0:00:33.940 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-4", "route" ], "delta": "0:00:00.003405", "end": "2024-07-25 07:26:43.120131", "rc": 0, "start": "2024-07-25 07:26:43.116726" } 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 ethtest0 scope link metric 1132 169.254.0.0/16 dev ethtest1 scope link metric 1134 198.51.10.64/26 via 198.51.100.6 dev ethtest0 metric 4 198.51.12.128/26 via 198.51.100.1 dev ethtest1 metric 2 198.51.100.0/24 dev ethtest0 proto kernel scope link src 198.51.100.3 198.51.100.0/24 dev ethtest1 proto kernel scope link src 198.51.100.6 TASK [Assert that the route table main contains the specified IPv4 routes] ***** Thursday 25 July 2024 07:26:43 -0400 (0:00:00.367) 0:00:34.308 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get the IPv6 routes from the route table main] *************************** Thursday 25 July 2024 07:26:43 -0400 (0:00:00.040) 0:00:34.348 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003356", "end": "2024-07-25 07:26:43.524680", "rc": 0, "start": "2024-07-25 07:26:43.521324" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db6::4 via 2001:db8::1 dev ethtest0 metric 2 pref medium 2001:db8::/32 dev ethtest0 proto kernel metric 256 pref medium 2001:db8::/32 dev ethtest1 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerethtest0 proto kernel metric 256 pref medium fe80::/64 dev peerethtest1 proto kernel metric 256 pref medium fe80::/64 dev ethtest0 proto kernel metric 256 pref medium fe80::/64 dev ethtest1 proto kernel metric 256 pref medium TASK [Assert that the route table main contains the specified IPv6 routes] ***** Thursday 25 July 2024 07:26:43 -0400 (0:00:00.365) 0:00:34.713 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get the interface1 MAC address] ****************************************** Thursday 25 July 2024 07:26:43 -0400 (0:00:00.038) 0:00:34.752 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/sys/class/net/ethtest1/address" ], "delta": "0:00:00.002605", "end": "2024-07-25 07:26:43.927367", "rc": 0, "start": "2024-07-25 07:26:43.924762" } STDOUT: d6:40:03:d5:11:1e TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:26:43 -0400 (0:00:00.365) 0:00:35.117 ********* 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 07:26:44 -0400 (0:00:00.060) 0:00:35.177 ********* 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 07:26:44 -0400 (0:00:00.043) 0:00:35.221 ********* 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 07:26:44 -0400 (0:00:00.068) 0:00:35.289 ********* 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 07:26:44 -0400 (0:00:00.035) 0:00:35.325 ********* 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 07:26:45 -0400 (0:00:01.546) 0:00:36.871 ********* 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 07:26:47 -0400 (0:00:01.426) 0:00:38.298 ********* 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 07:26:47 -0400 (0:00:00.067) 0:00:38.365 ********* 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 07:26:47 -0400 (0:00:00.036) 0:00:38.401 ********* 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 07:26:47 -0400 (0:00:00.034) 0:00:38.436 ********* 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 07:26:47 -0400 (0:00:00.036) 0:00:38.473 ********* 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 07:26:47 -0400 (0:00:00.043) 0:00:38.517 ********* 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 07:26:47 -0400 (0:00:00.034) 0:00:38.551 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:26:47 -0400 (0:00:00.043) 0:00:38.595 ********* 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 07:26:47 -0400 (0:00:00.071) 0:00:38.667 ********* 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 07:26:47 -0400 (0:00:00.035) 0:00:38.702 ********* 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 07:26:47 -0400 (0:00:00.034) 0:00:38.736 ********* 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 07:26:47 -0400 (0:00:00.041) 0:00:38.777 ********* 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 07:26:47 -0400 (0:00:00.036) 0:00:38.814 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:26:47 -0400 (0:00:00.033) 0:00:38.847 ********* 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 07:26:48 -0400 (0:00:00.526) 0:00:39.374 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37644qwv5hv37/tmpqgssp_46" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:26:48 -0400 (0:00:00.380) 0:00:39.755 ********* [WARNING]: [003] #0, state:None persistent_state:present, 'ethtest1': The connection ethtest1 does not specify an interface name. Therefore, the route to 198.58.10.64/26 will be configured without the output device and the kernel will choose it automatically which might result in an unwanted device being used. To avoid this, specify `interface_name` in the connection appropriately. changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "address": [ "198.51.100.4/24", "2001:db8::6/32" ], "route": [ { "gateway": "198.51.100.102", "metric": 4, "network": "198.58.10.64", "prefix": 26 } ] }, "mac": "d6:40:03:d5:11:1e", "name": "ethtest1", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:None persistent_state:present, 'ethtest1': The connection ethtest1 does not specify an interface name. Therefore, the route to 198.58.10.64/26 will be configured without the output device and the kernel will choose it automatically which might result in an unwanted device being used. To avoid this, specify `interface_name` in the connection appropriately. [004] #0, state:None persistent_state:present, 'ethtest1': update ifcfg-rh profile 'ethtest1' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:26:49 -0400 (0:00:00.480) 0:00:40.236 ********* 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 07:26:49 -0400 (0:00:00.034) 0:00:40.271 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:None persistent_state:present, 'ethtest1': The connection ethtest1 does not specify an interface name. Therefore, the route to 198.58.10.64/26 will be configured without the output device and the kernel will choose it automatically which might result in an unwanted device being used. To avoid this, specify `interface_name` in the connection appropriately.", "[004] #0, state:None persistent_state:present, 'ethtest1': update ifcfg-rh profile 'ethtest1'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:26:49 -0400 (0:00:00.035) 0:00:40.306 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "address": [ "198.51.100.4/24", "2001:db8::6/32" ], "route": [ { "gateway": "198.51.100.102", "metric": 4, "network": "198.58.10.64", "prefix": 26 } ] }, "mac": "d6:40:03:d5:11:1e", "name": "ethtest1", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:None persistent_state:present, 'ethtest1': The connection ethtest1 does not specify an interface name. Therefore, the route to 198.58.10.64/26 will be configured without the output device and the kernel will choose it automatically which might result in an unwanted device being used. To avoid this, specify `interface_name` in the connection appropriately.\n[004] #0, state:None persistent_state:present, 'ethtest1': update ifcfg-rh profile 'ethtest1'\n", "stderr_lines": [ "[003] #0, state:None persistent_state:present, 'ethtest1': The connection ethtest1 does not specify an interface name. Therefore, the route to 198.58.10.64/26 will be configured without the output device and the kernel will choose it automatically which might result in an unwanted device being used. To avoid this, specify `interface_name` in the connection appropriately.", "[004] #0, state:None persistent_state:present, 'ethtest1': update ifcfg-rh profile 'ethtest1'" ], "warnings": [ "[003] #0, state:None persistent_state:present, 'ethtest1': The connection ethtest1 does not specify an interface name. Therefore, the route to 198.58.10.64/26 will be configured without the output device and the kernel will choose it automatically which might result in an unwanted device being used. To avoid this, specify `interface_name` in the connection appropriately." ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:26:49 -0400 (0:00:00.039) 0:00:40.346 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:26:49 -0400 (0:00:00.033) 0:00:40.380 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert that the warning about specifying the route without the output device is logged for initscripts provider] *** Thursday 25 July 2024 07:26:49 -0400 (0:00:00.364) 0:00:40.744 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that no warning is logged for nm provider] ************************ Thursday 25 July 2024 07:26:49 -0400 (0:00:00.040) 0:00:40.785 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Bring down test devices and profiles] ************************************ Thursday 25 July 2024 07:26:49 -0400 (0:00:00.033) 0:00:40.818 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:26:49 -0400 (0:00:00.069) 0:00:40.888 ********* 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 07:26:49 -0400 (0:00:00.062) 0:00:40.951 ********* 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 07:26:49 -0400 (0:00:00.096) 0:00:41.048 ********* 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 07:26:49 -0400 (0:00:00.034) 0:00:41.082 ********* 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 07:26:49 -0400 (0:00:00.037) 0:00:41.119 ********* 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 07:26:51 -0400 (0:00:01.568) 0:00:42.688 ********* 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 07:26:53 -0400 (0:00:01.452) 0:00:44.141 ********* 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 07:26:53 -0400 (0:00:00.038) 0:00:44.179 ********* 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 07:26:53 -0400 (0:00:00.034) 0:00:44.214 ********* 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 07:26:53 -0400 (0:00:00.035) 0:00:44.250 ********* 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 07:26:53 -0400 (0:00:00.037) 0:00:44.287 ********* 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 07:26:53 -0400 (0:00:00.041) 0:00:44.328 ********* 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 07:26:53 -0400 (0:00:00.035) 0:00:44.363 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:26:53 -0400 (0:00:00.044) 0:00:44.407 ********* 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 07:26:53 -0400 (0:00:00.070) 0:00:44.478 ********* 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 07:26:53 -0400 (0:00:00.034) 0:00:44.512 ********* 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 07:26:53 -0400 (0:00:00.034) 0:00:44.547 ********* 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 07:26:53 -0400 (0:00:00.042) 0:00:44.589 ********* 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 07:26:53 -0400 (0:00:00.034) 0:00:44.623 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:26:53 -0400 (0:00:00.033) 0:00:44.657 ********* 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 07:26:54 -0400 (0:00:00.535) 0:00:45.193 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37644qwv5hv37/tmpc_8_tikn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:26:54 -0400 (0:00:00.366) 0:00:45.560 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent", "state": "down" }, { "name": "ethtest1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [008] #0, state:down persistent_state:absent, 'ethtest0': up connection ethtest0 (active) [009] #0, state:down persistent_state:absent, 'ethtest0': call 'ifdown ethtest0': 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"' [010] #1, state:down persistent_state:absent, 'ethtest1': up connection ethtest1 (active) [011] #1, state:down persistent_state:absent, 'ethtest1': call 'ifdown ethtest1': 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"' [012] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest0' [013] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest0' [014] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route6-ethtest0' [015] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest1' [016] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest1' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:26:55 -0400 (0:00:00.756) 0:00:46.316 ********* 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 07:26:55 -0400 (0:00:00.035) 0:00:46.352 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[008] #0, state:down persistent_state:absent, 'ethtest0': up connection ethtest0 (active)", "[009] #0, state:down persistent_state:absent, 'ethtest0': call 'ifdown ethtest0': 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\"'", "[010] #1, state:down persistent_state:absent, 'ethtest1': up connection ethtest1 (active)", "[011] #1, state:down persistent_state:absent, 'ethtest1': call 'ifdown ethtest1': 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\"'", "[012] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest0'", "[013] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest0'", "[014] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route6-ethtest0'", "[015] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest1'", "[016] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest1'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:26:55 -0400 (0:00:00.037) 0:00:46.389 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent", "state": "down" }, { "name": "ethtest1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[008] #0, state:down persistent_state:absent, 'ethtest0': up connection ethtest0 (active)\n[009] #0, state:down persistent_state:absent, 'ethtest0': call 'ifdown ethtest0': 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[010] #1, state:down persistent_state:absent, 'ethtest1': up connection ethtest1 (active)\n[011] #1, state:down persistent_state:absent, 'ethtest1': call 'ifdown ethtest1': 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[012] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest0'\n[013] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest0'\n[014] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route6-ethtest0'\n[015] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest1'\n[016] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest1'\n", "stderr_lines": [ "[008] #0, state:down persistent_state:absent, 'ethtest0': up connection ethtest0 (active)", "[009] #0, state:down persistent_state:absent, 'ethtest0': call 'ifdown ethtest0': 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\"'", "[010] #1, state:down persistent_state:absent, 'ethtest1': up connection ethtest1 (active)", "[011] #1, state:down persistent_state:absent, 'ethtest1': call 'ifdown ethtest1': 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\"'", "[012] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest0'", "[013] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest0'", "[014] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route6-ethtest0'", "[015] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest1'", "[016] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest1'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:26:55 -0400 (0:00:00.038) 0:00:46.428 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:26:55 -0400 (0:00:00.034) 0:00:46.462 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Delete interface1] ******************************************************* Thursday 25 July 2024 07:26:55 -0400 (0:00:00.356) 0:00:46.819 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** Thursday 25 July 2024 07:26:55 -0400 (0:00:00.094) 0:00:46.913 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.012527", "end": "2024-07-25 07:26:56.100451", "rc": 0, "start": "2024-07-25 07:26:56.087924" } TASK [Assert interface1 is absent] ********************************************* Thursday 25 July 2024 07:26:56 -0400 (0:00:00.381) 0:00:47.295 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:26:56 -0400 (0:00:00.061) 0:00:47.357 ********* 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 ethtest1] ***************************************** Thursday 25 July 2024 07:26:56 -0400 (0:00:00.057) 0:00:47.414 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ Thursday 25 July 2024 07:26:56 -0400 (0:00:00.365) 0:00:47.780 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set interface0] ********************************************************** Thursday 25 July 2024 07:26:56 -0400 (0:00:00.038) 0:00:47.819 ********* ok: [managed_node1] => { "ansible_facts": { "interface": "ethtest0" }, "changed": false } TASK [Delete interface0] ******************************************************* Thursday 25 July 2024 07:26:56 -0400 (0:00:00.037) 0:00:47.856 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** Thursday 25 July 2024 07:26:56 -0400 (0:00:00.061) 0:00:47.918 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.013059", "end": "2024-07-25 07:26:57.105532", "rc": 0, "start": "2024-07-25 07:26:57.092473" } TASK [Assert interface0 is absent] ********************************************* Thursday 25 July 2024 07:26:57 -0400 (0:00:00.381) 0:00:48.299 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:26:57 -0400 (0:00:00.093) 0:00:48.392 ********* 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 ethtest0] ***************************************** Thursday 25 July 2024 07:26:57 -0400 (0:00:00.057) 0:00:48.450 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ Thursday 25 July 2024 07:26:57 -0400 (0:00:00.360) 0:00:48.811 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert interface0 profile and interface1 profile are absent] ************* Thursday 25 July 2024 07:26:57 -0400 (0:00:00.039) 0:00:48.850 ********* included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 included: /var/ARTIFACTS/work-general3h478sm1/plans/general/tree/tmp.IlWbXtuSzI/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:26:57 -0400 (0:00:00.073) 0:00:48.924 ********* 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 07:26:57 -0400 (0:00:00.062) 0:00:48.986 ********* 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 07:26:57 -0400 (0:00:00.035) 0:00:49.022 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:26:58 -0400 (0:00:00.369) 0:00:49.391 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:26:58 -0400 (0:00:00.035) 0:00:49.427 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.017817", "end": "2024-07-25 07:26:58.622324", "rc": 1, "start": "2024-07-25 07:26:58.604507" } 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 07:26:58 -0400 (0:00:00.418) 0:00:49.846 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** Thursday 25 July 2024 07:26:58 -0400 (0:00:00.037) 0:00:49.884 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** Thursday 25 July 2024 07:26:58 -0400 (0:00:00.038) 0:00:49.922 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest0] *************************** Thursday 25 July 2024 07:26:58 -0400 (0:00:00.039) 0:00:49.961 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest0] ************************ Thursday 25 July 2024 07:26:58 -0400 (0:00:00.036) 0:00:49.998 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest0'] ************************** Thursday 25 July 2024 07:26:58 -0400 (0:00:00.037) 0:00:50.036 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:26:58 -0400 (0:00:00.040) 0:00:50.077 ********* 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 07:26:59 -0400 (0:00:00.058) 0:00:50.135 ********* 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 07:26:59 -0400 (0:00:00.035) 0:00:50.171 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:26:59 -0400 (0:00:00.365) 0:00:50.536 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:26:59 -0400 (0:00:00.033) 0:00:50.570 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest1 | grep /etc", "delta": "0:00:00.017287", "end": "2024-07-25 07:26:59.758773", "rc": 1, "start": "2024-07-25 07:26:59.741486" } 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 07:26:59 -0400 (0:00:00.375) 0:00:50.945 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest1] *********************** Thursday 25 July 2024 07:26:59 -0400 (0:00:00.037) 0:00:50.982 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest1] ******************** Thursday 25 July 2024 07:26:59 -0400 (0:00:00.072) 0:00:51.055 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest1] *************************** Thursday 25 July 2024 07:26:59 -0400 (0:00:00.039) 0:00:51.095 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest1] ************************ Thursday 25 July 2024 07:27:00 -0400 (0:00:00.038) 0:00:51.133 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest1'] ************************** Thursday 25 July 2024 07:27:00 -0400 (0:00:00.038) 0:00:51.172 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** Thursday 25 July 2024 07:27:00 -0400 (0:00:00.041) 0:00:51.213 ********* 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:27:00 -0400 (0:00:00.065) 0:00:51.279 ********* 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.007601", "end": "2024-07-25 07:27:00.463308", "rc": 0, "start": "2024-07-25 07:27:00.455707" } 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 1831sec preferred_lft 1831sec 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:27:00 -0400 (0:00:00.373) 0:00:51.652 ********* 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.273245", "end": "2024-07-25 07:27:01.110821", "rc": 0, "start": "2024-07-25 07:27:00.837576" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 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 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 1326 0 --:--:-- --:--:-- --:--:-- 1320 % 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 13857 0 --:--:-- --:--:-- --:--:-- 13857 PLAY RECAP ********************************************************************* managed_node1 : ok=112 changed=3 unreachable=0 failed=0 skipped=82 rescued=0 ignored=2 Thursday 25 July 2024 07:27:01 -0400 (0:00:00.631) 0:00:52.284 ********* =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles -- 13.04s Install iproute --------------------------------------------------------- 2.89s Install iproute --------------------------------------------------------- 2.61s fedora.linux_system_roles.network : Check which services are running ---- 1.72s fedora.linux_system_roles.network : Check which packages are installed --- 1.64s 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 packages are installed --- 1.45s fedora.linux_system_roles.network : Check which packages are installed --- 1.43s Create veth interface ethtest0 ------------------------------------------ 1.09s Create veth interface ethtest1 ------------------------------------------ 1.09s Gathering Facts --------------------------------------------------------- 0.89s fedora.linux_system_roles.network : Enable network service -------------- 0.79s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.76s Gathering Facts --------------------------------------------------------- 0.64s Verify DNS and network connectivity ------------------------------------- 0.63s Enable EPEL 8 ----------------------------------------------------------- 0.60s fedora.linux_system_roles.network : Enable network service -------------- 0.54s fedora.linux_system_roles.network : Enable network service -------------- 0.53s Gather the minimum subset of ansible_facts required by the network role test --- 0.49s