[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.17.2] 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.0iFxjfmP4M executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Saturday 03 August 2024 08:46:03 -0400 (0:00:00.024) 0:00:00.024 ******* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Saturday 03 August 2024 08:46:04 -0400 (0:00:01.130) 0:00:01.154 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 03 August 2024 08:46:04 -0400 (0:00:00.018) 0:00:01.173 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 03 August 2024 08:46:05 -0400 (0:00:00.477) 0:00:01.650 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 03 August 2024 08:46:05 -0400 (0:00:00.395) 0:00:02.046 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 03 August 2024 08:46:05 -0400 (0:00:00.019) 0:00:02.066 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 03 August 2024 08:46:05 -0400 (0:00:00.013) 0:00:02.079 ******* included: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 03 August 2024 08:46:05 -0400 (0:00:00.039) 0:00:02.118 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Saturday 03 August 2024 08:46:05 -0400 (0:00:00.012) 0:00:02.131 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Saturday 03 August 2024 08:46:05 -0400 (0:00:00.012) 0:00:02.144 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Saturday 03 August 2024 08:46:05 -0400 (0:00:00.012) 0:00:02.156 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Saturday 03 August 2024 08:46:05 -0400 (0:00:00.011) 0:00:02.168 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Saturday 03 August 2024 08:46:05 -0400 (0:00:00.011) 0:00:02.180 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Saturday 03 August 2024 08:46:05 -0400 (0:00:00.017) 0:00:02.198 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:05 -0400 (0:00:00.015) 0:00:02.214 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:05 -0400 (0:00:00.014) 0:00:02.228 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003257", "end": "2024-08-03 08:46:06.268338", "rc": 0, "start": "2024-08-03 08:46:06.265081" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:06 -0400 (0:00:00.396) 0:00:02.624 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:06 -0400 (0:00:00.015) 0:00:02.639 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Saturday 03 August 2024 08:46:06 -0400 (0:00:00.014) 0:00:02.654 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:46:06 -0400 (0:00:00.022) 0:00:02.676 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:46:06 -0400 (0:00:00.011) 0:00:02.688 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:46:06 -0400 (0:00:00.011) 0:00:02.699 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:06 -0400 (0:00:00.019) 0:00:02.718 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:06 -0400 (0:00:00.014) 0:00:02.733 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003215", "end": "2024-08-03 08:46:06.700482", "rc": 0, "start": "2024-08-03 08:46:06.697267" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:06 -0400 (0:00:00.323) 0:00:03.056 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:06 -0400 (0:00:00.015) 0:00:03.072 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:46:06 -0400 (0:00:00.014) 0:00:03.087 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:46:07 -0400 (0:00:00.726) 0:00:03.813 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:46:07 -0400 (0:00:00.021) 0:00:03.835 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:46:07 -0400 (0:00:00.012) 0:00:03.848 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:46:07 -0400 (0:00:00.012) 0:00:03.860 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:46:07 -0400 (0:00:00.012) 0:00:03.873 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:46:07 -0400 (0:00:00.013) 0:00:03.886 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:46:07 -0400 (0:00:00.012) 0:00:03.899 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Saturday 03 August 2024 08:46:07 -0400 (0:00:00.011) 0:00:03.910 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:07 -0400 (0:00:00.018) 0:00:03.929 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:07 -0400 (0:00:00.014) 0:00:03.944 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003242", "end": "2024-08-03 08:46:07.913458", "rc": 0, "start": "2024-08-03 08:46:07.910216" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:07 -0400 (0:00:00.326) 0:00:04.271 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:07 -0400 (0:00:00.016) 0:00:04.287 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Saturday 03 August 2024 08:46:07 -0400 (0:00:00.015) 0:00:04.303 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:46:08 -0400 (0:00:00.021) 0:00:04.324 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:46:08 -0400 (0:00:00.015) 0:00:04.340 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:46:08 -0400 (0:00:00.323) 0:00:04.664 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Saturday 03 August 2024 08:46:08 -0400 (0:00:00.017) 0:00:04.681 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:46:08 -0400 (0:00:00.026) 0:00:04.707 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:46:08 -0400 (0:00:00.012) 0:00:04.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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:46:08 -0400 (0:00:00.011) 0:00:04.731 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:08 -0400 (0:00:00.016) 0:00:04.748 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:08 -0400 (0:00:00.014) 0:00:04.763 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003344", "end": "2024-08-03 08:46:08.732652", "rc": 0, "start": "2024-08-03 08:46:08.729308" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:08 -0400 (0:00:00.326) 0:00:05.090 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:08 -0400 (0:00:00.015) 0:00:05.106 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:46:08 -0400 (0:00:00.014) 0:00:05.121 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:46:09 -0400 (0:00:00.627) 0:00:05.748 ******* 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.008631", "end": "2024-08-03 08:46:09.728322", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-03 08:46:09.719691" } 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.003624", "end": "2024-08-03 08:46:10.083125", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-03 08:46:10.079501" } 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.003788", "end": "2024-08-03 08:46:10.397677", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-03 08:46:10.393889" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:46:10 -0400 (0:00:01.008) 0:00:06.756 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.019053", "end": "2024-08-03 08:46:10.744908", "rc": 0, "start": "2024-08-03 08:46:10.725855" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:46:10 -0400 (0:00:00.346) 0:00:07.102 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:46:10 -0400 (0:00:00.013) 0:00:07.116 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:46:10 -0400 (0:00:00.013) 0:00:07.130 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:46:10 -0400 (0:00:00.013) 0:00:07.143 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:46:10 -0400 (0:00:00.013) 0:00:07.156 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Saturday 03 August 2024 08:46:10 -0400 (0:00:00.012) 0:00:07.169 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:10 -0400 (0:00:00.024) 0:00:07.193 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:10 -0400 (0:00:00.015) 0:00:07.208 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003212", "end": "2024-08-03 08:46:11.178797", "rc": 0, "start": "2024-08-03 08:46:11.175585" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:11 -0400 (0:00:00.326) 0:00:07.535 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:11 -0400 (0:00:00.015) 0:00:07.551 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Saturday 03 August 2024 08:46:11 -0400 (0:00:00.014) 0:00:07.566 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:46:11 -0400 (0:00:00.026) 0:00:07.592 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:46:11 -0400 (0:00:00.015) 0:00:07.608 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689169.7232018, "block_size": 4096, "blocks": 0, "ctime": 1722689169.7232018, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38056, "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": 1722689169.7232018, "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:46:11 -0400 (0:00:00.326) 0:00:07.934 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Saturday 03 August 2024 08:46:11 -0400 (0:00:00.016) 0:00:07.951 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:46:11 -0400 (0:00:00.031) 0:00:07.982 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:46:11 -0400 (0:00:00.012) 0:00:07.994 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:46:11 -0400 (0:00:00.011) 0:00:08.006 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:11 -0400 (0:00:00.017) 0:00:08.023 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:11 -0400 (0:00:00.015) 0:00:08.039 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003324", "end": "2024-08-03 08:46:12.009140", "rc": 0, "start": "2024-08-03 08:46:12.005816" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:12 -0400 (0:00:00.328) 0:00:08.367 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:12 -0400 (0:00:00.015) 0:00:08.382 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:46:12 -0400 (0:00:00.015) 0:00:08.398 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:46:12 -0400 (0:00:00.630) 0:00:09.029 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:46:12 -0400 (0:00:00.025) 0:00:09.054 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:46:12 -0400 (0:00:00.013) 0:00:09.067 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.011463", "end": "2024-08-03 08:46:13.049942", "rc": 0, "start": "2024-08-03 08:46:13.038479" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.353) 0:00:09.421 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.014) 0:00:09.436 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.014) 0:00:09.450 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.013) 0:00:09.464 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.012) 0:00:09.477 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.029) 0:00:09.506 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.015) 0:00:09.522 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003283", "end": "2024-08-03 08:46:13.494540", "rc": 0, "start": "2024-08-03 08:46:13.491257" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.328) 0:00:09.851 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.016) 0:00:09.868 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.014) 0:00:09.883 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.029) 0:00:09.912 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.017) 0:00:09.930 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.321) 0:00:10.251 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.017) 0:00:10.268 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.020) 0:00:10.289 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:13 -0400 (0:00:00.015) 0:00:10.305 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:14 -0400 (0:00:00.015) 0:00:10.320 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003483", "end": "2024-08-03 08:46:14.292233", "rc": 0, "start": "2024-08-03 08:46:14.288750" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:14 -0400 (0:00:00.330) 0:00:10.650 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:14 -0400 (0:00:00.016) 0:00:10.667 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Saturday 03 August 2024 08:46:14 -0400 (0:00:00.016) 0:00:10.683 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:46:14 -0400 (0:00:00.022) 0:00:10.705 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:46:14 -0400 (0:00:00.013) 0:00:10.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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:46:14 -0400 (0:00:00.012) 0:00:10.732 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:14 -0400 (0:00:00.019) 0:00:10.751 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:14 -0400 (0:00:00.016) 0:00:10.767 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003672", "end": "2024-08-03 08:46:14.743553", "rc": 0, "start": "2024-08-03 08:46:14.739881" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:14 -0400 (0:00:00.334) 0:00:11.101 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:14 -0400 (0:00:00.016) 0:00:11.118 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:46:14 -0400 (0:00:00.016) 0:00:11.134 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.635) 0:00:11.769 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.023) 0:00:11.792 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.012) 0:00:11.805 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.013) 0:00:11.819 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.013) 0:00:11.832 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.012) 0:00:11.845 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.013) 0:00:11.859 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.012) 0:00:11.871 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.019) 0:00:11.891 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.014) 0:00:11.906 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003290", "end": "2024-08-03 08:46:15.878276", "rc": 0, "start": "2024-08-03 08:46:15.874986" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.331) 0:00:12.237 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.016) 0:00:12.254 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.016) 0:00:12.270 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.021) 0:00:12.291 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:46:15 -0400 (0:00:00.016) 0:00:12.307 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:46:16 -0400 (0:00:00.323) 0:00:12.631 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Saturday 03 August 2024 08:46:16 -0400 (0:00:00.017) 0:00:12.648 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:46:16 -0400 (0:00:00.026) 0:00:12.675 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:46:16 -0400 (0:00:00.012) 0:00:12.688 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:46:16 -0400 (0:00:00.012) 0:00:12.700 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:16 -0400 (0:00:00.017) 0:00:12.717 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:16 -0400 (0:00:00.015) 0:00:12.733 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003267", "end": "2024-08-03 08:46:16.702877", "rc": 0, "start": "2024-08-03 08:46:16.699610" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:16 -0400 (0:00:00.329) 0:00:13.062 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:16 -0400 (0:00:00.016) 0:00:13.079 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:46:16 -0400 (0:00:00.016) 0:00:13.095 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:46:17 -0400 (0:00:00.632) 0:00:13.728 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:46:17 -0400 (0:00:00.024) 0:00:13.752 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:46:17 -0400 (0:00:00.013) 0:00:13.766 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:46:17 -0400 (0:00:00.014) 0:00:13.781 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.005518", "end": "2024-08-03 08:46:17.756252", "rc": 0, "start": "2024-08-03 08:46:17.750734" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:46:17 -0400 (0:00:00.343) 0:00:14.124 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:46:17 -0400 (0:00:00.014) 0:00:14.139 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:46:17 -0400 (0:00:00.014) 0:00:14.153 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Saturday 03 August 2024 08:46:17 -0400 (0:00:00.013) 0:00:14.167 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:17 -0400 (0:00:00.025) 0:00:14.193 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:17 -0400 (0:00:00.017) 0:00:14.210 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003572", "end": "2024-08-03 08:46:18.182082", "rc": 0, "start": "2024-08-03 08:46:18.178510" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:18 -0400 (0:00:00.330) 0:00:14.540 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:18 -0400 (0:00:00.016) 0:00:14.556 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Saturday 03 August 2024 08:46:18 -0400 (0:00:00.015) 0:00:14.572 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:46:18 -0400 (0:00:00.027) 0:00:14.599 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:46:18 -0400 (0:00:00.040) 0:00:14.639 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689177.7539628, "block_size": 4096, "blocks": 0, "ctime": 1722689177.7539628, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38259, "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": 1722689177.7539628, "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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:46:18 -0400 (0:00:00.326) 0:00:14.966 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Saturday 03 August 2024 08:46:18 -0400 (0:00:00.018) 0:00:14.984 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:46:18 -0400 (0:00:00.032) 0:00:15.017 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:46:18 -0400 (0:00:00.013) 0:00:15.031 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:46:18 -0400 (0:00:00.013) 0:00:15.044 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:18 -0400 (0:00:00.017) 0:00:15.062 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:18 -0400 (0:00:00.016) 0:00:15.079 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003242", "end": "2024-08-03 08:46:19.050066", "rc": 0, "start": "2024-08-03 08:46:19.046824" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:19 -0400 (0:00:00.327) 0:00:15.406 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:19 -0400 (0:00:00.016) 0:00:15.423 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:46:19 -0400 (0:00:00.015) 0:00:15.438 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:46:19 -0400 (0:00:00.722) 0:00:16.161 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:46:19 -0400 (0:00:00.023) 0:00:16.184 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:46:19 -0400 (0:00:00.018) 0:00:16.203 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:46:19 -0400 (0:00:00.014) 0:00:16.218 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:46:19 -0400 (0:00:00.015) 0:00:16.234 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006684", "end": "2024-08-03 08:46:20.211979", "rc": 0, "start": "2024-08-03 08:46:20.205295" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:46:20 -0400 (0:00:00.336) 0:00:16.570 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:46:20 -0400 (0:00:00.015) 0:00:16.586 ******* 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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Saturday 03 August 2024 08:46:20 -0400 (0:00:00.014) 0:00:16.600 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:46:20 -0400 (0:00:00.031) 0:00:16.631 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:46:20 -0400 (0:00:00.017) 0:00:16.649 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003330", "end": "2024-08-03 08:46:20.626056", "rc": 0, "start": "2024-08-03 08:46:20.622726" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:46:20 -0400 (0:00:00.334) 0:00:16.983 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:46:20 -0400 (0:00:00.017) 0:00:17.000 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Saturday 03 August 2024 08:46:20 -0400 (0:00:00.016) 0:00:17.017 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Saturday 03 August 2024 08:46:20 -0400 (0:00:00.031) 0:00:17.048 ******* included: /tmp/tmp.0iFxjfmP4M/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.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:46:20 -0400 (0:00:00.020) 0:00:17.068 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Saturday 03 August 2024 08:46:21 -0400 (0:00:00.328) 0:00:17.397 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Saturday 03 August 2024 08:46:21 -0400 (0:00:00.025) 0:00:17.422 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.01s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.73s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.72s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.64s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.63s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.63s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.63s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.48s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.40s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Delete veth interface veth1298 ------------------------------------------ 0.35s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Set up veth as managed by NetworkManager -------------------------------- 0.35s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.34s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Delete dummy interface dummy1298 ---------------------------------------- 0.34s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.33s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.33s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.33s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.33s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.33s /tmp/tmp.0iFxjfmP4M/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3