ansible-playbook [core 2.17.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-cI5 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-cI5/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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Friday 04 October 2024 09:55:41 -0400 (0:00:00.054) 0:00:00.054 ******** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Friday 04 October 2024 09:55:42 -0400 (0:00:01.393) 0:00:01.448 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 04 October 2024 09:55:42 -0400 (0:00:00.032) 0:00:01.480 ******** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 04 October 2024 09:55:43 -0400 (0:00:00.531) 0:00:02.011 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 04 October 2024 09:55:43 -0400 (0:00:00.424) 0:00:02.435 ******** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 04 October 2024 09:55:43 -0400 (0:00:00.026) 0:00:02.461 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 04 October 2024 09:55:43 -0400 (0:00:00.017) 0:00:02.479 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 04 October 2024 09:55:43 -0400 (0:00:00.047) 0:00:02.527 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 04 October 2024 09:55:43 -0400 (0:00:00.013) 0:00:02.540 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 04 October 2024 09:55:44 -0400 (0:00:00.016) 0:00:02.556 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 04 October 2024 09:55:44 -0400 (0:00:00.012) 0:00:02.569 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 04 October 2024 09:55:44 -0400 (0:00:00.011) 0:00:02.580 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Friday 04 October 2024 09:55:44 -0400 (0:00:00.014) 0:00:02.594 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Friday 04 October 2024 09:55:44 -0400 (0:00:00.017) 0:00:02.612 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:55:44 -0400 (0:00:00.015) 0:00:02.628 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:55:44 -0400 (0:00:00.014) 0:00:02.642 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003472", "end": "2024-10-04 09:55:44.460587", "rc": 0, "start": "2024-10-04 09:55:44.457115" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:55:44 -0400 (0:00:00.410) 0:00:03.053 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:55:44 -0400 (0:00:00.018) 0:00:03.071 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Friday 04 October 2024 09:55:44 -0400 (0:00:00.023) 0:00:03.095 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 04 October 2024 09:55:44 -0400 (0:00:00.038) 0:00:03.133 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 04 October 2024 09:55:44 -0400 (0:00:00.018) 0:00:03.152 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 04 October 2024 09:55:44 -0400 (0:00:00.017) 0:00:03.169 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:55:44 -0400 (0:00:00.029) 0:00:03.199 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:55:44 -0400 (0:00:00.023) 0:00:03.223 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003392", "end": "2024-10-04 09:55:44.989062", "rc": 0, "start": "2024-10-04 09:55:44.985670" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:55:45 -0400 (0:00:00.378) 0:00:03.601 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:55:45 -0400 (0:00:00.026) 0:00:03.627 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 04 October 2024 09:55:45 -0400 (0:00:00.036) 0:00:03.663 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 04 October 2024 09:55:46 -0400 (0:00:00.900) 0:00:04.564 ******** skipping: [managed-node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 04 October 2024 09:55:46 -0400 (0:00:00.040) 0:00:04.604 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 04 October 2024 09:55:46 -0400 (0:00:00.020) 0:00:04.625 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 04 October 2024 09:55:46 -0400 (0:00:00.019) 0:00:04.644 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 04 October 2024 09:55:46 -0400 (0:00:00.023) 0:00:04.667 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 04 October 2024 09:55:46 -0400 (0:00:00.039) 0:00:04.707 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 04 October 2024 09:55:46 -0400 (0:00:00.036) 0:00:04.744 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Friday 04 October 2024 09:55:46 -0400 (0:00:00.030) 0:00:04.774 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:55:46 -0400 (0:00:00.032) 0:00:04.806 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:55:46 -0400 (0:00:00.032) 0:00:04.839 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003343", "end": "2024-10-04 09:55:46.648888", "rc": 0, "start": "2024-10-04 09:55:46.645545" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:55:46 -0400 (0:00:00.415) 0:00:05.254 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:55:46 -0400 (0:00:00.030) 0:00:05.284 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Friday 04 October 2024 09:55:46 -0400 (0:00:00.024) 0:00:05.309 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 04 October 2024 09:55:46 -0400 (0:00:00.035) 0:00:05.345 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:55:46 -0400 (0:00:00.025) 0:00:05.371 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 04 October 2024 09:55:47 -0400 (0:00:00.352) 0:00:05.724 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Friday 04 October 2024 09:55:47 -0400 (0:00:00.024) 0:00:05.748 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 04 October 2024 09:55:47 -0400 (0:00:00.046) 0:00:05.794 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 04 October 2024 09:55:47 -0400 (0:00:00.019) 0:00:05.814 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 04 October 2024 09:55:47 -0400 (0:00:00.019) 0:00:05.834 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:55:47 -0400 (0:00:00.029) 0:00:05.863 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:55:47 -0400 (0:00:00.025) 0:00:05.889 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003403", "end": "2024-10-04 09:55:47.689717", "rc": 0, "start": "2024-10-04 09:55:47.686314" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:55:47 -0400 (0:00:00.403) 0:00:06.292 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:55:47 -0400 (0:00:00.031) 0:00:06.323 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 04 October 2024 09:55:47 -0400 (0:00:00.023) 0:00:06.347 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 04 October 2024 09:55:48 -0400 (0:00:00.719) 0:00:07.067 ******** ok: [managed-node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth1298", "type", "veth", "peer", "name", "peerveth1298" ], "delta": "0:00:00.005880", "end": "2024-10-04 09:55:48.840248", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-10-04 09:55:48.834368" } ok: [managed-node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003992", "end": "2024-10-04 09:55:49.225353", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-10-04 09:55:49.221361" } ok: [managed-node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003831", "end": "2024-10-04 09:55:49.586165", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-10-04 09:55:49.582334" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 04 October 2024 09:55:49 -0400 (0:00:01.122) 0:00:08.189 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.019158", "end": "2024-10-04 09:55:49.986633", "rc": 0, "start": "2024-10-04 09:55:49.967475" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 04 October 2024 09:55:50 -0400 (0:00:00.399) 0:00:08.589 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 04 October 2024 09:55:50 -0400 (0:00:00.023) 0:00:08.612 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 04 October 2024 09:55:50 -0400 (0:00:00.020) 0:00:08.632 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 04 October 2024 09:55:50 -0400 (0:00:00.021) 0:00:08.653 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 04 October 2024 09:55:50 -0400 (0:00:00.046) 0:00:08.700 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Friday 04 October 2024 09:55:50 -0400 (0:00:00.025) 0:00:08.726 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:55:50 -0400 (0:00:00.039) 0:00:08.765 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:55:50 -0400 (0:00:00.017) 0:00:08.782 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003330", "end": "2024-10-04 09:55:50.526603", "rc": 0, "start": "2024-10-04 09:55:50.523273" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:55:50 -0400 (0:00:00.336) 0:00:09.119 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:55:50 -0400 (0:00:00.016) 0:00:09.135 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Friday 04 October 2024 09:55:50 -0400 (0:00:00.015) 0:00:09.151 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Friday 04 October 2024 09:55:50 -0400 (0:00:00.026) 0:00:09.178 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:55:50 -0400 (0:00:00.015) 0:00:09.193 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050148.83808, "block_size": 4096, "blocks": 0, "ctime": 1728050148.83808, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28888, "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": 1728050148.83808, "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Friday 04 October 2024 09:55:50 -0400 (0:00:00.328) 0:00:09.522 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Friday 04 October 2024 09:55:50 -0400 (0:00:00.017) 0:00:09.539 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 04 October 2024 09:55:51 -0400 (0:00:00.031) 0:00:09.571 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 04 October 2024 09:55:51 -0400 (0:00:00.012) 0:00:09.584 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 04 October 2024 09:55:51 -0400 (0:00:00.012) 0:00:09.596 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:55:51 -0400 (0:00:00.017) 0:00:09.613 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:55:51 -0400 (0:00:00.015) 0:00:09.628 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003423", "end": "2024-10-04 09:55:51.370995", "rc": 0, "start": "2024-10-04 09:55:51.367572" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:55:51 -0400 (0:00:00.335) 0:00:09.963 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:55:51 -0400 (0:00:00.016) 0:00:09.979 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 04 October 2024 09:55:51 -0400 (0:00:00.020) 0:00:10.000 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 04 October 2024 09:55:52 -0400 (0:00:00.676) 0:00:10.676 ******** skipping: [managed-node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 04 October 2024 09:55:52 -0400 (0:00:00.038) 0:00:10.715 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 04 October 2024 09:55:52 -0400 (0:00:00.022) 0:00:10.738 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.012928", "end": "2024-10-04 09:55:52.544179", "rc": 0, "start": "2024-10-04 09:55:52.531251" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 04 October 2024 09:55:52 -0400 (0:00:00.415) 0:00:11.154 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 04 October 2024 09:55:52 -0400 (0:00:00.023) 0:00:11.178 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 04 October 2024 09:55:52 -0400 (0:00:00.019) 0:00:11.197 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 04 October 2024 09:55:52 -0400 (0:00:00.021) 0:00:11.219 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Friday 04 October 2024 09:55:52 -0400 (0:00:00.021) 0:00:11.241 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:55:52 -0400 (0:00:00.069) 0:00:11.310 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:55:52 -0400 (0:00:00.049) 0:00:11.359 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003374", "end": "2024-10-04 09:55:53.189338", "rc": 0, "start": "2024-10-04 09:55:53.185964" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:55:53 -0400 (0:00:00.445) 0:00:11.805 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:55:53 -0400 (0:00:00.062) 0:00:11.868 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Friday 04 October 2024 09:55:53 -0400 (0:00:00.041) 0:00:11.909 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 04 October 2024 09:55:53 -0400 (0:00:00.074) 0:00:11.984 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:55:53 -0400 (0:00:00.055) 0:00:12.039 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 04 October 2024 09:55:53 -0400 (0:00:00.374) 0:00:12.413 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Friday 04 October 2024 09:55:53 -0400 (0:00:00.027) 0:00:12.441 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Friday 04 October 2024 09:55:53 -0400 (0:00:00.035) 0:00:12.476 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:55:53 -0400 (0:00:00.034) 0:00:12.511 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:55:53 -0400 (0:00:00.017) 0:00:12.529 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003522", "end": "2024-10-04 09:55:54.318875", "rc": 0, "start": "2024-10-04 09:55:54.315353" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:55:54 -0400 (0:00:00.391) 0:00:12.921 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:55:54 -0400 (0:00:00.028) 0:00:12.949 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Friday 04 October 2024 09:55:54 -0400 (0:00:00.019) 0:00:12.969 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 04 October 2024 09:55:54 -0400 (0:00:00.023) 0:00:12.992 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 04 October 2024 09:55:54 -0400 (0:00:00.015) 0:00:13.008 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 04 October 2024 09:55:54 -0400 (0:00:00.012) 0:00:13.021 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:55:54 -0400 (0:00:00.029) 0:00:13.050 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:55:54 -0400 (0:00:00.026) 0:00:13.076 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003557", "end": "2024-10-04 09:55:54.847635", "rc": 0, "start": "2024-10-04 09:55:54.844078" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:55:54 -0400 (0:00:00.381) 0:00:13.458 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:55:54 -0400 (0:00:00.036) 0:00:13.494 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 04 October 2024 09:55:54 -0400 (0:00:00.034) 0:00:13.528 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 04 October 2024 09:55:55 -0400 (0:00:00.708) 0:00:14.237 ******** skipping: [managed-node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 04 October 2024 09:55:55 -0400 (0:00:00.045) 0:00:14.282 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 04 October 2024 09:55:55 -0400 (0:00:00.027) 0:00:14.310 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 04 October 2024 09:55:55 -0400 (0:00:00.031) 0:00:14.342 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 04 October 2024 09:55:55 -0400 (0:00:00.021) 0:00:14.364 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 04 October 2024 09:55:55 -0400 (0:00:00.021) 0:00:14.385 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 04 October 2024 09:55:55 -0400 (0:00:00.020) 0:00:14.405 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Friday 04 October 2024 09:55:55 -0400 (0:00:00.020) 0:00:14.426 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:55:55 -0400 (0:00:00.032) 0:00:14.459 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:55:55 -0400 (0:00:00.026) 0:00:14.485 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003488", "end": "2024-10-04 09:55:56.263055", "rc": 0, "start": "2024-10-04 09:55:56.259567" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:55:56 -0400 (0:00:00.379) 0:00:14.864 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:55:56 -0400 (0:00:00.032) 0:00:14.896 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Friday 04 October 2024 09:55:56 -0400 (0:00:00.035) 0:00:14.932 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 04 October 2024 09:55:56 -0400 (0:00:00.061) 0:00:14.994 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:55:56 -0400 (0:00:00.037) 0:00:15.032 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 04 October 2024 09:55:56 -0400 (0:00:00.412) 0:00:15.445 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Friday 04 October 2024 09:55:56 -0400 (0:00:00.027) 0:00:15.472 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 04 October 2024 09:55:56 -0400 (0:00:00.045) 0:00:15.517 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 04 October 2024 09:55:56 -0400 (0:00:00.022) 0:00:15.539 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 04 October 2024 09:55:57 -0400 (0:00:00.017) 0:00:15.557 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:55:57 -0400 (0:00:00.022) 0:00:15.580 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:55:57 -0400 (0:00:00.017) 0:00:15.597 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003556", "end": "2024-10-04 09:55:57.353056", "rc": 0, "start": "2024-10-04 09:55:57.349500" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:55:57 -0400 (0:00:00.353) 0:00:15.951 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:55:57 -0400 (0:00:00.017) 0:00:15.968 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 04 October 2024 09:55:57 -0400 (0:00:00.022) 0:00:15.991 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 04 October 2024 09:55:58 -0400 (0:00:00.677) 0:00:16.668 ******** skipping: [managed-node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 04 October 2024 09:55:58 -0400 (0:00:00.023) 0:00:16.692 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 04 October 2024 09:55:58 -0400 (0:00:00.014) 0:00:16.706 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 04 October 2024 09:55:58 -0400 (0:00:00.014) 0:00:16.721 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009889", "end": "2024-10-04 09:55:58.479525", "rc": 0, "start": "2024-10-04 09:55:58.469636" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 04 October 2024 09:55:58 -0400 (0:00:00.365) 0:00:17.086 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 04 October 2024 09:55:58 -0400 (0:00:00.014) 0:00:17.100 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 04 October 2024 09:55:58 -0400 (0:00:00.014) 0:00:17.115 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Friday 04 October 2024 09:55:58 -0400 (0:00:00.012) 0:00:17.128 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:55:58 -0400 (0:00:00.025) 0:00:17.153 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:55:58 -0400 (0:00:00.016) 0:00:17.169 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003316", "end": "2024-10-04 09:55:58.947376", "rc": 0, "start": "2024-10-04 09:55:58.944060" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:55:59 -0400 (0:00:00.378) 0:00:17.547 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:55:59 -0400 (0:00:00.017) 0:00:17.565 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Friday 04 October 2024 09:55:59 -0400 (0:00:00.016) 0:00:17.582 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Friday 04 October 2024 09:55:59 -0400 (0:00:00.025) 0:00:17.607 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:55:59 -0400 (0:00:00.017) 0:00:17.624 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050158.4788954, "block_size": 4096, "blocks": 0, "ctime": 1728050158.4788954, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29131, "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": 1728050158.4788954, "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-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Friday 04 October 2024 09:55:59 -0400 (0:00:00.393) 0:00:18.017 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Friday 04 October 2024 09:55:59 -0400 (0:00:00.029) 0:00:18.046 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Friday 04 October 2024 09:55:59 -0400 (0:00:00.057) 0:00:18.104 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Friday 04 October 2024 09:55:59 -0400 (0:00:00.019) 0:00:18.124 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Friday 04 October 2024 09:55:59 -0400 (0:00:00.026) 0:00:18.150 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:55:59 -0400 (0:00:00.054) 0:00:18.205 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:55:59 -0400 (0:00:00.047) 0:00:18.253 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003555", "end": "2024-10-04 09:56:00.074847", "rc": 0, "start": "2024-10-04 09:56:00.071292" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:56:00 -0400 (0:00:00.443) 0:00:18.697 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:56:00 -0400 (0:00:00.046) 0:00:18.744 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Friday 04 October 2024 09:56:00 -0400 (0:00:00.046) 0:00:18.790 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Friday 04 October 2024 09:56:01 -0400 (0:00:00.756) 0:00:19.547 ******** skipping: [managed-node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Friday 04 October 2024 09:56:01 -0400 (0:00:00.043) 0:00:19.590 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Friday 04 October 2024 09:56:01 -0400 (0:00:00.018) 0:00:19.608 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Friday 04 October 2024 09:56:01 -0400 (0:00:00.020) 0:00:19.629 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Friday 04 October 2024 09:56:01 -0400 (0:00:00.017) 0:00:19.646 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.016245", "end": "2024-10-04 09:56:01.404945", "rc": 0, "start": "2024-10-04 09:56:01.388700" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Friday 04 October 2024 09:56:01 -0400 (0:00:00.362) 0:00:20.009 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Friday 04 October 2024 09:56:01 -0400 (0:00:00.023) 0:00:20.032 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Friday 04 October 2024 09:56:01 -0400 (0:00:00.020) 0:00:20.053 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:56:01 -0400 (0:00:00.049) 0:00:20.103 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:56:01 -0400 (0:00:00.025) 0:00:20.129 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003672", "end": "2024-10-04 09:56:01.894520", "rc": 0, "start": "2024-10-04 09:56:01.890848" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:56:01 -0400 (0:00:00.361) 0:00:20.490 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:56:01 -0400 (0:00:00.023) 0:00:20.513 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Friday 04 October 2024 09:56:01 -0400 (0:00:00.019) 0:00:20.532 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Friday 04 October 2024 09:56:02 -0400 (0:00:00.036) 0:00:20.569 ******** included: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:56:02 -0400 (0:00:00.017) 0:00:20.586 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Friday 04 October 2024 09:56:02 -0400 (0:00:00.355) 0:00:20.942 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node1 : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Friday 04 October 2024 09:56:02 -0400 (0:00:00.054) 0:00:20.996 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 1.39s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.12s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.90s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.76s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.72s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.71s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.68s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.68s /tmp/collections-cI5/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.53s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.45s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.44s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.42s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Delete veth interface veth1298 ------------------------------------------ 0.42s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.42s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.41s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.41s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.40s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Get stat for interface dummy1298 ---------------------------------------- 0.39s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/collections-cI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3