ansible-playbook [core 2.17.7] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-cOK executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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-cOK/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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Wednesday 22 January 2025 22:13:16 -0500 (0:00:00.034) 0:00:00.034 ***** [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Wednesday 22 January 2025 22:13:17 -0500 (0:00:01.036) 0:00:01.071 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 22 January 2025 22:13:17 -0500 (0:00:00.023) 0:00:01.094 ***** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 22 January 2025 22:13:17 -0500 (0:00:00.535) 0:00:01.630 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 22 January 2025 22:13:18 -0500 (0:00:00.502) 0:00:02.133 ***** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 22 January 2025 22:13:18 -0500 (0:00:00.074) 0:00:02.207 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 22 January 2025 22:13:18 -0500 (0:00:00.024) 0:00:02.231 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 22 January 2025 22:13:18 -0500 (0:00:00.185) 0:00:02.417 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 22 January 2025 22:13:18 -0500 (0:00:00.024) 0:00:02.441 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 22 January 2025 22:13:18 -0500 (0:00:00.034) 0:00:02.476 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 22 January 2025 22:13:18 -0500 (0:00:00.023) 0:00:02.499 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 22 January 2025 22:13:18 -0500 (0:00:00.025) 0:00:02.524 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Wednesday 22 January 2025 22:13:18 -0500 (0:00:00.034) 0:00:02.559 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node3 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 22 January 2025 22:13:18 -0500 (0:00:00.055) 0:00:02.615 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:18 -0500 (0:00:00.036) 0:00:02.651 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:18 -0500 (0:00:00.043) 0:00:02.694 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003357", "end": "2025-01-22 22:13:19.479229", "rc": 0, "start": "2025-01-22 22:13:19.475872" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:19 -0500 (0:00:00.632) 0:00:03.326 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:19 -0500 (0:00:00.045) 0:00:03.372 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 22 January 2025 22:13:19 -0500 (0:00:00.041) 0:00:03.413 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 22:13:19 -0500 (0:00:00.083) 0:00:03.496 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 22:13:19 -0500 (0:00:00.027) 0:00:03.524 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 22:13:19 -0500 (0:00:00.026) 0:00:03.551 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:19 -0500 (0:00:00.041) 0:00:03.592 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:19 -0500 (0:00:00.035) 0:00:03.628 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003534", "end": "2025-01-22 22:13:20.171342", "rc": 0, "start": "2025-01-22 22:13:20.167808" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:20 -0500 (0:00:00.361) 0:00:03.989 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:20 -0500 (0:00:00.018) 0:00:04.008 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 22:13:20 -0500 (0:00:00.016) 0:00:04.024 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 22:13:21 -0500 (0:00:01.526) 0:00:05.551 ***** skipping: [managed-node3] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 22:13:21 -0500 (0:00:00.024) 0:00:05.576 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 22:13:21 -0500 (0:00:00.017) 0:00:05.594 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 22:13:21 -0500 (0:00:00.017) 0:00:05.611 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 22:13:21 -0500 (0:00:00.021) 0:00:05.633 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 22:13:21 -0500 (0:00:00.023) 0:00:05.656 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 22:13:21 -0500 (0:00:00.023) 0:00:05.680 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 22 January 2025 22:13:21 -0500 (0:00:00.019) 0:00:05.699 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:21 -0500 (0:00:00.045) 0:00:05.745 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:22 -0500 (0:00:00.026) 0:00:05.771 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003302", "end": "2025-01-22 22:13:22.295365", "rc": 0, "start": "2025-01-22 22:13:22.292063" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:22 -0500 (0:00:00.352) 0:00:06.124 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:22 -0500 (0:00:00.028) 0:00:06.152 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 22 January 2025 22:13:22 -0500 (0:00:00.026) 0:00:06.178 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:13:22 -0500 (0:00:00.042) 0:00:06.221 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:13:22 -0500 (0:00:00.028) 0:00:06.250 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:13:22 -0500 (0:00:00.351) 0:00:06.601 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 22 January 2025 22:13:22 -0500 (0:00:00.019) 0:00:06.621 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 22:13:22 -0500 (0:00:00.029) 0:00:06.651 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 22:13:22 -0500 (0:00:00.014) 0:00:06.665 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 22:13:22 -0500 (0:00:00.014) 0:00:06.680 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:22 -0500 (0:00:00.020) 0:00:06.701 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:22 -0500 (0:00:00.020) 0:00:06.721 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003191", "end": "2025-01-22 22:13:23.279361", "rc": 0, "start": "2025-01-22 22:13:23.276170" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:23 -0500 (0:00:00.401) 0:00:07.122 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:23 -0500 (0:00:00.034) 0:00:07.157 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 22:13:23 -0500 (0:00:00.026) 0:00:07.184 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 22:13:24 -0500 (0:00:01.363) 0:00:08.547 ***** ok: [managed-node3] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth1298", "type", "veth", "peer", "name", "peerveth1298" ], "delta": "0:00:00.009728", "end": "2025-01-22 22:13:25.096908", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2025-01-22 22:13:25.087180" } ok: [managed-node3] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003748", "end": "2025-01-22 22:13:25.466069", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2025-01-22 22:13:25.462321" } ok: [managed-node3] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004167", "end": "2025-01-22 22:13:25.796816", "item": "ip link set veth1298 up", "rc": 0, "start": "2025-01-22 22:13:25.792649" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 22:13:25 -0500 (0:00:01.076) 0:00:09.623 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.020222", "end": "2025-01-22 22:13:26.179643", "rc": 0, "start": "2025-01-22 22:13:26.159421" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 22:13:26 -0500 (0:00:00.391) 0:00:10.015 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 22:13:26 -0500 (0:00:00.025) 0:00:10.040 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 22:13:26 -0500 (0:00:00.026) 0:00:10.067 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 22:13:26 -0500 (0:00:00.027) 0:00:10.094 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 22:13:26 -0500 (0:00:00.026) 0:00:10.121 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 22 January 2025 22:13:26 -0500 (0:00:00.024) 0:00:10.145 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:26 -0500 (0:00:00.051) 0:00:10.197 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:26 -0500 (0:00:00.030) 0:00:10.228 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003461", "end": "2025-01-22 22:13:26.823139", "rc": 0, "start": "2025-01-22 22:13:26.819678" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:26 -0500 (0:00:00.448) 0:00:10.676 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:26 -0500 (0:00:00.044) 0:00:10.721 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 22 January 2025 22:13:26 -0500 (0:00:00.032) 0:00:10.754 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 22:13:27 -0500 (0:00:00.075) 0:00:10.830 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:13:27 -0500 (0:00:00.029) 0:00:10.859 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1737602005.091197, "block_size": 4096, "blocks": 0, "ctime": 1737602005.091197, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31625, "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": 1737602005.091197, "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 22:13:27 -0500 (0:00:00.415) 0:00:11.275 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 22 January 2025 22:13:27 -0500 (0:00:00.021) 0:00:11.297 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 22:13:27 -0500 (0:00:00.072) 0:00:11.369 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 22:13:27 -0500 (0:00:00.023) 0:00:11.393 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 22:13:27 -0500 (0:00:00.022) 0:00:11.416 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:27 -0500 (0:00:00.035) 0:00:11.451 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:27 -0500 (0:00:00.024) 0:00:11.476 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003085", "end": "2025-01-22 22:13:27.989998", "rc": 0, "start": "2025-01-22 22:13:27.986913" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:28 -0500 (0:00:00.336) 0:00:11.813 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:28 -0500 (0:00:00.052) 0:00:11.865 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 22:13:28 -0500 (0:00:00.055) 0:00:11.921 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 22:13:29 -0500 (0:00:01.503) 0:00:13.424 ***** skipping: [managed-node3] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 22:13:29 -0500 (0:00:00.038) 0:00:13.463 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 22:13:29 -0500 (0:00:00.025) 0:00:13.488 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.016879", "end": "2025-01-22 22:13:30.043120", "rc": 0, "start": "2025-01-22 22:13:30.026241" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 22:13:30 -0500 (0:00:00.382) 0:00:13.871 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 22:13:30 -0500 (0:00:00.027) 0:00:13.898 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 22:13:30 -0500 (0:00:00.025) 0:00:13.924 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 22:13:30 -0500 (0:00:00.026) 0:00:13.950 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 22 January 2025 22:13:30 -0500 (0:00:00.024) 0:00:13.974 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:30 -0500 (0:00:00.058) 0:00:14.033 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:30 -0500 (0:00:00.030) 0:00:14.063 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003275", "end": "2025-01-22 22:13:30.642247", "rc": 0, "start": "2025-01-22 22:13:30.638972" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:30 -0500 (0:00:00.404) 0:00:14.468 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:30 -0500 (0:00:00.020) 0:00:14.489 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 22 January 2025 22:13:30 -0500 (0:00:00.019) 0:00:14.508 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:13:30 -0500 (0:00:00.040) 0:00:14.549 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:13:30 -0500 (0:00:00.026) 0:00:14.575 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:13:31 -0500 (0:00:00.327) 0:00:14.903 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Wednesday 22 January 2025 22:13:31 -0500 (0:00:00.019) 0:00:14.922 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node3 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 22 January 2025 22:13:31 -0500 (0:00:00.025) 0:00:14.947 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:31 -0500 (0:00:00.021) 0:00:14.968 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:31 -0500 (0:00:00.029) 0:00:14.998 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003143", "end": "2025-01-22 22:13:31.529561", "rc": 0, "start": "2025-01-22 22:13:31.526418" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:31 -0500 (0:00:00.360) 0:00:15.358 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:31 -0500 (0:00:00.027) 0:00:15.385 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 22 January 2025 22:13:31 -0500 (0:00:00.027) 0:00:15.413 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 22:13:31 -0500 (0:00:00.045) 0:00:15.458 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 22:13:31 -0500 (0:00:00.024) 0:00:15.483 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 22:13:31 -0500 (0:00:00.024) 0:00:15.508 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:31 -0500 (0:00:00.041) 0:00:15.549 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:31 -0500 (0:00:00.034) 0:00:15.584 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003634", "end": "2025-01-22 22:13:32.131636", "rc": 0, "start": "2025-01-22 22:13:32.128002" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:32 -0500 (0:00:00.374) 0:00:15.959 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:32 -0500 (0:00:00.024) 0:00:15.983 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 22:13:32 -0500 (0:00:00.033) 0:00:16.017 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 22:13:33 -0500 (0:00:01.341) 0:00:17.358 ***** skipping: [managed-node3] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 22:13:33 -0500 (0:00:00.048) 0:00:17.407 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 22:13:33 -0500 (0:00:00.039) 0:00:17.454 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 22:13:33 -0500 (0:00:00.048) 0:00:17.502 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 22:13:33 -0500 (0:00:00.042) 0:00:17.545 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 22:13:33 -0500 (0:00:00.045) 0:00:17.590 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 22:13:33 -0500 (0:00:00.039) 0:00:17.630 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 22 January 2025 22:13:33 -0500 (0:00:00.034) 0:00:17.665 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:33 -0500 (0:00:00.067) 0:00:17.732 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:33 -0500 (0:00:00.031) 0:00:17.763 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003284", "end": "2025-01-22 22:13:34.332119", "rc": 0, "start": "2025-01-22 22:13:34.328835" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:34 -0500 (0:00:00.391) 0:00:18.155 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:34 -0500 (0:00:00.018) 0:00:18.174 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 22 January 2025 22:13:34 -0500 (0:00:00.029) 0:00:18.203 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:13:34 -0500 (0:00:00.064) 0:00:18.268 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:13:34 -0500 (0:00:00.030) 0:00:18.299 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:13:34 -0500 (0:00:00.390) 0:00:18.689 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 22 January 2025 22:13:34 -0500 (0:00:00.045) 0:00:18.734 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 22:13:35 -0500 (0:00:00.069) 0:00:18.804 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 22:13:35 -0500 (0:00:00.038) 0:00:18.843 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 22:13:35 -0500 (0:00:00.043) 0:00:18.887 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:35 -0500 (0:00:00.038) 0:00:18.925 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:35 -0500 (0:00:00.037) 0:00:18.962 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003205", "end": "2025-01-22 22:13:35.511335", "rc": 0, "start": "2025-01-22 22:13:35.508130" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:35 -0500 (0:00:00.377) 0:00:19.340 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:35 -0500 (0:00:00.028) 0:00:19.368 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 22:13:35 -0500 (0:00:00.028) 0:00:19.397 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 22:13:36 -0500 (0:00:01.373) 0:00:20.771 ***** skipping: [managed-node3] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 22:13:37 -0500 (0:00:00.067) 0:00:20.838 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 22:13:37 -0500 (0:00:00.035) 0:00:20.874 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 22:13:37 -0500 (0:00:00.036) 0:00:20.911 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.012371", "end": "2025-01-22 22:13:37.465966", "rc": 0, "start": "2025-01-22 22:13:37.453595" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 22:13:37 -0500 (0:00:00.393) 0:00:21.305 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 22:13:37 -0500 (0:00:00.028) 0:00:21.333 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 22:13:37 -0500 (0:00:00.025) 0:00:21.359 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 22 January 2025 22:13:37 -0500 (0:00:00.026) 0:00:21.385 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:37 -0500 (0:00:00.043) 0:00:21.429 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:37 -0500 (0:00:00.022) 0:00:21.451 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003972", "end": "2025-01-22 22:13:37.989731", "rc": 0, "start": "2025-01-22 22:13:37.985759" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.357) 0:00:21.809 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.019) 0:00:21.829 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.017) 0:00:21.846 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.029) 0:00:21.876 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.018) 0:00:21.894 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1737602017.4624066, "block_size": 4096, "blocks": 0, "ctime": 1737602017.4624066, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31955, "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": 1737602017.4624066, "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-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.330) 0:00:22.224 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.020) 0:00:22.245 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.036) 0:00:22.281 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.015) 0:00:22.296 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.015) 0:00:22.311 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.020) 0:00:22.332 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.018) 0:00:22.351 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004136", "end": "2025-01-22 22:13:38.861303", "rc": 0, "start": "2025-01-22 22:13:38.857167" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.336) 0:00:22.687 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.026) 0:00:22.714 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 22:13:38 -0500 (0:00:00.028) 0:00:22.743 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 22:13:40 -0500 (0:00:01.404) 0:00:24.147 ***** skipping: [managed-node3] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 22:13:40 -0500 (0:00:00.044) 0:00:24.193 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 22:13:40 -0500 (0:00:00.029) 0:00:24.222 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 22:13:40 -0500 (0:00:00.048) 0:00:24.271 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 22:13:40 -0500 (0:00:00.029) 0:00:24.300 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.014009", "end": "2025-01-22 22:13:40.872524", "rc": 0, "start": "2025-01-22 22:13:40.858515" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 22:13:40 -0500 (0:00:00.399) 0:00:24.700 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 22:13:40 -0500 (0:00:00.024) 0:00:24.724 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 22 January 2025 22:13:40 -0500 (0:00:00.028) 0:00:24.752 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:13:41 -0500 (0:00:00.097) 0:00:24.850 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:13:41 -0500 (0:00:00.026) 0:00:24.876 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003700", "end": "2025-01-22 22:13:41.431312", "rc": 0, "start": "2025-01-22 22:13:41.427612" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:13:41 -0500 (0:00:00.378) 0:00:25.254 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:13:41 -0500 (0:00:00.022) 0:00:25.277 ***** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 22 January 2025 22:13:41 -0500 (0:00:00.018) 0:00:25.296 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:13:41 -0500 (0:00:00.045) 0:00:25.342 ***** included: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:13:41 -0500 (0:00:00.026) 0:00:25.369 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:13:41 -0500 (0:00:00.362) 0:00:25.731 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node3 : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Wednesday 22 January 2025 22:13:42 -0500 (0:00:00.051) 0:00:25.782 ***** =============================================================================== Install iproute --------------------------------------------------------- 1.53s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.50s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.40s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.37s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.36s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.34s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Create veth interface veth1298 ------------------------------------------ 1.08s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.04s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Gather current interface info ------------------------------------------- 0.63s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 0.54s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.50s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.45s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.42s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.40s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Create dummy interface dummy1298 ---------------------------------------- 0.39s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Set up veth as managed by NetworkManager -------------------------------- 0.39s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.39s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.39s /tmp/collections-cOK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3