ansible-playbook [core 2.16.12] 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-nHO executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/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-nHO/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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Monday 21 October 2024 07:16:16 -0400 (0:00:00.049) 0:00:00.049 ******** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Monday 21 October 2024 07:16:17 -0400 (0:00:01.329) 0:00:01.379 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 21 October 2024 07:16:17 -0400 (0:00:00.031) 0:00:01.410 ******** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 21 October 2024 07:16:18 -0400 (0:00:00.752) 0:00:02.163 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 21 October 2024 07:16:18 -0400 (0:00:00.492) 0:00:02.656 ******** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 21 October 2024 07:16:18 -0400 (0:00:00.058) 0:00:02.714 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 21 October 2024 07:16:18 -0400 (0:00:00.067) 0:00:02.782 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 21 October 2024 07:16:18 -0400 (0:00:00.046) 0:00:02.829 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 21 October 2024 07:16:19 -0400 (0:00:00.437) 0:00:03.266 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 21 October 2024 07:16:19 -0400 (0:00:00.013) 0:00:03.280 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 21 October 2024 07:16:19 -0400 (0:00:00.013) 0:00:03.294 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.230648", "end": "2024-10-21 07:16:19.836355", "rc": 0, "start": "2024-10-21 07:16:19.605707" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 21 October 2024 07:16:19 -0400 (0:00:00.572) 0:00:03.866 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Monday 21 October 2024 07:16:19 -0400 (0:00:00.013) 0:00:03.879 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node2 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Monday 21 October 2024 07:16:19 -0400 (0:00:00.018) 0:00:03.898 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:19 -0400 (0:00:00.016) 0:00:03.915 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:19 -0400 (0:00:00.015) 0:00:03.931 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003051", "end": "2024-10-21 07:16:20.231935", "rc": 0, "start": "2024-10-21 07:16:20.228884" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:20 -0400 (0:00:00.330) 0:00:04.261 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:20 -0400 (0:00:00.016) 0:00:04.278 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Monday 21 October 2024 07:16:20 -0400 (0:00:00.015) 0:00:04.294 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 07:16:20 -0400 (0:00:00.028) 0:00:04.322 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 07:16:20 -0400 (0:00:00.012) 0:00:04.335 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 07:16:20 -0400 (0:00:00.012) 0:00:04.347 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:20 -0400 (0:00:00.018) 0:00:04.366 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:20 -0400 (0:00:00.016) 0:00:04.383 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003148", "end": "2024-10-21 07:16:20.688996", "rc": 0, "start": "2024-10-21 07:16:20.685848" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:20 -0400 (0:00:00.336) 0:00:04.719 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:20 -0400 (0:00:00.017) 0:00:04.737 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 07:16:20 -0400 (0:00:00.015) 0:00:04.753 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 07:16:24 -0400 (0:00:03.709) 0:00:08.462 ******** skipping: [managed-node2] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 07:16:24 -0400 (0:00:00.039) 0:00:08.501 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 07:16:24 -0400 (0:00:00.021) 0:00:08.522 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 07:16:24 -0400 (0:00:00.021) 0:00:08.544 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 07:16:24 -0400 (0:00:00.027) 0:00:08.571 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 07:16:24 -0400 (0:00:00.022) 0:00:08.593 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 07:16:24 -0400 (0:00:00.032) 0:00:08.626 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Monday 21 October 2024 07:16:24 -0400 (0:00:00.043) 0:00:08.669 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:24 -0400 (0:00:00.081) 0:00:08.751 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:24 -0400 (0:00:00.028) 0:00:08.780 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003310", "end": "2024-10-21 07:16:25.112029", "rc": 0, "start": "2024-10-21 07:16:25.108719" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:25 -0400 (0:00:00.391) 0:00:09.171 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:25 -0400 (0:00:00.027) 0:00:09.199 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Monday 21 October 2024 07:16:25 -0400 (0:00:00.027) 0:00:09.227 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 21 October 2024 07:16:25 -0400 (0:00:00.035) 0:00:09.263 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:16:25 -0400 (0:00:00.017) 0:00:09.280 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 21 October 2024 07:16:25 -0400 (0:00:00.362) 0:00:09.643 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Monday 21 October 2024 07:16:25 -0400 (0:00:00.029) 0:00:09.673 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 07:16:25 -0400 (0:00:00.046) 0:00:09.719 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 07:16:25 -0400 (0:00:00.019) 0:00:09.739 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 07:16:25 -0400 (0:00:00.020) 0:00:09.760 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:25 -0400 (0:00:00.036) 0:00:09.796 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:25 -0400 (0:00:00.027) 0:00:09.824 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003751", "end": "2024-10-21 07:16:26.170087", "rc": 0, "start": "2024-10-21 07:16:26.166336" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:26 -0400 (0:00:00.393) 0:00:10.217 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:26 -0400 (0:00:00.027) 0:00:10.244 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 07:16:26 -0400 (0:00:00.021) 0:00:10.266 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 07:16:29 -0400 (0:00:02.977) 0:00:13.243 ******** ok: [managed-node2] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth1298", "type", "veth", "peer", "name", "peerveth1298" ], "delta": "0:00:00.010764", "end": "2024-10-21 07:16:29.629227", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-10-21 07:16:29.618463" } ok: [managed-node2] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003749", "end": "2024-10-21 07:16:30.129015", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-10-21 07:16:30.125266" } ok: [managed-node2] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004966", "end": "2024-10-21 07:16:30.465155", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-10-21 07:16:30.460189" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 07:16:30 -0400 (0:00:01.252) 0:00:14.496 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.021007", "end": "2024-10-21 07:16:30.844477", "rc": 0, "start": "2024-10-21 07:16:30.823470" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 07:16:30 -0400 (0:00:00.381) 0:00:14.878 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 07:16:30 -0400 (0:00:00.016) 0:00:14.895 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 07:16:30 -0400 (0:00:00.014) 0:00:14.909 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 07:16:30 -0400 (0:00:00.016) 0:00:14.925 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 07:16:30 -0400 (0:00:00.016) 0:00:14.941 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Monday 21 October 2024 07:16:30 -0400 (0:00:00.014) 0:00:14.956 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:31 -0400 (0:00:00.035) 0:00:14.992 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:31 -0400 (0:00:00.029) 0:00:15.021 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003127", "end": "2024-10-21 07:16:31.329945", "rc": 0, "start": "2024-10-21 07:16:31.326818" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:31 -0400 (0:00:00.343) 0:00:15.365 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:31 -0400 (0:00:00.032) 0:00:15.397 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Monday 21 October 2024 07:16:31 -0400 (0:00:00.025) 0:00:15.423 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Monday 21 October 2024 07:16:31 -0400 (0:00:00.046) 0:00:15.469 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:16:31 -0400 (0:00:00.027) 0:00:15.497 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729509389.621945, "block_size": 4096, "blocks": 0, "ctime": 1729509389.621945, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33475, "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": 1729509389.621945, "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Monday 21 October 2024 07:16:31 -0400 (0:00:00.366) 0:00:15.863 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Monday 21 October 2024 07:16:31 -0400 (0:00:00.017) 0:00:15.881 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 07:16:31 -0400 (0:00:00.033) 0:00:15.915 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 07:16:31 -0400 (0:00:00.013) 0:00:15.929 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 07:16:31 -0400 (0:00:00.016) 0:00:15.945 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:31 -0400 (0:00:00.021) 0:00:15.967 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:32 -0400 (0:00:00.026) 0:00:15.993 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004253", "end": "2024-10-21 07:16:33.330971", "rc": 0, "start": "2024-10-21 07:16:32.326718" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:33 -0400 (0:00:01.368) 0:00:17.362 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:33 -0400 (0:00:00.021) 0:00:17.383 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 07:16:33 -0400 (0:00:00.016) 0:00:17.400 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 07:16:36 -0400 (0:00:02.945) 0:00:20.345 ******** skipping: [managed-node2] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 07:16:36 -0400 (0:00:00.034) 0:00:20.379 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 07:16:36 -0400 (0:00:00.039) 0:00:20.418 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008528", "end": "2024-10-21 07:16:36.864083", "rc": 0, "start": "2024-10-21 07:16:36.855555" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 07:16:36 -0400 (0:00:00.484) 0:00:20.903 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 07:16:36 -0400 (0:00:00.014) 0:00:20.918 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 07:16:36 -0400 (0:00:00.014) 0:00:20.933 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 07:16:36 -0400 (0:00:00.014) 0:00:20.947 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Monday 21 October 2024 07:16:36 -0400 (0:00:00.014) 0:00:20.962 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:37 -0400 (0:00:00.031) 0:00:20.993 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:37 -0400 (0:00:00.016) 0:00:21.009 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003913", "end": "2024-10-21 07:16:37.351992", "rc": 0, "start": "2024-10-21 07:16:37.348079" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:37 -0400 (0:00:00.381) 0:00:21.391 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:37 -0400 (0:00:00.026) 0:00:21.418 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Monday 21 October 2024 07:16:37 -0400 (0:00:00.023) 0:00:21.441 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 21 October 2024 07:16:37 -0400 (0:00:00.037) 0:00:21.479 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:16:37 -0400 (0:00:00.022) 0:00:21.501 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 21 October 2024 07:16:37 -0400 (0:00:00.336) 0:00:21.837 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Monday 21 October 2024 07:16:37 -0400 (0:00:00.022) 0:00:21.860 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node2 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Monday 21 October 2024 07:16:37 -0400 (0:00:00.033) 0:00:21.894 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:37 -0400 (0:00:00.028) 0:00:21.922 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:37 -0400 (0:00:00.026) 0:00:21.948 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003959", "end": "2024-10-21 07:16:38.415562", "rc": 0, "start": "2024-10-21 07:16:38.411603" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:38 -0400 (0:00:00.508) 0:00:22.456 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:38 -0400 (0:00:00.026) 0:00:22.482 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Monday 21 October 2024 07:16:38 -0400 (0:00:00.025) 0:00:22.508 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 07:16:38 -0400 (0:00:00.037) 0:00:22.545 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 07:16:38 -0400 (0:00:00.020) 0:00:22.566 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 07:16:38 -0400 (0:00:00.029) 0:00:22.596 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:38 -0400 (0:00:00.036) 0:00:22.633 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:38 -0400 (0:00:00.027) 0:00:22.660 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003251", "end": "2024-10-21 07:16:39.133990", "rc": 0, "start": "2024-10-21 07:16:39.130739" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:39 -0400 (0:00:00.550) 0:00:23.210 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:39 -0400 (0:00:00.019) 0:00:23.230 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 07:16:39 -0400 (0:00:00.024) 0:00:23.254 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 07:16:42 -0400 (0:00:02.994) 0:00:26.249 ******** skipping: [managed-node2] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 07:16:42 -0400 (0:00:00.038) 0:00:26.288 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 07:16:42 -0400 (0:00:00.021) 0:00:26.310 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 07:16:42 -0400 (0:00:00.021) 0:00:26.331 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 07:16:42 -0400 (0:00:00.022) 0:00:26.354 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 07:16:42 -0400 (0:00:00.021) 0:00:26.376 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 07:16:42 -0400 (0:00:00.036) 0:00:26.412 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Monday 21 October 2024 07:16:42 -0400 (0:00:00.027) 0:00:26.439 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:42 -0400 (0:00:00.038) 0:00:26.477 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:42 -0400 (0:00:00.043) 0:00:26.521 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003192", "end": "2024-10-21 07:16:42.920029", "rc": 0, "start": "2024-10-21 07:16:42.916837" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:42 -0400 (0:00:00.429) 0:00:26.950 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:42 -0400 (0:00:00.021) 0:00:26.972 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Monday 21 October 2024 07:16:43 -0400 (0:00:00.016) 0:00:26.988 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 21 October 2024 07:16:43 -0400 (0:00:00.022) 0:00:27.010 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:16:43 -0400 (0:00:00.017) 0:00:27.028 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 21 October 2024 07:16:43 -0400 (0:00:00.373) 0:00:27.401 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Monday 21 October 2024 07:16:43 -0400 (0:00:00.023) 0:00:27.425 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 07:16:43 -0400 (0:00:00.043) 0:00:27.468 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 07:16:43 -0400 (0:00:00.017) 0:00:27.485 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 07:16:43 -0400 (0:00:00.012) 0:00:27.498 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:43 -0400 (0:00:00.018) 0:00:27.517 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:43 -0400 (0:00:00.016) 0:00:27.533 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003119", "end": "2024-10-21 07:16:43.841414", "rc": 0, "start": "2024-10-21 07:16:43.838295" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:43 -0400 (0:00:00.338) 0:00:27.871 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:43 -0400 (0:00:00.017) 0:00:27.889 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 07:16:43 -0400 (0:00:00.015) 0:00:27.905 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 07:16:46 -0400 (0:00:02.943) 0:00:30.848 ******** skipping: [managed-node2] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 07:16:46 -0400 (0:00:00.040) 0:00:30.889 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 07:16:46 -0400 (0:00:00.022) 0:00:30.911 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 07:16:46 -0400 (0:00:00.020) 0:00:30.932 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011625", "end": "2024-10-21 07:16:47.358176", "rc": 0, "start": "2024-10-21 07:16:47.346551" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 07:16:47 -0400 (0:00:00.467) 0:00:31.400 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 07:16:47 -0400 (0:00:00.015) 0:00:31.415 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 07:16:47 -0400 (0:00:00.015) 0:00:31.431 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Monday 21 October 2024 07:16:47 -0400 (0:00:00.014) 0:00:31.445 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:47 -0400 (0:00:00.026) 0:00:31.472 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:47 -0400 (0:00:00.016) 0:00:31.489 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003706", "end": "2024-10-21 07:16:47.865313", "rc": 0, "start": "2024-10-21 07:16:47.861607" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:47 -0400 (0:00:00.407) 0:00:31.896 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:47 -0400 (0:00:00.022) 0:00:31.918 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Monday 21 October 2024 07:16:47 -0400 (0:00:00.019) 0:00:31.938 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Monday 21 October 2024 07:16:47 -0400 (0:00:00.031) 0:00:31.969 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:16:48 -0400 (0:00:00.017) 0:00:31.986 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729509407.3553104, "block_size": 4096, "blocks": 0, "ctime": 1729509407.3553104, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33798, "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": 1729509407.3553104, "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-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Monday 21 October 2024 07:16:48 -0400 (0:00:00.352) 0:00:32.338 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Monday 21 October 2024 07:16:48 -0400 (0:00:00.036) 0:00:32.375 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 07:16:48 -0400 (0:00:00.056) 0:00:32.431 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 07:16:48 -0400 (0:00:00.022) 0:00:32.454 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 07:16:48 -0400 (0:00:00.019) 0:00:32.474 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:48 -0400 (0:00:00.025) 0:00:32.500 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:48 -0400 (0:00:00.019) 0:00:32.519 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003222", "end": "2024-10-21 07:16:48.847580", "rc": 0, "start": "2024-10-21 07:16:48.844358" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:48 -0400 (0:00:00.409) 0:00:32.928 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:48 -0400 (0:00:00.041) 0:00:32.970 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 07:16:49 -0400 (0:00:00.027) 0:00:32.997 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 07:16:52 -0400 (0:00:02.990) 0:00:35.987 ******** skipping: [managed-node2] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 07:16:52 -0400 (0:00:00.038) 0:00:36.025 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 07:16:52 -0400 (0:00:00.015) 0:00:36.040 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 07:16:52 -0400 (0:00:00.017) 0:00:36.058 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 07:16:52 -0400 (0:00:00.014) 0:00:36.073 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009660", "end": "2024-10-21 07:16:52.391086", "rc": 0, "start": "2024-10-21 07:16:52.381426" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 07:16:52 -0400 (0:00:00.356) 0:00:36.429 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 07:16:52 -0400 (0:00:00.014) 0:00:36.444 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Monday 21 October 2024 07:16:52 -0400 (0:00:00.041) 0:00:36.485 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:16:52 -0400 (0:00:00.032) 0:00:36.518 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:16:52 -0400 (0:00:00.016) 0:00:36.535 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003297", "end": "2024-10-21 07:16:52.844717", "rc": 0, "start": "2024-10-21 07:16:52.841420" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:16:52 -0400 (0:00:00.347) 0:00:36.883 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:16:52 -0400 (0:00:00.026) 0:00:36.909 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Monday 21 October 2024 07:16:52 -0400 (0:00:00.027) 0:00:36.936 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 21 October 2024 07:16:53 -0400 (0:00:00.063) 0:00:37.000 ******** included: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:16:53 -0400 (0:00:00.029) 0:00:37.029 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 21 October 2024 07:16:53 -0400 (0:00:00.394) 0:00:37.424 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=121 changed=0 unreachable=0 failed=0 skipped=53 rescued=0 ignored=0 Monday 21 October 2024 07:16:53 -0400 (0:00:00.039) 0:00:37.463 ******** =============================================================================== Install iproute --------------------------------------------------------- 3.71s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.99s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.99s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.98s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.95s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.94s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gather current interface info ------------------------------------------- 1.37s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 1.33s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.25s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gather the minimum subset of ansible_facts required by the network role test --- 0.75s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Enable EPEL 8 ----------------------------------------------------------- 0.57s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Gather current interface info ------------------------------------------- 0.55s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.51s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.49s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Delete veth interface veth1298 ------------------------------------------ 0.48s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Create dummy interface dummy1298 ---------------------------------------- 0.47s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Create EPEL 8 ----------------------------------------------------------- 0.44s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Gather current interface info ------------------------------------------- 0.43s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.41s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.41s /tmp/collections-nHO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3