# 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_rewriteuv2sua6l/.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_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/tests_helpers_and_asserts.yml:3 Wednesday 14 February 2024 21:30:20 +0000 (0:00:00.037) 0:00:00.037 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tests_helpers_and_asserts.yml:6 Wednesday 14 February 2024 21:30:21 +0000 (0:00:00.744) 0:00:00.782 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/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_rewriteuv2sua6l/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 21:30:21 +0000 (0:00:00.028) 0:00:00.810 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 21:30:21 +0000 (0:00:00.259) 0:00:01.070 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 21:30:22 +0000 (0:00:00.215) 0:00:01.286 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 21:30:22 +0000 (0:00:00.015) 0:00:01.301 **** 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-bond_options_rewriteuv2sua6l/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 21:30:22 +0000 (0:00:00.009) 0:00:01.310 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 21:30:22 +0000 (0:00:00.029) 0:00:01.339 **** 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_rewriteuv2sua6l/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 21:30:22 +0000 (0:00:00.185) 0:00:01.525 **** 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_rewriteuv2sua6l/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 21:30:22 +0000 (0:00:00.426) 0:00:01.951 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.178098", "end": "2024-02-14 21:30:23.158047", "rc": 0, "start": "2024-02-14 21:30:22.979949" } 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-bond_options_rewriteuv2sua6l/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.311) 0:00:02.263 **** 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_rewriteuv2sua6l/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.017) 0:00:02.281 **** 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_rewriteuv2sua6l/tests/tests_helpers_and_asserts.yml:9 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.016) 0:00:02.297 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.013) 0:00:02.311 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.011) 0:00:02.323 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.018) 0:00:02.341 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003769", "end": "2024-02-14 21:30:23.383981", "rc": 0, "start": "2024-02-14 21:30:23.380212" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.145) 0:00:02.487 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.014) 0:00:02.501 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.011) 0:00:02.513 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.022) 0:00:02.535 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.013) 0:00:02.549 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.035) 0:00:02.584 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.029) 0:00:02.614 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.025) 0:00:02.639 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003880", "end": "2024-02-14 21:30:23.681069", "rc": 0, "start": "2024-02-14 21:30:23.677189" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.153) 0:00:02.793 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.023) 0:00:02.816 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:30:23 +0000 (0:00:00.009) 0:00:02.826 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.309) 0:00:03.136 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.060) 0:00:03.196 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.028) 0:00:03.225 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.023) 0:00:03.248 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.027) 0:00:03.276 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.032) 0:00:03.309 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.015) 0:00:03.325 **** 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_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.032) 0:00:03.357 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.019) 0:00:03.376 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.018) 0:00:03.394 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003722", "end": "2024-02-14 21:30:24.426214", "rc": 0, "start": "2024-02-14 21:30:24.422492" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.138) 0:00:03.533 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.010) 0:00:03.543 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.009) 0:00:03.553 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.014) 0:00:03.568 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.010) 0:00:03.579 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.130) 0:00:03.709 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.011) 0:00:03.720 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.015) 0:00:03.736 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.007) 0:00:03.743 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.007) 0:00:03.751 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.012) 0:00:03.763 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.010) 0:00:03.774 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003781", "end": "2024-02-14 21:30:24.801656", "rc": 0, "start": "2024-02-14 21:30:24.797875" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.144) 0:00:03.918 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.015) 0:00:03.934 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:30:24 +0000 (0:00:00.017) 0:00:03.951 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:30:25 +0000 (0:00:00.319) 0:00:04.270 **** 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.012223", "end": "2024-02-14 21:30:25.306665", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-14 21:30:25.294442" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003520", "end": "2024-02-14 21:30:25.442659", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-14 21:30:25.439139" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004893", "end": "2024-02-14 21:30:25.569189", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-14 21:30:25.564296" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:30:25 +0000 (0:00:00.411) 0:00:04.682 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.042525", "end": "2024-02-14 21:30:25.758391", "rc": 0, "start": "2024-02-14 21:30:25.715866" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:30:25 +0000 (0:00:00.187) 0:00:04.869 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:30:25 +0000 (0:00:00.009) 0:00:04.879 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:30:25 +0000 (0:00:00.008) 0:00:04.888 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:30:25 +0000 (0:00:00.008) 0:00:04.896 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:30:25 +0000 (0:00:00.008) 0:00:04.905 **** 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_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 21:30:25 +0000 (0:00:00.010) 0:00:04.915 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:25 +0000 (0:00:00.018) 0:00:04.934 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:25 +0000 (0:00:00.012) 0:00:04.946 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003733", "end": "2024-02-14 21:30:25.971528", "rc": 0, "start": "2024-02-14 21:30:25.967795" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:25 +0000 (0:00:00.127) 0:00:05.074 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:25 +0000 (0:00:00.010) 0:00:05.084 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.021) 0:00:05.105 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.036) 0:00:05.142 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.012) 0:00:05.154 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946225.3057413, "block_size": 4096, "blocks": 0, "ctime": 1707946225.3057413, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17734, "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": 1707946225.3057413, "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_rewriteuv2sua6l/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.135) 0:00:05.289 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.037) 0:00:05.327 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.034) 0:00:05.361 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.019) 0:00:05.381 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.038) 0:00:05.420 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.032) 0:00:05.453 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.027) 0:00:05.480 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003741", "end": "2024-02-14 21:30:26.508324", "rc": 0, "start": "2024-02-14 21:30:26.504583" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.129) 0:00:05.609 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.010) 0:00:05.619 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.017) 0:00:05.637 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.341) 0:00:05.979 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.021) 0:00:06.000 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:30:26 +0000 (0:00:00.027) 0:00:06.028 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010293", "end": "2024-02-14 21:30:27.078014", "rc": 0, "start": "2024-02-14 21:30:27.067721" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.163) 0:00:06.192 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.027) 0:00:06.219 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.009) 0:00:06.229 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.011) 0:00:06.241 **** 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_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.014) 0:00:06.255 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.036) 0:00:06.291 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.024) 0:00:06.316 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003821", "end": "2024-02-14 21:30:27.380272", "rc": 0, "start": "2024-02-14 21:30:27.376451" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.178) 0:00:06.494 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.019) 0:00:06.514 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.027) 0:00:06.541 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.038) 0:00:06.580 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.012) 0:00:06.592 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.139) 0:00:06.732 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tests_helpers_and_asserts.yml:15 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.020) 0:00:06.753 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.027) 0:00:06.780 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.034) 0:00:06.815 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.034) 0:00:06.849 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003697", "end": "2024-02-14 21:30:27.912737", "rc": 0, "start": "2024-02-14 21:30:27.909040" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.201) 0:00:07.051 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.014) 0:00:07.066 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 21:30:27 +0000 (0:00:00.012) 0:00:07.078 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.037) 0:00:07.116 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.020) 0:00:07.136 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.025) 0:00:07.161 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.032) 0:00:07.194 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.023) 0:00:07.218 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003735", "end": "2024-02-14 21:30:28.262562", "rc": 0, "start": "2024-02-14 21:30:28.258827" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.151) 0:00:07.369 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.028) 0:00:07.397 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.018) 0:00:07.416 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.341) 0:00:07.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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.025) 0:00:07.783 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.011) 0:00:07.795 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.041) 0:00:07.836 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.012) 0:00:07.849 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.025) 0:00:07.874 **** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.028) 0:00:07.903 **** 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_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.012) 0:00:07.915 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.026) 0:00:07.941 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:28 +0000 (0:00:00.021) 0:00:07.963 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003727", "end": "2024-02-14 21:30:28.996755", "rc": 0, "start": "2024-02-14 21:30:28.993028" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.134) 0:00:08.098 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.011) 0:00:08.109 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.014) 0:00:08.124 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.027) 0:00:08.151 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.014) 0:00:08.166 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.134) 0:00:08.300 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.020) 0:00:08.321 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.024) 0:00:08.345 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.011) 0:00:08.357 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.008) 0:00:08.365 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.013) 0:00:08.379 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.015) 0:00:08.394 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003758", "end": "2024-02-14 21:30:29.421392", "rc": 0, "start": "2024-02-14 21:30:29.417634" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.128) 0:00:08.523 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.015) 0:00:08.539 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.012) 0:00:08.552 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.373) 0:00:08.925 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.015) 0:00:08.941 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.008) 0:00:08.949 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:30:29 +0000 (0:00:00.008) 0:00:08.958 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.012815", "end": "2024-02-14 21:30:29.994676", "rc": 0, "start": "2024-02-14 21:30:29.981861" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.158) 0:00:09.117 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.009) 0:00:09.126 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.009) 0:00:09.136 **** 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_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.009) 0:00:09.146 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.018) 0:00:09.164 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.010) 0:00:09.174 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003834", "end": "2024-02-14 21:30:30.201803", "rc": 0, "start": "2024-02-14 21:30:30.197969" } STDOUT: bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.127) 0:00:09.302 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.010) 0:00:09.313 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.009) 0:00:09.323 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.017) 0:00:09.340 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.010) 0:00:09.350 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946230.0045528, "block_size": 4096, "blocks": 0, "ctime": 1707946230.0045528, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17763, "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": 1707946230.0045528, "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_rewriteuv2sua6l/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.144) 0:00:09.495 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.026) 0:00:09.522 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.043) 0:00:09.566 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.033) 0:00:09.600 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.031) 0:00:09.631 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.015) 0:00:09.647 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.048) 0:00:09.695 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003773", "end": "2024-02-14 21:30:30.745068", "rc": 0, "start": "2024-02-14 21:30:30.741295" } STDOUT: bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.174) 0:00:09.869 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.023) 0:00:09.893 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:30:30 +0000 (0:00:00.021) 0:00:09.914 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.344) 0:00:10.258 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.020) 0:00:10.279 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.027) 0:00:10.306 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.025) 0:00:10.331 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.034) 0:00:10.366 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007868", "end": "2024-02-14 21:30:31.452972", "rc": 0, "start": "2024-02-14 21:30:31.445104" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.189) 0:00:10.555 **** 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_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.012) 0:00:10.567 **** 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_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.010) 0:00:10.577 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.020) 0:00:10.598 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.010) 0:00:10.608 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003806", "end": "2024-02-14 21:30:31.650379", "rc": 0, "start": "2024-02-14 21:30:31.646573" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.148) 0:00:10.757 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.015) 0:00:10.773 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.012) 0:00:10.785 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.021) 0:00:10.807 **** included: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.013) 0:00:10.820 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:30:31 +0000 (0:00:00.121) 0:00:10.941 **** 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 14 February 2024 21:30:31 +0000 (0:00:00.016) 0:00:10.958 **** =============================================================================== Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tests_helpers_and_asserts.yml:3 Install yum-utils package ----------------------------------------------- 0.43s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth1298 ------------------------------------------ 0.41s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.37s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.31s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/enable_epel.yml:30 ------ Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.26s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/el_repo_setup.yml:17 ---- Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.19s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:54 Set up veth as managed by NetworkManager -------------------------------- 0.19s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:35 Create EPEL 7 ----------------------------------------------------------- 0.19s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/enable_epel.yml:8 ------- Gather current interface info ------------------------------------------- 0.18s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.17s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.16s /WORKDIR/git-bond_options_rewriteuv2sua6l/tests/tasks/manage_test_interface.yml:43 Create dummy interface dummy1298 ---------------------------------------- 0.16s /WORKDIR/git-bond_options_rewriteuv2sua6l/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. ---^---^---^---^---^---