# 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_hotfix2qn9lvrz/.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_hotfix2qn9lvrz/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_hotfix2qn9lvrz/tests/tests_helpers_and_asserts.yml:3 Tuesday 20 February 2024 00:01:17 +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_hotfix2qn9lvrz/tests/tests_helpers_and_asserts.yml:6 Tuesday 20 February 2024 00:01:17 +0000 (0:00:00.739) 0:00:00.772 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/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_hotfix2qn9lvrz/tests/tasks/el_repo_setup.yml:3 Tuesday 20 February 2024 00:01:17 +0000 (0:00:00.012) 0:00:00.784 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/el_repo_setup.yml:17 Tuesday 20 February 2024 00:01:18 +0000 (0:00:00.230) 0:00:01.015 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/el_repo_setup.yml:22 Tuesday 20 February 2024 00:01:18 +0000 (0:00:00.175) 0:00:01.190 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/el_repo_setup.yml:26 Tuesday 20 February 2024 00:01:18 +0000 (0:00:00.013) 0:00:01.204 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/el_repo_setup.yml:51 Tuesday 20 February 2024 00:01:18 +0000 (0:00:00.007) 0:00:01.211 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/enable_epel.yml:8 Tuesday 20 February 2024 00:01:18 +0000 (0:00:00.020) 0:00:01.232 ****** 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_hotfix2qn9lvrz/tests/tasks/enable_epel.yml:24 Tuesday 20 February 2024 00:01:18 +0000 (0:00:00.177) 0:00:01.410 ****** 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_hotfix2qn9lvrz/tests/tasks/enable_epel.yml:30 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.407) 0:00:01.818 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.192438", "end": "2024-02-20 00:01:19.312767", "rc": 0, "start": "2024-02-20 00:01:19.120329" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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_hotfix2qn9lvrz/tests/tasks/enable_epel.yml:35 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.312) 0:00:02.130 ****** 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_hotfix2qn9lvrz/tests/tasks/enable_epel.yml:40 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.008) 0:00:02.139 ****** 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_hotfix2qn9lvrz/tests/tests_helpers_and_asserts.yml:9 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.007) 0:00:02.147 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:3 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.011) 0:00:02.158 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.009) 0:00:02.167 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.009) 0:00:02.177 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003754", "end": "2024-02-20 00:01:19.481285", "rc": 0, "start": "2024-02-20 00:01:19.477531" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.121) 0:00:02.298 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.010) 0:00:02.308 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:5 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.009) 0:00:02.318 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:3 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.013) 0:00:02.331 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:8 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.007) 0:00:02.339 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:13 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.007) 0:00:02.346 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.009) 0:00:02.356 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.009) 0:00:02.365 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003766", "end": "2024-02-20 00:01:19.671219", "rc": 0, "start": "2024-02-20 00:01:19.667453" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.123) 0:00:02.489 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.009) 0:00:02.498 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:16 Tuesday 20 February 2024 00:01:19 +0000 (0:00:00.009) 0:00:02.508 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:27 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.314) 0:00:02.823 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:35 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.014) 0:00:02.837 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:43 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.009) 0:00:02.846 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:49 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.009) 0:00:02.855 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:54 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.009) 0:00:02.865 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:60 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.009) 0:00:02.874 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:65 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.008) 0:00:02.882 ****** 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_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:9 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.008) 0:00:02.891 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.012) 0:00:02.903 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.009) 0:00:02.913 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003762", "end": "2024-02-20 00:01:20.218703", "rc": 0, "start": "2024-02-20 00:01:20.214941" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.122) 0:00:03.035 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.009) 0:00:03.045 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:11 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.009) 0:00:03.054 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.012) 0:00:03.067 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.009) 0:00:03.077 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.119) 0:00:03.196 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:14 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.010) 0:00:03.206 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:3 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.015) 0:00:03.221 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:8 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.007) 0:00:03.229 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:13 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.007) 0:00:03.236 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.011) 0:00:03.247 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.009) 0:00:03.256 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003845", "end": "2024-02-20 00:01:20.562523", "rc": 0, "start": "2024-02-20 00:01:20.558678" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.123) 0:00:03.380 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.009) 0:00:03.389 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:16 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.009) 0:00:03.399 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:27 Tuesday 20 February 2024 00:01:20 +0000 (0:00:00.315) 0:00:03.715 ****** 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.010052", "end": "2024-02-20 00:01:21.032472", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-20 00:01:21.022420" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.008559", "end": "2024-02-20 00:01:21.163366", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-20 00:01:21.154807" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.008610", "end": "2024-02-20 00:01:21.282503", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-20 00:01:21.273893" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:35 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.387) 0:00:04.102 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.026261", "end": "2024-02-20 00:01:21.430805", "rc": 0, "start": "2024-02-20 00:01:21.404544" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:43 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.147) 0:00:04.250 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:49 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.010) 0:00:04.260 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:54 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.011) 0:00:04.271 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:60 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.010) 0:00:04.282 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:65 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.009) 0:00:04.291 ****** 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_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:18 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.009) 0:00:04.300 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.017) 0:00:04.318 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.012) 0:00:04.330 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003773", "end": "2024-02-20 00:01:21.637017", "rc": 0, "start": "2024-02-20 00:01:21.633244" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.123) 0:00:04.454 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.009) 0:00:04.464 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:20 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.009) 0:00:04.473 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.016) 0:00:04.489 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.009) 0:00:04.499 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708387281.0370371, "block_size": 4096, "blocks": 0, "ctime": 1708387281.0370371, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17577, "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": 1708387281.0370371, "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_hotfix2qn9lvrz/tests/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.120) 0:00:04.620 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:23 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.009) 0:00:04.630 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:3 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.018) 0:00:04.648 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:8 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.007) 0:00:04.655 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:13 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.007) 0:00:04.663 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.010) 0:00:04.674 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:21 +0000 (0:00:00.009) 0:00:04.683 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003798", "end": "2024-02-20 00:01:21.989497", "rc": 0, "start": "2024-02-20 00:01:21.985699" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.123) 0:00:04.806 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.009) 0:00:04.816 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:16 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.009) 0:00:04.826 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:27 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.312) 0:00:05.139 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:35 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.014) 0:00:05.153 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:43 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.008) 0:00:05.161 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009515", "end": "2024-02-20 00:01:22.474617", "rc": 0, "start": "2024-02-20 00:01:22.465102" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:49 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.130) 0:00:05.292 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:54 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.009) 0:00:05.302 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:60 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.008) 0:00:05.310 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:65 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.008) 0:00:05.318 ****** 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_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:27 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.008) 0:00:05.327 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.019) 0:00:05.346 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.009) 0:00:05.355 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003754", "end": "2024-02-20 00:01:22.661598", "rc": 0, "start": "2024-02-20 00:01:22.657844" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.123) 0:00:05.479 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.009) 0:00:05.488 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:29 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.009) 0:00:05.498 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.021) 0:00:05.519 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.009) 0:00:05.529 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.120) 0:00:05.649 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tests_helpers_and_asserts.yml:15 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.010) 0:00:05.660 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:3 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.012) 0:00:05.673 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.012) 0:00:05.685 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:22 +0000 (0:00:00.012) 0:00:05.697 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003804", "end": "2024-02-20 00:01:23.004410", "rc": 0, "start": "2024-02-20 00:01:23.000606" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.124) 0:00:05.822 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.009) 0:00:05.832 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:5 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.009) 0:00:05.842 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:3 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.013) 0:00:05.855 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:8 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.008) 0:00:05.864 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:13 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.007) 0:00:05.872 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.012) 0:00:05.884 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.009) 0:00:05.894 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003750", "end": "2024-02-20 00:01:23.200523", "rc": 0, "start": "2024-02-20 00:01:23.196773" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.123) 0:00:06.017 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.009) 0:00:06.027 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:16 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.009) 0:00:06.037 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:27 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.313) 0:00:06.350 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:35 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.014) 0:00:06.365 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:43 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.007) 0:00:06.373 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:49 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.008) 0:00:06.381 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:54 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.008) 0:00:06.390 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:60 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.008) 0:00:06.398 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:65 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.009) 0:00:06.407 ****** 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_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:9 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.007) 0:00:06.415 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.012) 0:00:06.428 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.009) 0:00:06.437 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003702", "end": "2024-02-20 00:01:23.742236", "rc": 0, "start": "2024-02-20 00:01:23.738534" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.121) 0:00:06.559 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.009) 0:00:06.569 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:11 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.009) 0:00:06.578 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.012) 0:00:06.591 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.009) 0:00:06.600 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.118) 0:00:06.719 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:14 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.010) 0:00:06.729 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:3 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.015) 0:00:06.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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:8 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.008) 0:00:06.753 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:13 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.008) 0:00:06.761 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.011) 0:00:06.772 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:23 +0000 (0:00:00.009) 0:00:06.782 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003771", "end": "2024-02-20 00:01:24.087815", "rc": 0, "start": "2024-02-20 00:01:24.084044" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.121) 0:00:06.904 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.010) 0:00:06.914 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:16 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.011) 0:00:06.925 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:27 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.314) 0:00:07.240 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:35 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.015) 0:00:07.255 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:43 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.008) 0:00:07.264 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:49 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.009) 0:00:07.273 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.072475", "end": "2024-02-20 00:01:24.649715", "rc": 0, "start": "2024-02-20 00:01:24.577240" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:54 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.201) 0:00:07.474 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:60 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.009) 0:00:07.484 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:65 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.009) 0:00:07.493 ****** 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_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:18 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.007) 0:00:07.500 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.015) 0:00:07.516 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.010) 0:00:07.527 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004114", "end": "2024-02-20 00:01:24.832510", "rc": 0, "start": "2024-02-20 00:01:24.828396" } STDOUT: bond0 bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.122) 0:00:07.649 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.009) 0:00:07.659 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:20 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.009) 0:00:07.669 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.015) 0:00:07.685 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 00:01:24 +0000 (0:00:00.009) 0:00:07.694 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708387284.6519198, "block_size": 4096, "blocks": 0, "ctime": 1708387284.6519198, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17607, "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": 1708387284.6519198, "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_hotfix2qn9lvrz/tests/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.120) 0:00:07.815 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:23 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.010) 0:00:07.826 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:3 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.017) 0:00:07.843 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:8 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.007) 0:00:07.851 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:13 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.007) 0:00:07.858 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.010) 0:00:07.869 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.009) 0:00:07.878 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003685", "end": "2024-02-20 00:01:25.183447", "rc": 0, "start": "2024-02-20 00:01:25.179762" } STDOUT: bond0 bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.121) 0:00:08.000 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.010) 0:00:08.010 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:16 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.009) 0:00:08.020 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:27 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.318) 0:00:08.339 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:35 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.015) 0:00:08.354 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:43 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.009) 0:00:08.363 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:49 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.009) 0:00:08.373 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:54 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.009) 0:00:08.382 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009858", "end": "2024-02-20 00:01:25.697589", "rc": 0, "start": "2024-02-20 00:01:25.687731" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:60 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.133) 0:00:08.515 ****** 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_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:65 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.009) 0:00:08.525 ****** 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_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:27 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.008) 0:00:08.533 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.019) 0:00:08.553 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.009) 0:00:08.562 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003832", "end": "2024-02-20 00:01:25.867844", "rc": 0, "start": "2024-02-20 00:01:25.864012" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.123) 0:00:08.686 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.009) 0:00:08.695 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/create_and_remove_interface.yml:29 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.009) 0:00:08.705 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.018) 0:00:08.724 ****** included: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 00:01:25 +0000 (0:00:00.009) 0:00:08.733 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 00:01:26 +0000 (0:00:00.119) 0:00:08.853 ****** 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 Tuesday 20 February 2024 00:01:26 +0000 (0:00:00.014) 0:00:08.868 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tests_helpers_and_asserts.yml:3 --- Install yum-utils package ----------------------------------------------- 0.41s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/enable_epel.yml:24 ---------- Create veth interface veth1298 ------------------------------------------ 0.39s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/enable_epel.yml:30 ---------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.23s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/el_repo_setup.yml:3 --------- Create dummy interface dummy1298 ---------------------------------------- 0.20s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:49 Create EPEL 7 ----------------------------------------------------------- 0.18s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/enable_epel.yml:8 ----------- Check if system is ostree ----------------------------------------------- 0.18s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/el_repo_setup.yml:17 -------- Set up veth as managed by NetworkManager -------------------------------- 0.15s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:35 Delete dummy interface dummy1298 ---------------------------------------- 0.13s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:54 Delete veth interface veth1298 ------------------------------------------ 0.13s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.12s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.12s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.12s /WORKDIR/git-nm_plugin_hotfix2qn9lvrz/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. ---^---^---^---^---^---