# 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_hotfixfhd6l7sa/.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_hotfixfhd6l7sa/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_hotfixfhd6l7sa/tests/tests_helpers_and_asserts.yml:3 Monday 19 February 2024 22:15:32 +0000 (0:00:00.063) 0:00:00.063 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tests_helpers_and_asserts.yml:6 Monday 19 February 2024 22:15:33 +0000 (0:00:00.807) 0:00:00.870 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/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_hotfixfhd6l7sa/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 22:15:33 +0000 (0:00:00.024) 0:00:00.895 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/el_repo_setup.yml:17 Monday 19 February 2024 22:15:33 +0000 (0:00:00.257) 0:00:01.152 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/el_repo_setup.yml:22 Monday 19 February 2024 22:15:33 +0000 (0:00:00.195) 0:00:01.348 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/el_repo_setup.yml:26 Monday 19 February 2024 22:15:33 +0000 (0:00:00.013) 0:00:01.361 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/el_repo_setup.yml:51 Monday 19 February 2024 22:15:33 +0000 (0:00:00.008) 0:00:01.370 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 22:15:33 +0000 (0:00:00.021) 0:00:01.391 ******* 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_hotfixfhd6l7sa/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 22:15:34 +0000 (0:00:00.211) 0:00:01.603 ******* 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_hotfixfhd6l7sa/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 22:15:34 +0000 (0:00:00.445) 0:00:02.049 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.188601", "end": "2024-02-19 22:15:34.790688", "rc": 0, "start": "2024-02-19 22:15:34.602087" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 22:15:34 +0000 (0:00:00.324) 0:00:02.373 ******* 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_hotfixfhd6l7sa/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 22:15:34 +0000 (0:00:00.009) 0:00:02.382 ******* 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_hotfixfhd6l7sa/tests/tests_helpers_and_asserts.yml:9 Monday 19 February 2024 22:15:34 +0000 (0:00:00.009) 0:00:02.392 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:3 Monday 19 February 2024 22:15:34 +0000 (0:00:00.012) 0:00:02.404 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:34 +0000 (0:00:00.010) 0:00:02.415 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:34 +0000 (0:00:00.009) 0:00:02.425 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004505", "end": "2024-02-19 22:15:34.985088", "rc": 0, "start": "2024-02-19 22:15:34.980583" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:34 +0000 (0:00:00.137) 0:00:02.563 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:35 +0000 (0:00:00.016) 0:00:02.579 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:5 Monday 19 February 2024 22:15:35 +0000 (0:00:00.009) 0:00:02.589 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:3 Monday 19 February 2024 22:15:35 +0000 (0:00:00.014) 0:00:02.604 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:8 Monday 19 February 2024 22:15:35 +0000 (0:00:00.008) 0:00:02.612 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:13 Monday 19 February 2024 22:15:35 +0000 (0:00:00.007) 0:00:02.620 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:35 +0000 (0:00:00.011) 0:00:02.631 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:35 +0000 (0:00:00.009) 0:00:02.641 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004884", "end": "2024-02-19 22:15:35.195868", "rc": 0, "start": "2024-02-19 22:15:35.190984" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:35 +0000 (0:00:00.132) 0:00:02.774 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:35 +0000 (0:00:00.009) 0:00:02.783 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:16 Monday 19 February 2024 22:15:35 +0000 (0:00:00.008) 0:00:02.792 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:27 Monday 19 February 2024 22:15:35 +0000 (0:00:00.326) 0:00:03.118 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:35 Monday 19 February 2024 22:15:35 +0000 (0:00:00.014) 0:00:03.133 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:43 Monday 19 February 2024 22:15:35 +0000 (0:00:00.009) 0:00:03.142 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:49 Monday 19 February 2024 22:15:35 +0000 (0:00:00.010) 0:00:03.153 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:54 Monday 19 February 2024 22:15:35 +0000 (0:00:00.009) 0:00:03.162 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:60 Monday 19 February 2024 22:15:35 +0000 (0:00:00.009) 0:00:03.171 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:65 Monday 19 February 2024 22:15:35 +0000 (0:00:00.008) 0:00:03.179 ******* 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_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:9 Monday 19 February 2024 22:15:35 +0000 (0:00:00.009) 0:00:03.189 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:35 +0000 (0:00:00.012) 0:00:03.202 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:35 +0000 (0:00:00.014) 0:00:03.217 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004585", "end": "2024-02-19 22:15:35.773660", "rc": 0, "start": "2024-02-19 22:15:35.769075" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:35 +0000 (0:00:00.134) 0:00:03.351 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:35 +0000 (0:00:00.014) 0:00:03.366 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:11 Monday 19 February 2024 22:15:35 +0000 (0:00:00.012) 0:00:03.378 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:15:35 +0000 (0:00:00.016) 0:00:03.395 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:15:35 +0000 (0:00:00.012) 0:00:03.407 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:15:36 +0000 (0:00:00.159) 0:00:03.567 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:14 Monday 19 February 2024 22:15:36 +0000 (0:00:00.014) 0:00:03.581 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:3 Monday 19 February 2024 22:15:36 +0000 (0:00:00.016) 0:00:03.597 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:8 Monday 19 February 2024 22:15:36 +0000 (0:00:00.022) 0:00:03.620 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:13 Monday 19 February 2024 22:15:36 +0000 (0:00:00.027) 0:00:03.647 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:36 +0000 (0:00:00.026) 0:00:03.674 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:36 +0000 (0:00:00.011) 0:00:03.685 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004534", "end": "2024-02-19 22:15:36.243991", "rc": 0, "start": "2024-02-19 22:15:36.239457" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:36 +0000 (0:00:00.146) 0:00:03.831 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:36 +0000 (0:00:00.011) 0:00:03.842 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:16 Monday 19 February 2024 22:15:36 +0000 (0:00:00.015) 0:00:03.857 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:27 Monday 19 February 2024 22:15:36 +0000 (0:00:00.346) 0:00:04.204 ******* 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.011539", "end": "2024-02-19 22:15:36.770764", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-19 22:15:36.759225" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004319", "end": "2024-02-19 22:15:36.910682", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-19 22:15:36.906363" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.005612", "end": "2024-02-19 22:15:37.049102", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-19 22:15:37.043490" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:35 Monday 19 February 2024 22:15:37 +0000 (0:00:00.423) 0:00:04.627 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.036917", "end": "2024-02-19 22:15:37.213279", "rc": 0, "start": "2024-02-19 22:15:37.176362" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:43 Monday 19 February 2024 22:15:37 +0000 (0:00:00.172) 0:00:04.800 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:49 Monday 19 February 2024 22:15:37 +0000 (0:00:00.015) 0:00:04.816 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:54 Monday 19 February 2024 22:15:37 +0000 (0:00:00.011) 0:00:04.828 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:60 Monday 19 February 2024 22:15:37 +0000 (0:00:00.008) 0:00:04.836 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:65 Monday 19 February 2024 22:15:37 +0000 (0:00:00.009) 0:00:04.845 ******* 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_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:18 Monday 19 February 2024 22:15:37 +0000 (0:00:00.008) 0:00:04.853 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:37 +0000 (0:00:00.016) 0:00:04.870 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:37 +0000 (0:00:00.009) 0:00:04.879 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004363", "end": "2024-02-19 22:15:37.441167", "rc": 0, "start": "2024-02-19 22:15:37.436804" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:37 +0000 (0:00:00.157) 0:00:05.036 ******* 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_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:37 +0000 (0:00:00.015) 0:00:05.052 ******* 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_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:20 Monday 19 February 2024 22:15:37 +0000 (0:00:00.012) 0:00:05.064 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_present.yml:3 Monday 19 February 2024 22:15:37 +0000 (0:00:00.019) 0:00:05.084 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:15:37 +0000 (0:00:00.011) 0:00:05.095 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380936.776085, "block_size": 4096, "blocks": 0, "ctime": 1708380936.776085, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17749, "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": 1708380936.776085, "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_hotfixfhd6l7sa/tests/tasks/assert_device_present.yml:5 Monday 19 February 2024 22:15:37 +0000 (0:00:00.151) 0:00:05.247 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:23 Monday 19 February 2024 22:15:37 +0000 (0:00:00.015) 0:00:05.263 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:3 Monday 19 February 2024 22:15:37 +0000 (0:00:00.053) 0:00:05.317 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:8 Monday 19 February 2024 22:15:37 +0000 (0:00:00.014) 0:00:05.332 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:13 Monday 19 February 2024 22:15:37 +0000 (0:00:00.017) 0:00:05.349 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:37 +0000 (0:00:00.025) 0:00:05.375 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:37 +0000 (0:00:00.015) 0:00:05.391 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004334", "end": "2024-02-19 22:15:37.978070", "rc": 0, "start": "2024-02-19 22:15:37.973736" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:37 +0000 (0:00:00.165) 0:00:05.556 ******* 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_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:38 +0000 (0:00:00.009) 0:00:05.566 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:16 Monday 19 February 2024 22:15:38 +0000 (0:00:00.010) 0:00:05.576 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:27 Monday 19 February 2024 22:15:38 +0000 (0:00:00.331) 0:00:05.907 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:35 Monday 19 February 2024 22:15:38 +0000 (0:00:00.014) 0:00:05.922 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:43 Monday 19 February 2024 22:15:38 +0000 (0:00:00.014) 0:00:05.937 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010657", "end": "2024-02-19 22:15:38.501463", "rc": 0, "start": "2024-02-19 22:15:38.490806" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:49 Monday 19 February 2024 22:15:38 +0000 (0:00:00.145) 0:00:06.083 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:54 Monday 19 February 2024 22:15:38 +0000 (0:00:00.009) 0:00:06.092 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:60 Monday 19 February 2024 22:15:38 +0000 (0:00:00.008) 0:00:06.101 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:65 Monday 19 February 2024 22:15:38 +0000 (0:00:00.013) 0:00:06.114 ******* 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_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:27 Monday 19 February 2024 22:15:38 +0000 (0:00:00.011) 0:00:06.126 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:38 +0000 (0:00:00.019) 0:00:06.146 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:38 +0000 (0:00:00.010) 0:00:06.157 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004601", "end": "2024-02-19 22:15:38.714100", "rc": 0, "start": "2024-02-19 22:15:38.709499" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:38 +0000 (0:00:00.137) 0:00:06.294 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:38 +0000 (0:00:00.015) 0:00:06.310 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:29 Monday 19 February 2024 22:15:38 +0000 (0:00:00.010) 0:00:06.320 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:15:38 +0000 (0:00:00.020) 0:00:06.340 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:15:38 +0000 (0:00:00.010) 0:00:06.351 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:15:38 +0000 (0:00:00.129) 0:00:06.480 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tests_helpers_and_asserts.yml:15 Monday 19 February 2024 22:15:38 +0000 (0:00:00.013) 0:00:06.494 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:3 Monday 19 February 2024 22:15:38 +0000 (0:00:00.013) 0:00:06.507 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:38 +0000 (0:00:00.013) 0:00:06.520 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:38 +0000 (0:00:00.009) 0:00:06.530 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004504", "end": "2024-02-19 22:15:39.086712", "rc": 0, "start": "2024-02-19 22:15:39.082208" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:39 +0000 (0:00:00.136) 0:00:06.667 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:39 +0000 (0:00:00.014) 0:00:06.681 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:5 Monday 19 February 2024 22:15:39 +0000 (0:00:00.013) 0:00:06.694 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:3 Monday 19 February 2024 22:15:39 +0000 (0:00:00.013) 0:00:06.707 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:8 Monday 19 February 2024 22:15:39 +0000 (0:00:00.016) 0:00:06.723 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:13 Monday 19 February 2024 22:15:39 +0000 (0:00:00.019) 0:00:06.743 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:39 +0000 (0:00:00.035) 0:00:06.778 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:39 +0000 (0:00:00.058) 0:00:06.837 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004766", "end": "2024-02-19 22:15:39.403167", "rc": 0, "start": "2024-02-19 22:15:39.398401" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:39 +0000 (0:00:00.143) 0:00:06.981 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:39 +0000 (0:00:00.010) 0:00:06.991 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:16 Monday 19 February 2024 22:15:39 +0000 (0:00:00.009) 0:00:07.001 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:27 Monday 19 February 2024 22:15:39 +0000 (0:00:00.327) 0:00:07.329 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:35 Monday 19 February 2024 22:15:39 +0000 (0:00:00.015) 0:00:07.345 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:43 Monday 19 February 2024 22:15:39 +0000 (0:00:00.012) 0:00:07.358 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:49 Monday 19 February 2024 22:15:39 +0000 (0:00:00.009) 0:00:07.367 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:54 Monday 19 February 2024 22:15:39 +0000 (0:00:00.009) 0:00:07.377 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:60 Monday 19 February 2024 22:15:39 +0000 (0:00:00.009) 0:00:07.386 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:65 Monday 19 February 2024 22:15:39 +0000 (0:00:00.009) 0:00:07.395 ******* 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_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:9 Monday 19 February 2024 22:15:39 +0000 (0:00:00.008) 0:00:07.404 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:39 +0000 (0:00:00.013) 0:00:07.417 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:39 +0000 (0:00:00.011) 0:00:07.429 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004424", "end": "2024-02-19 22:15:39.982918", "rc": 0, "start": "2024-02-19 22:15:39.978494" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:39 +0000 (0:00:00.131) 0:00:07.561 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:40 +0000 (0:00:00.011) 0:00:07.573 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:11 Monday 19 February 2024 22:15:40 +0000 (0:00:00.021) 0:00:07.594 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:15:40 +0000 (0:00:00.021) 0:00:07.616 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:15:40 +0000 (0:00:00.019) 0:00:07.635 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:15:40 +0000 (0:00:00.156) 0:00:07.791 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:14 Monday 19 February 2024 22:15:40 +0000 (0:00:00.014) 0:00:07.806 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:3 Monday 19 February 2024 22:15:40 +0000 (0:00:00.018) 0:00:07.824 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:8 Monday 19 February 2024 22:15:40 +0000 (0:00:00.009) 0:00:07.834 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:13 Monday 19 February 2024 22:15:40 +0000 (0:00:00.008) 0:00:07.843 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:40 +0000 (0:00:00.011) 0:00:07.854 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:40 +0000 (0:00:00.010) 0:00:07.865 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004464", "end": "2024-02-19 22:15:40.420433", "rc": 0, "start": "2024-02-19 22:15:40.415969" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:40 +0000 (0:00:00.136) 0:00:08.002 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:40 +0000 (0:00:00.010) 0:00:08.013 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:16 Monday 19 February 2024 22:15:40 +0000 (0:00:00.012) 0:00:08.025 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:27 Monday 19 February 2024 22:15:40 +0000 (0:00:00.343) 0:00:08.369 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:35 Monday 19 February 2024 22:15:40 +0000 (0:00:00.018) 0:00:08.387 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:43 Monday 19 February 2024 22:15:40 +0000 (0:00:00.009) 0:00:08.397 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:49 Monday 19 February 2024 22:15:40 +0000 (0:00:00.009) 0:00:08.406 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009960", "end": "2024-02-19 22:15:40.967724", "rc": 0, "start": "2024-02-19 22:15:40.957764" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:54 Monday 19 February 2024 22:15:40 +0000 (0:00:00.147) 0:00:08.554 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:60 Monday 19 February 2024 22:15:40 +0000 (0:00:00.009) 0:00:08.563 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:65 Monday 19 February 2024 22:15:41 +0000 (0:00:00.009) 0:00:08.573 ******* 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_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:18 Monday 19 February 2024 22:15:41 +0000 (0:00:00.013) 0:00:08.586 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:41 +0000 (0:00:00.017) 0:00:08.603 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:41 +0000 (0:00:00.009) 0:00:08.613 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004655", "end": "2024-02-19 22:15:41.173597", "rc": 0, "start": "2024-02-19 22:15:41.168942" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:41 +0000 (0:00:00.142) 0:00:08.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_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:41 +0000 (0:00:00.012) 0:00:08.768 ******* 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_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:20 Monday 19 February 2024 22:15:41 +0000 (0:00:00.014) 0:00:08.783 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_present.yml:3 Monday 19 February 2024 22:15:41 +0000 (0:00:00.017) 0:00:08.800 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:15:41 +0000 (0:00:00.014) 0:00:08.815 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708380940.9668832, "block_size": 4096, "blocks": 0, "ctime": 1708380940.9668832, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17636, "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": 1708380940.9668832, "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_hotfixfhd6l7sa/tests/tasks/assert_device_present.yml:5 Monday 19 February 2024 22:15:41 +0000 (0:00:00.192) 0:00:09.008 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:23 Monday 19 February 2024 22:15:41 +0000 (0:00:00.034) 0:00:09.042 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:3 Monday 19 February 2024 22:15:41 +0000 (0:00:00.019) 0:00:09.062 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:8 Monday 19 February 2024 22:15:41 +0000 (0:00:00.009) 0:00:09.071 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:13 Monday 19 February 2024 22:15:41 +0000 (0:00:00.009) 0:00:09.080 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:41 +0000 (0:00:00.013) 0:00:09.094 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:41 +0000 (0:00:00.010) 0:00:09.104 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004554", "end": "2024-02-19 22:15:41.662315", "rc": 0, "start": "2024-02-19 22:15:41.657761" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:41 +0000 (0:00:00.136) 0:00:09.240 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:41 +0000 (0:00:00.015) 0:00:09.256 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:16 Monday 19 February 2024 22:15:41 +0000 (0:00:00.032) 0:00:09.288 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:27 Monday 19 February 2024 22:15:42 +0000 (0:00:00.347) 0:00:09.636 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:35 Monday 19 February 2024 22:15:42 +0000 (0:00:00.023) 0:00:09.660 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:43 Monday 19 February 2024 22:15:42 +0000 (0:00:00.027) 0:00:09.687 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:49 Monday 19 February 2024 22:15:42 +0000 (0:00:00.014) 0:00:09.702 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:54 Monday 19 February 2024 22:15:42 +0000 (0:00:00.011) 0:00:09.714 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010456", "end": "2024-02-19 22:15:42.279286", "rc": 0, "start": "2024-02-19 22:15:42.268830" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:60 Monday 19 February 2024 22:15:42 +0000 (0:00:00.149) 0:00:09.864 ******* 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_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:65 Monday 19 February 2024 22:15:42 +0000 (0:00:00.017) 0:00:09.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_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:27 Monday 19 February 2024 22:15:42 +0000 (0:00:00.013) 0:00:09.895 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:3 Monday 19 February 2024 22:15:42 +0000 (0:00:00.044) 0:00:09.939 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 22:15:42 +0000 (0:00:00.013) 0:00:09.953 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004634", "end": "2024-02-19 22:15:42.510070", "rc": 0, "start": "2024-02-19 22:15:42.505436" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 22:15:42 +0000 (0:00:00.155) 0:00:10.108 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/show_interfaces.yml:5 Monday 19 February 2024 22:15:42 +0000 (0:00:00.010) 0:00:10.119 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/create_and_remove_interface.yml:29 Monday 19 February 2024 22:15:42 +0000 (0:00:00.013) 0:00:10.132 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_absent.yml:3 Monday 19 February 2024 22:15:42 +0000 (0:00:00.028) 0:00:10.161 ******* included: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml:3 Monday 19 February 2024 22:15:42 +0000 (0:00:00.012) 0:00:10.173 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/assert_device_absent.yml:5 Monday 19 February 2024 22:15:42 +0000 (0:00:00.135) 0:00:10.308 ******* 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 22:15:42 +0000 (0:00:00.015) 0:00:10.324 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 0.81s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tests_helpers_and_asserts.yml:3 --- Install yum-utils package ----------------------------------------------- 0.45s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/enable_epel.yml:24 ---------- Create veth interface veth1298 ------------------------------------------ 0.42s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.32s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/enable_epel.yml:30 ---------- Gather the minimum subset of ansible_facts required by the network role test --- 0.26s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/el_repo_setup.yml:3 --------- Create EPEL 7 ----------------------------------------------------------- 0.21s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/enable_epel.yml:8 ----------- Check if system is ostree ----------------------------------------------- 0.20s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/el_repo_setup.yml:17 -------- Get stat for interface dummy1298 ---------------------------------------- 0.19s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml:3 ---- Set up veth as managed by NetworkManager -------------------------------- 0.17s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.17s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Get stat for interface veth1298 ----------------------------------------- 0.16s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml:3 ---- Gather current interface info ------------------------------------------- 0.16s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.16s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/tests/tasks/get_interface_stat.yml:3 ---- Gather current interface info ------------------------------------------- 0.16s /WORKDIR/git-nm_plugin_hotfixfhd6l7sa/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. ---^---^---^---^---^---