ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_helpers_and_asserts.yml **************************************** 1 plays in /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:3 ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:6 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 ok: [managed-node2] => {"changed": false, "stat": {"exists": false}} TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 ok: [managed-node2] => {"ansible_facts": {"__network_is_ostree": false}, "changed": false} TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 included: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 ok: [managed-node2] => {"attempts": 1, "changed": false, "cmd": ["rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm"], "rc": 0, "stdout": "skipped, since /etc/yum.repos.d/epel.repo exists", "stdout_lines": ["skipped, since /etc/yum.repos.d/epel.repo exists"]} TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 ok: [managed-node2] => {"changed": false, "msg": "", "rc": 0, "results": ["yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed"]} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 ok: [managed-node2] => {"changed": false, "cmd": ["yum-config-manager", "--enable", "epel"], "delta": "0:00:00.156293", "end": "2024-09-24 14:49:28.247488", "rc": 0, "start": "2024-09-24 14:49:28.091195", "stderr": "", "stderr_lines": [], "stdout": "Loaded plugins: fastestmirror\n================================== repo: epel ==================================\n[epel]\nasync = True\nbandwidth = 0\nbase_persistdir = /var/lib/yum/repos/x86_64/7\nbaseurl = \ncache = 0\ncachedir = /var/cache/yum/x86_64/7/epel\ncheck_config_file_age = True\ncompare_providers_priority = 80\ncost = 1000\ndeltarpm_metadata_percentage = 100\ndeltarpm_percentage = \nenabled = True\nenablegroups = True\nexclude = \nfailovermethod = priority\nftp_disable_epsv = False\ngpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir\ngpgcakey = \ngpgcheck = True\ngpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir\ngpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7\nhdrdir = /var/cache/yum/x86_64/7/epel/headers\nhttp_caching = all\nincludepkgs = \nip_resolve = \nkeepalive = True\nkeepcache = False\nmddownloadpolicy = sqlite\nmdpolicy = group:small\nmediaid = \nmetadata_expire = 21600\nmetadata_expire_filter = read-only:present\nmetalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos\nminrate = 0\nmirrorlist = \nmirrorlist_expire = 86400\nname = Extra Packages for Enterprise Linux 7 - x86_64\nold_base_cache_dir = \npassword = \npersistdir = /var/lib/yum/repos/x86_64/7/epel\npkgdir = /var/cache/yum/x86_64/7/epel/packages\nproxy = False\nproxy_dict = \nproxy_password = \nproxy_username = \nrepo_gpgcheck = False\nretries = 10\nskip_if_unavailable = False\nssl_check_cert_permissions = True\nsslcacert = \nsslclientcert = \nsslclientkey = \nsslverify = True\nthrottle = 0\ntimeout = 30.0\nui_id = epel/x86_64\nui_repoid_vars = releasever,\n basearch\nusername = ", "stdout_lines": ["Loaded plugins: fastestmirror", "================================== repo: epel ==================================", "[epel]", "async = True", "bandwidth = 0", "base_persistdir = /var/lib/yum/repos/x86_64/7", "baseurl = ", "cache = 0", "cachedir = /var/cache/yum/x86_64/7/epel", "check_config_file_age = True", "compare_providers_priority = 80", "cost = 1000", "deltarpm_metadata_percentage = 100", "deltarpm_percentage = ", "enabled = True", "enablegroups = True", "exclude = ", "failovermethod = priority", "ftp_disable_epsv = False", "gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir", "gpgcakey = ", "gpgcheck = True", "gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir", "gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7", "hdrdir = /var/cache/yum/x86_64/7/epel/headers", "http_caching = all", "includepkgs = ", "ip_resolve = ", "keepalive = True", "keepcache = False", "mddownloadpolicy = sqlite", "mdpolicy = group:small", "mediaid = ", "metadata_expire = 21600", "metadata_expire_filter = read-only:present", "metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos", "minrate = 0", "mirrorlist = ", "mirrorlist_expire = 86400", "name = Extra Packages for Enterprise Linux 7 - x86_64", "old_base_cache_dir = ", "password = ", "persistdir = /var/lib/yum/repos/x86_64/7/epel", "pkgdir = /var/cache/yum/x86_64/7/epel/packages", "proxy = False", "proxy_dict = ", "proxy_password = ", "proxy_username = ", "repo_gpgcheck = False", "retries = 10", "skip_if_unavailable = False", "ssl_check_cert_permissions = True", "sslcacert = ", "sslclientcert = ", "sslclientkey = ", "sslverify = True", "throttle = 0", "timeout = 30.0", "ui_id = epel/x86_64", "ui_repoid_vars = releasever,", " basearch", "username = "]} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Test veth interface management] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:9 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003103", "end": "2024-09-24 14:49:28.789487", "rc": 0, "start": "2024-09-24 14:49:28.786384", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'eth0', u'lo']" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003037", "end": "2024-09-24 14:49:29.272114", "rc": 0, "start": "2024-09-24 14:49:29.269077", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'eth0', u'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 ok: [managed-node2] => {"attempts": 1, "changed": false, "msg": "", "rc": 0, "results": ["iproute-4.11.0-30.el7.x86_64 providing iproute is already installed"]} TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 skipping: [managed-node2] => (item=ip link add veth1298 type veth peer name peerveth1298) => {"ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003005", "end": "2024-09-24 14:49:30.761592", "rc": 0, "start": "2024-09-24 14:49:30.758587", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'eth0', u'lo']" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 ok: [managed-node2] => {"changed": false, "stat": {"exists": false}} TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 ok: [managed-node2] => { "changed": false, "msg": "All assertions passed" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002995", "end": "2024-09-24 14:49:31.892921", "rc": 0, "start": "2024-09-24 14:49:31.889926", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'eth0', u'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 ok: [managed-node2] => {"attempts": 1, "changed": false, "msg": "", "rc": 0, "results": ["iproute-4.11.0-30.el7.x86_64 providing iproute is already installed"]} TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 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.014817", "end": "2024-09-24 14:49:32.931172", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-09-24 14:49:32.916355", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} 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.004168", "end": "2024-09-24 14:49:33.185997", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-09-24 14:49:33.181829", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} 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.004651", "end": "2024-09-24 14:49:33.428284", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-09-24 14:49:33.423633", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 ok: [managed-node2] => {"changed": false, "cmd": ["nmcli", "d", "set", "veth1298", "managed", "true"], "delta": "0:00:00.029969", "end": "2024-09-24 14:49:33.764754", "rc": 0, "start": "2024-09-24 14:49:33.734785", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002945", "end": "2024-09-24 14:49:34.490864", "rc": 0, "start": "2024-09-24 14:49:34.487919", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeerveth1298\nveth1298", "stdout_lines": ["eth0", "lo", "peerveth1298", "veth1298"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peerveth1298", "veth1298"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'eth0', u'lo', u'peerveth1298', u'veth1298']" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 ok: [managed-node2] => {"changed": false, "stat": {"atime": 1727203772.9292467, "block_size": 4096, "blocks": 0, "ctime": 1727203772.9292467, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17722, "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": 1727203772.9292467, "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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 ok: [managed-node2] => { "changed": false, "msg": "All assertions passed" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:01.004334", "end": "2024-09-24 14:49:36.423279", "rc": 0, "start": "2024-09-24 14:49:35.418945", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeerveth1298\nveth1298", "stdout_lines": ["eth0", "lo", "peerveth1298", "veth1298"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peerveth1298", "veth1298"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'eth0', u'lo', u'peerveth1298', u'veth1298']" } TASK [Install iproute] ********************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 ok: [managed-node2] => {"attempts": 1, "changed": false, "msg": "", "rc": 0, "results": ["iproute-4.11.0-30.el7.x86_64 providing iproute is already installed"]} TASK [Create veth interface veth1298] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 skipping: [managed-node2] => (item=ip link add veth1298 type veth peer name peerveth1298) => {"ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 ok: [managed-node2] => {"changed": false, "cmd": ["ip", "link", "del", "veth1298", "type", "veth"], "delta": "0:00:00.008480", "end": "2024-09-24 14:49:37.382974", "rc": 0, "start": "2024-09-24 14:49:37.374494", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth1298] ******************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002985", "end": "2024-09-24 14:49:37.840126", "rc": 0, "start": "2024-09-24 14:49:37.837141", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'eth0', u'lo']" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 ok: [managed-node2] => {"changed": false, "stat": {"exists": false}} TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 ok: [managed-node2] => { "changed": false, "msg": "All assertions passed" } TASK [Test veth interface management] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tests_helpers_and_asserts.yml:15 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003164", "end": "2024-09-24 14:49:38.753717", "rc": 0, "start": "2024-09-24 14:49:38.750553", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'eth0', u'lo']" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:5 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003186", "end": "2024-09-24 14:49:39.334221", "rc": 0, "start": "2024-09-24 14:49:39.331035", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'eth0', u'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 ok: [managed-node2] => {"attempts": 1, "changed": false, "msg": "", "rc": 0, "results": ["iproute-4.11.0-30.el7.x86_64 providing iproute is already installed"]} TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 skipping: [managed-node2] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => {"ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:9 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002993", "end": "2024-09-24 14:49:40.584484", "rc": 0, "start": "2024-09-24 14:49:40.581491", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'eth0', u'lo']" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:11 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 ok: [managed-node2] => {"changed": false, "stat": {"exists": false}} TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 ok: [managed-node2] => { "changed": false, "msg": "All assertions passed" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:14 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002937", "end": "2024-09-24 14:49:41.700830", "rc": 0, "start": "2024-09-24 14:49:41.697893", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'eth0', u'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 ok: [managed-node2] => {"attempts": 1, "changed": false, "msg": "", "rc": 0, "results": ["iproute-4.11.0-30.el7.x86_64 providing iproute is already installed"]} TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 skipping: [managed-node2] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => {"ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 ok: [managed-node2] => {"changed": false, "cmd": ["ip", "link", "add", "dummy1298", "type", "dummy"], "delta": "0:00:00.010608", "end": "2024-09-24 14:49:42.866407", "rc": 0, "start": "2024-09-24 14:49:42.855799", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:18 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003081", "end": "2024-09-24 14:49:43.518949", "rc": 0, "start": "2024-09-24 14:49:43.515868", "stderr": "", "stderr_lines": [], "stdout": "dummy0\ndummy1298\neth0\nlo", "stdout_lines": ["dummy0", "dummy1298", "eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["dummy0", "dummy1298", "eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'dummy0', u'dummy1298', u'eth0', u'lo']" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:20 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 ok: [managed-node2] => {"changed": false, "stat": {"atime": 1727203782.8652081, "block_size": 4096, "blocks": 0, "ctime": 1727203782.8652081, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17751, "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": 1727203782.8652081, "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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml:5 ok: [managed-node2] => { "changed": false, "msg": "All assertions passed" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:23 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:3 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:8 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:13 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003025", "end": "2024-09-24 14:49:45.006341", "rc": 0, "start": "2024-09-24 14:49:45.003316", "stderr": "", "stderr_lines": [], "stdout": "dummy0\ndummy1298\neth0\nlo", "stdout_lines": ["dummy0", "dummy1298", "eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["dummy0", "dummy1298", "eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'dummy0', u'dummy1298', u'eth0', u'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:16 ok: [managed-node2] => {"attempts": 1, "changed": false, "msg": "", "rc": 0, "results": ["iproute-4.11.0-30.el7.x86_64 providing iproute is already installed"]} TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:27 skipping: [managed-node2] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => {"ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:35 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:43 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:49 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:54 ok: [managed-node2] => {"changed": false, "cmd": ["ip", "link", "del", "dummy1298", "type", "dummy"], "delta": "0:00:00.008628", "end": "2024-09-24 14:49:46.354969", "rc": 0, "start": "2024-09-24 14:49:46.346341", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:60 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml:65 skipping: [managed-node2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:27 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:3 ok: [managed-node2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002998", "end": "2024-09-24 14:49:46.975902", "rc": 0, "start": "2024-09-24 14:49:46.972904", "stderr": "", "stderr_lines": [], "stdout": "dummy0\neth0\nlo", "stdout_lines": ["dummy0", "eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml:9 ok: [managed-node2] => {"ansible_facts": {"current_interfaces": ["dummy0", "eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml:5 ok: [managed-node2] => { "msg": "current_interfaces: [u'dummy0', u'eth0', u'lo']" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/create_and_remove_interface.yml:29 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:3 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml:3 ok: [managed-node2] => {"changed": false, "stat": {"exists": false}} TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_absent.yml:5 ok: [managed-node2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=122 changed=0 unreachable=0 failed=0 skipped=52 rescued=0 ignored=0