ansible-playbook [core 2.17.5] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-1lz executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/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/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Monday 21 October 2024 09:08:52 -0400 (0:00:00.082) 0:00:00.083 ******** [WARNING]: Platform linux on host managed-node2 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-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Monday 21 October 2024 09:08:53 -0400 (0:00:01.319) 0:00:01.402 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 21 October 2024 09:08:53 -0400 (0:00:00.041) 0:00:01.443 ******** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 21 October 2024 09:08:54 -0400 (0:00:00.490) 0:00:01.934 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 21 October 2024 09:08:54 -0400 (0:00:00.443) 0:00:02.377 ******** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 21 October 2024 09:08:54 -0400 (0:00:00.038) 0:00:02.416 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 21 October 2024 09:08:54 -0400 (0:00:00.027) 0:00:02.443 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 21 October 2024 09:08:54 -0400 (0:00:00.064) 0:00:02.507 ******** skipping: [managed-node2] => { "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/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 21 October 2024 09:08:54 -0400 (0:00:00.050) 0:00:02.558 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 21 October 2024 09:08:54 -0400 (0:00:00.025) 0:00:02.583 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 21 October 2024 09:08:54 -0400 (0:00:00.019) 0:00:02.602 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 21 October 2024 09:08:54 -0400 (0:00:00.036) 0:00:02.638 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Monday 21 October 2024 09:08:54 -0400 (0:00:00.023) 0:00:02.662 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node2 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Monday 21 October 2024 09:08:54 -0400 (0:00:00.028) 0:00:02.691 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:08:54 -0400 (0:00:00.036) 0:00:02.727 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:08:55 -0400 (0:00:00.042) 0:00:02.770 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003245", "end": "2024-10-21 09:08:55.481321", "rc": 0, "start": "2024-10-21 09:08:55.478076" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:08:55 -0400 (0:00:00.496) 0:00:03.266 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:08:55 -0400 (0:00:00.016) 0:00:03.283 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Monday 21 October 2024 09:08:55 -0400 (0:00:00.017) 0:00:03.301 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 09:08:55 -0400 (0:00:00.023) 0:00:03.324 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 09:08:55 -0400 (0:00:00.012) 0:00:03.336 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 09:08:55 -0400 (0:00:00.011) 0:00:03.347 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:08:55 -0400 (0:00:00.019) 0:00:03.367 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:08:55 -0400 (0:00:00.017) 0:00:03.384 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003258", "end": "2024-10-21 09:08:55.942641", "rc": 0, "start": "2024-10-21 09:08:55.939383" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:08:55 -0400 (0:00:00.347) 0:00:03.731 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:08:56 -0400 (0:00:00.024) 0:00:03.755 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 09:08:56 -0400 (0:00:00.025) 0:00:03.781 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 09:08:56 -0400 (0:00:00.757) 0:00:04.539 ******** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 09:08:56 -0400 (0:00:00.073) 0:00:04.613 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 09:08:56 -0400 (0:00:00.048) 0:00:04.661 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 09:08:56 -0400 (0:00:00.044) 0:00:04.705 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 09:08:57 -0400 (0:00:00.035) 0:00:04.741 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 09:08:57 -0400 (0:00:00.037) 0:00:04.779 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 09:08:57 -0400 (0:00:00.036) 0:00:04.816 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Monday 21 October 2024 09:08:57 -0400 (0:00:00.027) 0:00:04.843 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:08:57 -0400 (0:00:00.052) 0:00:04.895 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:08:57 -0400 (0:00:00.027) 0:00:04.923 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003470", "end": "2024-10-21 09:08:57.479130", "rc": 0, "start": "2024-10-21 09:08:57.475660" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:08:57 -0400 (0:00:00.338) 0:00:05.261 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:08:57 -0400 (0:00:00.015) 0:00:05.276 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Monday 21 October 2024 09:08:57 -0400 (0:00:00.014) 0:00:05.291 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:08:57 -0400 (0:00:00.020) 0:00:05.311 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:08:57 -0400 (0:00:00.016) 0:00:05.328 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:08:57 -0400 (0:00:00.312) 0:00:05.641 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Monday 21 October 2024 09:08:57 -0400 (0:00:00.017) 0:00:05.658 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 09:08:57 -0400 (0:00:00.026) 0:00:05.685 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 09:08:57 -0400 (0:00:00.012) 0:00:05.697 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 09:08:57 -0400 (0:00:00.019) 0:00:05.716 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:08:58 -0400 (0:00:00.029) 0:00:05.746 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:08:58 -0400 (0:00:00.016) 0:00:05.762 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003360", "end": "2024-10-21 09:08:58.299508", "rc": 0, "start": "2024-10-21 09:08:58.296148" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:08:58 -0400 (0:00:00.317) 0:00:06.079 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:08:58 -0400 (0:00:00.016) 0:00:06.095 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 09:08:58 -0400 (0:00:00.015) 0:00:06.111 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 09:08:59 -0400 (0:00:00.622) 0:00:06.734 ******** ok: [managed-node2] => (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.005593", "end": "2024-10-21 09:08:59.310804", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-10-21 09:08:59.305211" } ok: [managed-node2] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003679", "end": "2024-10-21 09:08:59.680347", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-10-21 09:08:59.676668" } ok: [managed-node2] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003661", "end": "2024-10-21 09:09:00.075323", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-10-21 09:09:00.071662" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 09:09:00 -0400 (0:00:01.153) 0:00:07.888 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.018702", "end": "2024-10-21 09:09:00.500841", "rc": 0, "start": "2024-10-21 09:09:00.482139" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 09:09:00 -0400 (0:00:00.405) 0:00:08.293 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 09:09:00 -0400 (0:00:00.024) 0:00:08.318 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 09:09:00 -0400 (0:00:00.038) 0:00:08.356 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 09:09:00 -0400 (0:00:00.040) 0:00:08.397 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 09:09:00 -0400 (0:00:00.032) 0:00:08.429 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Monday 21 October 2024 09:09:00 -0400 (0:00:00.036) 0:00:08.466 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:00 -0400 (0:00:00.084) 0:00:08.551 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:00 -0400 (0:00:00.045) 0:00:08.596 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003272", "end": "2024-10-21 09:09:01.209735", "rc": 0, "start": "2024-10-21 09:09:01.206463" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:01 -0400 (0:00:00.399) 0:00:08.996 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:01 -0400 (0:00:00.016) 0:00:09.012 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Monday 21 October 2024 09:09:01 -0400 (0:00:00.020) 0:00:09.033 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Monday 21 October 2024 09:09:01 -0400 (0:00:00.030) 0:00:09.063 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:09:01 -0400 (0:00:00.017) 0:00:09.081 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729516139.3092427, "block_size": 4096, "blocks": 0, "ctime": 1729516139.3092427, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30231, "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": 1729516139.3092427, "nlink": 1, "path": "/sys/class/net/veth1298", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth1298'] *********************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Monday 21 October 2024 09:09:01 -0400 (0:00:00.343) 0:00:09.425 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Monday 21 October 2024 09:09:01 -0400 (0:00:00.035) 0:00:09.460 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 09:09:01 -0400 (0:00:00.104) 0:00:09.564 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 09:09:01 -0400 (0:00:00.038) 0:00:09.603 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 09:09:01 -0400 (0:00:00.037) 0:00:09.640 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:01 -0400 (0:00:00.036) 0:00:09.677 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:01 -0400 (0:00:00.049) 0:00:09.726 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003369", "end": "2024-10-21 09:09:02.335515", "rc": 0, "start": "2024-10-21 09:09:02.332146" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:02 -0400 (0:00:00.389) 0:00:10.116 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:02 -0400 (0:00:00.016) 0:00:10.132 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 09:09:02 -0400 (0:00:00.015) 0:00:10.148 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 09:09:03 -0400 (0:00:00.653) 0:00:10.802 ******** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 09:09:03 -0400 (0:00:00.027) 0:00:10.829 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 09:09:03 -0400 (0:00:00.013) 0:00:10.842 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.006073", "end": "2024-10-21 09:09:03.400490", "rc": 0, "start": "2024-10-21 09:09:03.394417" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 09:09:03 -0400 (0:00:00.355) 0:00:11.198 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 09:09:03 -0400 (0:00:00.022) 0:00:11.220 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 09:09:03 -0400 (0:00:00.014) 0:00:11.235 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 09:09:03 -0400 (0:00:00.017) 0:00:11.253 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Monday 21 October 2024 09:09:03 -0400 (0:00:00.012) 0:00:11.266 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:03 -0400 (0:00:00.037) 0:00:11.303 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:03 -0400 (0:00:00.020) 0:00:11.323 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003335", "end": "2024-10-21 09:09:03.870687", "rc": 0, "start": "2024-10-21 09:09:03.867352" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:03 -0400 (0:00:00.351) 0:00:11.675 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:03 -0400 (0:00:00.044) 0:00:11.719 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Monday 21 October 2024 09:09:04 -0400 (0:00:00.042) 0:00:11.762 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:09:04 -0400 (0:00:00.101) 0:00:11.863 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:09:04 -0400 (0:00:00.041) 0:00:11.905 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:09:04 -0400 (0:00:00.379) 0:00:12.284 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Monday 21 October 2024 09:09:04 -0400 (0:00:00.022) 0:00:12.306 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml for managed-node2 TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Monday 21 October 2024 09:09:04 -0400 (0:00:00.024) 0:00:12.331 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:04 -0400 (0:00:00.017) 0:00:12.349 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:04 -0400 (0:00:00.015) 0:00:12.364 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003246", "end": "2024-10-21 09:09:04.901498", "rc": 0, "start": "2024-10-21 09:09:04.898252" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:04 -0400 (0:00:00.316) 0:00:12.681 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:04 -0400 (0:00:00.016) 0:00:12.697 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Monday 21 October 2024 09:09:04 -0400 (0:00:00.015) 0:00:12.713 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 09:09:05 -0400 (0:00:00.022) 0:00:12.735 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 09:09:05 -0400 (0:00:00.012) 0:00:12.748 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 09:09:05 -0400 (0:00:00.012) 0:00:12.760 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:05 -0400 (0:00:00.017) 0:00:12.778 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:05 -0400 (0:00:00.015) 0:00:12.794 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003351", "end": "2024-10-21 09:09:05.335256", "rc": 0, "start": "2024-10-21 09:09:05.331905" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:05 -0400 (0:00:00.321) 0:00:13.115 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:05 -0400 (0:00:00.024) 0:00:13.140 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 09:09:05 -0400 (0:00:00.028) 0:00:13.168 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 09:09:06 -0400 (0:00:00.621) 0:00:13.790 ******** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 09:09:06 -0400 (0:00:00.023) 0:00:13.813 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 09:09:06 -0400 (0:00:00.015) 0:00:13.829 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 09:09:06 -0400 (0:00:00.015) 0:00:13.844 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 09:09:06 -0400 (0:00:00.020) 0:00:13.865 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 09:09:06 -0400 (0:00:00.023) 0:00:13.888 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 09:09:06 -0400 (0:00:00.019) 0:00:13.908 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Monday 21 October 2024 09:09:06 -0400 (0:00:00.031) 0:00:13.940 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:06 -0400 (0:00:00.056) 0:00:13.996 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:06 -0400 (0:00:00.043) 0:00:14.040 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003274", "end": "2024-10-21 09:09:06.609258", "rc": 0, "start": "2024-10-21 09:09:06.605984" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:06 -0400 (0:00:00.348) 0:00:14.389 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:06 -0400 (0:00:00.017) 0:00:14.407 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Monday 21 October 2024 09:09:06 -0400 (0:00:00.016) 0:00:14.423 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:09:06 -0400 (0:00:00.021) 0:00:14.444 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:09:06 -0400 (0:00:00.016) 0:00:14.461 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:09:07 -0400 (0:00:00.342) 0:00:14.803 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Monday 21 October 2024 09:09:07 -0400 (0:00:00.051) 0:00:14.855 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 09:09:07 -0400 (0:00:00.051) 0:00:14.907 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 09:09:07 -0400 (0:00:00.021) 0:00:14.929 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 09:09:07 -0400 (0:00:00.028) 0:00:14.958 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:07 -0400 (0:00:00.042) 0:00:15.000 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:07 -0400 (0:00:00.027) 0:00:15.028 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003283", "end": "2024-10-21 09:09:07.627195", "rc": 0, "start": "2024-10-21 09:09:07.623912" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:07 -0400 (0:00:00.400) 0:00:15.428 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:07 -0400 (0:00:00.044) 0:00:15.473 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 09:09:07 -0400 (0:00:00.048) 0:00:15.521 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 09:09:08 -0400 (0:00:00.776) 0:00:16.298 ******** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 09:09:08 -0400 (0:00:00.044) 0:00:16.342 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 09:09:08 -0400 (0:00:00.014) 0:00:16.357 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 09:09:08 -0400 (0:00:00.014) 0:00:16.371 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.131163", "end": "2024-10-21 09:09:09.037159", "rc": 0, "start": "2024-10-21 09:09:08.905996" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 09:09:09 -0400 (0:00:00.484) 0:00:16.856 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 09:09:09 -0400 (0:00:00.038) 0:00:16.895 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 09:09:09 -0400 (0:00:00.039) 0:00:16.934 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Monday 21 October 2024 09:09:09 -0400 (0:00:00.023) 0:00:16.958 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:09 -0400 (0:00:00.056) 0:00:17.014 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:09 -0400 (0:00:00.032) 0:00:17.046 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003269", "end": "2024-10-21 09:09:09.618089", "rc": 0, "start": "2024-10-21 09:09:09.614820" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:09 -0400 (0:00:00.353) 0:00:17.399 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:09 -0400 (0:00:00.016) 0:00:17.416 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Monday 21 October 2024 09:09:09 -0400 (0:00:00.015) 0:00:17.432 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Monday 21 October 2024 09:09:09 -0400 (0:00:00.028) 0:00:17.460 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:09:09 -0400 (0:00:00.017) 0:00:17.477 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729516149.0357747, "block_size": 4096, "blocks": 0, "ctime": 1729516149.0357747, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30474, "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": 1729516149.0357747, "nlink": 1, "path": "/sys/class/net/dummy1298", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'dummy1298'] ********************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Monday 21 October 2024 09:09:10 -0400 (0:00:00.361) 0:00:17.839 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Monday 21 October 2024 09:09:10 -0400 (0:00:00.030) 0:00:17.870 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 21 October 2024 09:09:10 -0400 (0:00:00.068) 0:00:17.938 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 21 October 2024 09:09:10 -0400 (0:00:00.051) 0:00:17.989 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 21 October 2024 09:09:10 -0400 (0:00:00.018) 0:00:18.008 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:10 -0400 (0:00:00.020) 0:00:18.028 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:10 -0400 (0:00:00.020) 0:00:18.049 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003188", "end": "2024-10-21 09:09:10.598319", "rc": 0, "start": "2024-10-21 09:09:10.595131" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:10 -0400 (0:00:00.337) 0:00:18.387 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:10 -0400 (0:00:00.043) 0:00:18.430 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 21 October 2024 09:09:10 -0400 (0:00:00.037) 0:00:18.467 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 21 October 2024 09:09:11 -0400 (0:00:00.700) 0:00:19.168 ******** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 21 October 2024 09:09:11 -0400 (0:00:00.038) 0:00:19.207 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 21 October 2024 09:09:11 -0400 (0:00:00.027) 0:00:19.234 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 21 October 2024 09:09:11 -0400 (0:00:00.030) 0:00:19.265 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 21 October 2024 09:09:11 -0400 (0:00:00.029) 0:00:19.295 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006325", "end": "2024-10-21 09:09:11.870310", "rc": 0, "start": "2024-10-21 09:09:11.863985" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 21 October 2024 09:09:11 -0400 (0:00:00.357) 0:00:19.652 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 21 October 2024 09:09:11 -0400 (0:00:00.019) 0:00:19.671 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Monday 21 October 2024 09:09:11 -0400 (0:00:00.014) 0:00:19.686 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:09:11 -0400 (0:00:00.035) 0:00:19.722 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:09:12 -0400 (0:00:00.015) 0:00:19.738 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003625", "end": "2024-10-21 09:09:12.279257", "rc": 0, "start": "2024-10-21 09:09:12.275632" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:09:12 -0400 (0:00:00.342) 0:00:20.080 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:09:12 -0400 (0:00:00.034) 0:00:20.115 ******** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Monday 21 October 2024 09:09:12 -0400 (0:00:00.038) 0:00:20.154 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:09:12 -0400 (0:00:00.072) 0:00:20.226 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:09:12 -0400 (0:00:00.026) 0:00:20.253 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:09:12 -0400 (0:00:00.367) 0:00:20.620 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=119 changed=0 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Monday 21 October 2024 09:09:12 -0400 (0:00:00.033) 0:00:20.653 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 1.32s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create veth interface veth1298 ------------------------------------------ 1.15s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.78s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.76s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.70s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.65s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.62s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.62s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Gather current interface info ------------------------------------------- 0.50s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 0.49s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.48s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Check if system is ostree ----------------------------------------------- 0.44s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Set up veth as managed by NetworkManager -------------------------------- 0.41s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.39s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.38s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.37s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.36s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.36s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54