ansible-playbook [core 2.16.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-T8W executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_helpers_and_asserts.yml **************************************** 1 plays in /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Monday 21 October 2024 09:09:05 -0400 (0:00:00.028) 0:00:00.028 ******** ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Monday 21 October 2024 09:09:06 -0400 (0:00:01.052) 0:00:01.080 ******** included: /tmp/collections-T8W/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] *** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 21 October 2024 09:09:06 -0400 (0:00:00.029) 0:00:01.110 ******** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 21 October 2024 09:09:07 -0400 (0:00:00.561) 0:00:01.672 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 21 October 2024 09:09:07 -0400 (0:00:00.451) 0:00:02.123 ******** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 21 October 2024 09:09:08 -0400 (0:00:00.053) 0:00:02.177 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 21 October 2024 09:09:08 -0400 (0:00:00.060) 0:00:02.237 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 21 October 2024 09:09:08 -0400 (0:00:00.072) 0:00:02.310 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 21 October 2024 09:09:08 -0400 (0:00:00.522) 0:00:02.832 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 21 October 2024 09:09:08 -0400 (0:00:00.013) 0:00:02.845 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 21 October 2024 09:09:08 -0400 (0:00:00.013) 0:00:02.858 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.228314", "end": "2024-10-21 09:09:09.202215", "rc": 0, "start": "2024-10-21 09:09:08.973901" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 21 October 2024 09:09:09 -0400 (0:00:00.563) 0:00:03.422 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Monday 21 October 2024 09:09:09 -0400 (0:00:00.013) 0:00:03.435 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Monday 21 October 2024 09:09:09 -0400 (0:00:00.018) 0:00:03.453 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:09 -0400 (0:00:00.016) 0:00:03.469 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:09 -0400 (0:00:00.017) 0:00:03.487 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002929", "end": "2024-10-21 09:09:09.605762", "rc": 0, "start": "2024-10-21 09:09:09.602833" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:09 -0400 (0:00:00.336) 0:00:03.824 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:09 -0400 (0:00:00.015) 0:00:03.840 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Monday 21 October 2024 09:09:09 -0400 (0:00:00.014) 0:00:03.854 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 09:09:09 -0400 (0:00:00.026) 0:00:03.880 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 09:09:09 -0400 (0:00:00.011) 0:00:03.892 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 09:09:09 -0400 (0:00:00.011) 0:00:03.904 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:09 -0400 (0:00:00.016) 0:00:03.921 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:09 -0400 (0:00:00.014) 0:00:03.935 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003082", "end": "2024-10-21 09:09:10.116991", "rc": 0, "start": "2024-10-21 09:09:10.113909" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:10 -0400 (0:00:00.411) 0:00:04.347 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:10 -0400 (0:00:00.022) 0:00:04.370 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 09:09:10 -0400 (0:00:00.022) 0:00:04.392 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 09:09:13 -0400 (0:00:03.754) 0:00:08.146 ******** skipping: [managed-node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 09:09:14 -0400 (0:00:00.035) 0:00:08.182 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 09:09:14 -0400 (0:00:00.025) 0:00:08.207 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 09:09:14 -0400 (0:00:00.018) 0:00:08.226 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 09:09:14 -0400 (0:00:00.032) 0:00:08.258 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 09:09:14 -0400 (0:00:00.030) 0:00:08.288 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 09:09:14 -0400 (0:00:00.029) 0:00:08.318 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Monday 21 October 2024 09:09:14 -0400 (0:00:00.030) 0:00:08.348 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:14 -0400 (0:00:00.049) 0:00:08.398 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:14 -0400 (0:00:00.030) 0:00:08.428 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003062", "end": "2024-10-21 09:09:14.564127", "rc": 0, "start": "2024-10-21 09:09:14.561065" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:14 -0400 (0:00:00.370) 0:00:08.799 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:14 -0400 (0:00:00.024) 0:00:08.824 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Monday 21 October 2024 09:09:14 -0400 (0:00:00.023) 0:00:08.848 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:09:14 -0400 (0:00:00.020) 0:00:08.869 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:09:14 -0400 (0:00:00.020) 0:00:08.889 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:09:15 -0400 (0:00:00.339) 0:00:09.228 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Monday 21 October 2024 09:09:15 -0400 (0:00:00.025) 0:00:09.254 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 09:09:15 -0400 (0:00:00.047) 0:00:09.301 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 09:09:15 -0400 (0:00:00.025) 0:00:09.327 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 09:09:15 -0400 (0:00:00.017) 0:00:09.345 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:15 -0400 (0:00:00.038) 0:00:09.383 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:15 -0400 (0:00:00.022) 0:00:09.406 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003082", "end": "2024-10-21 09:09:15.524389", "rc": 0, "start": "2024-10-21 09:09:15.521307" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:15 -0400 (0:00:00.352) 0:00:09.759 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:15 -0400 (0:00:00.023) 0:00:09.783 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 09:09:15 -0400 (0:00:00.014) 0:00:09.797 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 09:09:18 -0400 (0:00:02.801) 0:00:12.598 ******** ok: [managed-node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth1298", "type", "veth", "peer", "name", "peerveth1298" ], "delta": "0:00:00.011970", "end": "2024-10-21 09:09:18.709175", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-10-21 09:09:18.697205" } ok: [managed-node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004019", "end": "2024-10-21 09:09:19.090017", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-10-21 09:09:19.085998" } ok: [managed-node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003938", "end": "2024-10-21 09:09:19.430234", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-10-21 09:09:19.426296" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 09:09:19 -0400 (0:00:01.053) 0:00:13.651 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.021156", "end": "2024-10-21 09:09:19.774204", "rc": 0, "start": "2024-10-21 09:09:19.753048" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 09:09:19 -0400 (0:00:00.353) 0:00:14.005 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 09:09:19 -0400 (0:00:00.021) 0:00:14.026 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 09:09:19 -0400 (0:00:00.019) 0:00:14.046 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 09:09:19 -0400 (0:00:00.020) 0:00:14.067 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 09:09:19 -0400 (0:00:00.020) 0:00:14.087 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Monday 21 October 2024 09:09:19 -0400 (0:00:00.018) 0:00:14.106 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:19 -0400 (0:00:00.040) 0:00:14.146 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:19 -0400 (0:00:00.023) 0:00:14.170 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003137", "end": "2024-10-21 09:09:20.290652", "rc": 0, "start": "2024-10-21 09:09:20.287515" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:20 -0400 (0:00:00.347) 0:00:14.517 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:20 -0400 (0:00:00.024) 0:00:14.542 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Monday 21 October 2024 09:09:20 -0400 (0:00:00.016) 0:00:14.558 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Monday 21 October 2024 09:09:20 -0400 (0:00:00.026) 0:00:14.585 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:09:20 -0400 (0:00:00.018) 0:00:14.603 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729516158.7006247, "block_size": 4096, "blocks": 0, "ctime": 1729516158.7006247, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33516, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth1298", "lnk_target": "../../devices/virtual/net/veth1298", "mode": "0777", "mtime": 1729516158.7006247, "nlink": 1, "path": "/sys/class/net/veth1298", "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 - 'veth1298'] *********************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Monday 21 October 2024 09:09:20 -0400 (0:00:00.353) 0:00:14.957 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Monday 21 October 2024 09:09:20 -0400 (0:00:00.052) 0:00:15.009 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 09:09:20 -0400 (0:00:00.064) 0:00:15.073 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 09:09:20 -0400 (0:00:00.032) 0:00:15.106 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 09:09:20 -0400 (0:00:00.055) 0:00:15.161 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:21 -0400 (0:00:00.049) 0:00:15.211 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:21 -0400 (0:00:00.023) 0:00:15.234 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003195", "end": "2024-10-21 09:09:21.369002", "rc": 0, "start": "2024-10-21 09:09:21.365807" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:21 -0400 (0:00:00.366) 0:00:15.601 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:21 -0400 (0:00:00.029) 0:00:15.630 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 09:09:21 -0400 (0:00:00.017) 0:00:15.647 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 09:09:24 -0400 (0:00:02.800) 0:00:18.448 ******** skipping: [managed-node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 09:09:24 -0400 (0:00:00.023) 0:00:18.471 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 09:09:24 -0400 (0:00:00.013) 0:00:18.484 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008270", "end": "2024-10-21 09:09:24.589517", "rc": 0, "start": "2024-10-21 09:09:24.581247" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 09:09:24 -0400 (0:00:00.337) 0:00:18.822 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 09:09:24 -0400 (0:00:00.021) 0:00:18.843 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 09:09:24 -0400 (0:00:00.019) 0:00:18.863 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 09:09:24 -0400 (0:00:00.019) 0:00:18.883 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Monday 21 October 2024 09:09:24 -0400 (0:00:00.012) 0:00:18.895 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:24 -0400 (0:00:00.032) 0:00:18.928 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:24 -0400 (0:00:00.014) 0:00:18.943 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003257", "end": "2024-10-21 09:09:25.049406", "rc": 0, "start": "2024-10-21 09:09:25.046149" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:25 -0400 (0:00:00.325) 0:00:19.269 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:25 -0400 (0:00:00.015) 0:00:19.285 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Monday 21 October 2024 09:09:25 -0400 (0:00:00.022) 0:00:19.307 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:09:25 -0400 (0:00:00.068) 0:00:19.376 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:09:25 -0400 (0:00:00.030) 0:00:19.407 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:09:25 -0400 (0:00:00.375) 0:00:19.782 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Monday 21 October 2024 09:09:25 -0400 (0:00:00.017) 0:00:19.800 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Monday 21 October 2024 09:09:25 -0400 (0:00:00.024) 0:00:19.825 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:25 -0400 (0:00:00.024) 0:00:19.849 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:25 -0400 (0:00:00.022) 0:00:19.872 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003110", "end": "2024-10-21 09:09:25.981455", "rc": 0, "start": "2024-10-21 09:09:25.978345" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:26 -0400 (0:00:00.328) 0:00:20.200 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:26 -0400 (0:00:00.015) 0:00:20.216 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Monday 21 October 2024 09:09:26 -0400 (0:00:00.014) 0:00:20.230 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 09:09:26 -0400 (0:00:00.021) 0:00:20.251 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 09:09:26 -0400 (0:00:00.010) 0:00:20.262 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 09:09:26 -0400 (0:00:00.012) 0:00:20.275 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:26 -0400 (0:00:00.019) 0:00:20.294 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:26 -0400 (0:00:00.016) 0:00:20.311 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003163", "end": "2024-10-21 09:09:26.412611", "rc": 0, "start": "2024-10-21 09:09:26.409448" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:26 -0400 (0:00:00.320) 0:00:20.631 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:26 -0400 (0:00:00.016) 0:00:20.647 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 09:09:26 -0400 (0:00:00.015) 0:00:20.663 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 09:09:29 -0400 (0:00:02.814) 0:00:23.477 ******** skipping: [managed-node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 09:09:29 -0400 (0:00:00.024) 0:00:23.502 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 09:09:29 -0400 (0:00:00.015) 0:00:23.517 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 09:09:29 -0400 (0:00:00.012) 0:00:23.529 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 09:09:29 -0400 (0:00:00.012) 0:00:23.542 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 09:09:29 -0400 (0:00:00.011) 0:00:23.553 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 09:09:29 -0400 (0:00:00.012) 0:00:23.566 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Monday 21 October 2024 09:09:29 -0400 (0:00:00.011) 0:00:23.577 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:29 -0400 (0:00:00.019) 0:00:23.597 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:29 -0400 (0:00:00.014) 0:00:23.611 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003125", "end": "2024-10-21 09:09:29.703553", "rc": 0, "start": "2024-10-21 09:09:29.700428" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:29 -0400 (0:00:00.318) 0:00:23.929 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:29 -0400 (0:00:00.030) 0:00:23.960 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Monday 21 October 2024 09:09:29 -0400 (0:00:00.022) 0:00:23.982 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:09:29 -0400 (0:00:00.033) 0:00:24.016 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:09:29 -0400 (0:00:00.023) 0:00:24.040 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:09:30 -0400 (0:00:00.326) 0:00:24.367 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Monday 21 October 2024 09:09:30 -0400 (0:00:00.016) 0:00:24.383 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 09:09:30 -0400 (0:00:00.026) 0:00:24.410 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 09:09:30 -0400 (0:00:00.011) 0:00:24.421 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 09:09:30 -0400 (0:00:00.010) 0:00:24.432 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:30 -0400 (0:00:00.016) 0:00:24.449 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:30 -0400 (0:00:00.014) 0:00:24.464 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003239", "end": "2024-10-21 09:09:30.555085", "rc": 0, "start": "2024-10-21 09:09:30.551846" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:30 -0400 (0:00:00.309) 0:00:24.773 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:30 -0400 (0:00:00.015) 0:00:24.789 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 09:09:30 -0400 (0:00:00.014) 0:00:24.803 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 09:09:33 -0400 (0:00:02.793) 0:00:27.597 ******** skipping: [managed-node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 09:09:33 -0400 (0:00:00.039) 0:00:27.636 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 09:09:33 -0400 (0:00:00.029) 0:00:27.665 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 09:09:33 -0400 (0:00:00.031) 0:00:27.697 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009577", "end": "2024-10-21 09:09:33.953155", "rc": 0, "start": "2024-10-21 09:09:33.943578" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 09:09:34 -0400 (0:00:00.487) 0:00:28.184 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 09:09:34 -0400 (0:00:00.016) 0:00:28.201 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 09:09:34 -0400 (0:00:00.012) 0:00:28.214 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Monday 21 October 2024 09:09:34 -0400 (0:00:00.012) 0:00:28.227 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:34 -0400 (0:00:00.024) 0:00:28.251 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:34 -0400 (0:00:00.014) 0:00:28.265 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003109", "end": "2024-10-21 09:09:34.355665", "rc": 0, "start": "2024-10-21 09:09:34.352556" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:34 -0400 (0:00:00.314) 0:00:28.579 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:34 -0400 (0:00:00.022) 0:00:28.602 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Monday 21 October 2024 09:09:34 -0400 (0:00:00.021) 0:00:28.623 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Monday 21 October 2024 09:09:34 -0400 (0:00:00.041) 0:00:28.664 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:09:34 -0400 (0:00:00.023) 0:00:28.688 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729516173.951549, "block_size": 4096, "blocks": 0, "ctime": 1729516173.951549, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33839, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/dummy1298", "lnk_target": "../../devices/virtual/net/dummy1298", "mode": "0777", "mtime": 1729516173.951549, "nlink": 1, "path": "/sys/class/net/dummy1298", "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 - 'dummy1298'] ********************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Monday 21 October 2024 09:09:34 -0400 (0:00:00.359) 0:00:29.047 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Monday 21 October 2024 09:09:34 -0400 (0:00:00.016) 0:00:29.064 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 09:09:34 -0400 (0:00:00.031) 0:00:29.095 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 09:09:34 -0400 (0:00:00.011) 0:00:29.107 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 09:09:34 -0400 (0:00:00.011) 0:00:29.119 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:34 -0400 (0:00:00.017) 0:00:29.136 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:34 -0400 (0:00:00.014) 0:00:29.151 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003263", "end": "2024-10-21 09:09:35.252868", "rc": 0, "start": "2024-10-21 09:09:35.249605" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:35 -0400 (0:00:00.346) 0:00:29.497 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:35 -0400 (0:00:00.020) 0:00:29.518 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 09:09:35 -0400 (0:00:00.019) 0:00:29.538 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 09:09:38 -0400 (0:00:02.808) 0:00:32.346 ******** skipping: [managed-node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 09:09:38 -0400 (0:00:00.023) 0:00:32.369 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 09:09:38 -0400 (0:00:00.013) 0:00:32.383 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 09:09:38 -0400 (0:00:00.014) 0:00:32.397 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 09:09:38 -0400 (0:00:00.012) 0:00:32.410 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011577", "end": "2024-10-21 09:09:38.560990", "rc": 0, "start": "2024-10-21 09:09:38.549413" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 09:09:38 -0400 (0:00:00.385) 0:00:32.796 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 09:09:38 -0400 (0:00:00.021) 0:00:32.817 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Monday 21 October 2024 09:09:38 -0400 (0:00:00.050) 0:00:32.868 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:38 -0400 (0:00:00.043) 0:00:32.912 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:38 -0400 (0:00:00.018) 0:00:32.930 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003049", "end": "2024-10-21 09:09:39.030501", "rc": 0, "start": "2024-10-21 09:09:39.027452" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:39 -0400 (0:00:00.319) 0:00:33.250 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:39 -0400 (0:00:00.016) 0:00:33.267 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Monday 21 October 2024 09:09:39 -0400 (0:00:00.018) 0:00:33.286 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:09:39 -0400 (0:00:00.041) 0:00:33.327 ******** included: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:09:39 -0400 (0:00:00.025) 0:00:33.353 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:09:39 -0400 (0:00:00.507) 0:00:33.860 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node1 : ok=121 changed=0 unreachable=0 failed=0 skipped=53 rescued=0 ignored=0 Monday 21 October 2024 09:09:39 -0400 (0:00:00.024) 0:00:33.885 ******** =============================================================================== Install iproute --------------------------------------------------------- 3.75s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.81s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.81s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.80s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.80s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.79s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Create veth interface veth1298 ------------------------------------------ 1.05s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.05s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Enable EPEL 8 ----------------------------------------------------------- 0.56s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Gather the minimum subset of ansible_facts required by the network role test --- 0.56s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Create EPEL 8 ----------------------------------------------------------- 0.52s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Get stat for interface dummy1298 ---------------------------------------- 0.51s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.49s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Check if system is ostree ----------------------------------------------- 0.45s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.41s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.39s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Get stat for interface veth1298 ----------------------------------------- 0.38s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.37s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.37s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.36s /tmp/collections-T8W/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3