ansible-playbook [core 2.17.6] 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-91R executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/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-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Monday 11 November 2024 20:06:53 -0500 (0:00:00.032) 0:00:00.032 ******* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Monday 11 November 2024 20:06:54 -0500 (0:00:01.161) 0:00:01.193 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 11 November 2024 20:06:54 -0500 (0:00:00.038) 0:00:01.231 ******* ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 11 November 2024 20:06:55 -0500 (0:00:00.513) 0:00:01.745 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 11 November 2024 20:06:55 -0500 (0:00:00.436) 0:00:02.181 ******* ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 11 November 2024 20:06:55 -0500 (0:00:00.022) 0:00:02.204 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 11 November 2024 20:06:55 -0500 (0:00:00.016) 0:00:02.220 ******* included: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 11 November 2024 20:06:55 -0500 (0:00:00.042) 0:00:02.263 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 11 November 2024 20:06:55 -0500 (0:00:00.015) 0:00:02.278 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 11 November 2024 20:06:55 -0500 (0:00:00.014) 0:00:02.292 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 11 November 2024 20:06:55 -0500 (0:00:00.014) 0:00:02.307 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 11 November 2024 20:06:55 -0500 (0:00:00.014) 0:00:02.321 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Monday 11 November 2024 20:06:55 -0500 (0:00:00.013) 0:00:02.335 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Monday 11 November 2024 20:06:55 -0500 (0:00:00.019) 0:00:02.354 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:06:55 -0500 (0:00:00.018) 0:00:02.372 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:06:55 -0500 (0:00:00.016) 0:00:02.389 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003972", "end": "2024-11-11 20:06:56.290174", "rc": 0, "start": "2024-11-11 20:06:56.286202" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:06:56 -0500 (0:00:00.436) 0:00:02.826 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:06:56 -0500 (0:00:00.018) 0:00:02.844 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Monday 11 November 2024 20:06:56 -0500 (0:00:00.017) 0:00:02.862 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 11 November 2024 20:06:56 -0500 (0:00:00.026) 0:00:02.888 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 11 November 2024 20:06:56 -0500 (0:00:00.014) 0:00:02.903 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 11 November 2024 20:06:56 -0500 (0:00:00.013) 0:00:02.916 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:06:56 -0500 (0:00:00.019) 0:00:02.935 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:06:56 -0500 (0:00:00.016) 0:00:02.952 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003365", "end": "2024-11-11 20:06:56.765449", "rc": 0, "start": "2024-11-11 20:06:56.762084" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:06:56 -0500 (0:00:00.349) 0:00:03.301 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:06:56 -0500 (0:00:00.017) 0:00:03.319 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 11 November 2024 20:06:56 -0500 (0:00:00.016) 0:00:03.336 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 11 November 2024 20:06:57 -0500 (0:00:00.807) 0:00:04.144 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 11 November 2024 20:06:57 -0500 (0:00:00.028) 0:00:04.173 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 11 November 2024 20:06:57 -0500 (0:00:00.015) 0:00:04.188 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 11 November 2024 20:06:57 -0500 (0:00:00.015) 0:00:04.203 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 11 November 2024 20:06:57 -0500 (0:00:00.014) 0:00:04.218 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 11 November 2024 20:06:57 -0500 (0:00:00.014) 0:00:04.232 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 11 November 2024 20:06:57 -0500 (0:00:00.015) 0:00:04.248 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Monday 11 November 2024 20:06:57 -0500 (0:00:00.014) 0:00:04.262 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:06:57 -0500 (0:00:00.022) 0:00:04.284 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:06:57 -0500 (0:00:00.017) 0:00:04.302 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003795", "end": "2024-11-11 20:06:58.120399", "rc": 0, "start": "2024-11-11 20:06:58.116604" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:06:58 -0500 (0:00:00.354) 0:00:04.656 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:06:58 -0500 (0:00:00.017) 0:00:04.674 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Monday 11 November 2024 20:06:58 -0500 (0:00:00.018) 0:00:04.692 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:06:58 -0500 (0:00:00.039) 0:00:04.732 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:06:58 -0500 (0:00:00.019) 0:00:04.751 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:06:58 -0500 (0:00:00.347) 0:00:05.098 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Monday 11 November 2024 20:06:58 -0500 (0:00:00.022) 0:00:05.121 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 11 November 2024 20:06:58 -0500 (0:00:00.029) 0:00:05.151 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 11 November 2024 20:06:58 -0500 (0:00:00.014) 0:00:05.165 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 11 November 2024 20:06:58 -0500 (0:00:00.014) 0:00:05.180 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:06:58 -0500 (0:00:00.019) 0:00:05.200 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:06:58 -0500 (0:00:00.017) 0:00:05.217 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003385", "end": "2024-11-11 20:06:59.031591", "rc": 0, "start": "2024-11-11 20:06:59.028206" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:06:59 -0500 (0:00:00.349) 0:00:05.567 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:06:59 -0500 (0:00:00.017) 0:00:05.585 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 11 November 2024 20:06:59 -0500 (0:00:00.017) 0:00:05.602 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 11 November 2024 20:06:59 -0500 (0:00:00.701) 0:00:06.304 ******* 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.005271", "end": "2024-11-11 20:07:00.128973", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-11-11 20:07:00.123702" } 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.004373", "end": "2024-11-11 20:07:00.519313", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-11-11 20:07:00.514940" } 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.004075", "end": "2024-11-11 20:07:00.858832", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-11-11 20:07:00.854757" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 11 November 2024 20:07:00 -0500 (0:00:01.091) 0:00:07.395 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.020290", "end": "2024-11-11 20:07:01.235963", "rc": 0, "start": "2024-11-11 20:07:01.215673" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 11 November 2024 20:07:01 -0500 (0:00:00.377) 0:00:07.773 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 11 November 2024 20:07:01 -0500 (0:00:00.016) 0:00:07.789 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 11 November 2024 20:07:01 -0500 (0:00:00.016) 0:00:07.806 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 11 November 2024 20:07:01 -0500 (0:00:00.027) 0:00:07.833 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 11 November 2024 20:07:01 -0500 (0:00:00.023) 0:00:07.857 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Monday 11 November 2024 20:07:01 -0500 (0:00:00.014) 0:00:07.872 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:07:01 -0500 (0:00:00.027) 0:00:07.900 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:07:01 -0500 (0:00:00.017) 0:00:07.918 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003397", "end": "2024-11-11 20:07:01.737400", "rc": 0, "start": "2024-11-11 20:07:01.734003" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:07:01 -0500 (0:00:00.355) 0:00:08.273 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:07:01 -0500 (0:00:00.017) 0:00:08.291 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Monday 11 November 2024 20:07:01 -0500 (0:00:00.017) 0:00:08.308 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Monday 11 November 2024 20:07:01 -0500 (0:00:00.028) 0:00:08.337 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:07:01 -0500 (0:00:00.018) 0:00:08.355 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731373620.1272883, "block_size": 4096, "blocks": 0, "ctime": 1731373620.1272883, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32105, "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": 1731373620.1272883, "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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Monday 11 November 2024 20:07:02 -0500 (0:00:00.352) 0:00:08.707 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Monday 11 November 2024 20:07:02 -0500 (0:00:00.018) 0:00:08.726 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 11 November 2024 20:07:02 -0500 (0:00:00.037) 0:00:08.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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 11 November 2024 20:07:02 -0500 (0:00:00.015) 0:00:08.779 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 11 November 2024 20:07:02 -0500 (0:00:00.014) 0:00:08.794 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:07:02 -0500 (0:00:00.020) 0:00:08.814 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:07:02 -0500 (0:00:00.018) 0:00:08.832 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003982", "end": "2024-11-11 20:07:02.651179", "rc": 0, "start": "2024-11-11 20:07:02.647197" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:07:02 -0500 (0:00:00.354) 0:00:09.187 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:07:02 -0500 (0:00:00.018) 0:00:09.205 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 11 November 2024 20:07:02 -0500 (0:00:00.017) 0:00:09.223 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 11 November 2024 20:07:03 -0500 (0:00:00.709) 0:00:09.932 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 11 November 2024 20:07:03 -0500 (0:00:00.026) 0:00:09.958 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 11 November 2024 20:07:03 -0500 (0:00:00.015) 0:00:09.973 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008914", "end": "2024-11-11 20:07:03.795378", "rc": 0, "start": "2024-11-11 20:07:03.786464" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 11 November 2024 20:07:03 -0500 (0:00:00.373) 0:00:10.347 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 11 November 2024 20:07:03 -0500 (0:00:00.015) 0:00:10.363 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 11 November 2024 20:07:03 -0500 (0:00:00.016) 0:00:10.379 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 11 November 2024 20:07:03 -0500 (0:00:00.015) 0:00:10.395 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Monday 11 November 2024 20:07:03 -0500 (0:00:00.016) 0:00:10.411 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:07:03 -0500 (0:00:00.034) 0:00:10.446 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:07:03 -0500 (0:00:00.018) 0:00:10.465 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003373", "end": "2024-11-11 20:07:04.280827", "rc": 0, "start": "2024-11-11 20:07:04.277454" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:07:04 -0500 (0:00:00.352) 0:00:10.817 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:07:04 -0500 (0:00:00.018) 0:00:10.836 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Monday 11 November 2024 20:07:04 -0500 (0:00:00.017) 0:00:10.854 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:07:04 -0500 (0:00:00.033) 0:00:10.887 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:07:04 -0500 (0:00:00.018) 0:00:10.906 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:07:04 -0500 (0:00:00.359) 0:00:11.265 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Monday 11 November 2024 20:07:04 -0500 (0:00:00.018) 0:00:11.284 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Monday 11 November 2024 20:07:04 -0500 (0:00:00.022) 0:00:11.307 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:07:04 -0500 (0:00:00.020) 0:00:11.328 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:07:04 -0500 (0:00:00.017) 0:00:11.345 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003481", "end": "2024-11-11 20:07:05.162722", "rc": 0, "start": "2024-11-11 20:07:05.159241" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:07:05 -0500 (0:00:00.354) 0:00:11.699 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:07:05 -0500 (0:00:00.018) 0:00:11.717 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Monday 11 November 2024 20:07:05 -0500 (0:00:00.017) 0:00:11.735 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 11 November 2024 20:07:05 -0500 (0:00:00.024) 0:00:11.760 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 11 November 2024 20:07:05 -0500 (0:00:00.015) 0:00:11.775 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 11 November 2024 20:07:05 -0500 (0:00:00.014) 0:00:11.790 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:07:05 -0500 (0:00:00.020) 0:00:11.810 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:07:05 -0500 (0:00:00.018) 0:00:11.829 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004008", "end": "2024-11-11 20:07:05.649913", "rc": 0, "start": "2024-11-11 20:07:05.645905" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:07:05 -0500 (0:00:00.356) 0:00:12.185 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:07:05 -0500 (0:00:00.018) 0:00:12.204 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 11 November 2024 20:07:05 -0500 (0:00:00.017) 0:00:12.221 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 11 November 2024 20:07:06 -0500 (0:00:00.697) 0:00:12.919 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 11 November 2024 20:07:06 -0500 (0:00:00.029) 0:00:12.949 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 11 November 2024 20:07:06 -0500 (0:00:00.016) 0:00:12.965 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 11 November 2024 20:07:06 -0500 (0:00:00.016) 0:00:12.982 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 11 November 2024 20:07:06 -0500 (0:00:00.026) 0:00:13.008 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 11 November 2024 20:07:06 -0500 (0:00:00.024) 0:00:13.032 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 11 November 2024 20:07:06 -0500 (0:00:00.015) 0:00:13.047 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Monday 11 November 2024 20:07:06 -0500 (0:00:00.014) 0:00:13.062 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:07:06 -0500 (0:00:00.022) 0:00:13.084 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:07:06 -0500 (0:00:00.017) 0:00:13.102 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003473", "end": "2024-11-11 20:07:06.917376", "rc": 0, "start": "2024-11-11 20:07:06.913903" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:07:06 -0500 (0:00:00.352) 0:00:13.454 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:07:06 -0500 (0:00:00.018) 0:00:13.473 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Monday 11 November 2024 20:07:07 -0500 (0:00:00.018) 0:00:13.491 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:07:07 -0500 (0:00:00.023) 0:00:13.514 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:07:07 -0500 (0:00:00.018) 0:00:13.532 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:07:07 -0500 (0:00:00.348) 0:00:13.881 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Monday 11 November 2024 20:07:07 -0500 (0:00:00.023) 0:00:13.905 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 11 November 2024 20:07:07 -0500 (0:00:00.029) 0:00:13.935 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 11 November 2024 20:07:07 -0500 (0:00:00.014) 0:00:13.949 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 11 November 2024 20:07:07 -0500 (0:00:00.015) 0:00:13.965 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:07:07 -0500 (0:00:00.018) 0:00:13.984 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:07:07 -0500 (0:00:00.016) 0:00:14.001 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003806", "end": "2024-11-11 20:07:07.817818", "rc": 0, "start": "2024-11-11 20:07:07.814012" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:07:07 -0500 (0:00:00.353) 0:00:14.354 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:07:07 -0500 (0:00:00.018) 0:00:14.372 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 11 November 2024 20:07:07 -0500 (0:00:00.018) 0:00:14.391 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 11 November 2024 20:07:08 -0500 (0:00:00.710) 0:00:15.101 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 11 November 2024 20:07:08 -0500 (0:00:00.025) 0:00:15.126 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 11 November 2024 20:07:08 -0500 (0:00:00.015) 0:00:15.142 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 11 November 2024 20:07:08 -0500 (0:00:00.016) 0:00:15.158 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.003927", "end": "2024-11-11 20:07:08.977289", "rc": 0, "start": "2024-11-11 20:07:08.973362" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 11 November 2024 20:07:09 -0500 (0:00:00.368) 0:00:15.526 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 11 November 2024 20:07:09 -0500 (0:00:00.014) 0:00:15.541 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 11 November 2024 20:07:09 -0500 (0:00:00.016) 0:00:15.558 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Monday 11 November 2024 20:07:09 -0500 (0:00:00.014) 0:00:15.572 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:07:09 -0500 (0:00:00.028) 0:00:15.600 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:07:09 -0500 (0:00:00.018) 0:00:15.619 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003389", "end": "2024-11-11 20:07:09.434462", "rc": 0, "start": "2024-11-11 20:07:09.431073" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:07:09 -0500 (0:00:00.353) 0:00:15.972 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:07:09 -0500 (0:00:00.018) 0:00:15.990 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Monday 11 November 2024 20:07:09 -0500 (0:00:00.017) 0:00:16.008 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Monday 11 November 2024 20:07:09 -0500 (0:00:00.029) 0:00:16.037 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:07:09 -0500 (0:00:00.017) 0:00:16.055 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731373628.9767275, "block_size": 4096, "blocks": 0, "ctime": 1731373628.9767275, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32308, "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": 1731373628.9767275, "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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Monday 11 November 2024 20:07:09 -0500 (0:00:00.351) 0:00:16.407 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Monday 11 November 2024 20:07:09 -0500 (0:00:00.018) 0:00:16.425 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 11 November 2024 20:07:09 -0500 (0:00:00.036) 0:00:16.462 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 11 November 2024 20:07:10 -0500 (0:00:00.038) 0:00:16.501 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 11 November 2024 20:07:10 -0500 (0:00:00.014) 0:00:16.516 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:07:10 -0500 (0:00:00.021) 0:00:16.537 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:07:10 -0500 (0:00:00.017) 0:00:16.555 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003326", "end": "2024-11-11 20:07:10.371172", "rc": 0, "start": "2024-11-11 20:07:10.367846" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:07:10 -0500 (0:00:00.351) 0:00:16.907 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:07:10 -0500 (0:00:00.018) 0:00:16.926 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 11 November 2024 20:07:10 -0500 (0:00:00.019) 0:00:16.945 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 11 November 2024 20:07:11 -0500 (0:00:00.711) 0:00:17.656 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 11 November 2024 20:07:11 -0500 (0:00:00.024) 0:00:17.681 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 11 November 2024 20:07:11 -0500 (0:00:00.016) 0:00:17.697 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 11 November 2024 20:07:11 -0500 (0:00:00.015) 0:00:17.713 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 11 November 2024 20:07:11 -0500 (0:00:00.016) 0:00:17.730 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.005985", "end": "2024-11-11 20:07:11.552898", "rc": 0, "start": "2024-11-11 20:07:11.546913" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 11 November 2024 20:07:11 -0500 (0:00:00.360) 0:00:18.091 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 11 November 2024 20:07:11 -0500 (0:00:00.017) 0:00:18.108 ******* 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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Monday 11 November 2024 20:07:11 -0500 (0:00:00.014) 0:00:18.122 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:07:11 -0500 (0:00:00.034) 0:00:18.156 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:07:11 -0500 (0:00:00.029) 0:00:18.186 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003324", "end": "2024-11-11 20:07:12.008188", "rc": 0, "start": "2024-11-11 20:07:12.004864" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:07:12 -0500 (0:00:00.359) 0:00:18.545 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:07:12 -0500 (0:00:00.019) 0:00:18.564 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Monday 11 November 2024 20:07:12 -0500 (0:00:00.017) 0:00:18.582 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:07:12 -0500 (0:00:00.034) 0:00:18.616 ******* included: /tmp/collections-91R/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-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:07:12 -0500 (0:00:00.018) 0:00:18.635 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:07:12 -0500 (0:00:00.351) 0:00:18.987 ******* 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 Monday 11 November 2024 20:07:12 -0500 (0:00:00.016) 0:00:19.003 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 1.16s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.09s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.81s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.71s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.71s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.71s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.70s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.70s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.51s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.44s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.44s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Set up veth as managed by NetworkManager -------------------------------- 0.38s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Delete veth interface veth1298 ------------------------------------------ 0.37s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Create dummy interface dummy1298 ---------------------------------------- 0.37s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Delete dummy interface dummy1298 ---------------------------------------- 0.36s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Get stat for interface veth1298 ----------------------------------------- 0.36s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.35s /tmp/collections-91R/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3