[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.1xm9hqp5Tz 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.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Sunday 04 August 2024 17:01:39 -0400 (0:00:00.026) 0:00:00.026 ********* [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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Sunday 04 August 2024 17:01:40 -0400 (0:00:01.264) 0:00:01.290 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 17:01:40 -0400 (0:00:00.020) 0:00:01.311 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 17:01:41 -0400 (0:00:00.555) 0:00:01.867 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 17:01:41 -0400 (0:00:00.467) 0:00:02.334 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 17:01:41 -0400 (0:00:00.026) 0:00:02.361 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 17:01:41 -0400 (0:00:00.018) 0:00:02.380 ********* included: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Sunday 04 August 2024 17:01:41 -0400 (0:00:00.048) 0:00:02.429 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Sunday 04 August 2024 17:01:41 -0400 (0:00:00.014) 0:00:02.443 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Sunday 04 August 2024 17:01:41 -0400 (0:00:00.013) 0:00:02.456 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Sunday 04 August 2024 17:01:41 -0400 (0:00:00.013) 0:00:02.470 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Sunday 04 August 2024 17:01:41 -0400 (0:00:00.015) 0:00:02.486 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Sunday 04 August 2024 17:01:41 -0400 (0:00:00.013) 0:00:02.499 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Sunday 04 August 2024 17:01:41 -0400 (0:00:00.018) 0:00:02.518 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:41 -0400 (0:00:00.017) 0:00:02.535 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:41 -0400 (0:00:00.018) 0:00:02.554 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003685", "end": "2024-08-04 17:01:42.328263", "rc": 0, "start": "2024-08-04 17:01:42.324578" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:42 -0400 (0:00:00.458) 0:00:03.013 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:42 -0400 (0:00:00.017) 0:00:03.030 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Sunday 04 August 2024 17:01:42 -0400 (0:00:00.015) 0:00:03.046 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:01:42 -0400 (0:00:00.026) 0:00:03.072 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:01:42 -0400 (0:00:00.013) 0:00:03.086 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:01:42 -0400 (0:00:00.011) 0:00:03.098 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:42 -0400 (0:00:00.020) 0:00:03.118 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:42 -0400 (0:00:00.016) 0:00:03.135 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003805", "end": "2024-08-04 17:01:42.832838", "rc": 0, "start": "2024-08-04 17:01:42.829033" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:42 -0400 (0:00:00.382) 0:00:03.518 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:42 -0400 (0:00:00.016) 0:00:03.534 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:01:42 -0400 (0:00:00.015) 0:00:03.550 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:01:43 -0400 (0:00:00.854) 0:00:04.405 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:01:43 -0400 (0:00:00.024) 0:00:04.429 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:01:43 -0400 (0:00:00.013) 0:00:04.443 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:01:43 -0400 (0:00:00.013) 0:00:04.456 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:01:43 -0400 (0:00:00.018) 0:00:04.474 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:01:43 -0400 (0:00:00.016) 0:00:04.491 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:01:43 -0400 (0:00:00.017) 0:00:04.508 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Sunday 04 August 2024 17:01:43 -0400 (0:00:00.017) 0:00:04.526 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:43 -0400 (0:00:00.021) 0:00:04.548 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:43 -0400 (0:00:00.016) 0:00:04.564 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003642", "end": "2024-08-04 17:01:44.274146", "rc": 0, "start": "2024-08-04 17:01:44.270504" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:44 -0400 (0:00:00.397) 0:00:04.961 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:44 -0400 (0:00:00.016) 0:00:04.978 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Sunday 04 August 2024 17:01:44 -0400 (0:00:00.016) 0:00:04.994 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:01:44 -0400 (0:00:00.021) 0:00:05.016 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:01:44 -0400 (0:00:00.016) 0:00:05.032 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:01:44 -0400 (0:00:00.373) 0:00:05.406 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Sunday 04 August 2024 17:01:44 -0400 (0:00:00.021) 0:00:05.427 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:01:44 -0400 (0:00:00.029) 0:00:05.457 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:01:44 -0400 (0:00:00.013) 0:00:05.470 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:01:44 -0400 (0:00:00.013) 0:00:05.484 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:44 -0400 (0:00:00.020) 0:00:05.505 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:44 -0400 (0:00:00.018) 0:00:05.524 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003491", "end": "2024-08-04 17:01:45.227291", "rc": 0, "start": "2024-08-04 17:01:45.223800" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:45 -0400 (0:00:00.388) 0:00:05.912 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:45 -0400 (0:00:00.017) 0:00:05.930 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:01:45 -0400 (0:00:00.018) 0:00:05.949 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:01:46 -0400 (0:00:00.716) 0:00:06.666 ********* 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.006005", "end": "2024-08-04 17:01:46.361711", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-04 17:01:46.355706" } 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.003728", "end": "2024-08-04 17:01:46.756565", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-04 17:01:46.752837" } 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.004230", "end": "2024-08-04 17:01:47.109674", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-04 17:01:47.105444" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:01:47 -0400 (0:00:01.128) 0:00:07.794 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.019758", "end": "2024-08-04 17:01:47.505216", "rc": 0, "start": "2024-08-04 17:01:47.485458" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:01:47 -0400 (0:00:00.396) 0:00:08.191 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:01:47 -0400 (0:00:00.014) 0:00:08.206 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:01:47 -0400 (0:00:00.014) 0:00:08.220 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:01:47 -0400 (0:00:00.014) 0:00:08.235 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:01:47 -0400 (0:00:00.016) 0:00:08.251 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Sunday 04 August 2024 17:01:47 -0400 (0:00:00.013) 0:00:08.264 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:47 -0400 (0:00:00.026) 0:00:08.290 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:47 -0400 (0:00:00.023) 0:00:08.314 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003519", "end": "2024-08-04 17:01:48.004635", "rc": 0, "start": "2024-08-04 17:01:48.001116" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:48 -0400 (0:00:00.376) 0:00:08.690 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:48 -0400 (0:00:00.017) 0:00:08.707 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Sunday 04 August 2024 17:01:48 -0400 (0:00:00.017) 0:00:08.725 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Sunday 04 August 2024 17:01:48 -0400 (0:00:00.029) 0:00:08.754 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:01:48 -0400 (0:00:00.016) 0:00:08.771 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722805306.3594902, "block_size": 4096, "blocks": 0, "ctime": 1722805306.3594902, "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": 1722805306.3594902, "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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Sunday 04 August 2024 17:01:48 -0400 (0:00:00.379) 0:00:09.150 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Sunday 04 August 2024 17:01:48 -0400 (0:00:00.018) 0:00:09.169 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:01:48 -0400 (0:00:00.035) 0:00:09.204 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:01:48 -0400 (0:00:00.014) 0:00:09.219 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:01:48 -0400 (0:00:00.013) 0:00:09.233 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:48 -0400 (0:00:00.028) 0:00:09.261 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:48 -0400 (0:00:00.016) 0:00:09.278 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003392", "end": "2024-08-04 17:01:48.969509", "rc": 0, "start": "2024-08-04 17:01:48.966117" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:49 -0400 (0:00:00.378) 0:00:09.656 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:49 -0400 (0:00:00.017) 0:00:09.674 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:01:49 -0400 (0:00:00.018) 0:00:09.692 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:01:49 -0400 (0:00:00.751) 0:00:10.444 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:01:49 -0400 (0:00:00.030) 0:00:10.474 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:01:49 -0400 (0:00:00.014) 0:00:10.488 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010266", "end": "2024-08-04 17:01:50.193943", "rc": 0, "start": "2024-08-04 17:01:50.183677" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:01:50 -0400 (0:00:00.407) 0:00:10.896 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:01:50 -0400 (0:00:00.015) 0:00:10.911 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:01:50 -0400 (0:00:00.015) 0:00:10.927 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:01:50 -0400 (0:00:00.015) 0:00:10.943 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Sunday 04 August 2024 17:01:50 -0400 (0:00:00.014) 0:00:10.957 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:50 -0400 (0:00:00.031) 0:00:10.989 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:50 -0400 (0:00:00.023) 0:00:11.012 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003730", "end": "2024-08-04 17:01:50.717492", "rc": 0, "start": "2024-08-04 17:01:50.713762" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:50 -0400 (0:00:00.387) 0:00:11.400 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:50 -0400 (0:00:00.017) 0:00:11.418 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Sunday 04 August 2024 17:01:50 -0400 (0:00:00.015) 0:00:11.435 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:01:50 -0400 (0:00:00.030) 0:00:11.466 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:01:50 -0400 (0:00:00.019) 0:00:11.486 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:01:51 -0400 (0:00:00.388) 0:00:11.874 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Sunday 04 August 2024 17:01:51 -0400 (0:00:00.018) 0:00:11.892 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Sunday 04 August 2024 17:01:51 -0400 (0:00:00.022) 0:00:11.915 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:51 -0400 (0:00:00.017) 0:00:11.932 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:51 -0400 (0:00:00.016) 0:00:11.948 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003313", "end": "2024-08-04 17:01:51.633236", "rc": 0, "start": "2024-08-04 17:01:51.629923" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:51 -0400 (0:00:00.373) 0:00:12.322 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:51 -0400 (0:00:00.016) 0:00:12.339 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Sunday 04 August 2024 17:01:51 -0400 (0:00:00.015) 0:00:12.355 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:01:51 -0400 (0:00:00.025) 0:00:12.381 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:01:51 -0400 (0:00:00.014) 0:00:12.395 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:01:51 -0400 (0:00:00.017) 0:00:12.413 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:51 -0400 (0:00:00.023) 0:00:12.436 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:51 -0400 (0:00:00.018) 0:00:12.455 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003753", "end": "2024-08-04 17:01:52.149339", "rc": 0, "start": "2024-08-04 17:01:52.145586" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:52 -0400 (0:00:00.385) 0:00:12.840 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:52 -0400 (0:00:00.017) 0:00:12.858 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:01:52 -0400 (0:00:00.018) 0:00:12.876 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:01:52 -0400 (0:00:00.733) 0:00:13.609 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.025) 0:00:13.634 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.015) 0:00:13.650 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.015) 0:00:13.665 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.014) 0:00:13.679 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.014) 0:00:13.693 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.015) 0:00:13.709 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.013) 0:00:13.723 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.020) 0:00:13.743 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.018) 0:00:13.762 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003692", "end": "2024-08-04 17:01:53.450214", "rc": 0, "start": "2024-08-04 17:01:53.446522" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.380) 0:00:14.142 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.017) 0:00:14.160 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.017) 0:00:14.177 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.022) 0:00:14.200 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.016) 0:00:14.217 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.367) 0:00:14.584 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Sunday 04 August 2024 17:01:53 -0400 (0:00:00.025) 0:00:14.610 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:01:54 -0400 (0:00:00.030) 0:00:14.640 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:01:54 -0400 (0:00:00.013) 0:00:14.653 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:01:54 -0400 (0:00:00.015) 0:00:14.668 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:54 -0400 (0:00:00.018) 0:00:14.687 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:54 -0400 (0:00:00.016) 0:00:14.704 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003521", "end": "2024-08-04 17:01:54.395197", "rc": 0, "start": "2024-08-04 17:01:54.391676" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:54 -0400 (0:00:00.376) 0:00:15.081 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:54 -0400 (0:00:00.024) 0:00:15.105 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:01:54 -0400 (0:00:00.020) 0:00:15.126 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:01:55 -0400 (0:00:00.746) 0:00:15.872 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:01:55 -0400 (0:00:00.025) 0:00:15.897 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:01:55 -0400 (0:00:00.015) 0:00:15.913 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:01:55 -0400 (0:00:00.018) 0:00:15.932 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.004052", "end": "2024-08-04 17:01:55.637579", "rc": 0, "start": "2024-08-04 17:01:55.633527" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:01:55 -0400 (0:00:00.404) 0:00:16.337 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:01:55 -0400 (0:00:00.015) 0:00:16.353 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:01:55 -0400 (0:00:00.015) 0:00:16.368 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Sunday 04 August 2024 17:01:55 -0400 (0:00:00.018) 0:00:16.386 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:55 -0400 (0:00:00.028) 0:00:16.414 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:55 -0400 (0:00:00.016) 0:00:16.431 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003562", "end": "2024-08-04 17:01:56.130027", "rc": 0, "start": "2024-08-04 17:01:56.126465" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:56 -0400 (0:00:00.386) 0:00:16.817 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:56 -0400 (0:00:00.017) 0:00:16.835 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Sunday 04 August 2024 17:01:56 -0400 (0:00:00.017) 0:00:16.852 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Sunday 04 August 2024 17:01:56 -0400 (0:00:00.028) 0:00:16.881 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:01:56 -0400 (0:00:00.041) 0:00:16.922 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722805315.6369872, "block_size": 4096, "blocks": 0, "ctime": 1722805315.6369872, "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": 1722805315.6369872, "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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Sunday 04 August 2024 17:01:56 -0400 (0:00:00.388) 0:00:17.311 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Sunday 04 August 2024 17:01:56 -0400 (0:00:00.025) 0:00:17.336 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:01:56 -0400 (0:00:00.035) 0:00:17.371 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:01:56 -0400 (0:00:00.013) 0:00:17.385 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:01:56 -0400 (0:00:00.013) 0:00:17.399 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:56 -0400 (0:00:00.018) 0:00:17.417 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:56 -0400 (0:00:00.021) 0:00:17.438 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003785", "end": "2024-08-04 17:01:57.134701", "rc": 0, "start": "2024-08-04 17:01:57.130916" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:57 -0400 (0:00:00.382) 0:00:17.821 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:57 -0400 (0:00:00.018) 0:00:17.840 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:01:57 -0400 (0:00:00.021) 0:00:17.861 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:01:57 -0400 (0:00:00.757) 0:00:18.618 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:01:58 -0400 (0:00:00.026) 0:00:18.645 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:01:58 -0400 (0:00:00.018) 0:00:18.664 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:01:58 -0400 (0:00:00.015) 0:00:18.679 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:01:58 -0400 (0:00:00.015) 0:00:18.695 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006791", "end": "2024-08-04 17:01:58.408527", "rc": 0, "start": "2024-08-04 17:01:58.401736" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:01:58 -0400 (0:00:00.402) 0:00:19.097 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:01:58 -0400 (0:00:00.015) 0:00:19.113 ********* 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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Sunday 04 August 2024 17:01:58 -0400 (0:00:00.014) 0:00:19.127 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:58 -0400 (0:00:00.032) 0:00:19.159 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:58 -0400 (0:00:00.016) 0:00:19.176 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003687", "end": "2024-08-04 17:01:58.872895", "rc": 0, "start": "2024-08-04 17:01:58.869208" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:58 -0400 (0:00:00.384) 0:00:19.561 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:58 -0400 (0:00:00.018) 0:00:19.580 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Sunday 04 August 2024 17:01:58 -0400 (0:00:00.018) 0:00:19.598 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:01:59 -0400 (0:00:00.031) 0:00:19.629 ********* included: /tmp/tmp.1xm9hqp5Tz/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.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:01:59 -0400 (0:00:00.020) 0:00:19.649 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:01:59 -0400 (0:00:00.387) 0:00:20.037 ********* 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 Sunday 04 August 2024 17:01:59 -0400 (0:00:00.033) 0:00:20.071 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.26s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.13s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.85s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.76s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.75s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.75s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.73s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.72s /tmp/tmp.1xm9hqp5Tz/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.56s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.47s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.46s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.41s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Create dummy interface dummy1298 ---------------------------------------- 0.40s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Delete dummy interface dummy1298 ---------------------------------------- 0.40s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.40s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.40s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Get stat for interface veth1298 ----------------------------------------- 0.39s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.39s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/tmp.1xm9hqp5Tz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3