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-fjl 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-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Saturday 12 October 2024 13:48:43 -0400 (0:00:00.048) 0:00:00.048 ****** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Saturday 12 October 2024 13:48:44 -0400 (0:00:01.159) 0:00:01.207 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 12 October 2024 13:48:44 -0400 (0:00:00.028) 0:00:01.236 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 12 October 2024 13:48:45 -0400 (0:00:00.538) 0:00:01.774 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 12 October 2024 13:48:45 -0400 (0:00:00.466) 0:00:02.241 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 12 October 2024 13:48:45 -0400 (0:00:00.052) 0:00:02.293 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 12 October 2024 13:48:45 -0400 (0:00:00.060) 0:00:02.354 ****** included: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 12 October 2024 13:48:45 -0400 (0:00:00.046) 0:00:02.400 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 12 October 2024 13:48:46 -0400 (0:00:00.432) 0:00:02.833 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 12 October 2024 13:48:46 -0400 (0:00:00.014) 0:00:02.847 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 12 October 2024 13:48:46 -0400 (0:00:00.013) 0:00:02.861 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.222829", "end": "2024-10-12 13:48:46.867182", "rc": 0, "start": "2024-10-12 13:48:46.644353" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 12 October 2024 13:48:46 -0400 (0:00:00.567) 0:00:03.428 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Saturday 12 October 2024 13:48:46 -0400 (0:00:00.019) 0:00:03.448 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Saturday 12 October 2024 13:48:46 -0400 (0:00:00.030) 0:00:03.479 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:48:46 -0400 (0:00:00.025) 0:00:03.505 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:48:47 -0400 (0:00:00.024) 0:00:03.529 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003152", "end": "2024-10-12 13:48:47.340458", "rc": 0, "start": "2024-10-12 13:48:47.337306" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:48:47 -0400 (0:00:00.362) 0:00:03.892 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:48:47 -0400 (0:00:00.016) 0:00:03.908 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Saturday 12 October 2024 13:48:47 -0400 (0:00:00.015) 0:00:03.924 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 12 October 2024 13:48:47 -0400 (0:00:00.027) 0:00:03.951 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 12 October 2024 13:48:47 -0400 (0:00:00.013) 0:00:03.964 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 12 October 2024 13:48:47 -0400 (0:00:00.013) 0:00:03.978 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:48:47 -0400 (0:00:00.019) 0:00:03.998 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:48:47 -0400 (0:00:00.027) 0:00:04.026 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003078", "end": "2024-10-12 13:48:47.816222", "rc": 0, "start": "2024-10-12 13:48:47.813144" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:48:47 -0400 (0:00:00.342) 0:00:04.368 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:48:47 -0400 (0:00:00.016) 0:00:04.385 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 12 October 2024 13:48:47 -0400 (0:00:00.014) 0:00:04.400 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 12 October 2024 13:48:51 -0400 (0:00:03.627) 0:00:08.027 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 12 October 2024 13:48:51 -0400 (0:00:00.025) 0:00:08.052 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 12 October 2024 13:48:51 -0400 (0:00:00.015) 0:00:08.068 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 12 October 2024 13:48:51 -0400 (0:00:00.016) 0:00:08.084 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 12 October 2024 13:48:51 -0400 (0:00:00.013) 0:00:08.097 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 12 October 2024 13:48:51 -0400 (0:00:00.019) 0:00:08.117 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 12 October 2024 13:48:51 -0400 (0:00:00.015) 0:00:08.132 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Saturday 12 October 2024 13:48:51 -0400 (0:00:00.015) 0:00:08.148 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:48:51 -0400 (0:00:00.022) 0:00:08.170 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:48:51 -0400 (0:00:00.016) 0:00:08.187 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003123", "end": "2024-10-12 13:48:51.948696", "rc": 0, "start": "2024-10-12 13:48:51.945573" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.327) 0:00:08.515 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.019) 0:00:08.534 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.019) 0:00:08.554 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.024) 0:00:08.578 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.021) 0:00:08.599 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.321) 0:00:08.920 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.027) 0:00:08.948 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.037) 0:00:08.985 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.017) 0:00:09.003 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.013) 0:00:09.016 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.025) 0:00:09.042 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.016) 0:00:09.059 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003071", "end": "2024-10-12 13:48:52.827395", "rc": 0, "start": "2024-10-12 13:48:52.824324" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.320) 0:00:09.379 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.016) 0:00:09.396 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 12 October 2024 13:48:52 -0400 (0:00:00.015) 0:00:09.412 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 12 October 2024 13:48:55 -0400 (0:00:02.778) 0:00:12.190 ****** 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.012767", "end": "2024-10-12 13:48:56.132462", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-10-12 13:48:56.119695" } 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.003488", "end": "2024-10-12 13:48:56.488624", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-10-12 13:48:56.485136" } 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.003831", "end": "2024-10-12 13:48:56.822432", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-10-12 13:48:56.818601" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 12 October 2024 13:48:56 -0400 (0:00:01.193) 0:00:13.384 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.020033", "end": "2024-10-12 13:48:57.198381", "rc": 0, "start": "2024-10-12 13:48:57.178348" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 12 October 2024 13:48:57 -0400 (0:00:00.441) 0:00:13.825 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 12 October 2024 13:48:57 -0400 (0:00:00.022) 0:00:13.848 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 12 October 2024 13:48:57 -0400 (0:00:00.021) 0:00:13.869 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 12 October 2024 13:48:57 -0400 (0:00:00.024) 0:00:13.894 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 12 October 2024 13:48:57 -0400 (0:00:00.021) 0:00:13.915 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Saturday 12 October 2024 13:48:57 -0400 (0:00:00.024) 0:00:13.939 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:48:57 -0400 (0:00:00.056) 0:00:13.996 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:48:57 -0400 (0:00:00.037) 0:00:14.034 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003230", "end": "2024-10-12 13:48:57.827141", "rc": 0, "start": "2024-10-12 13:48:57.823911" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:48:57 -0400 (0:00:00.410) 0:00:14.444 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:48:57 -0400 (0:00:00.058) 0:00:14.503 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Saturday 12 October 2024 13:48:58 -0400 (0:00:00.057) 0:00:14.560 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Saturday 12 October 2024 13:48:58 -0400 (0:00:00.082) 0:00:14.643 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:48:58 -0400 (0:00:00.029) 0:00:14.673 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755336.1232, "block_size": 4096, "blocks": 0, "ctime": 1728755336.1232, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32702, "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": 1728755336.1232, "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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Saturday 12 October 2024 13:48:58 -0400 (0:00:00.570) 0:00:15.243 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Saturday 12 October 2024 13:48:58 -0400 (0:00:00.019) 0:00:15.263 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 12 October 2024 13:48:58 -0400 (0:00:00.034) 0:00:15.298 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 12 October 2024 13:48:58 -0400 (0:00:00.014) 0:00:15.312 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 12 October 2024 13:48:58 -0400 (0:00:00.015) 0:00:15.328 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:48:58 -0400 (0:00:00.026) 0:00:15.354 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:48:58 -0400 (0:00:00.025) 0:00:15.380 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003099", "end": "2024-10-12 13:48:59.146477", "rc": 0, "start": "2024-10-12 13:48:59.143378" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:48:59 -0400 (0:00:00.317) 0:00:15.698 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:48:59 -0400 (0:00:00.021) 0:00:15.720 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 12 October 2024 13:48:59 -0400 (0:00:00.016) 0:00:15.737 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 12 October 2024 13:49:02 -0400 (0:00:02.778) 0:00:18.515 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 12 October 2024 13:49:02 -0400 (0:00:00.043) 0:00:18.559 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 12 October 2024 13:49:02 -0400 (0:00:00.025) 0:00:18.584 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.013748", "end": "2024-10-12 13:49:02.452755", "rc": 0, "start": "2024-10-12 13:49:02.439007" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 12 October 2024 13:49:02 -0400 (0:00:00.435) 0:00:19.020 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 12 October 2024 13:49:02 -0400 (0:00:00.019) 0:00:19.040 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 12 October 2024 13:49:02 -0400 (0:00:00.015) 0:00:19.055 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 12 October 2024 13:49:02 -0400 (0:00:00.017) 0:00:19.073 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Saturday 12 October 2024 13:49:02 -0400 (0:00:00.013) 0:00:19.087 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:49:02 -0400 (0:00:00.051) 0:00:19.138 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:49:02 -0400 (0:00:00.025) 0:00:19.164 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003150", "end": "2024-10-12 13:49:02.951534", "rc": 0, "start": "2024-10-12 13:49:02.948384" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.353) 0:00:19.518 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.024) 0:00:19.543 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.026) 0:00:19.570 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.059) 0:00:19.629 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.026) 0:00:19.656 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.338) 0:00:19.994 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.017) 0:00:20.011 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.029) 0:00:20.041 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.021) 0:00:20.062 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.016) 0:00:20.078 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003318", "end": "2024-10-12 13:49:03.842951", "rc": 0, "start": "2024-10-12 13:49:03.839633" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.322) 0:00:20.401 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.028) 0:00:20.430 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.028) 0:00:20.458 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 12 October 2024 13:49:03 -0400 (0:00:00.037) 0:00:20.496 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 12 October 2024 13:49:04 -0400 (0:00:00.013) 0:00:20.509 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 12 October 2024 13:49:04 -0400 (0:00:00.018) 0:00:20.527 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:49:04 -0400 (0:00:00.021) 0:00:20.549 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:49:04 -0400 (0:00:00.022) 0:00:20.571 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003138", "end": "2024-10-12 13:49:04.370202", "rc": 0, "start": "2024-10-12 13:49:04.367064" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:49:04 -0400 (0:00:00.362) 0:00:20.933 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:49:04 -0400 (0:00:00.023) 0:00:20.957 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 12 October 2024 13:49:04 -0400 (0:00:00.020) 0:00:20.977 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 12 October 2024 13:49:07 -0400 (0:00:02.765) 0:00:23.743 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.024) 0:00:23.768 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.014) 0:00:23.782 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.014) 0:00:23.796 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.014) 0:00:23.811 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.013) 0:00:23.825 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.013) 0:00:23.838 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.012) 0:00:23.851 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.020) 0:00:23.872 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.016) 0:00:23.888 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003112", "end": "2024-10-12 13:49:07.660397", "rc": 0, "start": "2024-10-12 13:49:07.657285" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.324) 0:00:24.212 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.021) 0:00:24.234 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.019) 0:00:24.254 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.022) 0:00:24.277 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:49:07 -0400 (0:00:00.020) 0:00:24.298 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.349) 0:00:24.647 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.018) 0:00:24.665 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.035) 0:00:24.701 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.016) 0:00:24.717 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.013) 0:00:24.731 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.021) 0:00:24.752 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.016) 0:00:24.769 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003082", "end": "2024-10-12 13:49:08.534918", "rc": 0, "start": "2024-10-12 13:49:08.531836" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.318) 0:00:25.087 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.017) 0:00:25.105 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 12 October 2024 13:49:08 -0400 (0:00:00.016) 0:00:25.121 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 12 October 2024 13:49:11 -0400 (0:00:02.795) 0:00:27.917 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 12 October 2024 13:49:11 -0400 (0:00:00.046) 0:00:27.963 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 12 October 2024 13:49:11 -0400 (0:00:00.028) 0:00:27.991 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 12 October 2024 13:49:11 -0400 (0:00:00.022) 0:00:28.014 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009019", "end": "2024-10-12 13:49:11.829046", "rc": 0, "start": "2024-10-12 13:49:11.820027" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 12 October 2024 13:49:11 -0400 (0:00:00.376) 0:00:28.391 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 12 October 2024 13:49:11 -0400 (0:00:00.015) 0:00:28.407 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 12 October 2024 13:49:11 -0400 (0:00:00.015) 0:00:28.422 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Saturday 12 October 2024 13:49:11 -0400 (0:00:00.013) 0:00:28.436 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:49:11 -0400 (0:00:00.026) 0:00:28.463 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:49:11 -0400 (0:00:00.019) 0:00:28.482 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003242", "end": "2024-10-12 13:49:12.257302", "rc": 0, "start": "2024-10-12 13:49:12.254060" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.328) 0:00:28.810 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.017) 0:00:28.827 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.015) 0:00:28.843 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.031) 0:00:28.875 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.020) 0:00:28.895 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755351.8278394, "block_size": 4096, "blocks": 0, "ctime": 1728755351.8278394, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33025, "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": 1728755351.8278394, "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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.380) 0:00:29.275 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.071) 0:00:29.347 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.128) 0:00:29.475 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 12 October 2024 13:49:12 -0400 (0:00:00.021) 0:00:29.497 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 12 October 2024 13:49:13 -0400 (0:00:00.020) 0:00:29.518 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:49:13 -0400 (0:00:00.032) 0:00:29.550 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:49:13 -0400 (0:00:00.027) 0:00:29.577 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003128", "end": "2024-10-12 13:49:13.384676", "rc": 0, "start": "2024-10-12 13:49:13.381548" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:49:13 -0400 (0:00:00.366) 0:00:29.944 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:49:13 -0400 (0:00:00.026) 0:00:29.970 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 12 October 2024 13:49:13 -0400 (0:00:00.024) 0:00:29.995 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 12 October 2024 13:49:16 -0400 (0:00:02.825) 0:00:32.820 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 12 October 2024 13:49:16 -0400 (0:00:00.038) 0:00:32.859 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 12 October 2024 13:49:16 -0400 (0:00:00.021) 0:00:32.880 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 12 October 2024 13:49:16 -0400 (0:00:00.021) 0:00:32.902 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 12 October 2024 13:49:16 -0400 (0:00:00.021) 0:00:32.924 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010752", "end": "2024-10-12 13:49:16.739157", "rc": 0, "start": "2024-10-12 13:49:16.728405" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 12 October 2024 13:49:16 -0400 (0:00:00.406) 0:00:33.330 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 12 October 2024 13:49:16 -0400 (0:00:00.044) 0:00:33.374 ****** 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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Saturday 12 October 2024 13:49:16 -0400 (0:00:00.116) 0:00:33.490 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.097) 0:00:33.588 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.040) 0:00:33.629 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003113", "end": "2024-10-12 13:49:17.521324", "rc": 0, "start": "2024-10-12 13:49:17.518211" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.444) 0:00:34.073 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.017) 0:00:34.090 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.017) 0:00:34.107 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.032) 0:00:34.139 ****** included: /tmp/collections-fjl/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-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.016) 0:00:34.156 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:49:17 -0400 (0:00:00.332) 0:00:34.489 ****** 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 Saturday 12 October 2024 13:49:18 -0400 (0:00:00.039) 0:00:34.529 ****** =============================================================================== Install iproute --------------------------------------------------------- 3.63s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.83s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.80s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.78s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.78s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.77s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Create veth interface veth1298 ------------------------------------------ 1.19s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.16s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.57s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Enable EPEL 8 ----------------------------------------------------------- 0.57s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Gather the minimum subset of ansible_facts required by the network role test --- 0.54s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.47s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.44s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.44s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Delete veth interface veth1298 ------------------------------------------ 0.44s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Create EPEL 8 ----------------------------------------------------------- 0.43s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Gather current interface info ------------------------------------------- 0.41s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.41s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Get stat for interface dummy1298 ---------------------------------------- 0.38s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.38s /tmp/collections-fjl/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49