ansible-playbook [core 2.17.5] 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-UkE executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_helpers_and_asserts.yml **************************************** 1 plays in /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Tuesday 08 October 2024 01:58:29 -0400 (0:00:00.024) 0:00:00.024 ******* [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Tuesday 08 October 2024 01:58:31 -0400 (0:00:01.212) 0:00:01.237 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 08 October 2024 01:58:31 -0400 (0:00:00.032) 0:00:01.269 ******* ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 08 October 2024 01:58:31 -0400 (0:00:00.611) 0:00:01.880 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 08 October 2024 01:58:32 -0400 (0:00:00.516) 0:00:02.397 ******* ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 08 October 2024 01:58:32 -0400 (0:00:00.025) 0:00:02.422 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 08 October 2024 01:58:32 -0400 (0:00:00.012) 0:00:02.435 ******* included: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 08 October 2024 01:58:32 -0400 (0:00:00.068) 0:00:02.504 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 08 October 2024 01:58:32 -0400 (0:00:00.035) 0:00:02.540 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 08 October 2024 01:58:32 -0400 (0:00:00.026) 0:00:02.566 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 08 October 2024 01:58:32 -0400 (0:00:00.019) 0:00:02.586 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 08 October 2024 01:58:32 -0400 (0:00:00.018) 0:00:02.604 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Tuesday 08 October 2024 01:58:32 -0400 (0:00:00.021) 0:00:02.625 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Tuesday 08 October 2024 01:58:32 -0400 (0:00:00.033) 0:00:02.658 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:32 -0400 (0:00:00.026) 0:00:02.684 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:32 -0400 (0:00:00.023) 0:00:02.708 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003456", "end": "2024-10-08 01:58:32.944371", "rc": 0, "start": "2024-10-08 01:58:32.940915" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:32 -0400 (0:00:00.461) 0:00:03.170 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:33 -0400 (0:00:00.015) 0:00:03.186 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Tuesday 08 October 2024 01:58:33 -0400 (0:00:00.014) 0:00:03.200 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 08 October 2024 01:58:33 -0400 (0:00:00.023) 0:00:03.224 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 08 October 2024 01:58:33 -0400 (0:00:00.011) 0:00:03.235 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 08 October 2024 01:58:33 -0400 (0:00:00.011) 0:00:03.247 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:33 -0400 (0:00:00.017) 0:00:03.265 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:33 -0400 (0:00:00.015) 0:00:03.280 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003402", "end": "2024-10-08 01:58:33.390315", "rc": 0, "start": "2024-10-08 01:58:33.386913" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:33 -0400 (0:00:00.353) 0:00:03.633 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:33 -0400 (0:00:00.022) 0:00:03.656 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 08 October 2024 01:58:33 -0400 (0:00:00.022) 0:00:03.679 ******* ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.827) 0:00:04.506 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.021) 0:00:04.528 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.012) 0:00:04.541 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.013) 0:00:04.555 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.012) 0:00:04.567 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.015) 0:00:04.582 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.013) 0:00:04.595 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.016) 0:00:04.612 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.031) 0:00:04.644 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.025) 0:00:04.669 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003439", "end": "2024-10-08 01:58:34.804663", "rc": 0, "start": "2024-10-08 01:58:34.801224" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.379) 0:00:05.048 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.033) 0:00:05.082 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.028) 0:00:05.111 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 01:58:34 -0400 (0:00:00.038) 0:00:05.150 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 01:58:35 -0400 (0:00:00.027) 0:00:05.177 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 01:58:35 -0400 (0:00:00.355) 0:00:05.533 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Tuesday 08 October 2024 01:58:35 -0400 (0:00:00.016) 0:00:05.549 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 08 October 2024 01:58:35 -0400 (0:00:00.026) 0:00:05.576 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 08 October 2024 01:58:35 -0400 (0:00:00.011) 0:00:05.587 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 08 October 2024 01:58:35 -0400 (0:00:00.010) 0:00:05.598 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:35 -0400 (0:00:00.017) 0:00:05.615 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:35 -0400 (0:00:00.015) 0:00:05.631 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003480", "end": "2024-10-08 01:58:35.760820", "rc": 0, "start": "2024-10-08 01:58:35.757340" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:35 -0400 (0:00:00.366) 0:00:05.997 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:35 -0400 (0:00:00.026) 0:00:06.023 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 08 October 2024 01:58:35 -0400 (0:00:00.024) 0:00:06.048 ******* ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 08 October 2024 01:58:36 -0400 (0:00:00.716) 0:00:06.764 ******* 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.006016", "end": "2024-10-08 01:58:36.887243", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-10-08 01:58:36.881227" } 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.003792", "end": "2024-10-08 01:58:37.292843", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-10-08 01:58:37.289051" } 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.003845", "end": "2024-10-08 01:58:37.619645", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-10-08 01:58:37.615800" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 08 October 2024 01:58:37 -0400 (0:00:01.100) 0:00:07.865 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.019159", "end": "2024-10-08 01:58:38.080227", "rc": 0, "start": "2024-10-08 01:58:38.061068" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 08 October 2024 01:58:38 -0400 (0:00:00.457) 0:00:08.323 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 08 October 2024 01:58:38 -0400 (0:00:00.024) 0:00:08.348 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 08 October 2024 01:58:38 -0400 (0:00:00.030) 0:00:08.378 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 08 October 2024 01:58:38 -0400 (0:00:00.020) 0:00:08.398 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 08 October 2024 01:58:38 -0400 (0:00:00.027) 0:00:08.425 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Tuesday 08 October 2024 01:58:38 -0400 (0:00:00.017) 0:00:08.443 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:38 -0400 (0:00:00.043) 0:00:08.486 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:38 -0400 (0:00:00.023) 0:00:08.510 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003425", "end": "2024-10-08 01:58:38.670291", "rc": 0, "start": "2024-10-08 01:58:38.666866" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:38 -0400 (0:00:00.389) 0:00:08.900 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:38 -0400 (0:00:00.018) 0:00:08.919 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Tuesday 08 October 2024 01:58:38 -0400 (0:00:00.015) 0:00:08.934 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 01:58:38 -0400 (0:00:00.032) 0:00:08.966 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 01:58:38 -0400 (0:00:00.020) 0:00:08.987 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728367116.8849623, "block_size": 4096, "blocks": 0, "ctime": 1728367116.8849623, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29853, "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": 1728367116.8849623, "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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 01:58:39 -0400 (0:00:00.359) 0:00:09.346 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Tuesday 08 October 2024 01:58:39 -0400 (0:00:00.026) 0:00:09.372 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 08 October 2024 01:58:39 -0400 (0:00:00.089) 0:00:09.461 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 08 October 2024 01:58:39 -0400 (0:00:00.021) 0:00:09.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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 08 October 2024 01:58:39 -0400 (0:00:00.019) 0:00:09.502 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:39 -0400 (0:00:00.036) 0:00:09.539 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:39 -0400 (0:00:00.030) 0:00:09.569 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003359", "end": "2024-10-08 01:58:39.719866", "rc": 0, "start": "2024-10-08 01:58:39.716507" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:39 -0400 (0:00:00.377) 0:00:09.947 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:39 -0400 (0:00:00.015) 0:00:09.963 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 08 October 2024 01:58:39 -0400 (0:00:00.016) 0:00:09.979 ******* ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 08 October 2024 01:58:40 -0400 (0:00:00.674) 0:00:10.653 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 08 October 2024 01:58:40 -0400 (0:00:00.022) 0:00:10.675 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 08 October 2024 01:58:40 -0400 (0:00:00.016) 0:00:10.692 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010954", "end": "2024-10-08 01:58:40.839209", "rc": 0, "start": "2024-10-08 01:58:40.828255" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 08 October 2024 01:58:40 -0400 (0:00:00.384) 0:00:11.077 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 08 October 2024 01:58:40 -0400 (0:00:00.015) 0:00:11.093 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 08 October 2024 01:58:40 -0400 (0:00:00.013) 0:00:11.106 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 08 October 2024 01:58:40 -0400 (0:00:00.014) 0:00:11.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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Tuesday 08 October 2024 01:58:40 -0400 (0:00:00.012) 0:00:11.133 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:40 -0400 (0:00:00.034) 0:00:11.168 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:41 -0400 (0:00:00.019) 0:00:11.188 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003398", "end": "2024-10-08 01:58:41.349250", "rc": 0, "start": "2024-10-08 01:58:41.345852" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:41 -0400 (0:00:00.388) 0:00:11.577 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:41 -0400 (0:00:00.016) 0:00:11.594 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Tuesday 08 October 2024 01:58:41 -0400 (0:00:00.015) 0:00:11.609 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 01:58:41 -0400 (0:00:00.031) 0:00:11.641 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 01:58:41 -0400 (0:00:00.022) 0:00:11.663 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 01:58:41 -0400 (0:00:00.356) 0:00:12.020 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Tuesday 08 October 2024 01:58:41 -0400 (0:00:00.028) 0:00:12.048 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Tuesday 08 October 2024 01:58:41 -0400 (0:00:00.042) 0:00:12.091 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:41 -0400 (0:00:00.027) 0:00:12.119 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:41 -0400 (0:00:00.050) 0:00:12.169 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003378", "end": "2024-10-08 01:58:42.353532", "rc": 0, "start": "2024-10-08 01:58:42.350154" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:42 -0400 (0:00:00.419) 0:00:12.589 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:42 -0400 (0:00:00.025) 0:00:12.615 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Tuesday 08 October 2024 01:58:42 -0400 (0:00:00.032) 0:00:12.647 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 08 October 2024 01:58:42 -0400 (0:00:00.058) 0:00:12.705 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 08 October 2024 01:58:42 -0400 (0:00:00.031) 0:00:12.737 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 08 October 2024 01:58:42 -0400 (0:00:00.025) 0:00:12.762 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:42 -0400 (0:00:00.053) 0:00:12.816 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:42 -0400 (0:00:00.035) 0:00:12.852 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003275", "end": "2024-10-08 01:58:43.047310", "rc": 0, "start": "2024-10-08 01:58:43.044035" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:43 -0400 (0:00:00.442) 0:00:13.294 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:43 -0400 (0:00:00.030) 0:00:13.325 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 08 October 2024 01:58:43 -0400 (0:00:00.028) 0:00:13.353 ******* ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 08 October 2024 01:58:43 -0400 (0:00:00.697) 0:00:14.050 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 08 October 2024 01:58:43 -0400 (0:00:00.042) 0:00:14.093 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 08 October 2024 01:58:43 -0400 (0:00:00.027) 0:00:14.120 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 08 October 2024 01:58:43 -0400 (0:00:00.016) 0:00:14.136 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 08 October 2024 01:58:43 -0400 (0:00:00.013) 0:00:14.150 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 08 October 2024 01:58:43 -0400 (0:00:00.013) 0:00:14.163 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 08 October 2024 01:58:43 -0400 (0:00:00.012) 0:00:14.175 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Tuesday 08 October 2024 01:58:44 -0400 (0:00:00.013) 0:00:14.188 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:44 -0400 (0:00:00.020) 0:00:14.209 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:44 -0400 (0:00:00.014) 0:00:14.223 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003352", "end": "2024-10-08 01:58:44.334667", "rc": 0, "start": "2024-10-08 01:58:44.331315" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:44 -0400 (0:00:00.344) 0:00:14.568 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:44 -0400 (0:00:00.032) 0:00:14.601 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Tuesday 08 October 2024 01:58:44 -0400 (0:00:00.024) 0:00:14.626 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 01:58:44 -0400 (0:00:00.037) 0:00:14.663 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 01:58:44 -0400 (0:00:00.025) 0:00:14.689 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 01:58:44 -0400 (0:00:00.356) 0:00:15.045 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Tuesday 08 October 2024 01:58:44 -0400 (0:00:00.018) 0:00:15.064 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 08 October 2024 01:58:44 -0400 (0:00:00.043) 0:00:15.107 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 08 October 2024 01:58:44 -0400 (0:00:00.029) 0:00:15.137 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 08 October 2024 01:58:45 -0400 (0:00:00.040) 0:00:15.178 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:45 -0400 (0:00:00.060) 0:00:15.238 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:45 -0400 (0:00:00.049) 0:00:15.288 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003276", "end": "2024-10-08 01:58:45.479390", "rc": 0, "start": "2024-10-08 01:58:45.476114" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:45 -0400 (0:00:00.416) 0:00:15.704 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:45 -0400 (0:00:00.020) 0:00:15.725 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 08 October 2024 01:58:45 -0400 (0:00:00.017) 0:00:15.743 ******* ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 08 October 2024 01:58:46 -0400 (0:00:00.673) 0:00:16.416 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 08 October 2024 01:58:46 -0400 (0:00:00.038) 0:00:16.455 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 08 October 2024 01:58:46 -0400 (0:00:00.021) 0:00:16.476 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 08 October 2024 01:58:46 -0400 (0:00:00.022) 0:00:16.499 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011189", "end": "2024-10-08 01:58:46.649141", "rc": 0, "start": "2024-10-08 01:58:46.637952" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 08 October 2024 01:58:46 -0400 (0:00:00.412) 0:00:16.911 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 08 October 2024 01:58:46 -0400 (0:00:00.035) 0:00:16.947 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 08 October 2024 01:58:46 -0400 (0:00:00.023) 0:00:16.970 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Tuesday 08 October 2024 01:58:46 -0400 (0:00:00.023) 0:00:16.994 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:46 -0400 (0:00:00.053) 0:00:17.047 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:46 -0400 (0:00:00.032) 0:00:17.080 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003386", "end": "2024-10-08 01:58:47.211990", "rc": 0, "start": "2024-10-08 01:58:47.208604" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:47 -0400 (0:00:00.364) 0:00:17.445 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:47 -0400 (0:00:00.025) 0:00:17.470 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Tuesday 08 October 2024 01:58:47 -0400 (0:00:00.025) 0:00:17.496 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 01:58:47 -0400 (0:00:00.043) 0:00:17.540 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 01:58:47 -0400 (0:00:00.028) 0:00:17.569 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728367126.6470418, "block_size": 4096, "blocks": 0, "ctime": 1728367126.6470418, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30096, "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": 1728367126.6470418, "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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 01:58:47 -0400 (0:00:00.459) 0:00:18.028 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Tuesday 08 October 2024 01:58:47 -0400 (0:00:00.020) 0:00:18.049 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Tuesday 08 October 2024 01:58:47 -0400 (0:00:00.045) 0:00:18.094 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Tuesday 08 October 2024 01:58:47 -0400 (0:00:00.024) 0:00:18.118 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Tuesday 08 October 2024 01:58:47 -0400 (0:00:00.020) 0:00:18.139 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:47 -0400 (0:00:00.030) 0:00:18.170 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:48 -0400 (0:00:00.020) 0:00:18.191 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003366", "end": "2024-10-08 01:58:48.316976", "rc": 0, "start": "2024-10-08 01:58:48.313610" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:48 -0400 (0:00:00.360) 0:00:18.551 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:48 -0400 (0:00:00.023) 0:00:18.574 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Tuesday 08 October 2024 01:58:48 -0400 (0:00:00.024) 0:00:18.598 ******* ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Tuesday 08 October 2024 01:58:49 -0400 (0:00:00.704) 0:00:19.303 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Tuesday 08 October 2024 01:58:49 -0400 (0:00:00.024) 0:00:19.327 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Tuesday 08 October 2024 01:58:49 -0400 (0:00:00.021) 0:00:19.349 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Tuesday 08 October 2024 01:58:49 -0400 (0:00:00.020) 0:00:19.370 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Tuesday 08 October 2024 01:58:49 -0400 (0:00:00.023) 0:00:19.394 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011335", "end": "2024-10-08 01:58:49.589838", "rc": 0, "start": "2024-10-08 01:58:49.578503" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Tuesday 08 October 2024 01:58:49 -0400 (0:00:00.453) 0:00:19.847 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Tuesday 08 October 2024 01:58:49 -0400 (0:00:00.041) 0:00:19.889 ******* 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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Tuesday 08 October 2024 01:58:49 -0400 (0:00:00.039) 0:00:19.929 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 01:58:49 -0400 (0:00:00.113) 0:00:20.043 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 01:58:49 -0400 (0:00:00.028) 0:00:20.071 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003358", "end": "2024-10-08 01:58:50.241706", "rc": 0, "start": "2024-10-08 01:58:50.238348" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 01:58:50 -0400 (0:00:00.403) 0:00:20.474 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 01:58:50 -0400 (0:00:00.021) 0:00:20.496 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Tuesday 08 October 2024 01:58:50 -0400 (0:00:00.019) 0:00:20.516 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 01:58:50 -0400 (0:00:00.032) 0:00:20.548 ******* included: /tmp/collections-UkE/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-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 01:58:50 -0400 (0:00:00.021) 0:00:20.569 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 01:58:50 -0400 (0:00:00.332) 0:00:20.902 ******* 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 Tuesday 08 October 2024 01:58:50 -0400 (0:00:00.026) 0:00:20.928 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 1.21s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.10s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.83s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.72s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.70s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.70s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.67s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.67s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.61s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.52s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.46s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.46s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.46s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Delete dummy interface dummy1298 ---------------------------------------- 0.45s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.44s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.42s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.42s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.41s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/collections-UkE/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3