# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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 /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tests_helpers_and_asserts.yml:3 Thursday 22 February 2024 03:42:55 +0000 (0:00:00.032) 0:00:00.032 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tests_helpers_and_asserts.yml:6 Thursday 22 February 2024 03:42:56 +0000 (0:00:00.743) 0:00:00.776 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/el_repo_setup.yml:3 Thursday 22 February 2024 03:42:56 +0000 (0:00:00.012) 0:00:00.788 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/el_repo_setup.yml:17 Thursday 22 February 2024 03:42:56 +0000 (0:00:00.227) 0:00:01.016 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/el_repo_setup.yml:22 Thursday 22 February 2024 03:42:56 +0000 (0:00:00.172) 0:00:01.189 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/el_repo_setup.yml:26 Thursday 22 February 2024 03:42:56 +0000 (0:00:00.013) 0:00:01.202 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/el_repo_setup.yml:51 Thursday 22 February 2024 03:42:56 +0000 (0:00:00.007) 0:00:01.209 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/enable_epel.yml:8 Thursday 22 February 2024 03:42:56 +0000 (0:00:00.020) 0:00:01.230 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/enable_epel.yml:24 Thursday 22 February 2024 03:42:57 +0000 (0:00:00.187) 0:00:01.417 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/enable_epel.yml:30 Thursday 22 February 2024 03:42:57 +0000 (0:00:00.422) 0:00:01.839 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.172771", "end": "2024-02-22 03:42:57.821658", "rc": 0, "start": "2024-02-22 03:42:57.648887" } STDOUT: 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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/enable_epel.yml:35 Thursday 22 February 2024 03:42:57 +0000 (0:00:00.293) 0:00:02.132 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '8'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/enable_epel.yml:40 Thursday 22 February 2024 03:42:57 +0000 (0:00:00.008) 0:00:02.141 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tests_helpers_and_asserts.yml:9 Thursday 22 February 2024 03:42:57 +0000 (0:00:00.007) 0:00:02.148 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:3 Thursday 22 February 2024 03:42:57 +0000 (0:00:00.010) 0:00:02.158 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:42:57 +0000 (0:00:00.008) 0:00:02.167 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:42:57 +0000 (0:00:00.008) 0:00:02.175 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003798", "end": "2024-02-22 03:42:57.986407", "rc": 0, "start": "2024-02-22 03:42:57.982609" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:42:57 +0000 (0:00:00.121) 0:00:02.296 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.009) 0:00:02.306 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:5 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.008) 0:00:02.314 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:3 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.012) 0:00:02.327 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:8 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.007) 0:00:02.334 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:13 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.007) 0:00:02.341 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.009) 0:00:02.351 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.008) 0:00:02.359 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003805", "end": "2024-02-22 03:42:58.171342", "rc": 0, "start": "2024-02-22 03:42:58.167537" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.122) 0:00:02.481 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.009) 0:00:02.491 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:16 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.009) 0:00:02.501 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:27 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.300) 0:00:02.801 ***** skipping: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:35 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.013) 0:00:02.815 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:43 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.007) 0:00:02.822 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:49 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.007) 0:00:02.830 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:54 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.007) 0:00:02.838 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:60 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.007) 0:00:02.845 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:65 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.007) 0:00:02.853 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:9 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.007) 0:00:02.860 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.011) 0:00:02.872 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.008) 0:00:02.880 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003507", "end": "2024-02-22 03:42:58.690922", "rc": 0, "start": "2024-02-22 03:42:58.687415" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.119) 0:00:03.000 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.008) 0:00:03.009 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:11 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.009) 0:00:03.019 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.013) 0:00:03.032 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.009) 0:00:03.042 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.119) 0:00:03.162 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:14 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.010) 0:00:03.172 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:3 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.015) 0:00:03.187 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:8 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.007) 0:00:03.194 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:13 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.007) 0:00:03.202 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.010) 0:00:03.213 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:42:58 +0000 (0:00:00.009) 0:00:03.222 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003576", "end": "2024-02-22 03:42:59.032416", "rc": 0, "start": "2024-02-22 03:42:59.028840" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:42:59 +0000 (0:00:00.119) 0:00:03.342 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:42:59 +0000 (0:00:00.009) 0:00:03.351 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:16 Thursday 22 February 2024 03:42:59 +0000 (0:00:00.008) 0:00:03.360 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:27 Thursday 22 February 2024 03:42:59 +0000 (0:00:00.299) 0:00:03.660 ***** ok: [sut] => (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.012721", "end": "2024-02-22 03:42:59.483256", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-22 03:42:59.470535" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003368", "end": "2024-02-22 03:42:59.602844", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-22 03:42:59.599476" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004796", "end": "2024-02-22 03:42:59.717613", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-22 03:42:59.712817" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:35 Thursday 22 February 2024 03:42:59 +0000 (0:00:00.370) 0:00:04.030 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.034927", "end": "2024-02-22 03:42:59.874253", "rc": 0, "start": "2024-02-22 03:42:59.839326" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:43 Thursday 22 February 2024 03:42:59 +0000 (0:00:00.159) 0:00:04.189 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:49 Thursday 22 February 2024 03:42:59 +0000 (0:00:00.008) 0:00:04.197 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:54 Thursday 22 February 2024 03:42:59 +0000 (0:00:00.008) 0:00:04.205 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:60 Thursday 22 February 2024 03:42:59 +0000 (0:00:00.007) 0:00:04.213 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:65 Thursday 22 February 2024 03:42:59 +0000 (0:00:00.008) 0:00:04.221 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:18 Thursday 22 February 2024 03:42:59 +0000 (0:00:00.007) 0:00:04.229 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:42:59 +0000 (0:00:00.016) 0:00:04.246 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:42:59 +0000 (0:00:00.009) 0:00:04.255 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004000", "end": "2024-02-22 03:43:00.067625", "rc": 0, "start": "2024-02-22 03:43:00.063625" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.122) 0:00:04.378 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.008) 0:00:04.387 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:20 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.008) 0:00:04.395 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.016) 0:00:04.412 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.009) 0:00:04.421 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708573379.4826016, "block_size": 4096, "blocks": 0, "ctime": 1708573379.4826016, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17761, "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": 1708573379.4826016, "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.118) 0:00:04.539 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:23 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.010) 0:00:04.549 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:3 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.017) 0:00:04.567 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:8 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.007) 0:00:04.574 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:13 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.007) 0:00:04.582 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.010) 0:00:04.592 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.009) 0:00:04.601 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003855", "end": "2024-02-22 03:43:00.413590", "rc": 0, "start": "2024-02-22 03:43:00.409735" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.122) 0:00:04.724 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.009) 0:00:04.733 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:16 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.011) 0:00:04.745 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:27 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.303) 0:00:05.049 ***** skipping: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:35 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.014) 0:00:05.064 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:43 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.008) 0:00:05.072 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009886", "end": "2024-02-22 03:43:00.892970", "rc": 0, "start": "2024-02-22 03:43:00.883084" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:49 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.133) 0:00:05.205 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:54 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.009) 0:00:05.214 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:60 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.007) 0:00:05.222 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:65 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.007) 0:00:05.230 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:27 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.007) 0:00:05.238 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.018) 0:00:05.257 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:43:00 +0000 (0:00:00.009) 0:00:05.266 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003877", "end": "2024-02-22 03:43:01.077569", "rc": 0, "start": "2024-02-22 03:43:01.073692" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.120) 0:00:05.387 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.009) 0:00:05.396 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:29 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.009) 0:00:05.406 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.019) 0:00:05.425 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.009) 0:00:05.435 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.116) 0:00:05.551 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tests_helpers_and_asserts.yml:15 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.009) 0:00:05.561 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:3 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.013) 0:00:05.575 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.009) 0:00:05.584 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.008) 0:00:05.593 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003725", "end": "2024-02-22 03:43:01.404676", "rc": 0, "start": "2024-02-22 03:43:01.400951" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.121) 0:00:05.715 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.009) 0:00:05.724 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:5 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.008) 0:00:05.733 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:3 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.011) 0:00:05.745 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:8 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.007) 0:00:05.752 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:13 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.007) 0:00:05.759 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.010) 0:00:05.770 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.009) 0:00:05.779 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003931", "end": "2024-02-22 03:43:01.593869", "rc": 0, "start": "2024-02-22 03:43:01.589938" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.126) 0:00:05.905 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.009) 0:00:05.915 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:16 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.008) 0:00:05.923 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:27 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.304) 0:00:06.228 ***** skipping: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:35 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.014) 0:00:06.243 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:43 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.008) 0:00:06.251 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:49 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.007) 0:00:06.259 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:54 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.008) 0:00:06.268 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:60 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.011) 0:00:06.280 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:65 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.009) 0:00:06.289 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:9 Thursday 22 February 2024 03:43:01 +0000 (0:00:00.008) 0:00:06.297 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.013) 0:00:06.310 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.010) 0:00:06.321 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003808", "end": "2024-02-22 03:43:02.133575", "rc": 0, "start": "2024-02-22 03:43:02.129767" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.123) 0:00:06.444 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.010) 0:00:06.454 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:11 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.009) 0:00:06.464 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.018) 0:00:06.483 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.012) 0:00:06.495 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.118) 0:00:06.613 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:14 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.010) 0:00:06.623 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:3 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.015) 0:00:06.638 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:8 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.007) 0:00:06.646 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:13 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.007) 0:00:06.653 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.010) 0:00:06.664 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.009) 0:00:06.673 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003606", "end": "2024-02-22 03:43:02.485559", "rc": 0, "start": "2024-02-22 03:43:02.481953" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.123) 0:00:06.797 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.010) 0:00:06.807 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:16 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.010) 0:00:06.817 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:27 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.300) 0:00:07.118 ***** skipping: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:35 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.014) 0:00:07.132 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:43 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.009) 0:00:07.141 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:49 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.009) 0:00:07.150 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009784", "end": "2024-02-22 03:43:02.972094", "rc": 0, "start": "2024-02-22 03:43:02.962310" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:54 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.137) 0:00:07.288 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:60 Thursday 22 February 2024 03:43:02 +0000 (0:00:00.009) 0:00:07.297 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:65 Thursday 22 February 2024 03:43:03 +0000 (0:00:00.008) 0:00:07.305 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:18 Thursday 22 February 2024 03:43:03 +0000 (0:00:00.008) 0:00:07.313 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:43:03 +0000 (0:00:00.015) 0:00:07.329 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:43:03 +0000 (0:00:00.010) 0:00:07.339 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004828", "end": "2024-02-22 03:43:04.151595", "rc": 0, "start": "2024-02-22 03:43:03.146767" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:43:04 +0000 (0:00:01.123) 0:00:08.463 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.009) 0:00:08.473 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:20 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.008) 0:00:08.481 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.016) 0:00:08.497 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.009) 0:00:08.507 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708573382.970622, "block_size": 4096, "blocks": 0, "ctime": 1708573382.970622, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17680, "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": 1708573382.970622, "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.116) 0:00:08.624 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:23 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.010) 0:00:08.635 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:3 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.018) 0:00:08.654 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:8 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.007) 0:00:08.661 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:13 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.007) 0:00:08.669 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.010) 0:00:08.679 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.009) 0:00:08.689 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003764", "end": "2024-02-22 03:43:04.500871", "rc": 0, "start": "2024-02-22 03:43:04.497107" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.121) 0:00:08.811 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.009) 0:00:08.821 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:16 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.009) 0:00:08.830 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:27 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.300) 0:00:09.131 ***** skipping: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:35 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.014) 0:00:09.145 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface dummy1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:43 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.008) 0:00:09.154 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:49 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.010) 0:00:09.164 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:54 Thursday 22 February 2024 03:43:04 +0000 (0:00:00.009) 0:00:09.173 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007626", "end": "2024-02-22 03:43:04.990033", "rc": 0, "start": "2024-02-22 03:43:04.982407" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:60 Thursday 22 February 2024 03:43:05 +0000 (0:00:00.127) 0:00:09.300 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:65 Thursday 22 February 2024 03:43:05 +0000 (0:00:00.008) 0:00:09.309 ***** skipping: [sut] => { "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: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:27 Thursday 22 February 2024 03:43:05 +0000 (0:00:00.007) 0:00:09.316 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:43:05 +0000 (0:00:00.018) 0:00:09.335 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:43:05 +0000 (0:00:00.008) 0:00:09.344 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003638", "end": "2024-02-22 03:43:05.154745", "rc": 0, "start": "2024-02-22 03:43:05.151107" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:43:05 +0000 (0:00:00.120) 0:00:09.465 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:43:05 +0000 (0:00:00.012) 0:00:09.477 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/create_and_remove_interface.yml:29 Thursday 22 February 2024 03:43:05 +0000 (0:00:00.009) 0:00:09.486 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:43:05 +0000 (0:00:00.018) 0:00:09.505 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:43:05 +0000 (0:00:00.009) 0:00:09.514 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:43:05 +0000 (0:00:00.117) 0:00:09.632 ***** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=122 changed=0 unreachable=0 failed=0 skipped=52 rescued=0 ignored=0 Thursday 22 February 2024 03:43:05 +0000 (0:00:00.014) 0:00:09.647 ***** =============================================================================== Gather current interface info ------------------------------------------- 1.12s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tests_helpers_and_asserts.yml:3 --- Install yum-utils package ----------------------------------------------- 0.42s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/enable_epel.yml:24 ---------- Create veth interface veth1298 ------------------------------------------ 0.37s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.30s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.30s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.30s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.30s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.30s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.30s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.29s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/enable_epel.yml:30 ---------- Gather the minimum subset of ansible_facts required by the network role test --- 0.23s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/el_repo_setup.yml:3 --------- Create EPEL 7 ----------------------------------------------------------- 0.19s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/enable_epel.yml:8 ----------- Check if system is ostree ----------------------------------------------- 0.17s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/el_repo_setup.yml:17 -------- Set up veth as managed by NetworkManager -------------------------------- 0.16s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.14s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:49 Delete veth interface veth1298 ------------------------------------------ 0.13s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:43 Delete dummy interface dummy1298 ---------------------------------------- 0.13s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.13s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.12s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/get_current_interfaces.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---