ansible-playbook [core 2.17.7] 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-KsP executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 3 2024, 00:00:00) [GCC 14.2.1 20241104 (Red Hat 14.2.1-6)] (/usr/bin/python3.12) jinja version = 3.1.5 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-KsP/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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Wednesday 22 January 2025 19:42:52 -0500 (0:00:00.037) 0:00:00.037 ***** [WARNING]: Platform linux on host managed-node3 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-node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Wednesday 22 January 2025 19:42:53 -0500 (0:00:01.186) 0:00:01.224 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 22 January 2025 19:42:53 -0500 (0:00:00.022) 0:00:01.247 ***** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 22 January 2025 19:42:54 -0500 (0:00:00.561) 0:00:01.808 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 22 January 2025 19:42:54 -0500 (0:00:00.473) 0:00:02.282 ***** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 22 January 2025 19:42:54 -0500 (0:00:00.111) 0:00:02.394 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 22 January 2025 19:42:54 -0500 (0:00:00.033) 0:00:02.427 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.066) 0:00:02.494 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.024) 0:00:02.519 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.022) 0:00:02.541 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.021) 0:00:02.563 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.023) 0:00:02.586 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.023) 0:00:02.610 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node3 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.034) 0:00:02.644 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.029) 0:00:02.673 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.026) 0:00:02.700 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003992", "end": "2025-01-22 19:42:55.735417", "rc": 0, "start": "2025-01-22 19:42:55.731425" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.535) 0:00:03.236 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.017) 0:00:03.253 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.015) 0:00:03.269 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.026) 0:00:03.295 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.013) 0:00:03.309 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.013) 0:00:03.322 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.018) 0:00:03.340 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:42:55 -0500 (0:00:00.016) 0:00:03.356 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003317", "end": "2025-01-22 19:42:56.219593", "rc": 0, "start": "2025-01-22 19:42:56.216276" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:42:56 -0500 (0:00:00.370) 0:00:03.726 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:42:56 -0500 (0:00:00.024) 0:00:03.751 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 19:42:56 -0500 (0:00:00.025) 0:00:03.776 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 19:42:57 -0500 (0:00:01.041) 0:00:04.818 ***** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 19:42:57 -0500 (0:00:00.044) 0:00:04.863 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 19:42:57 -0500 (0:00:00.032) 0:00:04.895 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 19:42:57 -0500 (0:00:00.033) 0:00:04.929 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 19:42:57 -0500 (0:00:00.029) 0:00:04.958 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 19:42:57 -0500 (0:00:00.027) 0:00:04.985 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 19:42:57 -0500 (0:00:00.015) 0:00:05.000 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 22 January 2025 19:42:57 -0500 (0:00:00.018) 0:00:05.019 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:42:57 -0500 (0:00:00.023) 0:00:05.043 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:42:57 -0500 (0:00:00.020) 0:00:05.063 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003453", "end": "2025-01-22 19:42:57.921112", "rc": 0, "start": "2025-01-22 19:42:57.917659" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:42:57 -0500 (0:00:00.362) 0:00:05.426 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:42:58 -0500 (0:00:00.025) 0:00:05.452 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 22 January 2025 19:42:58 -0500 (0:00:00.025) 0:00:05.477 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 19:42:58 -0500 (0:00:00.058) 0:00:05.535 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:42:58 -0500 (0:00:00.054) 0:00:05.590 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 19:42:58 -0500 (0:00:00.444) 0:00:06.034 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 22 January 2025 19:42:58 -0500 (0:00:00.050) 0:00:06.084 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 19:42:58 -0500 (0:00:00.101) 0:00:06.186 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 19:42:58 -0500 (0:00:00.048) 0:00:06.234 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 19:42:58 -0500 (0:00:00.044) 0:00:06.279 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:42:58 -0500 (0:00:00.036) 0:00:06.315 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:42:58 -0500 (0:00:00.039) 0:00:06.355 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003311", "end": "2025-01-22 19:42:59.238300", "rc": 0, "start": "2025-01-22 19:42:59.234989" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:42:59 -0500 (0:00:00.392) 0:00:06.748 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:42:59 -0500 (0:00:00.033) 0:00:06.782 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 19:42:59 -0500 (0:00:00.050) 0:00:06.832 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 19:43:00 -0500 (0:00:00.914) 0:00:07.747 ***** ok: [managed-node3] => (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.007217", "end": "2025-01-22 19:43:00.645104", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2025-01-22 19:43:00.637887" } ok: [managed-node3] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003841", "end": "2025-01-22 19:43:01.043073", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2025-01-22 19:43:01.039232" } ok: [managed-node3] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003774", "end": "2025-01-22 19:43:01.448970", "item": "ip link set veth1298 up", "rc": 0, "start": "2025-01-22 19:43:01.445196" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 19:43:01 -0500 (0:00:01.204) 0:00:08.951 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.020101", "end": "2025-01-22 19:43:01.842788", "rc": 0, "start": "2025-01-22 19:43:01.822687" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 19:43:01 -0500 (0:00:00.392) 0:00:09.344 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 19:43:01 -0500 (0:00:00.015) 0:00:09.359 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 19:43:01 -0500 (0:00:00.014) 0:00:09.374 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 19:43:01 -0500 (0:00:00.014) 0:00:09.389 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 19:43:01 -0500 (0:00:00.017) 0:00:09.406 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 22 January 2025 19:43:01 -0500 (0:00:00.015) 0:00:09.422 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:43:02 -0500 (0:00:00.044) 0:00:09.467 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:43:02 -0500 (0:00:00.029) 0:00:09.496 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003280", "end": "2025-01-22 19:43:02.377691", "rc": 0, "start": "2025-01-22 19:43:02.374411" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:43:02 -0500 (0:00:00.386) 0:00:09.882 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:43:02 -0500 (0:00:00.019) 0:00:09.901 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 22 January 2025 19:43:02 -0500 (0:00:00.021) 0:00:09.923 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 19:43:02 -0500 (0:00:00.035) 0:00:09.959 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:43:02 -0500 (0:00:00.019) 0:00:09.978 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1737592980.6423738, "block_size": 4096, "blocks": 0, "ctime": 1737592980.6423738, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30305, "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": 1737592980.6423738, "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 19:43:02 -0500 (0:00:00.362) 0:00:10.341 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 22 January 2025 19:43:02 -0500 (0:00:00.018) 0:00:10.360 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 19:43:02 -0500 (0:00:00.053) 0:00:10.413 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 19:43:02 -0500 (0:00:00.020) 0:00:10.434 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 19:43:03 -0500 (0:00:00.020) 0:00:10.454 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:43:03 -0500 (0:00:00.025) 0:00:10.480 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:43:03 -0500 (0:00:00.020) 0:00:10.500 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003811", "end": "2025-01-22 19:43:03.357475", "rc": 0, "start": "2025-01-22 19:43:03.353664" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:43:03 -0500 (0:00:00.358) 0:00:10.859 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:43:03 -0500 (0:00:00.017) 0:00:10.876 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 19:43:03 -0500 (0:00:00.016) 0:00:10.893 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 19:43:04 -0500 (0:00:00.822) 0:00:11.715 ***** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 19:43:04 -0500 (0:00:00.037) 0:00:11.752 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 19:43:04 -0500 (0:00:00.029) 0:00:11.781 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.007749", "end": "2025-01-22 19:43:04.743015", "rc": 0, "start": "2025-01-22 19:43:04.735266" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 19:43:04 -0500 (0:00:00.469) 0:00:12.251 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 19:43:04 -0500 (0:00:00.018) 0:00:12.270 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 19:43:04 -0500 (0:00:00.018) 0:00:12.288 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 19:43:04 -0500 (0:00:00.016) 0:00:12.304 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 22 January 2025 19:43:04 -0500 (0:00:00.013) 0:00:12.318 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:43:04 -0500 (0:00:00.031) 0:00:12.350 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:43:04 -0500 (0:00:00.016) 0:00:12.367 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003347", "end": "2025-01-22 19:43:05.227486", "rc": 0, "start": "2025-01-22 19:43:05.224139" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:43:05 -0500 (0:00:00.380) 0:00:12.747 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:43:05 -0500 (0:00:00.039) 0:00:12.787 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 22 January 2025 19:43:05 -0500 (0:00:00.038) 0:00:12.825 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 19:43:05 -0500 (0:00:00.077) 0:00:12.903 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:43:05 -0500 (0:00:00.042) 0:00:12.946 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 19:43:05 -0500 (0:00:00.462) 0:00:13.409 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Wednesday 22 January 2025 19:43:05 -0500 (0:00:00.032) 0:00:13.441 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node3 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 22 January 2025 19:43:06 -0500 (0:00:00.036) 0:00:13.478 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:43:06 -0500 (0:00:00.030) 0:00:13.509 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:43:06 -0500 (0:00:00.028) 0:00:13.537 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003792", "end": "2025-01-22 19:43:06.445763", "rc": 0, "start": "2025-01-22 19:43:06.441971" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:43:06 -0500 (0:00:00.437) 0:00:13.974 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:43:06 -0500 (0:00:00.050) 0:00:14.025 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 22 January 2025 19:43:06 -0500 (0:00:00.053) 0:00:14.078 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 19:43:06 -0500 (0:00:00.058) 0:00:14.137 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 19:43:06 -0500 (0:00:00.016) 0:00:14.154 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 19:43:06 -0500 (0:00:00.024) 0:00:14.178 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:43:06 -0500 (0:00:00.021) 0:00:14.199 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:43:06 -0500 (0:00:00.029) 0:00:14.228 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003401", "end": "2025-01-22 19:43:07.096128", "rc": 0, "start": "2025-01-22 19:43:07.092727" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:43:07 -0500 (0:00:00.375) 0:00:14.603 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:43:07 -0500 (0:00:00.025) 0:00:14.629 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 19:43:07 -0500 (0:00:00.019) 0:00:14.648 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.831) 0:00:15.480 ***** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.044) 0:00:15.524 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.032) 0:00:15.557 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.032) 0:00:15.589 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.024) 0:00:15.613 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.025) 0:00:15.639 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.021) 0:00:15.660 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.021) 0:00:15.681 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.036) 0:00:15.718 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.026) 0:00:15.744 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003340", "end": "2025-01-22 19:43:08.648751", "rc": 0, "start": "2025-01-22 19:43:08.645411" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.405) 0:00:16.150 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.033) 0:00:16.183 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.042) 0:00:16.226 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.037) 0:00:16.264 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:43:08 -0500 (0:00:00.029) 0:00:16.293 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 19:43:09 -0500 (0:00:00.440) 0:00:16.733 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 22 January 2025 19:43:09 -0500 (0:00:00.037) 0:00:16.770 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 19:43:09 -0500 (0:00:00.057) 0:00:16.828 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 19:43:09 -0500 (0:00:00.034) 0:00:16.862 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 19:43:09 -0500 (0:00:00.029) 0:00:16.892 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:43:09 -0500 (0:00:00.033) 0:00:16.926 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:43:09 -0500 (0:00:00.031) 0:00:16.957 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003339", "end": "2025-01-22 19:43:09.839310", "rc": 0, "start": "2025-01-22 19:43:09.835971" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:43:09 -0500 (0:00:00.391) 0:00:17.349 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:43:09 -0500 (0:00:00.017) 0:00:17.366 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 19:43:09 -0500 (0:00:00.020) 0:00:17.387 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 19:43:10 -0500 (0:00:00.817) 0:00:18.205 ***** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 19:43:10 -0500 (0:00:00.028) 0:00:18.233 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 19:43:10 -0500 (0:00:00.017) 0:00:18.250 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 19:43:10 -0500 (0:00:00.016) 0:00:18.267 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010466", "end": "2025-01-22 19:43:11.153408", "rc": 0, "start": "2025-01-22 19:43:11.142942" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 19:43:11 -0500 (0:00:00.405) 0:00:18.672 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 19:43:11 -0500 (0:00:00.025) 0:00:18.697 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 19:43:11 -0500 (0:00:00.023) 0:00:18.720 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 22 January 2025 19:43:11 -0500 (0:00:00.022) 0:00:18.743 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:43:11 -0500 (0:00:00.046) 0:00:18.789 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:43:11 -0500 (0:00:00.031) 0:00:18.821 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003435", "end": "2025-01-22 19:43:11.723872", "rc": 0, "start": "2025-01-22 19:43:11.720437" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:43:11 -0500 (0:00:00.405) 0:00:19.226 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:43:11 -0500 (0:00:00.018) 0:00:19.244 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 22 January 2025 19:43:11 -0500 (0:00:00.019) 0:00:19.264 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 19:43:11 -0500 (0:00:00.034) 0:00:19.298 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:43:11 -0500 (0:00:00.026) 0:00:19.325 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1737592991.152762, "block_size": 4096, "blocks": 0, "ctime": 1737592991.152762, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30548, "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": 1737592991.152762, "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 19:43:12 -0500 (0:00:00.391) 0:00:19.716 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 22 January 2025 19:43:12 -0500 (0:00:00.028) 0:00:19.745 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 19:43:12 -0500 (0:00:00.061) 0:00:19.807 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 19:43:12 -0500 (0:00:00.022) 0:00:19.829 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 19:43:12 -0500 (0:00:00.023) 0:00:19.853 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:43:12 -0500 (0:00:00.036) 0:00:19.890 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:43:12 -0500 (0:00:00.062) 0:00:19.953 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003305", "end": "2025-01-22 19:43:12.861628", "rc": 0, "start": "2025-01-22 19:43:12.858323" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:43:12 -0500 (0:00:00.418) 0:00:20.372 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:43:12 -0500 (0:00:00.030) 0:00:20.402 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 19:43:12 -0500 (0:00:00.032) 0:00:20.435 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 19:43:13 -0500 (0:00:00.931) 0:00:21.366 ***** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 19:43:13 -0500 (0:00:00.042) 0:00:21.409 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 19:43:13 -0500 (0:00:00.025) 0:00:21.434 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 19:43:14 -0500 (0:00:00.027) 0:00:21.461 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 19:43:14 -0500 (0:00:00.025) 0:00:21.487 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009144", "end": "2025-01-22 19:43:14.386277", "rc": 0, "start": "2025-01-22 19:43:14.377133" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 19:43:14 -0500 (0:00:00.409) 0:00:21.896 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 19:43:14 -0500 (0:00:00.024) 0:00:21.921 ***** skipping: [managed-node3] => { "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-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 22 January 2025 19:43:14 -0500 (0:00:00.022) 0:00:21.943 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:43:14 -0500 (0:00:00.037) 0:00:21.981 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:43:14 -0500 (0:00:00.019) 0:00:22.001 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003256", "end": "2025-01-22 19:43:14.865569", "rc": 0, "start": "2025-01-22 19:43:14.862313" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:43:14 -0500 (0:00:00.366) 0:00:22.367 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:43:14 -0500 (0:00:00.019) 0:00:22.387 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 22 January 2025 19:43:14 -0500 (0:00:00.021) 0:00:22.409 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 19:43:15 -0500 (0:00:00.060) 0:00:22.470 ***** included: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:43:15 -0500 (0:00:00.050) 0:00:22.521 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 19:43:15 -0500 (0:00:00.418) 0:00:22.939 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node3 : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Wednesday 22 January 2025 19:43:15 -0500 (0:00:00.016) 0:00:22.955 ***** =============================================================================== Create veth interface veth1298 ------------------------------------------ 1.20s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.19s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Install iproute --------------------------------------------------------- 1.04s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.93s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.91s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.83s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.82s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.82s /tmp/collections-KsP/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.56s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.54s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.47s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Delete veth interface veth1298 ------------------------------------------ 0.47s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Get stat for interface veth1298 ----------------------------------------- 0.46s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.44s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.44s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.44s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.42s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.42s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.41s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.41s /tmp/collections-KsP/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3