ansible-playbook [core 2.17.5] 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-aWk executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Wednesday 23 October 2024 14:06:39 -0400 (0:00:00.039) 0:00:00.039 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Wednesday 23 October 2024 14:06:40 -0400 (0:00:01.119) 0:00:01.158 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 23 October 2024 14:06:40 -0400 (0:00:00.032) 0:00:01.191 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 23 October 2024 14:06:40 -0400 (0:00:00.622) 0:00:01.814 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 23 October 2024 14:06:41 -0400 (0:00:00.487) 0:00:02.301 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 23 October 2024 14:06:41 -0400 (0:00:00.061) 0:00:02.363 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 23 October 2024 14:06:41 -0400 (0:00:00.079) 0:00:02.443 ***** included: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 23 October 2024 14:06:41 -0400 (0:00:00.079) 0:00:02.522 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 23 October 2024 14:06:41 -0400 (0:00:00.023) 0:00:02.546 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 23 October 2024 14:06:41 -0400 (0:00:00.021) 0:00:02.568 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 23 October 2024 14:06:41 -0400 (0:00:00.024) 0:00:02.592 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 23 October 2024 14:06:41 -0400 (0:00:00.019) 0:00:02.612 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Wednesday 23 October 2024 14:06:41 -0400 (0:00:00.023) 0:00:02.636 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 23 October 2024 14:06:41 -0400 (0:00:00.034) 0:00:02.671 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:06:41 -0400 (0:00:00.030) 0:00:02.701 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:06:41 -0400 (0:00:00.028) 0:00:02.730 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003397", "end": "2024-10-23 14:06:42.365514", "rc": 0, "start": "2024-10-23 14:06:42.362117" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:06:42 -0400 (0:00:00.510) 0:00:03.241 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:06:42 -0400 (0:00:00.028) 0:00:03.270 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 23 October 2024 14:06:42 -0400 (0:00:00.024) 0:00:03.295 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 14:06:42 -0400 (0:00:00.060) 0:00:03.355 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 14:06:42 -0400 (0:00:00.038) 0:00:03.395 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 14:06:42 -0400 (0:00:00.041) 0:00:03.436 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:06:42 -0400 (0:00:00.033) 0:00:03.470 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:06:42 -0400 (0:00:00.038) 0:00:03.508 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003502", "end": "2024-10-23 14:06:43.024290", "rc": 0, "start": "2024-10-23 14:06:43.020788" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:06:43 -0400 (0:00:00.389) 0:00:03.898 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:06:43 -0400 (0:00:00.019) 0:00:03.918 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 14:06:43 -0400 (0:00:00.021) 0:00:03.939 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 14:06:44 -0400 (0:00:01.597) 0:00:05.537 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 14:06:44 -0400 (0:00:00.049) 0:00:05.586 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 14:06:44 -0400 (0:00:00.031) 0:00:05.618 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 14:06:44 -0400 (0:00:00.035) 0:00:05.653 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 14:06:44 -0400 (0:00:00.029) 0:00:05.683 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 14:06:44 -0400 (0:00:00.024) 0:00:05.707 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 14:06:44 -0400 (0:00:00.023) 0:00:05.731 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 23 October 2024 14:06:44 -0400 (0:00:00.024) 0:00:05.755 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:06:44 -0400 (0:00:00.038) 0:00:05.794 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:06:44 -0400 (0:00:00.023) 0:00:05.817 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003924", "end": "2024-10-23 14:06:45.302076", "rc": 0, "start": "2024-10-23 14:06:45.298152" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:06:45 -0400 (0:00:00.363) 0:00:06.181 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:06:45 -0400 (0:00:00.023) 0:00:06.205 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 23 October 2024 14:06:45 -0400 (0:00:00.030) 0:00:06.235 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 14:06:45 -0400 (0:00:00.041) 0:00:06.277 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:06:45 -0400 (0:00:00.030) 0:00:06.308 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 14:06:45 -0400 (0:00:00.370) 0:00:06.678 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 23 October 2024 14:06:45 -0400 (0:00:00.031) 0:00:06.710 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 14:06:45 -0400 (0:00:00.053) 0:00:06.763 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 14:06:45 -0400 (0:00:00.020) 0:00:06.783 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 14:06:45 -0400 (0:00:00.024) 0:00:06.808 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:06:46 -0400 (0:00:00.067) 0:00:06.875 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:06:46 -0400 (0:00:00.039) 0:00:06.915 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003681", "end": "2024-10-23 14:06:46.520015", "rc": 0, "start": "2024-10-23 14:06:46.516334" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:06:46 -0400 (0:00:00.492) 0:00:07.407 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:06:46 -0400 (0:00:00.046) 0:00:07.454 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 14:06:46 -0400 (0:00:00.046) 0:00:07.500 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 14:06:48 -0400 (0:00:01.466) 0:00:08.966 ***** 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.017825", "end": "2024-10-23 14:06:48.486272", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-10-23 14:06:48.468447" } 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.004007", "end": "2024-10-23 14:06:48.855473", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-10-23 14:06:48.851466" } 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.006265", "end": "2024-10-23 14:06:49.214827", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-10-23 14:06:49.208562" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 14:06:49 -0400 (0:00:01.125) 0:00:10.092 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.021747", "end": "2024-10-23 14:06:49.636076", "rc": 0, "start": "2024-10-23 14:06:49.614329" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 14:06:49 -0400 (0:00:00.432) 0:00:10.524 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 14:06:49 -0400 (0:00:00.050) 0:00:10.574 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 14:06:49 -0400 (0:00:00.039) 0:00:10.614 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 14:06:49 -0400 (0:00:00.039) 0:00:10.653 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 14:06:49 -0400 (0:00:00.036) 0:00:10.690 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 23 October 2024 14:06:49 -0400 (0:00:00.023) 0:00:10.714 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:06:49 -0400 (0:00:00.052) 0:00:10.766 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:06:49 -0400 (0:00:00.033) 0:00:10.800 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003835", "end": "2024-10-23 14:06:50.318145", "rc": 0, "start": "2024-10-23 14:06:50.314310" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:06:50 -0400 (0:00:00.398) 0:00:11.199 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:06:50 -0400 (0:00:00.060) 0:00:11.260 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 23 October 2024 14:06:50 -0400 (0:00:00.049) 0:00:11.310 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 14:06:50 -0400 (0:00:00.071) 0:00:11.381 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:06:50 -0400 (0:00:00.030) 0:00:11.412 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729706808.4723482, "block_size": 4096, "blocks": 0, "ctime": 1729706808.4723482, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28348, "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": 1729706808.4723482, "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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 14:06:51 -0400 (0:00:00.436) 0:00:11.848 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 23 October 2024 14:06:51 -0400 (0:00:00.030) 0:00:11.879 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 14:06:51 -0400 (0:00:00.071) 0:00:11.951 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 14:06:51 -0400 (0:00:00.025) 0:00:11.976 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 14:06:51 -0400 (0:00:00.022) 0:00:11.999 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:06:51 -0400 (0:00:00.024) 0:00:12.023 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:06:51 -0400 (0:00:00.022) 0:00:12.045 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003338", "end": "2024-10-23 14:06:51.523313", "rc": 0, "start": "2024-10-23 14:06:51.519975" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:06:51 -0400 (0:00:00.352) 0:00:12.398 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:06:51 -0400 (0:00:00.036) 0:00:12.434 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 14:06:51 -0400 (0:00:00.025) 0:00:12.460 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 14:06:52 -0400 (0:00:01.347) 0:00:13.808 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 14:06:53 -0400 (0:00:00.029) 0:00:13.837 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 14:06:53 -0400 (0:00:00.016) 0:00:13.854 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.013146", "end": "2024-10-23 14:06:53.336413", "rc": 0, "start": "2024-10-23 14:06:53.323267" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 14:06:53 -0400 (0:00:00.365) 0:00:14.219 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 14:06:53 -0400 (0:00:00.030) 0:00:14.250 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 14:06:53 -0400 (0:00:00.024) 0:00:14.275 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 14:06:53 -0400 (0:00:00.023) 0:00:14.298 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 23 October 2024 14:06:53 -0400 (0:00:00.033) 0:00:14.331 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:06:53 -0400 (0:00:00.064) 0:00:14.396 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:06:53 -0400 (0:00:00.028) 0:00:14.425 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003506", "end": "2024-10-23 14:06:53.986822", "rc": 0, "start": "2024-10-23 14:06:53.983316" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:06:54 -0400 (0:00:00.438) 0:00:14.863 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:06:54 -0400 (0:00:00.026) 0:00:14.891 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 23 October 2024 14:06:54 -0400 (0:00:00.028) 0:00:14.919 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 14:06:54 -0400 (0:00:00.061) 0:00:14.980 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:06:54 -0400 (0:00:00.029) 0:00:15.010 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 14:06:54 -0400 (0:00:00.379) 0:00:15.390 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Wednesday 23 October 2024 14:06:54 -0400 (0:00:00.030) 0:00:15.420 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 23 October 2024 14:06:54 -0400 (0:00:00.040) 0:00:15.461 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:06:54 -0400 (0:00:00.032) 0:00:15.493 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:06:54 -0400 (0:00:00.030) 0:00:15.524 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003406", "end": "2024-10-23 14:06:55.012362", "rc": 0, "start": "2024-10-23 14:06:55.008956" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:06:55 -0400 (0:00:00.355) 0:00:15.880 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:06:55 -0400 (0:00:00.018) 0:00:15.898 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 23 October 2024 14:06:55 -0400 (0:00:00.018) 0:00:15.917 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 14:06:55 -0400 (0:00:00.026) 0:00:15.943 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 14:06:55 -0400 (0:00:00.014) 0:00:15.957 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 14:06:55 -0400 (0:00:00.015) 0:00:15.973 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:06:55 -0400 (0:00:00.021) 0:00:15.994 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:06:55 -0400 (0:00:00.023) 0:00:16.017 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003320", "end": "2024-10-23 14:06:55.519554", "rc": 0, "start": "2024-10-23 14:06:55.516234" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:06:55 -0400 (0:00:00.380) 0:00:16.398 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:06:55 -0400 (0:00:00.039) 0:00:16.438 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 14:06:55 -0400 (0:00:00.030) 0:00:16.468 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 14:06:56 -0400 (0:00:01.305) 0:00:17.774 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 14:06:56 -0400 (0:00:00.043) 0:00:17.817 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 14:06:57 -0400 (0:00:00.034) 0:00:17.852 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 14:06:57 -0400 (0:00:00.028) 0:00:17.880 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 14:06:57 -0400 (0:00:00.030) 0:00:17.911 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 14:06:57 -0400 (0:00:00.029) 0:00:17.940 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 14:06:57 -0400 (0:00:00.033) 0:00:17.974 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 23 October 2024 14:06:57 -0400 (0:00:00.022) 0:00:17.996 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:06:57 -0400 (0:00:00.047) 0:00:18.044 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:06:57 -0400 (0:00:00.029) 0:00:18.074 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003283", "end": "2024-10-23 14:06:57.580485", "rc": 0, "start": "2024-10-23 14:06:57.577202" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:06:57 -0400 (0:00:00.378) 0:00:18.452 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:06:57 -0400 (0:00:00.031) 0:00:18.484 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 23 October 2024 14:06:57 -0400 (0:00:00.019) 0:00:18.503 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 14:06:57 -0400 (0:00:00.028) 0:00:18.532 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:06:57 -0400 (0:00:00.019) 0:00:18.551 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 14:06:58 -0400 (0:00:00.339) 0:00:18.891 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 23 October 2024 14:06:58 -0400 (0:00:00.026) 0:00:18.917 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 14:06:58 -0400 (0:00:00.052) 0:00:18.970 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 14:06:58 -0400 (0:00:00.024) 0:00:18.994 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 14:06:58 -0400 (0:00:00.020) 0:00:19.015 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:06:58 -0400 (0:00:00.035) 0:00:19.051 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:06:58 -0400 (0:00:00.032) 0:00:19.083 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003923", "end": "2024-10-23 14:06:58.583386", "rc": 0, "start": "2024-10-23 14:06:58.579463" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:06:58 -0400 (0:00:00.367) 0:00:19.451 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:06:58 -0400 (0:00:00.024) 0:00:19.475 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 14:06:58 -0400 (0:00:00.020) 0:00:19.496 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 14:07:00 -0400 (0:00:01.345) 0:00:20.841 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 14:07:00 -0400 (0:00:00.075) 0:00:20.917 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 14:07:00 -0400 (0:00:00.027) 0:00:20.944 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 14:07:00 -0400 (0:00:00.041) 0:00:20.985 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.116387", "end": "2024-10-23 14:07:00.625046", "rc": 0, "start": "2024-10-23 14:07:00.508659" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 14:07:00 -0400 (0:00:00.523) 0:00:21.509 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 14:07:00 -0400 (0:00:00.028) 0:00:21.538 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 14:07:00 -0400 (0:00:00.022) 0:00:21.560 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 23 October 2024 14:07:00 -0400 (0:00:00.018) 0:00:21.579 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:07:00 -0400 (0:00:00.037) 0:00:21.616 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:07:00 -0400 (0:00:00.021) 0:00:21.638 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003333", "end": "2024-10-23 14:07:01.115506", "rc": 0, "start": "2024-10-23 14:07:01.112173" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:07:01 -0400 (0:00:00.343) 0:00:21.982 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:07:01 -0400 (0:00:00.019) 0:00:22.001 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 23 October 2024 14:07:01 -0400 (0:00:00.017) 0:00:22.019 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 14:07:01 -0400 (0:00:00.030) 0:00:22.050 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:07:01 -0400 (0:00:00.019) 0:00:22.069 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729706820.6222222, "block_size": 4096, "blocks": 0, "ctime": 1729706820.6222222, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28678, "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": 1729706820.6222222, "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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 14:07:01 -0400 (0:00:00.334) 0:00:22.404 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 23 October 2024 14:07:01 -0400 (0:00:00.020) 0:00:22.425 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 14:07:01 -0400 (0:00:00.039) 0:00:22.464 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 14:07:01 -0400 (0:00:00.015) 0:00:22.480 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 14:07:01 -0400 (0:00:00.014) 0:00:22.494 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:07:01 -0400 (0:00:00.021) 0:00:22.516 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:07:01 -0400 (0:00:00.018) 0:00:22.535 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003293", "end": "2024-10-23 14:07:02.006200", "rc": 0, "start": "2024-10-23 14:07:02.002907" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:07:02 -0400 (0:00:00.351) 0:00:22.886 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:07:02 -0400 (0:00:00.030) 0:00:22.917 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 14:07:02 -0400 (0:00:00.037) 0:00:22.955 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 14:07:03 -0400 (0:00:01.402) 0:00:24.357 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 14:07:03 -0400 (0:00:00.049) 0:00:24.406 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 14:07:03 -0400 (0:00:00.028) 0:00:24.434 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 14:07:03 -0400 (0:00:00.027) 0:00:24.462 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 14:07:03 -0400 (0:00:00.024) 0:00:24.486 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.018688", "end": "2024-10-23 14:07:04.031223", "rc": 0, "start": "2024-10-23 14:07:04.012535" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 14:07:04 -0400 (0:00:00.445) 0:00:24.932 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 14:07:04 -0400 (0:00:00.025) 0:00:24.958 ***** 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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 23 October 2024 14:07:04 -0400 (0:00:00.077) 0:00:25.035 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:07:04 -0400 (0:00:00.068) 0:00:25.103 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:07:04 -0400 (0:00:00.021) 0:00:25.125 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004051", "end": "2024-10-23 14:07:04.604850", "rc": 0, "start": "2024-10-23 14:07:04.600799" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:07:04 -0400 (0:00:00.354) 0:00:25.479 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:07:04 -0400 (0:00:00.028) 0:00:25.508 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 23 October 2024 14:07:04 -0400 (0:00:00.051) 0:00:25.560 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 14:07:04 -0400 (0:00:00.109) 0:00:25.669 ***** included: /tmp/collections-aWk/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-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:07:04 -0400 (0:00:00.030) 0:00:25.700 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 14:07:05 -0400 (0:00:00.436) 0:00:26.136 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node1 : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Wednesday 23 October 2024 14:07:05 -0400 (0:00:00.077) 0:00:26.214 ***** =============================================================================== Install iproute --------------------------------------------------------- 1.60s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.47s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.40s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.35s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.35s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.31s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Create veth interface veth1298 ------------------------------------------ 1.13s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.12s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 0.62s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.52s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.51s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.49s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.49s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Delete dummy interface dummy1298 ---------------------------------------- 0.45s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.44s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.44s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.44s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.43s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/collections-aWk/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3