ansible-playbook [core 2.16.14] 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-3QU 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.5 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_helpers_and_asserts.yml **************************************** 1 plays in /tmp/collections-3QU/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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Wednesday 22 January 2025 22:16:38 -0500 (0:00:00.041) 0:00:00.041 ***** ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Wednesday 22 January 2025 22:16:39 -0500 (0:00:01.167) 0:00:01.208 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 22 January 2025 22:16:39 -0500 (0:00:00.022) 0:00:01.231 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 22 January 2025 22:16:39 -0500 (0:00:00.565) 0:00:01.796 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 22 January 2025 22:16:40 -0500 (0:00:00.547) 0:00:02.343 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 22 January 2025 22:16:40 -0500 (0:00:00.037) 0:00:02.381 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 22 January 2025 22:16:40 -0500 (0:00:00.019) 0:00:02.400 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 22 January 2025 22:16:40 -0500 (0:00:00.122) 0:00:02.522 ***** ok: [managed-node1] => { "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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.453) 0:00:02.975 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.017) 0:00:02.992 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.020) 0:00:03.013 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.231385", "end": "2025-01-22 22:16:41.589942", "rc": 0, "start": "2025-01-22 22:16:41.358557" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.583) 0:00:03.596 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.015) 0:00:03.612 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.022) 0:00:03.634 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.018) 0:00:03.652 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:16:41 -0500 (0:00:00.016) 0:00:03.669 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003189", "end": "2025-01-22 22:16:42.000185", "rc": 0, "start": "2025-01-22 22:16:41.996996" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:16:42 -0500 (0:00:00.371) 0:00:04.041 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:16:42 -0500 (0:00:00.035) 0:00:04.076 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 22 January 2025 22:16:42 -0500 (0:00:00.026) 0:00:04.103 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 22:16:42 -0500 (0:00:00.055) 0:00:04.158 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 22:16:42 -0500 (0:00:00.020) 0:00:04.178 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 22:16:42 -0500 (0:00:00.063) 0:00:04.242 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:16:42 -0500 (0:00:00.059) 0:00:04.302 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:16:42 -0500 (0:00:00.028) 0:00:04.330 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003156", "end": "2025-01-22 22:16:42.730233", "rc": 0, "start": "2025-01-22 22:16:42.727077" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:16:42 -0500 (0:00:00.401) 0:00:04.732 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:16:42 -0500 (0:00:00.025) 0:00:04.757 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 22:16:42 -0500 (0:00:00.026) 0:00:04.784 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 22:16:46 -0500 (0:00:03.827) 0:00:08.612 ***** skipping: [managed-node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 22:16:46 -0500 (0:00:00.037) 0:00:08.649 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 22:16:46 -0500 (0:00:00.052) 0:00:08.702 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 22:16:46 -0500 (0:00:00.030) 0:00:08.733 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 22:16:46 -0500 (0:00:00.052) 0:00:08.786 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 22:16:46 -0500 (0:00:00.027) 0:00:08.813 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 22:16:46 -0500 (0:00:00.022) 0:00:08.836 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 22 January 2025 22:16:46 -0500 (0:00:00.021) 0:00:08.857 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:16:46 -0500 (0:00:00.039) 0:00:08.897 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:16:46 -0500 (0:00:00.027) 0:00:08.924 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003134", "end": "2025-01-22 22:16:47.356778", "rc": 0, "start": "2025-01-22 22:16:47.353644" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:16:47 -0500 (0:00:00.432) 0:00:09.357 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:16:47 -0500 (0:00:00.017) 0:00:09.374 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 22 January 2025 22:16:47 -0500 (0:00:00.018) 0:00:09.393 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:16:47 -0500 (0:00:00.028) 0:00:09.421 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:16:47 -0500 (0:00:00.026) 0:00:09.448 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.549) 0:00:09.998 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.029) 0:00:10.027 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.047) 0:00:10.074 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.022) 0:00:10.097 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.020) 0:00:10.117 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.034) 0:00:10.152 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.038) 0:00:10.190 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003496", "end": "2025-01-22 22:16:48.552899", "rc": 0, "start": "2025-01-22 22:16:48.549403" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.375) 0:00:10.566 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.018) 0:00:10.585 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 22:16:48 -0500 (0:00:00.019) 0:00:10.604 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 22:16:51 -0500 (0:00:02.908) 0:00:13.513 ***** ok: [managed-node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth1298", "type", "veth", "peer", "name", "peerveth1298" ], "delta": "0:00:00.011850", "end": "2025-01-22 22:16:51.863113", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2025-01-22 22:16:51.851263" } ok: [managed-node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003654", "end": "2025-01-22 22:16:52.232594", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2025-01-22 22:16:52.228940" } ok: [managed-node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004271", "end": "2025-01-22 22:16:52.650053", "item": "ip link set veth1298 up", "rc": 0, "start": "2025-01-22 22:16:52.645782" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 22:16:52 -0500 (0:00:01.144) 0:00:14.657 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.023074", "end": "2025-01-22 22:16:53.060908", "rc": 0, "start": "2025-01-22 22:16:53.037834" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 22:16:53 -0500 (0:00:00.408) 0:00:15.065 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 22:16:53 -0500 (0:00:00.015) 0:00:15.080 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 22:16:53 -0500 (0:00:00.015) 0:00:15.096 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 22:16:53 -0500 (0:00:00.015) 0:00:15.112 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 22:16:53 -0500 (0:00:00.014) 0:00:15.126 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 22 January 2025 22:16:53 -0500 (0:00:00.016) 0:00:15.142 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:16:53 -0500 (0:00:00.034) 0:00:15.177 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:16:53 -0500 (0:00:00.029) 0:00:15.207 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003188", "end": "2025-01-22 22:16:53.589252", "rc": 0, "start": "2025-01-22 22:16:53.586064" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:16:53 -0500 (0:00:00.383) 0:00:15.590 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:16:53 -0500 (0:00:00.017) 0:00:15.608 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 22 January 2025 22:16:53 -0500 (0:00:00.017) 0:00:15.625 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 22:16:53 -0500 (0:00:00.030) 0:00:15.656 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:16:53 -0500 (0:00:00.018) 0:00:15.674 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737602211.8548121, "block_size": 4096, "blocks": 0, "ctime": 1737602211.8548121, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33484, "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": 1737602211.8548121, "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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.419) 0:00:16.094 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.025) 0:00:16.119 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.056) 0:00:16.176 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.021) 0:00:16.198 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.019) 0:00:16.218 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.031) 0:00:16.249 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.026) 0:00:16.275 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003308", "end": "2025-01-22 22:16:54.646508", "rc": 0, "start": "2025-01-22 22:16:54.643200" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.408) 0:00:16.684 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.036) 0:00:16.721 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 22:16:54 -0500 (0:00:00.025) 0:00:16.747 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 22:16:57 -0500 (0:00:02.963) 0:00:19.711 ***** skipping: [managed-node1] => (item=ip link add veth1298 type veth peer name peerveth1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 22:16:57 -0500 (0:00:00.028) 0:00:19.739 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 22:16:57 -0500 (0:00:00.015) 0:00:19.755 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.012320", "end": "2025-01-22 22:16:58.106128", "rc": 0, "start": "2025-01-22 22:16:58.093808" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 22:16:58 -0500 (0:00:00.366) 0:00:20.121 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 22:16:58 -0500 (0:00:00.017) 0:00:20.139 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 22:16:58 -0500 (0:00:00.014) 0:00:20.154 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 22:16:58 -0500 (0:00:00.016) 0:00:20.170 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 22 January 2025 22:16:58 -0500 (0:00:00.013) 0:00:20.183 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:16:58 -0500 (0:00:00.035) 0:00:20.219 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:16:58 -0500 (0:00:00.022) 0:00:20.242 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003247", "end": "2025-01-22 22:16:58.575571", "rc": 0, "start": "2025-01-22 22:16:58.572324" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:16:58 -0500 (0:00:00.341) 0:00:20.583 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:16:58 -0500 (0:00:00.025) 0:00:20.609 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 22 January 2025 22:16:58 -0500 (0:00:00.026) 0:00:20.635 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:16:58 -0500 (0:00:00.056) 0:00:20.691 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:16:58 -0500 (0:00:00.030) 0:00:20.722 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:16:59 -0500 (0:00:00.371) 0:00:21.093 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Wednesday 22 January 2025 22:16:59 -0500 (0:00:00.023) 0:00:21.116 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node1 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Wednesday 22 January 2025 22:16:59 -0500 (0:00:00.042) 0:00:21.159 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:16:59 -0500 (0:00:00.023) 0:00:21.182 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:16:59 -0500 (0:00:00.022) 0:00:21.205 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004269", "end": "2025-01-22 22:17:00.551450", "rc": 0, "start": "2025-01-22 22:16:59.547181" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:17:00 -0500 (0:00:01.355) 0:00:22.560 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.026) 0:00:22.587 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.023) 0:00:22.611 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.038) 0:00:22.649 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.020) 0:00:22.669 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.013) 0:00:22.682 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.023) 0:00:22.706 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:17:00 -0500 (0:00:00.024) 0:00:22.731 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003239", "end": "2025-01-22 22:17:01.091385", "rc": 0, "start": "2025-01-22 22:17:01.088146" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:17:01 -0500 (0:00:00.378) 0:00:23.109 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:17:01 -0500 (0:00:00.038) 0:00:23.147 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 22:17:01 -0500 (0:00:00.027) 0:00:23.174 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 22:17:04 -0500 (0:00:02.981) 0:00:26.156 ***** skipping: [managed-node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.025) 0:00:26.181 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.013) 0:00:26.195 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.019) 0:00:26.214 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.018) 0:00:26.233 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.014) 0:00:26.247 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.013) 0:00:26.261 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.012) 0:00:26.273 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.024) 0:00:26.298 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.016) 0:00:26.314 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003356", "end": "2025-01-22 22:17:04.697291", "rc": 0, "start": "2025-01-22 22:17:04.693935" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.395) 0:00:26.710 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.027) 0:00:26.737 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.024) 0:00:26.761 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.037) 0:00:26.799 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:17:04 -0500 (0:00:00.025) 0:00:26.825 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:17:05 -0500 (0:00:00.401) 0:00:27.226 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Wednesday 22 January 2025 22:17:05 -0500 (0:00:00.041) 0:00:27.268 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 22:17:05 -0500 (0:00:00.054) 0:00:27.322 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 22:17:05 -0500 (0:00:00.020) 0:00:27.342 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 22:17:05 -0500 (0:00:00.019) 0:00:27.362 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:17:05 -0500 (0:00:00.029) 0:00:27.391 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:17:05 -0500 (0:00:00.025) 0:00:27.417 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003243", "end": "2025-01-22 22:17:05.792045", "rc": 0, "start": "2025-01-22 22:17:05.788802" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:17:05 -0500 (0:00:00.428) 0:00:27.846 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:17:05 -0500 (0:00:00.051) 0:00:27.897 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 22:17:05 -0500 (0:00:00.056) 0:00:27.953 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 22:17:09 -0500 (0:00:03.075) 0:00:31.029 ***** skipping: [managed-node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.032) 0:00:31.062 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.017) 0:00:31.079 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.015) 0:00:31.094 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010922", "end": "2025-01-22 22:17:09.458917", "rc": 0, "start": "2025-01-22 22:17:09.447995" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.385) 0:00:31.480 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.023) 0:00:31.503 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.021) 0:00:31.524 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.021) 0:00:31.546 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.045) 0:00:31.592 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:17:09 -0500 (0:00:00.026) 0:00:31.618 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003455", "end": "2025-01-22 22:17:10.005188", "rc": 0, "start": "2025-01-22 22:17:10.001733" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.400) 0:00:32.019 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.027) 0:00:32.046 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.024) 0:00:32.071 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.046) 0:00:32.117 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.025) 0:00:32.142 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737602229.4567459, "block_size": 4096, "blocks": 0, "ctime": 1737602229.4567459, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33807, "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": 1737602229.4567459, "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-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.390) 0:00:32.533 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.020) 0:00:32.553 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.039) 0:00:32.593 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.019) 0:00:32.613 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.018) 0:00:32.632 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.021) 0:00:32.653 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:17:10 -0500 (0:00:00.018) 0:00:32.671 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003933", "end": "2025-01-22 22:17:11.045656", "rc": 0, "start": "2025-01-22 22:17:11.041723" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:17:11 -0500 (0:00:00.383) 0:00:33.055 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:17:11 -0500 (0:00:00.020) 0:00:33.076 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Wednesday 22 January 2025 22:17:11 -0500 (0:00:00.018) 0:00:33.094 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Wednesday 22 January 2025 22:17:14 -0500 (0:00:03.093) 0:00:36.188 ***** skipping: [managed-node1] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Wednesday 22 January 2025 22:17:14 -0500 (0:00:00.029) 0:00:36.217 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Wednesday 22 January 2025 22:17:14 -0500 (0:00:00.015) 0:00:36.233 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Wednesday 22 January 2025 22:17:14 -0500 (0:00:00.019) 0:00:36.252 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Wednesday 22 January 2025 22:17:14 -0500 (0:00:00.014) 0:00:36.267 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011445", "end": "2025-01-22 22:17:14.630565", "rc": 0, "start": "2025-01-22 22:17:14.619120" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Wednesday 22 January 2025 22:17:14 -0500 (0:00:00.371) 0:00:36.638 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Wednesday 22 January 2025 22:17:14 -0500 (0:00:00.018) 0:00:36.656 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Wednesday 22 January 2025 22:17:14 -0500 (0:00:00.016) 0:00:36.673 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 22:17:14 -0500 (0:00:00.069) 0:00:36.742 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 22:17:14 -0500 (0:00:00.020) 0:00:36.763 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004341", "end": "2025-01-22 22:17:16.115493", "rc": 0, "start": "2025-01-22 22:17:15.111152" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 22:17:16 -0500 (0:00:01.368) 0:00:38.131 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 22:17:16 -0500 (0:00:00.033) 0:00:38.164 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Wednesday 22 January 2025 22:17:16 -0500 (0:00:00.018) 0:00:38.183 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 22:17:16 -0500 (0:00:00.051) 0:00:38.234 ***** included: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 22:17:16 -0500 (0:00:00.021) 0:00:38.255 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 22:17:16 -0500 (0:00:00.429) 0:00:38.685 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node1 : ok=121 changed=0 unreachable=0 failed=0 skipped=53 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Wednesday 22 January 2025 22:17:16 -0500 (0:00:00.051) 0:00:38.737 ***** =============================================================================== Install iproute --------------------------------------------------------- 3.83s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.09s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.08s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.98s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.91s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gather current interface info ------------------------------------------- 1.37s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.36s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 1.17s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.14s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Enable EPEL 8 ----------------------------------------------------------- 0.58s /tmp/collections-3QU/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.57s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.55s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Check if system is ostree ----------------------------------------------- 0.55s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Create EPEL 8 ----------------------------------------------------------- 0.45s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Gather current interface info ------------------------------------------- 0.43s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.43s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.43s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.42s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.41s /tmp/collections-3QU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3