[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.9] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-S3X executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_helpers_and_asserts.yml **************************************** 1 plays in /tmp/collections-S3X/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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Monday 12 August 2024 05:17:21 -0400 (0:00:00.030) 0:00:00.030 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 Monday 12 August 2024 05:17:23 -0400 (0:00:01.101) 0:00:01.132 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 12 August 2024 05:17:23 -0400 (0:00:00.021) 0:00:01.154 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 12 August 2024 05:17:23 -0400 (0:00:00.495) 0:00:01.649 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 12 August 2024 05:17:24 -0400 (0:00:00.591) 0:00:02.241 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 12 August 2024 05:17:24 -0400 (0:00:00.035) 0:00:02.277 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 12 August 2024 05:17:24 -0400 (0:00:00.021) 0:00:02.299 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 12 August 2024 05:17:24 -0400 (0:00:00.079) 0:00:02.378 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Monday 12 August 2024 05:17:25 -0400 (0:00:00.944) 0:00:03.322 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Monday 12 August 2024 05:17:25 -0400 (0:00:00.023) 0:00:03.346 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Monday 12 August 2024 05:17:25 -0400 (0:00:00.022) 0:00:03.369 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.219872", "end": "2024-08-12 05:17:26.771233", "rc": 0, "start": "2024-08-12 05:17:25.551361" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Monday 12 August 2024 05:17:26 -0400 (0:00:01.576) 0:00:04.945 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 Monday 12 August 2024 05:17:26 -0400 (0:00:00.014) 0:00:04.959 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Monday 12 August 2024 05:17:26 -0400 (0:00:00.031) 0:00:04.991 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:26 -0400 (0:00:00.030) 0:00:05.021 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:26 -0400 (0:00:00.028) 0:00:05.049 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002886", "end": "2024-08-12 05:17:27.249132", "rc": 0, "start": "2024-08-12 05:17:27.246246" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:27 -0400 (0:00:00.371) 0:00:05.421 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:27 -0400 (0:00:00.023) 0:00:05.444 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Monday 12 August 2024 05:17:27 -0400 (0:00:00.017) 0:00:05.461 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 12 August 2024 05:17:27 -0400 (0:00:00.031) 0:00:05.493 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 12 August 2024 05:17:27 -0400 (0:00:00.012) 0:00:05.506 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 12 August 2024 05:17:27 -0400 (0:00:00.012) 0:00:05.519 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:27 -0400 (0:00:00.019) 0:00:05.539 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:27 -0400 (0:00:00.017) 0:00:05.556 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002929", "end": "2024-08-12 05:17:27.721405", "rc": 0, "start": "2024-08-12 05:17:27.718476" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:27 -0400 (0:00:00.340) 0:00:05.896 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:27 -0400 (0:00:00.021) 0:00:05.918 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 12 August 2024 05:17:27 -0400 (0:00:00.018) 0:00:05.936 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 12 August 2024 05:17:31 -0400 (0:00:03.236) 0:00:09.173 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 12 August 2024 05:17:31 -0400 (0:00:00.024) 0:00:09.197 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 12 August 2024 05:17:31 -0400 (0:00:00.014) 0:00:09.211 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 12 August 2024 05:17:31 -0400 (0:00:00.013) 0:00:09.225 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 12 August 2024 05:17:31 -0400 (0:00:00.014) 0:00:09.239 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 12 August 2024 05:17:31 -0400 (0:00:00.013) 0:00:09.253 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 12 August 2024 05:17:31 -0400 (0:00:00.014) 0:00:09.268 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Monday 12 August 2024 05:17:31 -0400 (0:00:00.012) 0:00:09.280 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:31 -0400 (0:00:00.022) 0:00:09.303 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:31 -0400 (0:00:00.016) 0:00:09.319 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002847", "end": "2024-08-12 05:17:31.470579", "rc": 0, "start": "2024-08-12 05:17:31.467732" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:31 -0400 (0:00:00.319) 0:00:09.639 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:31 -0400 (0:00:00.017) 0:00:09.657 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Monday 12 August 2024 05:17:31 -0400 (0:00:00.016) 0:00:09.674 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:17:31 -0400 (0:00:00.024) 0:00:09.698 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:17:31 -0400 (0:00:00.018) 0:00:09.717 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:17:31 -0400 (0:00:00.361) 0:00:10.078 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Monday 12 August 2024 05:17:31 -0400 (0:00:00.027) 0:00:10.106 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 12 August 2024 05:17:32 -0400 (0:00:00.091) 0:00:10.198 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 12 August 2024 05:17:32 -0400 (0:00:00.040) 0:00:10.238 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 12 August 2024 05:17:32 -0400 (0:00:00.040) 0:00:10.278 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:32 -0400 (0:00:00.088) 0:00:10.367 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:32 -0400 (0:00:00.047) 0:00:10.414 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002599", "end": "2024-08-12 05:17:32.797842", "rc": 0, "start": "2024-08-12 05:17:32.795243" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:32 -0400 (0:00:00.600) 0:00:11.014 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:32 -0400 (0:00:00.048) 0:00:11.063 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 12 August 2024 05:17:33 -0400 (0:00:00.070) 0:00:11.134 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 12 August 2024 05:17:36 -0400 (0:00:03.260) 0:00:14.394 ********* 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.009630", "end": "2024-08-12 05:17:36.609279", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-08-12 05:17:36.599649" } 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.003145", "end": "2024-08-12 05:17:37.135032", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-08-12 05:17:37.131887" } 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.003845", "end": "2024-08-12 05:17:37.499689", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-08-12 05:17:37.495844" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 12 August 2024 05:17:37 -0400 (0:00:01.275) 0:00:15.669 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.019711", "end": "2024-08-12 05:17:37.838426", "rc": 0, "start": "2024-08-12 05:17:37.818715" } TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 12 August 2024 05:17:37 -0400 (0:00:00.338) 0:00:16.008 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 12 August 2024 05:17:37 -0400 (0:00:00.014) 0:00:16.023 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 12 August 2024 05:17:37 -0400 (0:00:00.015) 0:00:16.038 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 12 August 2024 05:17:37 -0400 (0:00:00.014) 0:00:16.053 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 12 August 2024 05:17:37 -0400 (0:00:00.013) 0:00:16.067 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Monday 12 August 2024 05:17:37 -0400 (0:00:00.013) 0:00:16.080 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:37 -0400 (0:00:00.030) 0:00:16.110 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:38 -0400 (0:00:00.016) 0:00:16.127 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002732", "end": "2024-08-12 05:17:38.281767", "rc": 0, "start": "2024-08-12 05:17:38.279035" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:38 -0400 (0:00:00.322) 0:00:16.449 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:38 -0400 (0:00:00.017) 0:00:16.467 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Monday 12 August 2024 05:17:38 -0400 (0:00:00.016) 0:00:16.484 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:17:38 -0400 (0:00:00.031) 0:00:16.515 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:17:38 -0400 (0:00:00.016) 0:00:16.532 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723454256.6025865, "block_size": 4096, "blocks": 0, "ctime": 1723454256.6025865, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33361, "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": 1723454256.6025865, "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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:17:38 -0400 (0:00:00.318) 0:00:16.850 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Monday 12 August 2024 05:17:38 -0400 (0:00:00.017) 0:00:16.868 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 12 August 2024 05:17:38 -0400 (0:00:00.040) 0:00:16.908 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 12 August 2024 05:17:38 -0400 (0:00:00.013) 0:00:16.922 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 12 August 2024 05:17:38 -0400 (0:00:00.012) 0:00:16.934 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:38 -0400 (0:00:00.020) 0:00:16.955 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:38 -0400 (0:00:00.021) 0:00:16.977 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002742", "end": "2024-08-12 05:17:39.162140", "rc": 0, "start": "2024-08-12 05:17:39.159398" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:39 -0400 (0:00:00.353) 0:00:17.330 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:39 -0400 (0:00:00.017) 0:00:17.347 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 12 August 2024 05:17:39 -0400 (0:00:00.017) 0:00:17.365 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 12 August 2024 05:17:42 -0400 (0:00:02.955) 0:00:20.320 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 12 August 2024 05:17:42 -0400 (0:00:00.041) 0:00:20.362 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 12 August 2024 05:17:42 -0400 (0:00:00.040) 0:00:20.402 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.011451", "end": "2024-08-12 05:17:42.608555", "rc": 0, "start": "2024-08-12 05:17:42.597104" } TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 12 August 2024 05:17:42 -0400 (0:00:00.389) 0:00:20.792 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 12 August 2024 05:17:42 -0400 (0:00:00.023) 0:00:20.815 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 12 August 2024 05:17:42 -0400 (0:00:00.022) 0:00:20.837 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 12 August 2024 05:17:42 -0400 (0:00:00.022) 0:00:20.860 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Monday 12 August 2024 05:17:42 -0400 (0:00:00.021) 0:00:20.881 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:42 -0400 (0:00:00.063) 0:00:20.944 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:42 -0400 (0:00:00.034) 0:00:20.979 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002706", "end": "2024-08-12 05:17:43.246275", "rc": 0, "start": "2024-08-12 05:17:43.243569" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:43 -0400 (0:00:00.435) 0:00:21.415 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:43 -0400 (0:00:00.024) 0:00:21.439 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Monday 12 August 2024 05:17:43 -0400 (0:00:00.026) 0:00:21.466 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:17:43 -0400 (0:00:00.077) 0:00:21.544 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:17:43 -0400 (0:00:00.030) 0:00:21.575 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:17:43 -0400 (0:00:00.421) 0:00:21.996 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 Monday 12 August 2024 05:17:43 -0400 (0:00:00.029) 0:00:22.025 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 Monday 12 August 2024 05:17:43 -0400 (0:00:00.042) 0:00:22.068 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:43 -0400 (0:00:00.031) 0:00:22.099 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:44 -0400 (0:00:00.058) 0:00:22.158 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002903", "end": "2024-08-12 05:17:44.412288", "rc": 0, "start": "2024-08-12 05:17:44.409385" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:44 -0400 (0:00:00.432) 0:00:22.591 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:44 -0400 (0:00:00.019) 0:00:22.610 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 Monday 12 August 2024 05:17:44 -0400 (0:00:00.024) 0:00:22.635 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 12 August 2024 05:17:44 -0400 (0:00:00.032) 0:00:22.667 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 12 August 2024 05:17:44 -0400 (0:00:00.025) 0:00:22.692 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 12 August 2024 05:17:44 -0400 (0:00:00.028) 0:00:22.721 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:44 -0400 (0:00:00.032) 0:00:22.754 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:44 -0400 (0:00:00.031) 0:00:22.786 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002653", "end": "2024-08-12 05:17:44.951474", "rc": 0, "start": "2024-08-12 05:17:44.948821" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:44 -0400 (0:00:00.333) 0:00:23.119 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:45 -0400 (0:00:00.021) 0:00:23.140 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 12 August 2024 05:17:45 -0400 (0:00:00.019) 0:00:23.159 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 12 August 2024 05:17:47 -0400 (0:00:02.861) 0:00:26.021 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 12 August 2024 05:17:47 -0400 (0:00:00.025) 0:00:26.046 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 12 August 2024 05:17:47 -0400 (0:00:00.015) 0:00:26.061 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 12 August 2024 05:17:47 -0400 (0:00:00.014) 0:00:26.076 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 12 August 2024 05:17:47 -0400 (0:00:00.015) 0:00:26.092 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 12 August 2024 05:17:47 -0400 (0:00:00.014) 0:00:26.107 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 12 August 2024 05:17:47 -0400 (0:00:00.015) 0:00:26.122 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 Monday 12 August 2024 05:17:48 -0400 (0:00:00.014) 0:00:26.137 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:48 -0400 (0:00:00.024) 0:00:26.161 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:48 -0400 (0:00:00.017) 0:00:26.179 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003026", "end": "2024-08-12 05:17:48.327441", "rc": 0, "start": "2024-08-12 05:17:48.324415" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:48 -0400 (0:00:00.324) 0:00:26.503 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:48 -0400 (0:00:00.028) 0:00:26.532 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 Monday 12 August 2024 05:17:48 -0400 (0:00:00.035) 0:00:26.568 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:17:48 -0400 (0:00:00.041) 0:00:26.609 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:17:48 -0400 (0:00:00.018) 0:00:26.627 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:17:48 -0400 (0:00:00.324) 0:00:26.952 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 Monday 12 August 2024 05:17:48 -0400 (0:00:00.029) 0:00:26.981 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 12 August 2024 05:17:48 -0400 (0:00:00.056) 0:00:27.037 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 12 August 2024 05:17:48 -0400 (0:00:00.025) 0:00:27.063 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 12 August 2024 05:17:48 -0400 (0:00:00.034) 0:00:27.097 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:49 -0400 (0:00:00.051) 0:00:27.149 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:49 -0400 (0:00:00.043) 0:00:27.192 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002654", "end": "2024-08-12 05:17:49.413722", "rc": 0, "start": "2024-08-12 05:17:49.411068" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:49 -0400 (0:00:00.396) 0:00:27.589 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:49 -0400 (0:00:00.053) 0:00:27.642 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 12 August 2024 05:17:49 -0400 (0:00:00.062) 0:00:27.704 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 12 August 2024 05:17:52 -0400 (0:00:03.166) 0:00:30.871 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 12 August 2024 05:17:52 -0400 (0:00:00.044) 0:00:30.915 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 12 August 2024 05:17:52 -0400 (0:00:00.023) 0:00:30.939 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 12 August 2024 05:17:52 -0400 (0:00:00.024) 0:00:30.963 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.008540", "end": "2024-08-12 05:17:53.179173", "rc": 0, "start": "2024-08-12 05:17:53.170633" } TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 12 August 2024 05:17:53 -0400 (0:00:00.392) 0:00:31.356 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 12 August 2024 05:17:53 -0400 (0:00:00.021) 0:00:31.377 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 12 August 2024 05:17:53 -0400 (0:00:00.015) 0:00:31.393 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 Monday 12 August 2024 05:17:53 -0400 (0:00:00.015) 0:00:31.409 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:53 -0400 (0:00:00.036) 0:00:31.445 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:53 -0400 (0:00:00.022) 0:00:31.467 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002600", "end": "2024-08-12 05:17:53.617191", "rc": 0, "start": "2024-08-12 05:17:53.614591" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:53 -0400 (0:00:00.320) 0:00:31.788 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:53 -0400 (0:00:00.019) 0:00:31.807 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 Monday 12 August 2024 05:17:53 -0400 (0:00:00.021) 0:00:31.829 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:17:53 -0400 (0:00:00.037) 0:00:31.867 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:17:53 -0400 (0:00:00.019) 0:00:31.886 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723454273.1786063, "block_size": 4096, "blocks": 0, "ctime": 1723454273.1786063, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33684, "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": 1723454273.1786063, "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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:17:54 -0400 (0:00:00.330) 0:00:32.216 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 Monday 12 August 2024 05:17:54 -0400 (0:00:00.019) 0:00:32.236 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 Monday 12 August 2024 05:17:54 -0400 (0:00:00.041) 0:00:32.277 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 Monday 12 August 2024 05:17:54 -0400 (0:00:00.013) 0:00:32.291 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 Monday 12 August 2024 05:17:54 -0400 (0:00:00.013) 0:00:32.304 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:54 -0400 (0:00:00.021) 0:00:32.325 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:54 -0400 (0:00:00.020) 0:00:32.345 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002705", "end": "2024-08-12 05:17:54.500206", "rc": 0, "start": "2024-08-12 05:17:54.497501" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:54 -0400 (0:00:00.325) 0:00:32.671 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:54 -0400 (0:00:00.072) 0:00:32.744 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Monday 12 August 2024 05:17:54 -0400 (0:00:00.028) 0:00:32.772 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Monday 12 August 2024 05:17:57 -0400 (0:00:02.943) 0:00:35.715 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 Monday 12 August 2024 05:17:57 -0400 (0:00:00.044) 0:00:35.759 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 Monday 12 August 2024 05:17:57 -0400 (0:00:00.026) 0:00:35.786 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Monday 12 August 2024 05:17:57 -0400 (0:00:00.022) 0:00:35.809 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 Monday 12 August 2024 05:17:57 -0400 (0:00:00.025) 0:00:35.834 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009703", "end": "2024-08-12 05:17:58.023398", "rc": 0, "start": "2024-08-12 05:17:58.013695" } TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 Monday 12 August 2024 05:17:58 -0400 (0:00:00.359) 0:00:36.194 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 Monday 12 August 2024 05:17:58 -0400 (0:00:00.016) 0:00:36.210 ********* 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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 Monday 12 August 2024 05:17:58 -0400 (0:00:00.014) 0:00:36.224 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:17:58 -0400 (0:00:00.037) 0:00:36.262 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:17:58 -0400 (0:00:00.018) 0:00:36.281 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002883", "end": "2024-08-12 05:17:58.454993", "rc": 0, "start": "2024-08-12 05:17:58.452110" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:17:58 -0400 (0:00:00.342) 0:00:36.623 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:17:58 -0400 (0:00:00.023) 0:00:36.647 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 Monday 12 August 2024 05:17:58 -0400 (0:00:00.017) 0:00:36.664 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:17:58 -0400 (0:00:00.052) 0:00:36.717 ********* included: /tmp/collections-S3X/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/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:17:58 -0400 (0:00:00.019) 0:00:36.736 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:17:59 -0400 (0:00:00.392) 0:00:37.129 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=121 changed=0 unreachable=0 failed=0 skipped=53 rescued=0 ignored=0 Monday 12 August 2024 05:17:59 -0400 (0:00:00.044) 0:00:37.173 ********* =============================================================================== Install iproute --------------------------------------------------------- 3.26s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.24s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.17s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.94s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.86s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 Enable EPEL 8 ----------------------------------------------------------- 1.58s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Create veth interface veth1298 ------------------------------------------ 1.28s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.10s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 Create EPEL 8 ----------------------------------------------------------- 0.94s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Gather current interface info ------------------------------------------- 0.60s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.59s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather the minimum subset of ansible_facts required by the network role test --- 0.50s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather current interface info ------------------------------------------- 0.44s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.43s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.42s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.40s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.39s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 Get stat for interface dummy1298 ---------------------------------------- 0.39s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.39s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43