# 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-bond_options_rewrite9jy7r7et/.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-bond_options_rewrite9jy7r7et/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tests_helpers_and_asserts.yml:3 Wednesday 31 January 2024 23:30:16 +0000 (0:00:00.065) 0:00:00.065 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tests_helpers_and_asserts.yml:6 Wednesday 31 January 2024 23:30:17 +0000 (0:00:00.883) 0:00:00.948 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/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-bond_options_rewrite9jy7r7et/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:30:17 +0000 (0:00:00.019) 0:00:00.968 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/el_repo_setup.yml:17 Wednesday 31 January 2024 23:30:17 +0000 (0:00:00.257) 0:00:01.225 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/el_repo_setup.yml:22 Wednesday 31 January 2024 23:30:17 +0000 (0:00:00.219) 0:00:01.444 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/el_repo_setup.yml:26 Wednesday 31 January 2024 23:30:17 +0000 (0:00:00.020) 0:00:01.465 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/el_repo_setup.yml:51 Wednesday 31 January 2024 23:30:17 +0000 (0:00:00.015) 0:00:01.480 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:30:18 +0000 (0:00:00.034) 0:00:01.514 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:30:18 +0000 (0:00:00.274) 0:00:01.788 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:30:18 +0000 (0:00:00.498) 0:00:02.287 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.207878", "end": "2024-01-31 23:30:19.102858", "rc": 0, "start": "2024-01-31 23:30:18.894980" } 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-bond_options_rewrite9jy7r7et/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.358) 0:00:02.645 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.021) 0:00:02.666 ***** 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-bond_options_rewrite9jy7r7et/tests/tests_helpers_and_asserts.yml:9 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.017) 0:00:02.684 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:3 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.026) 0:00:02.711 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.033) 0:00:02.744 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.018) 0:00:02.762 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004121", "end": "2024-01-31 23:30:19.387151", "rc": 0, "start": "2024-01-31 23:30:19.383030" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.159) 0:00:02.922 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.023) 0:00:02.945 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:5 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.025) 0:00:02.971 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.027) 0:00:02.998 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.015) 0:00:03.014 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.024) 0:00:03.039 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.036) 0:00:03.075 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.022) 0:00:03.098 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004061", "end": "2024-01-31 23:30:19.740485", "rc": 0, "start": "2024-01-31 23:30:19.736424" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.169) 0:00:03.268 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.018) 0:00:03.287 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:30:19 +0000 (0:00:00.018) 0:00:03.306 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.375) 0:00:03.681 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.032) 0:00:03.714 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.032) 0:00:03.746 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.020) 0:00:03.766 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.020) 0:00:03.787 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.017) 0:00:03.805 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.018) 0:00:03.824 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:9 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.017) 0:00:03.842 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.027) 0:00:03.870 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.024) 0:00:03.894 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004332", "end": "2024-01-31 23:30:20.520388", "rc": 0, "start": "2024-01-31 23:30:20.516056" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.165) 0:00:04.059 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.033) 0:00:04.092 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:11 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.033) 0:00:04.126 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.029) 0:00:04.156 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.022) 0:00:04.178 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.140) 0:00:04.319 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:14 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.022) 0:00:04.341 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.032) 0:00:04.374 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.014) 0:00:04.388 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.011) 0:00:04.400 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.024) 0:00:04.425 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:20 +0000 (0:00:00.024) 0:00:04.449 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004160", "end": "2024-01-31 23:30:21.060935", "rc": 0, "start": "2024-01-31 23:30:21.056775" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:21 +0000 (0:00:00.142) 0:00:04.592 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:21 +0000 (0:00:00.022) 0:00:04.614 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:30:21 +0000 (0:00:00.028) 0:00:04.642 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:30:21 +0000 (0:00:00.446) 0:00:05.089 ***** 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.010550", "end": "2024-01-31 23:30:21.750634", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-01-31 23:30:21.740084" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.008345", "end": "2024-01-31 23:30:21.896850", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-01-31 23:30:21.888505" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.009447", "end": "2024-01-31 23:30:22.038391", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-01-31 23:30:22.028944" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.479) 0:00:05.568 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.029464", "end": "2024-01-31 23:30:22.213907", "rc": 0, "start": "2024-01-31 23:30:22.184443" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.174) 0:00:05.743 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.016) 0:00:05.760 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.013) 0:00:05.774 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.011) 0:00:05.785 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.014) 0:00:05.799 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:18 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.012) 0:00:05.812 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.027) 0:00:05.840 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.016) 0:00:05.856 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004196", "end": "2024-01-31 23:30:22.466846", "rc": 0, "start": "2024-01-31 23:30:22.462650" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.136) 0:00:05.993 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.014) 0:00:06.007 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:20 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.016) 0:00:06.023 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.031) 0:00:06.054 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.039) 0:00:06.094 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743821.7617838, "block_size": 4096, "blocks": 0, "ctime": 1706743821.7617838, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17627, "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": 1706743821.7617838, "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-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.170) 0:00:06.265 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:23 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.017) 0:00:06.283 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.034) 0:00:06.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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.013) 0:00:06.331 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.015) 0:00:06.346 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.039) 0:00:06.385 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:22 +0000 (0:00:00.051) 0:00:06.437 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004062", "end": "2024-01-31 23:30:23.052662", "rc": 0, "start": "2024-01-31 23:30:23.048600" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:23 +0000 (0:00:00.155) 0:00:06.592 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:23 +0000 (0:00:00.014) 0:00:06.607 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:30:23 +0000 (0:00:00.015) 0:00:06.623 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:30:23 +0000 (0:00:00.381) 0:00:07.004 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:30:23 +0000 (0:00:00.049) 0:00:07.054 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:30:23 +0000 (0:00:00.018) 0:00:07.073 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010045", "end": "2024-01-31 23:30:23.702068", "rc": 0, "start": "2024-01-31 23:30:23.692023" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:30:23 +0000 (0:00:00.161) 0:00:07.234 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:30:23 +0000 (0:00:00.017) 0:00:07.251 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:30:23 +0000 (0:00:00.025) 0:00:07.277 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:30:23 +0000 (0:00:00.028) 0:00:07.306 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:27 Wednesday 31 January 2024 23:30:23 +0000 (0:00:00.014) 0:00:07.321 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:23 +0000 (0:00:00.044) 0:00:07.366 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:23 +0000 (0:00:00.022) 0:00:07.389 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004051", "end": "2024-01-31 23:30:24.011075", "rc": 0, "start": "2024-01-31 23:30:24.007024" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.152) 0:00:07.541 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.013) 0:00:07.554 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:29 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.012) 0:00:07.567 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.033) 0:00:07.600 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.013) 0:00:07.614 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.133) 0:00:07.748 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tests_helpers_and_asserts.yml:15 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.020) 0:00:07.768 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:3 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.024) 0:00:07.793 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.015) 0:00:07.809 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.013) 0:00:07.823 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004157", "end": "2024-01-31 23:30:24.434060", "rc": 0, "start": "2024-01-31 23:30:24.429903" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.138) 0:00:07.961 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.012) 0:00:07.974 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:5 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.014) 0:00:07.988 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.027) 0:00:08.016 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.013) 0:00:08.029 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.013) 0:00:08.043 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.021) 0:00:08.065 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.032) 0:00:08.097 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004154", "end": "2024-01-31 23:30:24.710592", "rc": 0, "start": "2024-01-31 23:30:24.706438" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.145) 0:00:08.242 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.014) 0:00:08.256 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:30:24 +0000 (0:00:00.017) 0:00:08.274 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.345) 0:00:08.619 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.019) 0:00:08.638 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.012) 0:00:08.651 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.011) 0:00:08.662 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.011) 0:00:08.673 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.010) 0:00:08.684 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.011) 0:00:08.696 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:9 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.010) 0:00:08.706 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.018) 0:00:08.724 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.013) 0:00:08.737 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004207", "end": "2024-01-31 23:30:25.346985", "rc": 0, "start": "2024-01-31 23:30:25.342778" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.136) 0:00:08.874 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.015) 0:00:08.889 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:11 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.016) 0:00:08.905 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.036) 0:00:08.942 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.018) 0:00:08.961 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.138) 0:00:09.100 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:14 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.019) 0:00:09.119 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.026) 0:00:09.146 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.011) 0:00:09.158 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.013) 0:00:09.171 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.019) 0:00:09.191 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.017) 0:00:09.208 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004024", "end": "2024-01-31 23:30:25.819360", "rc": 0, "start": "2024-01-31 23:30:25.815336" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.138) 0:00:09.347 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.018) 0:00:09.365 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:30:25 +0000 (0:00:00.020) 0:00:09.385 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.371) 0:00:09.757 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.023) 0:00:09.781 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.013) 0:00:09.794 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.017) 0:00:09.811 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009775", "end": "2024-01-31 23:30:26.436986", "rc": 0, "start": "2024-01-31 23:30:26.427211" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.160) 0:00:09.972 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.016) 0:00:09.988 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.019) 0:00:10.007 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:18 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.014) 0:00:10.021 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.040) 0:00:10.061 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.016) 0:00:10.078 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004147", "end": "2024-01-31 23:30:26.687681", "rc": 0, "start": "2024-01-31 23:30:26.683534" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.145) 0:00:10.224 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.018) 0:00:10.242 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:20 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.019) 0:00:10.262 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.034) 0:00:10.296 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.020) 0:00:10.316 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743826.4347937, "block_size": 4096, "blocks": 0, "ctime": 1706743826.4347937, "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": 1706743826.4347937, "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-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:30:26 +0000 (0:00:00.158) 0:00:10.475 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:23 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.044) 0:00:10.520 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.042) 0:00:10.563 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.018) 0:00:10.581 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.024) 0:00:10.606 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.025) 0:00:10.631 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.046) 0:00:10.678 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004039", "end": "2024-01-31 23:30:27.303482", "rc": 0, "start": "2024-01-31 23:30:27.299443" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.157) 0:00:10.836 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.017) 0:00:10.853 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.035) 0:00:10.888 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.356) 0:00:11.244 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.024) 0:00:11.269 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.015) 0:00:11.285 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.016) 0:00:11.302 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.016) 0:00:11.318 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011369", "end": "2024-01-31 23:30:27.950089", "rc": 0, "start": "2024-01-31 23:30:27.938720" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.169) 0:00:11.487 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:30:27 +0000 (0:00:00.015) 0:00:11.503 ***** 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-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:27 Wednesday 31 January 2024 23:30:28 +0000 (0:00:00.017) 0:00:11.520 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:30:28 +0000 (0:00:00.032) 0:00:11.553 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:30:28 +0000 (0:00:00.016) 0:00:11.570 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004148", "end": "2024-01-31 23:30:28.179642", "rc": 0, "start": "2024-01-31 23:30:28.175494" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:30:28 +0000 (0:00:00.138) 0:00:11.708 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:30:28 +0000 (0:00:00.017) 0:00:11.726 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/create_and_remove_interface.yml:29 Wednesday 31 January 2024 23:30:28 +0000 (0:00:00.019) 0:00:11.745 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:30:28 +0000 (0:00:00.056) 0:00:11.801 ***** included: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:30:28 +0000 (0:00:00.020) 0:00:11.821 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:30:28 +0000 (0:00:00.135) 0:00:11.957 ***** 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 Wednesday 31 January 2024 23:30:28 +0000 (0:00:00.021) 0:00:11.978 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 0.88s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tests_helpers_and_asserts.yml:3 Install yum-utils package ----------------------------------------------- 0.50s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth1298 ------------------------------------------ 0.48s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.45s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.38s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.38s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.37s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.36s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/enable_epel.yml:30 ------ Install iproute --------------------------------------------------------- 0.36s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:16 Create EPEL 7 ----------------------------------------------------------- 0.27s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/enable_epel.yml:8 ------- Gather the minimum subset of ansible_facts required by the network role test --- 0.26s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/el_repo_setup.yml:17 ---- Set up veth as managed by NetworkManager -------------------------------- 0.17s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:35 Get stat for interface veth1298 ----------------------------------------- 0.17s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.17s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.17s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.17s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.16s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:43 Create dummy interface dummy1298 ---------------------------------------- 0.16s /WORKDIR/git-bond_options_rewrite9jy7r7et/tests/tasks/manage_test_interface.yml:49 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---