ansible-playbook [core 2.17.8] 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-wj5 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-wj5/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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Friday 07 February 2025 14:58:36 -0500 (0:00:00.031) 0:00:00.031 ******* [WARNING]: Platform linux on host managed-node2 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-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Friday 07 February 2025 14:58:37 -0500 (0:00:01.240) 0:00:01.272 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 07 February 2025 14:58:37 -0500 (0:00:00.033) 0:00:01.305 ******* ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 07 February 2025 14:58:37 -0500 (0:00:00.624) 0:00:01.930 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 07 February 2025 14:58:38 -0500 (0:00:00.648) 0:00:02.578 ******* ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 07 February 2025 14:58:38 -0500 (0:00:00.114) 0:00:02.693 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 07 February 2025 14:58:38 -0500 (0:00:00.022) 0:00:02.716 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 07 February 2025 14:58:38 -0500 (0:00:00.072) 0:00:02.789 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 07 February 2025 14:58:38 -0500 (0:00:00.040) 0:00:02.830 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 07 February 2025 14:58:38 -0500 (0:00:00.026) 0:00:02.856 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 07 February 2025 14:58:38 -0500 (0:00:00.020) 0:00:02.876 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 07 February 2025 14:58:38 -0500 (0:00:00.025) 0:00:02.902 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Friday 07 February 2025 14:58:38 -0500 (0:00:00.026) 0:00:02.929 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node2 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Friday 07 February 2025 14:58:39 -0500 (0:00:00.031) 0:00:02.961 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:39 -0500 (0:00:00.029) 0:00:02.990 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:39 -0500 (0:00:00.028) 0:00:03.018 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003641", "end": "2025-02-07 14:58:39.491167", "rc": 0, "start": "2025-02-07 14:58:39.487526" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:39 -0500 (0:00:00.454) 0:00:03.472 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:39 -0500 (0:00:00.017) 0:00:03.490 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Friday 07 February 2025 14:58:39 -0500 (0:00:00.015) 0:00:03.505 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 07 February 2025 14:58:39 -0500 (0:00:00.023) 0:00:03.529 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 07 February 2025 14:58:39 -0500 (0:00:00.012) 0:00:03.542 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 07 February 2025 14:58:39 -0500 (0:00:00.012) 0:00:03.554 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:39 -0500 (0:00:00.016) 0:00:03.571 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:39 -0500 (0:00:00.015) 0:00:03.586 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003256", "end": "2025-02-07 14:58:39.953009", "rc": 0, "start": "2025-02-07 14:58:39.949753" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:40 -0500 (0:00:00.359) 0:00:03.946 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:40 -0500 (0:00:00.025) 0:00:03.972 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 07 February 2025 14:58:40 -0500 (0:00:00.024) 0:00:03.996 ******* ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 07 February 2025 14:58:40 -0500 (0:00:00.929) 0:00:04.925 ******* skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 07 February 2025 14:58:41 -0500 (0:00:00.024) 0:00:04.950 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 07 February 2025 14:58:41 -0500 (0:00:00.015) 0:00:04.966 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 07 February 2025 14:58:41 -0500 (0:00:00.015) 0:00:04.981 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 07 February 2025 14:58:41 -0500 (0:00:00.014) 0:00:04.995 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 07 February 2025 14:58:41 -0500 (0:00:00.015) 0:00:05.011 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 07 February 2025 14:58:41 -0500 (0:00:00.014) 0:00:05.026 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Friday 07 February 2025 14:58:41 -0500 (0:00:00.014) 0:00:05.040 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:41 -0500 (0:00:00.022) 0:00:05.063 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:41 -0500 (0:00:00.018) 0:00:05.081 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003291", "end": "2025-02-07 14:58:41.446779", "rc": 0, "start": "2025-02-07 14:58:41.443488" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:41 -0500 (0:00:00.347) 0:00:05.429 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:41 -0500 (0:00:00.016) 0:00:05.445 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Friday 07 February 2025 14:58:41 -0500 (0:00:00.015) 0:00:05.461 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 07 February 2025 14:58:41 -0500 (0:00:00.025) 0:00:05.487 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 07 February 2025 14:58:41 -0500 (0:00:00.024) 0:00:05.511 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 07 February 2025 14:58:41 -0500 (0:00:00.374) 0:00:05.886 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Friday 07 February 2025 14:58:41 -0500 (0:00:00.027) 0:00:05.913 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 07 February 2025 14:58:42 -0500 (0:00:00.057) 0:00:05.971 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 07 February 2025 14:58:42 -0500 (0:00:00.045) 0:00:06.016 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 07 February 2025 14:58:42 -0500 (0:00:00.042) 0:00:06.059 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:42 -0500 (0:00:00.045) 0:00:06.104 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:42 -0500 (0:00:00.029) 0:00:06.134 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003263", "end": "2025-02-07 14:58:42.539056", "rc": 0, "start": "2025-02-07 14:58:42.535793" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:42 -0500 (0:00:00.395) 0:00:06.529 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:42 -0500 (0:00:00.029) 0:00:06.558 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 07 February 2025 14:58:42 -0500 (0:00:00.021) 0:00:06.580 ******* ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 07 February 2025 14:58:43 -0500 (0:00:00.780) 0:00:07.360 ******* ok: [managed-node2] => (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.005398", "end": "2025-02-07 14:58:43.795601", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2025-02-07 14:58:43.790203" } ok: [managed-node2] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003732", "end": "2025-02-07 14:58:44.183575", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2025-02-07 14:58:44.179843" } ok: [managed-node2] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003762", "end": "2025-02-07 14:58:44.595875", "item": "ip link set veth1298 up", "rc": 0, "start": "2025-02-07 14:58:44.592113" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 07 February 2025 14:58:44 -0500 (0:00:01.219) 0:00:08.579 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.018867", "end": "2025-02-07 14:58:44.973994", "rc": 0, "start": "2025-02-07 14:58:44.955127" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 07 February 2025 14:58:45 -0500 (0:00:00.394) 0:00:08.974 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 07 February 2025 14:58:45 -0500 (0:00:00.022) 0:00:08.997 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 07 February 2025 14:58:45 -0500 (0:00:00.019) 0:00:09.016 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 07 February 2025 14:58:45 -0500 (0:00:00.030) 0:00:09.047 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 07 February 2025 14:58:45 -0500 (0:00:00.026) 0:00:09.074 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Friday 07 February 2025 14:58:45 -0500 (0:00:00.020) 0:00:09.094 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:45 -0500 (0:00:00.048) 0:00:09.143 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:45 -0500 (0:00:00.027) 0:00:09.170 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003379", "end": "2025-02-07 14:58:45.602751", "rc": 0, "start": "2025-02-07 14:58:45.599372" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:45 -0500 (0:00:00.422) 0:00:09.593 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:45 -0500 (0:00:00.028) 0:00:09.622 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Friday 07 February 2025 14:58:45 -0500 (0:00:00.019) 0:00:09.642 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Friday 07 February 2025 14:58:45 -0500 (0:00:00.032) 0:00:09.674 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 07 February 2025 14:58:45 -0500 (0:00:00.021) 0:00:09.696 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1738958323.7941358, "block_size": 4096, "blocks": 0, "ctime": 1738958323.7941358, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30683, "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": 1738958323.7941358, "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Friday 07 February 2025 14:58:46 -0500 (0:00:00.352) 0:00:10.048 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Friday 07 February 2025 14:58:46 -0500 (0:00:00.029) 0:00:10.078 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 07 February 2025 14:58:46 -0500 (0:00:00.055) 0:00:10.134 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 07 February 2025 14:58:46 -0500 (0:00:00.021) 0:00:10.155 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 07 February 2025 14:58:46 -0500 (0:00:00.022) 0:00:10.177 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:46 -0500 (0:00:00.026) 0:00:10.203 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:46 -0500 (0:00:00.019) 0:00:10.223 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003176", "end": "2025-02-07 14:58:46.598432", "rc": 0, "start": "2025-02-07 14:58:46.595256" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:46 -0500 (0:00:00.356) 0:00:10.580 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:46 -0500 (0:00:00.022) 0:00:10.602 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 07 February 2025 14:58:46 -0500 (0:00:00.025) 0:00:10.628 ******* ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 07 February 2025 14:58:47 -0500 (0:00:00.772) 0:00:11.400 ******* skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 07 February 2025 14:58:47 -0500 (0:00:00.051) 0:00:11.452 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 07 February 2025 14:58:47 -0500 (0:00:00.035) 0:00:11.487 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008290", "end": "2025-02-07 14:58:47.885777", "rc": 0, "start": "2025-02-07 14:58:47.877487" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 07 February 2025 14:58:47 -0500 (0:00:00.382) 0:00:11.870 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 07 February 2025 14:58:47 -0500 (0:00:00.015) 0:00:11.886 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 07 February 2025 14:58:47 -0500 (0:00:00.013) 0:00:11.899 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 07 February 2025 14:58:47 -0500 (0:00:00.014) 0:00:11.913 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Friday 07 February 2025 14:58:47 -0500 (0:00:00.013) 0:00:11.926 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:48 -0500 (0:00:00.031) 0:00:11.958 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:48 -0500 (0:00:00.015) 0:00:11.974 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003179", "end": "2025-02-07 14:58:48.344867", "rc": 0, "start": "2025-02-07 14:58:48.341688" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:48 -0500 (0:00:00.363) 0:00:12.337 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:48 -0500 (0:00:00.025) 0:00:12.363 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Friday 07 February 2025 14:58:48 -0500 (0:00:00.026) 0:00:12.390 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 07 February 2025 14:58:48 -0500 (0:00:00.052) 0:00:12.443 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 07 February 2025 14:58:48 -0500 (0:00:00.027) 0:00:12.470 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 07 February 2025 14:58:48 -0500 (0:00:00.380) 0:00:12.850 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Friday 07 February 2025 14:58:48 -0500 (0:00:00.031) 0:00:12.882 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node2 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Friday 07 February 2025 14:58:48 -0500 (0:00:00.036) 0:00:12.919 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:49 -0500 (0:00:00.027) 0:00:12.946 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:49 -0500 (0:00:00.026) 0:00:12.973 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003257", "end": "2025-02-07 14:58:49.385356", "rc": 0, "start": "2025-02-07 14:58:49.382099" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:49 -0500 (0:00:00.400) 0:00:13.373 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:49 -0500 (0:00:00.032) 0:00:13.406 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Friday 07 February 2025 14:58:49 -0500 (0:00:00.031) 0:00:13.437 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 07 February 2025 14:58:49 -0500 (0:00:00.036) 0:00:13.474 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 07 February 2025 14:58:49 -0500 (0:00:00.016) 0:00:13.490 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 07 February 2025 14:58:49 -0500 (0:00:00.014) 0:00:13.505 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:49 -0500 (0:00:00.024) 0:00:13.529 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:49 -0500 (0:00:00.016) 0:00:13.546 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003618", "end": "2025-02-07 14:58:49.915760", "rc": 0, "start": "2025-02-07 14:58:49.912142" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:49 -0500 (0:00:00.361) 0:00:13.907 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:50 -0500 (0:00:00.027) 0:00:13.934 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 07 February 2025 14:58:50 -0500 (0:00:00.025) 0:00:13.960 ******* ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 07 February 2025 14:58:50 -0500 (0:00:00.806) 0:00:14.766 ******* skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 07 February 2025 14:58:50 -0500 (0:00:00.070) 0:00:14.837 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 07 February 2025 14:58:50 -0500 (0:00:00.042) 0:00:14.880 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 07 February 2025 14:58:50 -0500 (0:00:00.044) 0:00:14.925 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 07 February 2025 14:58:51 -0500 (0:00:00.046) 0:00:14.972 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 07 February 2025 14:58:51 -0500 (0:00:00.056) 0:00:15.028 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 07 February 2025 14:58:51 -0500 (0:00:00.042) 0:00:15.071 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Friday 07 February 2025 14:58:51 -0500 (0:00:00.031) 0:00:15.102 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:51 -0500 (0:00:00.045) 0:00:15.148 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:51 -0500 (0:00:00.032) 0:00:15.181 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004351", "end": "2025-02-07 14:58:52.582064", "rc": 0, "start": "2025-02-07 14:58:51.577713" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:52 -0500 (0:00:01.392) 0:00:16.573 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:52 -0500 (0:00:00.028) 0:00:16.601 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Friday 07 February 2025 14:58:52 -0500 (0:00:00.025) 0:00:16.626 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 07 February 2025 14:58:52 -0500 (0:00:00.038) 0:00:16.665 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 07 February 2025 14:58:52 -0500 (0:00:00.028) 0:00:16.694 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 07 February 2025 14:58:53 -0500 (0:00:00.369) 0:00:17.064 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Friday 07 February 2025 14:58:53 -0500 (0:00:00.027) 0:00:17.091 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 07 February 2025 14:58:53 -0500 (0:00:00.065) 0:00:17.156 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 07 February 2025 14:58:53 -0500 (0:00:00.025) 0:00:17.182 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 07 February 2025 14:58:53 -0500 (0:00:00.039) 0:00:17.221 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:53 -0500 (0:00:00.037) 0:00:17.258 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:53 -0500 (0:00:00.031) 0:00:17.290 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003193", "end": "2025-02-07 14:58:53.663767", "rc": 0, "start": "2025-02-07 14:58:53.660574" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:53 -0500 (0:00:00.364) 0:00:17.655 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:53 -0500 (0:00:00.026) 0:00:17.681 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 07 February 2025 14:58:53 -0500 (0:00:00.027) 0:00:17.709 ******* ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 07 February 2025 14:58:54 -0500 (0:00:00.893) 0:00:18.602 ******* skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 07 February 2025 14:58:54 -0500 (0:00:00.039) 0:00:18.642 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 07 February 2025 14:58:54 -0500 (0:00:00.023) 0:00:18.665 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 07 February 2025 14:58:54 -0500 (0:00:00.023) 0:00:18.688 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010373", "end": "2025-02-07 14:58:55.082593", "rc": 0, "start": "2025-02-07 14:58:55.072220" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 07 February 2025 14:58:55 -0500 (0:00:00.381) 0:00:19.070 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 07 February 2025 14:58:55 -0500 (0:00:00.018) 0:00:19.088 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 07 February 2025 14:58:55 -0500 (0:00:00.017) 0:00:19.105 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Friday 07 February 2025 14:58:55 -0500 (0:00:00.027) 0:00:19.133 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:55 -0500 (0:00:00.088) 0:00:19.221 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:55 -0500 (0:00:00.054) 0:00:19.276 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003234", "end": "2025-02-07 14:58:55.716325", "rc": 0, "start": "2025-02-07 14:58:55.713091" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:55 -0500 (0:00:00.445) 0:00:19.721 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:55 -0500 (0:00:00.057) 0:00:19.778 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Friday 07 February 2025 14:58:55 -0500 (0:00:00.051) 0:00:19.830 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Friday 07 February 2025 14:58:55 -0500 (0:00:00.096) 0:00:19.926 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 07 February 2025 14:58:56 -0500 (0:00:00.033) 0:00:19.960 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1738958335.0806956, "block_size": 4096, "blocks": 0, "ctime": 1738958335.0806956, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30926, "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": 1738958335.0806956, "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Friday 07 February 2025 14:58:56 -0500 (0:00:00.401) 0:00:20.361 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Friday 07 February 2025 14:58:56 -0500 (0:00:00.027) 0:00:20.389 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 07 February 2025 14:58:56 -0500 (0:00:00.057) 0:00:20.447 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 07 February 2025 14:58:56 -0500 (0:00:00.022) 0:00:20.469 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 07 February 2025 14:58:56 -0500 (0:00:00.020) 0:00:20.490 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:56 -0500 (0:00:00.035) 0:00:20.526 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:56 -0500 (0:00:00.055) 0:00:20.581 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003164", "end": "2025-02-07 14:58:56.959847", "rc": 0, "start": "2025-02-07 14:58:56.956683" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:57 -0500 (0:00:00.359) 0:00:20.941 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:57 -0500 (0:00:00.017) 0:00:20.959 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 07 February 2025 14:58:57 -0500 (0:00:00.016) 0:00:20.975 ******* ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 07 February 2025 14:58:57 -0500 (0:00:00.754) 0:00:21.730 ******* skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 07 February 2025 14:58:57 -0500 (0:00:00.036) 0:00:21.766 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 07 February 2025 14:58:57 -0500 (0:00:00.023) 0:00:21.790 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 07 February 2025 14:58:57 -0500 (0:00:00.020) 0:00:21.811 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 07 February 2025 14:58:57 -0500 (0:00:00.015) 0:00:21.827 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007845", "end": "2025-02-07 14:58:58.206754", "rc": 0, "start": "2025-02-07 14:58:58.198909" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 07 February 2025 14:58:58 -0500 (0:00:00.374) 0:00:22.201 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 07 February 2025 14:58:58 -0500 (0:00:00.021) 0:00:22.222 ******* skipping: [managed-node2] => { "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-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Friday 07 February 2025 14:58:58 -0500 (0:00:00.013) 0:00:22.236 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 07 February 2025 14:58:58 -0500 (0:00:00.038) 0:00:22.274 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 14:58:58 -0500 (0:00:00.019) 0:00:22.294 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003377", "end": "2025-02-07 14:58:58.654406", "rc": 0, "start": "2025-02-07 14:58:58.651029" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 14:58:58 -0500 (0:00:00.365) 0:00:22.659 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 07 February 2025 14:58:58 -0500 (0:00:00.042) 0:00:22.701 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Friday 07 February 2025 14:58:58 -0500 (0:00:00.038) 0:00:22.739 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 07 February 2025 14:58:58 -0500 (0:00:00.093) 0:00:22.833 ******* included: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 07 February 2025 14:58:58 -0500 (0:00:00.035) 0:00:22.868 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 07 February 2025 14:58:59 -0500 (0:00:00.396) 0:00:23.264 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Friday 07 February 2025 14:58:59 -0500 (0:00:00.022) 0:00:23.287 ******* =============================================================================== Gather current interface info ------------------------------------------- 1.39s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 1.24s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.22s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.93s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.89s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.81s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.78s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.77s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.75s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Check if system is ostree ----------------------------------------------- 0.65s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather the minimum subset of ansible_facts required by the network role test --- 0.62s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.45s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.45s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.42s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.40s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.40s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.39s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Delete veth interface veth1298 ------------------------------------------ 0.38s /tmp/collections-wj5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43