[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.Vsr9byAk6N executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/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.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Sunday 04 August 2024 17:01:07 -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.9, 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Sunday 04 August 2024 17:01:09 -0400 (0:00:01.108) 0:00:01.133 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 17:01:09 -0400 (0:00:00.018) 0:00:01.152 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 17:01:09 -0400 (0:00:00.521) 0:00:01.673 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 17:01:09 -0400 (0:00:00.436) 0:00:02.109 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.020) 0:00:02.130 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.013) 0:00:02.144 ********* included: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.039) 0:00:02.184 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.012) 0:00:02.196 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.012) 0:00:02.209 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.011) 0:00:02.221 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.013) 0:00:02.234 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.012) 0:00:02.246 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.019) 0:00:02.266 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.016) 0:00:02.283 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.015) 0:00:02.298 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003458", "end": "2024-08-04 17:01:10.566476", "rc": 0, "start": "2024-08-04 17:01:10.563018" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.435) 0:00:02.733 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.015) 0:00:02.749 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.015) 0:00:02.764 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.023) 0:00:02.788 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.012) 0:00:02.800 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.012) 0:00:02.813 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.017) 0:00:02.830 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:10 -0400 (0:00:00.015) 0:00:02.845 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003597", "end": "2024-08-04 17:01:11.033270", "rc": 0, "start": "2024-08-04 17:01:11.029673" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:11 -0400 (0:00:00.355) 0:00:03.201 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:11 -0400 (0:00:00.016) 0:00:03.217 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:01:11 -0400 (0:00:00.016) 0:00:03.234 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:01:12 -0400 (0:00:01.032) 0:00:04.266 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.021) 0:00:04.288 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.013) 0:00:04.302 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.013) 0:00:04.315 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.014) 0:00:04.330 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.013) 0:00:04.343 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.013) 0:00:04.356 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.012) 0:00:04.369 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.021) 0:00:04.390 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.015) 0:00:04.406 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003497", "end": "2024-08-04 17:01:12.592093", "rc": 0, "start": "2024-08-04 17:01:12.588596" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.353) 0:00:04.759 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.016) 0:00:04.775 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.015) 0:00:04.791 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.021) 0:00:04.813 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:01:12 -0400 (0:00:00.017) 0:00:04.830 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:01:13 -0400 (0:00:00.349) 0:00:05.179 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Sunday 04 August 2024 17:01:13 -0400 (0:00:00.016) 0:00:05.196 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:01:13 -0400 (0:00:00.027) 0:00:05.224 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:01:13 -0400 (0:00:00.013) 0:00:05.237 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:01:13 -0400 (0:00:00.012) 0:00:05.250 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:13 -0400 (0:00:00.017) 0:00:05.267 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:13 -0400 (0:00:00.015) 0:00:05.283 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003402", "end": "2024-08-04 17:01:13.466822", "rc": 0, "start": "2024-08-04 17:01:13.463420" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:13 -0400 (0:00:00.349) 0:00:05.632 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:13 -0400 (0:00:00.016) 0:00:05.649 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:01:13 -0400 (0:00:00.016) 0:00:05.665 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:01:14 -0400 (0:00:00.926) 0:00:06.592 ********* 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.011666", "end": "2024-08-04 17:01:14.791213", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-04 17:01:14.779547" } 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.003722", "end": "2024-08-04 17:01:15.161503", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-04 17:01:15.157781" } 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.006921", "end": "2024-08-04 17:01:15.508500", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-04 17:01:15.501579" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:01:15 -0400 (0:00:01.085) 0:00:07.677 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.021382", "end": "2024-08-04 17:01:15.885580", "rc": 0, "start": "2024-08-04 17:01:15.864198" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:01:15 -0400 (0:00:00.377) 0:00:08.055 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:01:15 -0400 (0:00:00.013) 0:00:08.069 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:01:15 -0400 (0:00:00.017) 0:00:08.086 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:01:15 -0400 (0:00:00.013) 0:00:08.099 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:01:15 -0400 (0:00:00.013) 0:00:08.112 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.012) 0:00:08.125 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.025) 0:00:08.150 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.015) 0:00:08.166 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003464", "end": "2024-08-04 17:01:16.353277", "rc": 0, "start": "2024-08-04 17:01:16.349813" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.354) 0:00:08.520 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.017) 0:00:08.537 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.015) 0:00:08.553 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.026) 0:00:08.579 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.015) 0:00:08.595 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722805274.7835274, "block_size": 4096, "blocks": 0, "ctime": 1722805274.7835274, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42468, "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": 1722805274.7835274, "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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.350) 0:00:08.946 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.016) 0:00:08.963 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.033) 0:00:08.996 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.013) 0:00:09.009 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.012) 0:00:09.022 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.017) 0:00:09.039 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:16 -0400 (0:00:00.015) 0:00:09.055 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003439", "end": "2024-08-04 17:01:17.239101", "rc": 0, "start": "2024-08-04 17:01:17.235662" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:17 -0400 (0:00:00.350) 0:00:09.406 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:17 -0400 (0:00:00.017) 0:00:09.423 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:01:17 -0400 (0:00:00.015) 0:00:09.439 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:01:18 -0400 (0:00:00.917) 0:00:10.356 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:01:18 -0400 (0:00:00.023) 0:00:10.379 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:01:18 -0400 (0:00:00.013) 0:00:10.393 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.007276", "end": "2024-08-04 17:01:18.589604", "rc": 0, "start": "2024-08-04 17:01:18.582328" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:01:18 -0400 (0:00:00.375) 0:00:10.768 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:01:18 -0400 (0:00:00.014) 0:00:10.782 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:01:18 -0400 (0:00:00.014) 0:00:10.796 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:01:18 -0400 (0:00:00.014) 0:00:10.811 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Sunday 04 August 2024 17:01:18 -0400 (0:00:00.013) 0:00:10.824 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:18 -0400 (0:00:00.032) 0:00:10.857 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:18 -0400 (0:00:00.016) 0:00:10.874 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003480", "end": "2024-08-04 17:01:19.057656", "rc": 0, "start": "2024-08-04 17:01:19.054176" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:19 -0400 (0:00:00.350) 0:00:11.225 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:19 -0400 (0:00:00.016) 0:00:11.241 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Sunday 04 August 2024 17:01:19 -0400 (0:00:00.016) 0:00:11.257 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:01:19 -0400 (0:00:00.030) 0:00:11.288 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:01:19 -0400 (0:00:00.016) 0:00:11.305 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:01:19 -0400 (0:00:00.347) 0:00:11.652 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Sunday 04 August 2024 17:01:19 -0400 (0:00:00.017) 0:00:11.669 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Sunday 04 August 2024 17:01:19 -0400 (0:00:00.021) 0:00:11.691 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:19 -0400 (0:00:00.018) 0:00:11.709 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:19 -0400 (0:00:00.016) 0:00:11.725 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003538", "end": "2024-08-04 17:01:19.909563", "rc": 0, "start": "2024-08-04 17:01:19.906025" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:19 -0400 (0:00:00.351) 0:00:12.077 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:19 -0400 (0:00:00.016) 0:00:12.094 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Sunday 04 August 2024 17:01:19 -0400 (0:00:00.016) 0:00:12.110 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:01:20 -0400 (0:00:00.022) 0:00:12.133 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:01:20 -0400 (0:00:00.012) 0:00:12.145 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:01:20 -0400 (0:00:00.012) 0:00:12.158 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:20 -0400 (0:00:00.018) 0:00:12.176 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:20 -0400 (0:00:00.016) 0:00:12.193 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003460", "end": "2024-08-04 17:01:20.377370", "rc": 0, "start": "2024-08-04 17:01:20.373910" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:20 -0400 (0:00:00.351) 0:00:12.544 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:20 -0400 (0:00:00.016) 0:00:12.561 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:01:20 -0400 (0:00:00.016) 0:00:12.578 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.922) 0:00:13.500 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.024) 0:00:13.524 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.015) 0:00:13.540 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.014) 0:00:13.554 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.014) 0:00:13.568 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.014) 0:00:13.583 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.014) 0:00:13.597 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.013) 0:00:13.610 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.021) 0:00:13.631 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.016) 0:00:13.648 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003546", "end": "2024-08-04 17:01:21.835706", "rc": 0, "start": "2024-08-04 17:01:21.832160" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.356) 0:00:14.004 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.017) 0:00:14.022 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.016) 0:00:14.038 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.022) 0:00:14.060 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:01:21 -0400 (0:00:00.016) 0:00:14.076 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:01:22 -0400 (0:00:00.349) 0:00:14.426 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Sunday 04 August 2024 17:01:22 -0400 (0:00:00.017) 0:00:14.443 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:01:22 -0400 (0:00:00.029) 0:00:14.472 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:01:22 -0400 (0:00:00.014) 0:00:14.487 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:01:22 -0400 (0:00:00.013) 0:00:14.500 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:22 -0400 (0:00:00.018) 0:00:14.519 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:22 -0400 (0:00:00.016) 0:00:14.535 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003417", "end": "2024-08-04 17:01:22.724598", "rc": 0, "start": "2024-08-04 17:01:22.721181" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:22 -0400 (0:00:00.355) 0:00:14.891 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:22 -0400 (0:00:00.017) 0:00:14.909 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:01:22 -0400 (0:00:00.016) 0:00:14.926 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:01:23 -0400 (0:00:00.926) 0:00:15.852 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:01:23 -0400 (0:00:00.024) 0:00:15.877 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:01:23 -0400 (0:00:00.014) 0:00:15.891 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:01:23 -0400 (0:00:00.014) 0:00:15.905 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007303", "end": "2024-08-04 17:01:24.096955", "rc": 0, "start": "2024-08-04 17:01:24.089652" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:01:24 -0400 (0:00:00.365) 0:00:16.271 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:01:24 -0400 (0:00:00.014) 0:00:16.286 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:01:24 -0400 (0:00:00.013) 0:00:16.300 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Sunday 04 August 2024 17:01:24 -0400 (0:00:00.013) 0:00:16.313 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:24 -0400 (0:00:00.027) 0:00:16.341 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:24 -0400 (0:00:00.016) 0:00:16.358 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003583", "end": "2024-08-04 17:01:24.546679", "rc": 0, "start": "2024-08-04 17:01:24.543096" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:24 -0400 (0:00:00.355) 0:00:16.713 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:24 -0400 (0:00:00.017) 0:00:16.731 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Sunday 04 August 2024 17:01:24 -0400 (0:00:00.016) 0:00:16.747 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Sunday 04 August 2024 17:01:24 -0400 (0:00:00.026) 0:00:16.774 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:01:24 -0400 (0:00:00.016) 0:00:16.791 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722805284.0929155, "block_size": 4096, "blocks": 0, "ctime": 1722805284.0929155, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42761, "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": 1722805284.0929155, "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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Sunday 04 August 2024 17:01:25 -0400 (0:00:00.351) 0:00:17.143 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Sunday 04 August 2024 17:01:25 -0400 (0:00:00.017) 0:00:17.160 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:01:25 -0400 (0:00:00.032) 0:00:17.193 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:01:25 -0400 (0:00:00.013) 0:00:17.206 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:01:25 -0400 (0:00:00.013) 0:00:17.220 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:25 -0400 (0:00:00.020) 0:00:17.240 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:25 -0400 (0:00:00.039) 0:00:17.279 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003483", "end": "2024-08-04 17:01:25.467244", "rc": 0, "start": "2024-08-04 17:01:25.463761" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:25 -0400 (0:00:00.354) 0:00:17.633 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:25 -0400 (0:00:00.016) 0:00:17.650 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:01:25 -0400 (0:00:00.017) 0:00:17.668 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:01:26 -0400 (0:00:00.926) 0:00:18.594 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:01:26 -0400 (0:00:00.024) 0:00:18.619 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:01:26 -0400 (0:00:00.015) 0:00:18.634 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:01:26 -0400 (0:00:00.014) 0:00:18.648 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:01:26 -0400 (0:00:00.014) 0:00:18.662 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.005801", "end": "2024-08-04 17:01:26.854464", "rc": 0, "start": "2024-08-04 17:01:26.848663" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:01:26 -0400 (0:00:00.359) 0:00:19.022 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:01:26 -0400 (0:00:00.014) 0:00:19.037 ********* 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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Sunday 04 August 2024 17:01:26 -0400 (0:00:00.014) 0:00:19.051 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:01:26 -0400 (0:00:00.031) 0:00:19.083 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:01:26 -0400 (0:00:00.017) 0:00:19.100 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003570", "end": "2024-08-04 17:01:27.283637", "rc": 0, "start": "2024-08-04 17:01:27.280067" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:01:27 -0400 (0:00:00.351) 0:00:19.451 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:01:27 -0400 (0:00:00.018) 0:00:19.470 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Sunday 04 August 2024 17:01:27 -0400 (0:00:00.016) 0:00:19.486 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 17:01:27 -0400 (0:00:00.032) 0:00:19.519 ********* included: /tmp/tmp.Vsr9byAk6N/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.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:01:27 -0400 (0:00:00.017) 0:00:19.536 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 17:01:27 -0400 (0:00:00.352) 0:00:19.889 ********* 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:27 -0400 (0:00:00.025) 0:00:19.915 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.09s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 1.03s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.93s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.93s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.93s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.92s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.92s /tmp/tmp.Vsr9byAk6N/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.52s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.44s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.44s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.38s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Delete veth interface veth1298 ------------------------------------------ 0.38s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Create dummy interface dummy1298 ---------------------------------------- 0.37s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Delete dummy interface dummy1298 ---------------------------------------- 0.36s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.36s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.35s /tmp/tmp.Vsr9byAk6N/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3