# 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_hotfixdtegsnb3/.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_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/tests_helpers_and_asserts.yml:3 Monday 19 February 2024 00:27:23 +0000 (0:00:00.051) 0:00:00.051 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tests_helpers_and_asserts.yml:6 Monday 19 February 2024 00:27:23 +0000 (0:00:00.748) 0:00:00.799 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 00:27:23 +0000 (0:00:00.013) 0:00:00.812 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/el_repo_setup.yml:17 Monday 19 February 2024 00:27:24 +0000 (0:00:00.230) 0:00:01.043 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/el_repo_setup.yml:22 Monday 19 February 2024 00:27:24 +0000 (0:00:00.173) 0:00:01.217 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/el_repo_setup.yml:26 Monday 19 February 2024 00:27:24 +0000 (0:00:00.013) 0:00:01.231 ******* 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_hotfixdtegsnb3/tests/tasks/el_repo_setup.yml:51 Monday 19 February 2024 00:27:24 +0000 (0:00:00.007) 0:00:01.239 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 00:27:24 +0000 (0:00:00.021) 0:00:01.260 ******* 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_hotfixdtegsnb3/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 00:27:24 +0000 (0:00:00.180) 0:00:01.440 ******* 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_hotfixdtegsnb3/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 00:27:24 +0000 (0:00:00.409) 0:00:01.849 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.191009", "end": "2024-02-19 00:27:25.293569", "rc": 0, "start": "2024-02-19 00:27:25.102560" } 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_hotfixdtegsnb3/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 00:27:25 +0000 (0:00:00.310) 0:00:02.160 ******* 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_hotfixdtegsnb3/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 00:27:25 +0000 (0:00:00.010) 0:00:02.170 ******* 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_hotfixdtegsnb3/tests/tests_helpers_and_asserts.yml:9 Monday 19 February 2024 00:27:25 +0000 (0:00:00.010) 0:00:02.180 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:3 Monday 19 February 2024 00:27:25 +0000 (0:00:00.012) 0:00:02.193 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:25 +0000 (0:00:00.010) 0:00:02.204 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:25 +0000 (0:00:00.015) 0:00:02.219 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003566", "end": "2024-02-19 00:27:25.475443", "rc": 0, "start": "2024-02-19 00:27:25.471877" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:25 +0000 (0:00:00.122) 0:00:02.342 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:25 +0000 (0:00:00.010) 0:00:02.352 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:5 Monday 19 February 2024 00:27:25 +0000 (0:00:00.010) 0:00:02.362 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:3 Monday 19 February 2024 00:27:25 +0000 (0:00:00.013) 0:00:02.375 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:8 Monday 19 February 2024 00:27:25 +0000 (0:00:00.013) 0:00:02.389 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:13 Monday 19 February 2024 00:27:25 +0000 (0:00:00.007) 0:00:02.396 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:25 +0000 (0:00:00.011) 0:00:02.408 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:25 +0000 (0:00:00.010) 0:00:02.418 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003664", "end": "2024-02-19 00:27:25.679802", "rc": 0, "start": "2024-02-19 00:27:25.676138" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:25 +0000 (0:00:00.127) 0:00:02.545 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:25 +0000 (0:00:00.009) 0:00:02.555 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:16 Monday 19 February 2024 00:27:25 +0000 (0:00:00.008) 0:00:02.564 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:27 Monday 19 February 2024 00:27:26 +0000 (0:00:00.307) 0:00:02.871 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:35 Monday 19 February 2024 00:27:26 +0000 (0:00:00.015) 0:00:02.887 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:43 Monday 19 February 2024 00:27:26 +0000 (0:00:00.009) 0:00:02.896 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:49 Monday 19 February 2024 00:27:26 +0000 (0:00:00.009) 0:00:02.906 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:54 Monday 19 February 2024 00:27:26 +0000 (0:00:00.008) 0:00:02.914 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:60 Monday 19 February 2024 00:27:26 +0000 (0:00:00.009) 0:00:02.924 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:65 Monday 19 February 2024 00:27:26 +0000 (0:00:00.018) 0:00:02.943 ******* 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_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:9 Monday 19 February 2024 00:27:26 +0000 (0:00:00.022) 0:00:02.965 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:26 +0000 (0:00:00.020) 0:00:02.986 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:26 +0000 (0:00:00.011) 0:00:02.998 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003632", "end": "2024-02-19 00:27:26.253580", "rc": 0, "start": "2024-02-19 00:27:26.249948" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:26 +0000 (0:00:00.121) 0:00:03.119 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:26 +0000 (0:00:00.012) 0:00:03.131 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:11 Monday 19 February 2024 00:27:26 +0000 (0:00:00.010) 0:00:03.142 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:27:26 +0000 (0:00:00.014) 0:00:03.156 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:27:26 +0000 (0:00:00.010) 0:00:03.166 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:27:26 +0000 (0:00:00.116) 0:00:03.283 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:14 Monday 19 February 2024 00:27:26 +0000 (0:00:00.011) 0:00:03.295 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:3 Monday 19 February 2024 00:27:26 +0000 (0:00:00.020) 0:00:03.315 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:8 Monday 19 February 2024 00:27:26 +0000 (0:00:00.013) 0:00:03.329 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:13 Monday 19 February 2024 00:27:26 +0000 (0:00:00.014) 0:00:03.343 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:26 +0000 (0:00:00.012) 0:00:03.356 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:26 +0000 (0:00:00.009) 0:00:03.366 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003646", "end": "2024-02-19 00:27:26.628089", "rc": 0, "start": "2024-02-19 00:27:26.624443" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:26 +0000 (0:00:00.126) 0:00:03.492 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:26 +0000 (0:00:00.009) 0:00:03.502 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:16 Monday 19 February 2024 00:27:26 +0000 (0:00:00.009) 0:00:03.512 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:27 Monday 19 February 2024 00:27:26 +0000 (0:00:00.314) 0:00:03.827 ******* 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.011859", "end": "2024-02-19 00:27:27.098727", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-19 00:27:27.086868" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.009434", "end": "2024-02-19 00:27:27.227816", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-19 00:27:27.218382" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.007969", "end": "2024-02-19 00:27:27.354951", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-19 00:27:27.346982" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:35 Monday 19 February 2024 00:27:27 +0000 (0:00:00.395) 0:00:04.223 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.025517", "end": "2024-02-19 00:27:27.508251", "rc": 0, "start": "2024-02-19 00:27:27.482734" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:43 Monday 19 February 2024 00:27:27 +0000 (0:00:00.151) 0:00:04.374 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:49 Monday 19 February 2024 00:27:27 +0000 (0:00:00.009) 0:00:04.384 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:54 Monday 19 February 2024 00:27:27 +0000 (0:00:00.008) 0:00:04.392 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:60 Monday 19 February 2024 00:27:27 +0000 (0:00:00.007) 0:00:04.400 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:65 Monday 19 February 2024 00:27:27 +0000 (0:00:00.008) 0:00:04.409 ******* 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_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:18 Monday 19 February 2024 00:27:27 +0000 (0:00:00.007) 0:00:04.416 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:27 +0000 (0:00:00.015) 0:00:04.432 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:27 +0000 (0:00:00.009) 0:00:04.441 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003701", "end": "2024-02-19 00:27:27.697797", "rc": 0, "start": "2024-02-19 00:27:27.694096" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:27 +0000 (0:00:00.121) 0:00:04.562 ******* 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_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:27 +0000 (0:00:00.009) 0:00:04.572 ******* 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_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:20 Monday 19 February 2024 00:27:27 +0000 (0:00:00.008) 0:00:04.581 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_present.yml:3 Monday 19 February 2024 00:27:27 +0000 (0:00:00.016) 0:00:04.597 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:27:27 +0000 (0:00:00.009) 0:00:04.607 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708302447.1048832, "block_size": 4096, "blocks": 0, "ctime": 1708302447.1048832, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17626, "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": 1708302447.1048832, "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_hotfixdtegsnb3/tests/tasks/assert_device_present.yml:5 Monday 19 February 2024 00:27:27 +0000 (0:00:00.117) 0:00:04.725 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:23 Monday 19 February 2024 00:27:27 +0000 (0:00:00.012) 0:00:04.737 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:3 Monday 19 February 2024 00:27:27 +0000 (0:00:00.020) 0:00:04.757 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:8 Monday 19 February 2024 00:27:27 +0000 (0:00:00.008) 0:00:04.766 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:13 Monday 19 February 2024 00:27:27 +0000 (0:00:00.008) 0:00:04.774 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:27 +0000 (0:00:00.011) 0:00:04.785 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:27 +0000 (0:00:00.009) 0:00:04.795 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003656", "end": "2024-02-19 00:27:28.051491", "rc": 0, "start": "2024-02-19 00:27:28.047835" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:28 +0000 (0:00:00.120) 0:00:04.916 ******* 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_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:28 +0000 (0:00:00.010) 0:00:04.926 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:16 Monday 19 February 2024 00:27:28 +0000 (0:00:00.009) 0:00:04.936 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:27 Monday 19 February 2024 00:27:28 +0000 (0:00:00.309) 0:00:05.246 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:35 Monday 19 February 2024 00:27:28 +0000 (0:00:00.014) 0:00:05.260 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:43 Monday 19 February 2024 00:27:28 +0000 (0:00:00.008) 0:00:05.268 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008736", "end": "2024-02-19 00:27:28.530671", "rc": 0, "start": "2024-02-19 00:27:28.521935" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:49 Monday 19 February 2024 00:27:28 +0000 (0:00:00.127) 0:00:05.396 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:54 Monday 19 February 2024 00:27:28 +0000 (0:00:00.009) 0:00:05.406 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:60 Monday 19 February 2024 00:27:28 +0000 (0:00:00.008) 0:00:05.414 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:65 Monday 19 February 2024 00:27:28 +0000 (0:00:00.008) 0:00:05.423 ******* 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_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:27 Monday 19 February 2024 00:27:28 +0000 (0:00:00.007) 0:00:05.430 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:28 +0000 (0:00:00.018) 0:00:05.449 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:28 +0000 (0:00:00.009) 0:00:05.458 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003671", "end": "2024-02-19 00:27:28.714127", "rc": 0, "start": "2024-02-19 00:27:28.710456" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:28 +0000 (0:00:00.120) 0:00:05.579 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:28 +0000 (0:00:00.009) 0:00:05.588 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:29 Monday 19 February 2024 00:27:28 +0000 (0:00:00.009) 0:00:05.598 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:27:28 +0000 (0:00:00.022) 0:00:05.620 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:27:28 +0000 (0:00:00.010) 0:00:05.631 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:27:28 +0000 (0:00:00.118) 0:00:05.749 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tests_helpers_and_asserts.yml:15 Monday 19 February 2024 00:27:28 +0000 (0:00:00.011) 0:00:05.760 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:3 Monday 19 February 2024 00:27:28 +0000 (0:00:00.017) 0:00:05.778 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:28 +0000 (0:00:00.011) 0:00:05.789 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:28 +0000 (0:00:00.010) 0:00:05.800 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003789", "end": "2024-02-19 00:27:29.058577", "rc": 0, "start": "2024-02-19 00:27:29.054788" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:29 +0000 (0:00:00.124) 0:00:05.924 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:29 +0000 (0:00:00.010) 0:00:05.935 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:5 Monday 19 February 2024 00:27:29 +0000 (0:00:00.011) 0:00:05.946 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:3 Monday 19 February 2024 00:27:29 +0000 (0:00:00.012) 0:00:05.959 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:8 Monday 19 February 2024 00:27:29 +0000 (0:00:00.007) 0:00:05.967 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:13 Monday 19 February 2024 00:27:29 +0000 (0:00:00.009) 0:00:05.976 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:29 +0000 (0:00:00.016) 0:00:05.993 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:29 +0000 (0:00:00.010) 0:00:06.003 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003555", "end": "2024-02-19 00:27:29.259455", "rc": 0, "start": "2024-02-19 00:27:29.255900" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:29 +0000 (0:00:00.121) 0:00:06.124 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:29 +0000 (0:00:00.010) 0:00:06.134 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:16 Monday 19 February 2024 00:27:29 +0000 (0:00:00.010) 0:00:06.145 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:27 Monday 19 February 2024 00:27:29 +0000 (0:00:00.308) 0:00:06.454 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:35 Monday 19 February 2024 00:27:29 +0000 (0:00:00.018) 0:00:06.473 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:43 Monday 19 February 2024 00:27:29 +0000 (0:00:00.008) 0:00:06.481 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:49 Monday 19 February 2024 00:27:29 +0000 (0:00:00.009) 0:00:06.491 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:54 Monday 19 February 2024 00:27:29 +0000 (0:00:00.009) 0:00:06.501 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:60 Monday 19 February 2024 00:27:29 +0000 (0:00:00.008) 0:00:06.509 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:65 Monday 19 February 2024 00:27:29 +0000 (0:00:00.014) 0:00:06.524 ******* 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_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:9 Monday 19 February 2024 00:27:29 +0000 (0:00:00.017) 0:00:06.541 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:29 +0000 (0:00:00.013) 0:00:06.554 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:29 +0000 (0:00:00.010) 0:00:06.564 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003678", "end": "2024-02-19 00:27:29.821415", "rc": 0, "start": "2024-02-19 00:27:29.817737" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:29 +0000 (0:00:00.121) 0:00:06.686 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:29 +0000 (0:00:00.009) 0:00:06.696 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:11 Monday 19 February 2024 00:27:29 +0000 (0:00:00.009) 0:00:06.706 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:27:29 +0000 (0:00:00.013) 0:00:06.719 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:27:29 +0000 (0:00:00.009) 0:00:06.729 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:27:29 +0000 (0:00:00.118) 0:00:06.847 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:14 Monday 19 February 2024 00:27:30 +0000 (0:00:00.020) 0:00:06.868 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:3 Monday 19 February 2024 00:27:30 +0000 (0:00:00.033) 0:00:06.901 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:8 Monday 19 February 2024 00:27:30 +0000 (0:00:00.016) 0:00:06.918 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:13 Monday 19 February 2024 00:27:30 +0000 (0:00:00.011) 0:00:06.930 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:30 +0000 (0:00:00.014) 0:00:06.944 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:30 +0000 (0:00:00.010) 0:00:06.955 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003735", "end": "2024-02-19 00:27:30.220500", "rc": 0, "start": "2024-02-19 00:27:30.216765" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:30 +0000 (0:00:00.129) 0:00:07.085 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:30 +0000 (0:00:00.009) 0:00:07.095 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:16 Monday 19 February 2024 00:27:30 +0000 (0:00:00.010) 0:00:07.105 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:27 Monday 19 February 2024 00:27:30 +0000 (0:00:00.309) 0:00:07.414 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:35 Monday 19 February 2024 00:27:30 +0000 (0:00:00.015) 0:00:07.430 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:43 Monday 19 February 2024 00:27:30 +0000 (0:00:00.008) 0:00:07.439 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:49 Monday 19 February 2024 00:27:30 +0000 (0:00:00.009) 0:00:07.448 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010090", "end": "2024-02-19 00:27:30.712592", "rc": 0, "start": "2024-02-19 00:27:30.702502" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:54 Monday 19 February 2024 00:27:30 +0000 (0:00:00.132) 0:00:07.581 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:60 Monday 19 February 2024 00:27:30 +0000 (0:00:00.009) 0:00:07.590 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:65 Monday 19 February 2024 00:27:30 +0000 (0:00:00.009) 0:00:07.600 ******* 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_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:18 Monday 19 February 2024 00:27:30 +0000 (0:00:00.007) 0:00:07.607 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:30 +0000 (0:00:00.015) 0:00:07.623 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:30 +0000 (0:00:00.010) 0:00:07.633 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003741", "end": "2024-02-19 00:27:30.889771", "rc": 0, "start": "2024-02-19 00:27:30.886030" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:30 +0000 (0:00:00.121) 0:00:07.755 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:30 +0000 (0:00:00.010) 0:00:07.765 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:20 Monday 19 February 2024 00:27:30 +0000 (0:00:00.009) 0:00:07.775 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_present.yml:3 Monday 19 February 2024 00:27:30 +0000 (0:00:00.016) 0:00:07.792 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:27:30 +0000 (0:00:00.009) 0:00:07.802 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708302450.7087631, "block_size": 4096, "blocks": 0, "ctime": 1708302450.7087631, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17542, "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": 1708302450.7087631, "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_hotfixdtegsnb3/tests/tasks/assert_device_present.yml:5 Monday 19 February 2024 00:27:31 +0000 (0:00:00.120) 0:00:07.922 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:23 Monday 19 February 2024 00:27:31 +0000 (0:00:00.011) 0:00:07.933 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:3 Monday 19 February 2024 00:27:31 +0000 (0:00:00.019) 0:00:07.953 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:8 Monday 19 February 2024 00:27:31 +0000 (0:00:00.008) 0:00:07.961 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:13 Monday 19 February 2024 00:27:31 +0000 (0:00:00.008) 0:00:07.970 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:31 +0000 (0:00:00.011) 0:00:07.981 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:31 +0000 (0:00:00.010) 0:00:07.991 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003672", "end": "2024-02-19 00:27:31.247208", "rc": 0, "start": "2024-02-19 00:27:31.243536" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:31 +0000 (0:00:00.121) 0:00:08.112 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:31 +0000 (0:00:00.011) 0:00:08.124 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:16 Monday 19 February 2024 00:27:31 +0000 (0:00:00.009) 0:00:08.133 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:27 Monday 19 February 2024 00:27:31 +0000 (0:00:00.315) 0:00:08.449 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:35 Monday 19 February 2024 00:27:31 +0000 (0:00:00.016) 0:00:08.465 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:43 Monday 19 February 2024 00:27:31 +0000 (0:00:00.009) 0:00:08.474 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:49 Monday 19 February 2024 00:27:31 +0000 (0:00:00.011) 0:00:08.485 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:54 Monday 19 February 2024 00:27:31 +0000 (0:00:00.012) 0:00:08.498 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007210", "end": "2024-02-19 00:27:31.762667", "rc": 0, "start": "2024-02-19 00:27:31.755457" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:60 Monday 19 February 2024 00:27:31 +0000 (0:00:00.131) 0:00:08.629 ******* 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_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:65 Monday 19 February 2024 00:27:31 +0000 (0:00:00.010) 0:00:08.640 ******* 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_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:27 Monday 19 February 2024 00:27:31 +0000 (0:00:00.008) 0:00:08.649 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:27:31 +0000 (0:00:00.022) 0:00:08.671 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:27:31 +0000 (0:00:00.010) 0:00:08.681 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003669", "end": "2024-02-19 00:27:31.939210", "rc": 0, "start": "2024-02-19 00:27:31.935541" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:27:31 +0000 (0:00:00.123) 0:00:08.805 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:27:31 +0000 (0:00:00.011) 0:00:08.816 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/create_and_remove_interface.yml:29 Monday 19 February 2024 00:27:31 +0000 (0:00:00.010) 0:00:08.826 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:27:31 +0000 (0:00:00.020) 0:00:08.846 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:27:32 +0000 (0:00:00.011) 0:00:08.858 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:27:32 +0000 (0:00:00.118) 0:00:08.977 ******* 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 Monday 19 February 2024 00:27:32 +0000 (0:00:00.015) 0:00:08.993 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tests_helpers_and_asserts.yml:3 --- Install yum-utils package ----------------------------------------------- 0.41s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/enable_epel.yml:24 ---------- Create veth interface veth1298 ------------------------------------------ 0.40s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/enable_epel.yml:30 ---------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/tasks/el_repo_setup.yml:3 --------- Create EPEL 7 ----------------------------------------------------------- 0.18s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/enable_epel.yml:8 ----------- Check if system is ostree ----------------------------------------------- 0.17s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/el_repo_setup.yml:17 -------- Set up veth as managed by NetworkManager -------------------------------- 0.15s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.13s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:49 Delete dummy interface dummy1298 ---------------------------------------- 0.13s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.13s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.13s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.13s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.13s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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. ---^---^---^---^---^---