[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.9] 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/tmp.7UB8PHstIC 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/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Sunday 04 August 2024 17:11:07 -0400 (0:00:00.024) 0:00:00.024 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Sunday 04 August 2024 17:11:08 -0400 (0:00:01.026) 0:00:01.051 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 17:11:08 -0400 (0:00:00.018) 0:00:01.069 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 17:11:09 -0400 (0:00:00.462) 0:00:01.531 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 17:11:09 -0400 (0:00:00.391) 0:00:01.923 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 17:11:09 -0400 (0:00:00.020) 0:00:01.944 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 17:11:09 -0400 (0:00:00.012) 0:00:01.957 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Sunday 04 August 2024 17:11:09 -0400 (0:00:00.039) 0:00:01.996 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Sunday 04 August 2024 17:11:09 -0400 (0:00:00.394) 0:00:02.391 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Sunday 04 August 2024 17:11:09 -0400 (0:00:00.013) 0:00:02.404 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Sunday 04 August 2024 17:11:09 -0400 (0:00:00.012) 0:00:02.417 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.213588", "end": "2024-08-04 17:11:10.390994", "rc": 0, "start": "2024-08-04 17:11:10.177406" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Sunday 04 August 2024 17:11:10 -0400 (0:00:00.520) 0:00:02.938 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Sunday 04 August 2024 17:11:10 -0400 (0:00:00.012) 0:00:02.951 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Sunday 04 August 2024 17:11:10 -0400 (0:00:00.019) 0:00:02.970 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:10 -0400 (0:00:00.015) 0:00:02.986 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:10 -0400 (0:00:00.014) 0:00:03.001 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002871", "end": "2024-08-04 17:11:10.761811", "rc": 0, "start": "2024-08-04 17:11:10.758940" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:10 -0400 (0:00:00.306) 0:00:03.307 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:10 -0400 (0:00:00.015) 0:00:03.323 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Sunday 04 August 2024 17:11:10 -0400 (0:00:00.014) 0:00:03.338 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:11:10 -0400 (0:00:00.024) 0:00:03.362 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:11:10 -0400 (0:00:00.011) 0:00:03.374 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:11:10 -0400 (0:00:00.011) 0:00:03.386 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:10 -0400 (0:00:00.016) 0:00:03.402 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:10 -0400 (0:00:00.014) 0:00:03.417 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002738", "end": "2024-08-04 17:11:11.178016", "rc": 0, "start": "2024-08-04 17:11:11.175278" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:11 -0400 (0:00:00.306) 0:00:03.724 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:11 -0400 (0:00:00.015) 0:00:03.740 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:11:11 -0400 (0:00:00.015) 0:00:03.755 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:11:13 -0400 (0:00:02.744) 0:00:06.500 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.021) 0:00:06.521 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.012) 0:00:06.534 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.012) 0:00:06.546 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.012) 0:00:06.559 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.012) 0:00:06.571 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.012) 0:00:06.584 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.011) 0:00:06.595 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.019) 0:00:06.615 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.014) 0:00:06.629 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002895", "end": "2024-08-04 17:11:14.392663", "rc": 0, "start": "2024-08-04 17:11:14.389768" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.309) 0:00:06.939 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.015) 0:00:06.954 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.014) 0:00:06.969 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.021) 0:00:06.990 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.017) 0:00:07.008 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.307) 0:00:07.315 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.015) 0:00:07.330 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.026) 0:00:07.357 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.011) 0:00:07.369 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.011) 0:00:07.381 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.016) 0:00:07.397 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:14 -0400 (0:00:00.014) 0:00:07.412 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003153", "end": "2024-08-04 17:11:15.172235", "rc": 0, "start": "2024-08-04 17:11:15.169082" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:15 -0400 (0:00:00.306) 0:00:07.718 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:15 -0400 (0:00:00.015) 0:00:07.734 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:11:15 -0400 (0:00:00.013) 0:00:07.747 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:11:17 -0400 (0:00:02.546) 0:00:10.294 ********* 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.009683", "end": "2024-08-04 17:11:18.067060", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-04 17:11:18.057377" } 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.003471", "end": "2024-08-04 17:11:18.400252", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-04 17:11:18.396781" } 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.003865", "end": "2024-08-04 17:11:18.696294", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-04 17:11:18.692429" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:11:18 -0400 (0:00:00.949) 0:00:11.243 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.020655", "end": "2024-08-04 17:11:19.022927", "rc": 0, "start": "2024-08-04 17:11:19.002272" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.325) 0:00:11.569 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.012) 0:00:11.582 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.016) 0:00:11.599 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.012) 0:00:11.611 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.012) 0:00:11.623 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.011) 0:00:11.635 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.023) 0:00:11.659 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.014) 0:00:11.673 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003429", "end": "2024-08-04 17:11:19.433224", "rc": 0, "start": "2024-08-04 17:11:19.429795" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.305) 0:00:11.979 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.015) 0:00:11.995 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.014) 0:00:12.009 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.025) 0:00:12.035 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.015) 0:00:12.050 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722805878.060572, "block_size": 4096, "blocks": 0, "ctime": 1722805878.060572, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 51988, "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": 1722805878.060572, "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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.302) 0:00:12.353 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.016) 0:00:12.369 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.033) 0:00:12.402 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.012) 0:00:12.415 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.011) 0:00:12.427 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.016) 0:00:12.444 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:19 -0400 (0:00:00.014) 0:00:12.458 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002890", "end": "2024-08-04 17:11:20.218048", "rc": 0, "start": "2024-08-04 17:11:20.215158" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:20 -0400 (0:00:00.304) 0:00:12.763 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:20 -0400 (0:00:00.016) 0:00:12.779 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:11:20 -0400 (0:00:00.014) 0:00:12.794 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:11:22 -0400 (0:00:02.531) 0:00:15.325 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:11:22 -0400 (0:00:00.022) 0:00:15.347 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:11:22 -0400 (0:00:00.012) 0:00:15.360 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008652", "end": "2024-08-04 17:11:23.126896", "rc": 0, "start": "2024-08-04 17:11:23.118244" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.315) 0:00:15.675 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.013) 0:00:15.688 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.012) 0:00:15.701 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.012) 0:00:15.714 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.011) 0:00:15.725 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.030) 0:00:15.756 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.015) 0:00:15.771 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002929", "end": "2024-08-04 17:11:23.532325", "rc": 0, "start": "2024-08-04 17:11:23.529396" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.306) 0:00:16.078 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.016) 0:00:16.094 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.015) 0:00:16.110 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.030) 0:00:16.141 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.016) 0:00:16.157 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.308) 0:00:16.465 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.016) 0:00:16.482 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Sunday 04 August 2024 17:11:23 -0400 (0:00:00.020) 0:00:16.502 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:24 -0400 (0:00:00.017) 0:00:16.519 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:24 -0400 (0:00:00.014) 0:00:16.534 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003019", "end": "2024-08-04 17:11:24.297133", "rc": 0, "start": "2024-08-04 17:11:24.294114" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:24 -0400 (0:00:00.309) 0:00:16.843 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:24 -0400 (0:00:00.015) 0:00:16.859 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Sunday 04 August 2024 17:11:24 -0400 (0:00:00.015) 0:00:16.874 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:11:24 -0400 (0:00:00.021) 0:00:16.896 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:11:24 -0400 (0:00:00.011) 0:00:16.908 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:11:24 -0400 (0:00:00.012) 0:00:16.921 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:24 -0400 (0:00:00.017) 0:00:16.938 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:24 -0400 (0:00:00.015) 0:00:16.953 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003112", "end": "2024-08-04 17:11:24.716717", "rc": 0, "start": "2024-08-04 17:11:24.713605" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:24 -0400 (0:00:00.310) 0:00:17.264 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:24 -0400 (0:00:00.015) 0:00:17.279 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:11:24 -0400 (0:00:00.015) 0:00:17.294 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:11:27 -0400 (0:00:02.549) 0:00:19.843 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.022) 0:00:19.866 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.014) 0:00:19.880 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.012) 0:00:19.893 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.012) 0:00:19.906 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.012) 0:00:19.919 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.012) 0:00:19.931 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.011) 0:00:19.943 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.020) 0:00:19.963 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.015) 0:00:19.979 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002959", "end": "2024-08-04 17:11:27.743282", "rc": 0, "start": "2024-08-04 17:11:27.740323" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.310) 0:00:20.289 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.016) 0:00:20.306 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.014) 0:00:20.321 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.020) 0:00:20.342 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:11:27 -0400 (0:00:00.014) 0:00:20.357 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:11:28 -0400 (0:00:00.306) 0:00:20.663 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Sunday 04 August 2024 17:11:28 -0400 (0:00:00.015) 0:00:20.679 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:11:28 -0400 (0:00:00.027) 0:00:20.706 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:11:28 -0400 (0:00:00.012) 0:00:20.719 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:11:28 -0400 (0:00:00.011) 0:00:20.730 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:28 -0400 (0:00:00.016) 0:00:20.747 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:28 -0400 (0:00:00.015) 0:00:20.762 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002931", "end": "2024-08-04 17:11:28.522478", "rc": 0, "start": "2024-08-04 17:11:28.519547" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:28 -0400 (0:00:00.305) 0:00:21.068 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:28 -0400 (0:00:00.016) 0:00:21.085 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:11:28 -0400 (0:00:00.014) 0:00:21.100 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:11:31 -0400 (0:00:02.553) 0:00:23.653 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.022) 0:00:23.676 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.012) 0:00:23.688 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.012) 0:00:23.701 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.003640", "end": "2024-08-04 17:11:31.468291", "rc": 0, "start": "2024-08-04 17:11:31.464651" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.322) 0:00:24.023 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.014) 0:00:24.038 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.013) 0:00:24.051 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.012) 0:00:24.064 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.026) 0:00:24.091 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.015) 0:00:24.106 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003030", "end": "2024-08-04 17:11:31.871781", "rc": 0, "start": "2024-08-04 17:11:31.868751" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.312) 0:00:24.418 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.016) 0:00:24.435 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.015) 0:00:24.450 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.026) 0:00:24.477 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:11:31 -0400 (0:00:00.016) 0:00:24.493 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722805891.4675488, "block_size": 4096, "blocks": 0, "ctime": 1722805891.4675488, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 52281, "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": 1722805891.4675488, "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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Sunday 04 August 2024 17:11:32 -0400 (0:00:00.306) 0:00:24.800 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Sunday 04 August 2024 17:11:32 -0400 (0:00:00.016) 0:00:24.817 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:11:32 -0400 (0:00:00.031) 0:00:24.848 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:11:32 -0400 (0:00:00.011) 0:00:24.860 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:11:32 -0400 (0:00:00.011) 0:00:24.872 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:32 -0400 (0:00:00.018) 0:00:24.890 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:32 -0400 (0:00:00.035) 0:00:24.925 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002930", "end": "2024-08-04 17:11:32.685300", "rc": 0, "start": "2024-08-04 17:11:32.682370" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:32 -0400 (0:00:00.306) 0:00:25.231 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:32 -0400 (0:00:00.016) 0:00:25.248 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:11:32 -0400 (0:00:00.016) 0:00:25.264 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:11:35 -0400 (0:00:02.534) 0:00:27.798 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:11:35 -0400 (0:00:00.023) 0:00:27.822 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:11:35 -0400 (0:00:00.013) 0:00:27.835 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:11:35 -0400 (0:00:00.012) 0:00:27.848 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:11:35 -0400 (0:00:00.012) 0:00:27.861 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011000", "end": "2024-08-04 17:11:35.631892", "rc": 0, "start": "2024-08-04 17:11:35.620892" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:11:35 -0400 (0:00:00.318) 0:00:28.180 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:11:35 -0400 (0:00:00.013) 0:00:28.194 ********* 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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Sunday 04 August 2024 17:11:35 -0400 (0:00:00.012) 0:00:28.206 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:11:35 -0400 (0:00:00.030) 0:00:28.236 ********* included: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:11:35 -0400 (0:00:00.015) 0:00:28.252 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002990", "end": "2024-08-04 17:11:36.013772", "rc": 0, "start": "2024-08-04 17:11:36.010782" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:11:36 -0400 (0:00:00.307) 0:00:28.560 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:11:36 -0400 (0:00:00.016) 0:00:28.576 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Sunday 04 August 2024 17:11:36 -0400 (0:00:00.015) 0:00:28.592 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:11:36 -0400 (0:00:00.032) 0:00:28.625 ********* included: /tmp/tmp.7UB8PHstIC/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/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:11:36 -0400 (0:00:00.017) 0:00:28.642 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:11:36 -0400 (0:00:00.306) 0:00:28.948 ********* 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 Sunday 04 August 2024 17:11:36 -0400 (0:00:00.024) 0:00:28.972 ********* =============================================================================== Install iproute --------------------------------------------------------- 2.74s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.55s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.55s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.55s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.53s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.53s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 0.95s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Enable EPEL 8 ----------------------------------------------------------- 0.52s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Gather the minimum subset of ansible_facts required by the network role test --- 0.46s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Create EPEL 8 ----------------------------------------------------------- 0.39s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Check if system is ostree ----------------------------------------------- 0.39s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Set up veth as managed by NetworkManager -------------------------------- 0.33s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.32s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Delete dummy interface dummy1298 ---------------------------------------- 0.32s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Delete veth interface veth1298 ------------------------------------------ 0.32s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.31s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.31s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.31s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.31s /tmp/tmp.7UB8PHstIC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3