ansible-playbook [core 2.17.4] 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-yx4 executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 23 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-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Saturday 28 September 2024 11:47:13 -0400 (0:00:00.025) 0:00:00.025 **** [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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Saturday 28 September 2024 11:47:14 -0400 (0:00:01.152) 0:00:01.177 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 28 September 2024 11:47:14 -0400 (0:00:00.041) 0:00:01.219 **** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 28 September 2024 11:47:15 -0400 (0:00:00.557) 0:00:01.776 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 28 September 2024 11:47:15 -0400 (0:00:00.529) 0:00:02.306 **** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 28 September 2024 11:47:15 -0400 (0:00:00.064) 0:00:02.370 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 28 September 2024 11:47:15 -0400 (0:00:00.042) 0:00:02.415 **** included: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 28 September 2024 11:47:15 -0400 (0:00:00.120) 0:00:02.536 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 28 September 2024 11:47:15 -0400 (0:00:00.036) 0:00:02.572 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 28 September 2024 11:47:15 -0400 (0:00:00.037) 0:00:02.610 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 28 September 2024 11:47:15 -0400 (0:00:00.033) 0:00:02.644 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 28 September 2024 11:47:15 -0400 (0:00:00.026) 0:00:02.670 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Saturday 28 September 2024 11:47:15 -0400 (0:00:00.048) 0:00:02.719 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Saturday 28 September 2024 11:47:16 -0400 (0:00:00.054) 0:00:02.774 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:16 -0400 (0:00:00.036) 0:00:02.811 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:16 -0400 (0:00:00.027) 0:00:02.838 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003375", "end": "2024-09-28 11:47:16.525539", "rc": 0, "start": "2024-09-28 11:47:16.522164" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:16 -0400 (0:00:00.488) 0:00:03.326 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:16 -0400 (0:00:00.031) 0:00:03.357 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Saturday 28 September 2024 11:47:16 -0400 (0:00:00.025) 0:00:03.383 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 28 September 2024 11:47:16 -0400 (0:00:00.057) 0:00:03.440 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 28 September 2024 11:47:16 -0400 (0:00:00.020) 0:00:03.461 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 28 September 2024 11:47:16 -0400 (0:00:00.020) 0:00:03.481 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:16 -0400 (0:00:00.030) 0:00:03.511 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:16 -0400 (0:00:00.024) 0:00:03.536 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003347", "end": "2024-09-28 11:47:17.088366", "rc": 0, "start": "2024-09-28 11:47:17.085019" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:17 -0400 (0:00:00.358) 0:00:03.895 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:17 -0400 (0:00:00.027) 0:00:03.922 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 28 September 2024 11:47:17 -0400 (0:00:00.029) 0:00:03.952 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.938) 0:00:04.891 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.036) 0:00:04.927 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.025) 0:00:04.953 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.020) 0:00:04.974 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.026) 0:00:05.000 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.025) 0:00:05.025 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.022) 0:00:05.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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.025) 0:00:05.073 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.024) 0:00:05.097 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.023) 0:00:05.121 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003319", "end": "2024-09-28 11:47:18.655146", "rc": 0, "start": "2024-09-28 11:47:18.651827" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.335) 0:00:05.456 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.039) 0:00:05.496 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.030) 0:00:05.527 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.042) 0:00:05.570 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:47:18 -0400 (0:00:00.027) 0:00:05.597 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 28 September 2024 11:47:19 -0400 (0:00:00.386) 0:00:05.984 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Saturday 28 September 2024 11:47:19 -0400 (0:00:00.042) 0:00:06.026 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 28 September 2024 11:47:19 -0400 (0:00:00.080) 0:00:06.107 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 28 September 2024 11:47:19 -0400 (0:00:00.027) 0:00:06.134 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 28 September 2024 11:47:19 -0400 (0:00:00.032) 0:00:06.167 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:19 -0400 (0:00:00.031) 0:00:06.199 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:19 -0400 (0:00:00.017) 0:00:06.216 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004384", "end": "2024-09-28 11:47:20.771700", "rc": 0, "start": "2024-09-28 11:47:19.767316" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:20 -0400 (0:00:01.347) 0:00:07.564 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:20 -0400 (0:00:00.017) 0:00:07.582 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 28 September 2024 11:47:20 -0400 (0:00:00.015) 0:00:07.597 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 28 September 2024 11:47:21 -0400 (0:00:00.637) 0:00:08.235 **** 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.005405", "end": "2024-09-28 11:47:21.777036", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-09-28 11:47:21.771631" } 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.003743", "end": "2024-09-28 11:47:22.158223", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-09-28 11:47:22.154480" } 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.003802", "end": "2024-09-28 11:47:22.548368", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-09-28 11:47:22.544566" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 28 September 2024 11:47:22 -0400 (0:00:01.118) 0:00:09.353 **** ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.017682", "end": "2024-09-28 11:47:22.931423", "rc": 0, "start": "2024-09-28 11:47:22.913741" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 28 September 2024 11:47:22 -0400 (0:00:00.377) 0:00:09.731 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 28 September 2024 11:47:23 -0400 (0:00:00.024) 0:00:09.755 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 28 September 2024 11:47:23 -0400 (0:00:00.023) 0:00:09.779 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 28 September 2024 11:47:23 -0400 (0:00:00.020) 0:00:09.800 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 28 September 2024 11:47:23 -0400 (0:00:00.019) 0:00:09.819 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Saturday 28 September 2024 11:47:23 -0400 (0:00:00.021) 0:00:09.841 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:23 -0400 (0:00:00.044) 0:00:09.886 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:23 -0400 (0:00:00.027) 0:00:09.913 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003263", "end": "2024-09-28 11:47:23.495046", "rc": 0, "start": "2024-09-28 11:47:23.491783" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:23 -0400 (0:00:00.398) 0:00:10.312 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:23 -0400 (0:00:00.046) 0:00:10.358 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Saturday 28 September 2024 11:47:23 -0400 (0:00:00.050) 0:00:10.409 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Saturday 28 September 2024 11:47:23 -0400 (0:00:00.091) 0:00:10.500 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:47:23 -0400 (0:00:00.048) 0:00:10.549 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727538441.775188, "block_size": 4096, "blocks": 0, "ctime": 1727538441.775188, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28897, "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": 1727538441.775188, "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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Saturday 28 September 2024 11:47:24 -0400 (0:00:00.378) 0:00:10.927 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Saturday 28 September 2024 11:47:24 -0400 (0:00:00.018) 0:00:10.946 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 28 September 2024 11:47:24 -0400 (0:00:00.042) 0:00:10.989 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 28 September 2024 11:47:24 -0400 (0:00:00.016) 0:00:11.006 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 28 September 2024 11:47:24 -0400 (0:00:00.012) 0:00:11.018 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:24 -0400 (0:00:00.021) 0:00:11.039 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:24 -0400 (0:00:00.019) 0:00:11.059 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003391", "end": "2024-09-28 11:47:24.614643", "rc": 0, "start": "2024-09-28 11:47:24.611252" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:24 -0400 (0:00:00.355) 0:00:11.415 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:24 -0400 (0:00:00.030) 0:00:11.445 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 28 September 2024 11:47:24 -0400 (0:00:00.024) 0:00:11.470 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 28 September 2024 11:47:25 -0400 (0:00:00.712) 0:00:12.182 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 28 September 2024 11:47:25 -0400 (0:00:00.036) 0:00:12.219 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 28 September 2024 11:47:25 -0400 (0:00:00.016) 0:00:12.236 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009304", "end": "2024-09-28 11:47:25.825301", "rc": 0, "start": "2024-09-28 11:47:25.815997" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 28 September 2024 11:47:25 -0400 (0:00:00.409) 0:00:12.646 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 28 September 2024 11:47:25 -0400 (0:00:00.028) 0:00:12.674 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 28 September 2024 11:47:25 -0400 (0:00:00.033) 0:00:12.708 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 28 September 2024 11:47:25 -0400 (0:00:00.026) 0:00:12.734 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Saturday 28 September 2024 11:47:26 -0400 (0:00:00.018) 0:00:12.753 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:26 -0400 (0:00:00.040) 0:00:12.794 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:26 -0400 (0:00:00.016) 0:00:12.810 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003173", "end": "2024-09-28 11:47:26.351737", "rc": 0, "start": "2024-09-28 11:47:26.348564" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:26 -0400 (0:00:00.349) 0:00:13.160 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:26 -0400 (0:00:00.024) 0:00:13.185 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Saturday 28 September 2024 11:47:26 -0400 (0:00:00.016) 0:00:13.201 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 28 September 2024 11:47:26 -0400 (0:00:00.038) 0:00:13.239 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:47:26 -0400 (0:00:00.018) 0:00:13.257 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 28 September 2024 11:47:26 -0400 (0:00:00.373) 0:00:13.631 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Saturday 28 September 2024 11:47:26 -0400 (0:00:00.051) 0:00:13.683 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.075) 0:00:13.758 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.044) 0:00:13.803 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.047) 0:00:13.850 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003239", "end": "2024-09-28 11:47:27.411672", "rc": 0, "start": "2024-09-28 11:47:27.408433" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.354) 0:00:14.204 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.018) 0:00:14.223 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.021) 0:00:14.244 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.026) 0:00:14.270 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.012) 0:00:14.282 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.012) 0:00:14.295 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.018) 0:00:14.313 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.015) 0:00:14.329 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003182", "end": "2024-09-28 11:47:27.871034", "rc": 0, "start": "2024-09-28 11:47:27.867852" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.332) 0:00:14.661 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.017) 0:00:14.679 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 28 September 2024 11:47:27 -0400 (0:00:00.015) 0:00:14.695 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 28 September 2024 11:47:28 -0400 (0:00:00.638) 0:00:15.333 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 28 September 2024 11:47:28 -0400 (0:00:00.024) 0:00:15.357 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 28 September 2024 11:47:28 -0400 (0:00:00.015) 0:00:15.373 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 28 September 2024 11:47:28 -0400 (0:00:00.023) 0:00:15.396 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 28 September 2024 11:47:28 -0400 (0:00:00.025) 0:00:15.421 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 28 September 2024 11:47:28 -0400 (0:00:00.015) 0:00:15.437 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 28 September 2024 11:47:28 -0400 (0:00:00.014) 0:00:15.451 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Saturday 28 September 2024 11:47:28 -0400 (0:00:00.013) 0:00:15.464 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:28 -0400 (0:00:00.020) 0:00:15.485 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:28 -0400 (0:00:00.015) 0:00:15.501 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003340", "end": "2024-09-28 11:47:29.040908", "rc": 0, "start": "2024-09-28 11:47:29.037568" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:29 -0400 (0:00:00.336) 0:00:15.838 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:29 -0400 (0:00:00.039) 0:00:15.878 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Saturday 28 September 2024 11:47:29 -0400 (0:00:00.033) 0:00:15.911 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 28 September 2024 11:47:29 -0400 (0:00:00.036) 0:00:15.948 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:47:29 -0400 (0:00:00.027) 0:00:15.976 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 28 September 2024 11:47:29 -0400 (0:00:00.338) 0:00:16.315 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Saturday 28 September 2024 11:47:29 -0400 (0:00:00.017) 0:00:16.332 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 28 September 2024 11:47:29 -0400 (0:00:00.028) 0:00:16.361 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 28 September 2024 11:47:29 -0400 (0:00:00.012) 0:00:16.374 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 28 September 2024 11:47:29 -0400 (0:00:00.016) 0:00:16.390 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:29 -0400 (0:00:00.026) 0:00:16.416 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:29 -0400 (0:00:00.030) 0:00:16.447 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003352", "end": "2024-09-28 11:47:30.026794", "rc": 0, "start": "2024-09-28 11:47:30.023442" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:30 -0400 (0:00:00.392) 0:00:16.839 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:30 -0400 (0:00:00.045) 0:00:16.885 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 28 September 2024 11:47:30 -0400 (0:00:00.049) 0:00:16.934 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 28 September 2024 11:47:30 -0400 (0:00:00.771) 0:00:17.706 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 28 September 2024 11:47:31 -0400 (0:00:00.043) 0:00:17.749 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 28 September 2024 11:47:31 -0400 (0:00:00.029) 0:00:17.779 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 28 September 2024 11:47:31 -0400 (0:00:00.029) 0:00:17.809 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.060030", "end": "2024-09-28 11:47:31.444618", "rc": 0, "start": "2024-09-28 11:47:31.384588" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 28 September 2024 11:47:31 -0400 (0:00:00.443) 0:00:18.253 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 28 September 2024 11:47:31 -0400 (0:00:00.023) 0:00:18.276 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 28 September 2024 11:47:31 -0400 (0:00:00.021) 0:00:18.298 **** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Saturday 28 September 2024 11:47:31 -0400 (0:00:00.019) 0:00:18.317 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:31 -0400 (0:00:00.041) 0:00:18.359 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:31 -0400 (0:00:00.025) 0:00:18.384 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003293", "end": "2024-09-28 11:47:31.976123", "rc": 0, "start": "2024-09-28 11:47:31.972830" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:32 -0400 (0:00:00.394) 0:00:18.779 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:32 -0400 (0:00:00.031) 0:00:18.811 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Saturday 28 September 2024 11:47:32 -0400 (0:00:00.023) 0:00:18.834 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Saturday 28 September 2024 11:47:32 -0400 (0:00:00.042) 0:00:18.877 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:47:32 -0400 (0:00:00.026) 0:00:18.904 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727538451.4422925, "block_size": 4096, "blocks": 0, "ctime": 1727538451.4422925, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29140, "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": 1727538451.4422925, "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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Saturday 28 September 2024 11:47:32 -0400 (0:00:00.408) 0:00:19.312 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Saturday 28 September 2024 11:47:32 -0400 (0:00:00.027) 0:00:19.340 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 28 September 2024 11:47:32 -0400 (0:00:00.080) 0:00:19.421 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 28 September 2024 11:47:32 -0400 (0:00:00.031) 0:00:19.452 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 28 September 2024 11:47:32 -0400 (0:00:00.023) 0:00:19.475 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:32 -0400 (0:00:00.033) 0:00:19.509 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:32 -0400 (0:00:00.026) 0:00:19.536 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003434", "end": "2024-09-28 11:47:33.126731", "rc": 0, "start": "2024-09-28 11:47:33.123297" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:33 -0400 (0:00:00.391) 0:00:19.927 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:33 -0400 (0:00:00.025) 0:00:19.953 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 28 September 2024 11:47:33 -0400 (0:00:00.025) 0:00:19.978 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 28 September 2024 11:47:33 -0400 (0:00:00.756) 0:00:20.735 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 28 September 2024 11:47:34 -0400 (0:00:00.077) 0:00:20.812 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 28 September 2024 11:47:34 -0400 (0:00:00.039) 0:00:20.852 **** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 28 September 2024 11:47:34 -0400 (0:00:00.038) 0:00:20.890 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 28 September 2024 11:47:34 -0400 (0:00:00.036) 0:00:20.927 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007516", "end": "2024-09-28 11:47:34.520896", "rc": 0, "start": "2024-09-28 11:47:34.513380" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 28 September 2024 11:47:34 -0400 (0:00:00.393) 0:00:21.321 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 28 September 2024 11:47:34 -0400 (0:00:00.015) 0:00:21.336 **** 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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Saturday 28 September 2024 11:47:34 -0400 (0:00:00.012) 0:00:21.349 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 28 September 2024 11:47:34 -0400 (0:00:00.030) 0:00:21.380 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 28 September 2024 11:47:34 -0400 (0:00:00.015) 0:00:21.395 **** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003425", "end": "2024-09-28 11:47:34.931674", "rc": 0, "start": "2024-09-28 11:47:34.928249" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 28 September 2024 11:47:34 -0400 (0:00:00.334) 0:00:21.730 **** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 28 September 2024 11:47:35 -0400 (0:00:00.019) 0:00:21.749 **** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Saturday 28 September 2024 11:47:35 -0400 (0:00:00.018) 0:00:21.767 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 28 September 2024 11:47:35 -0400 (0:00:00.052) 0:00:21.819 **** included: /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 28 September 2024 11:47:35 -0400 (0:00:00.030) 0:00:21.849 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 28 September 2024 11:47:35 -0400 (0:00:00.342) 0:00:22.191 **** 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 Saturday 28 September 2024 11:47:35 -0400 (0:00:00.042) 0:00:22.234 **** =============================================================================== Gather current interface info ------------------------------------------- 1.35s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 1.15s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.12s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.94s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.77s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.76s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.71s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.64s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.64s /tmp/collections-yx4/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-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.53s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.49s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.44s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Delete veth interface veth1298 ------------------------------------------ 0.41s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Get stat for interface dummy1298 ---------------------------------------- 0.41s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.39s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.39s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/collections-yx4/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3