# 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_rewriteizvqqgii/.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_rewriteizvqqgii/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_rewriteizvqqgii/tests/tests_helpers_and_asserts.yml:3 Wednesday 31 January 2024 23:43:07 +0000 (0:00:00.051) 0:00:00.051 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tests_helpers_and_asserts.yml:6 Wednesday 31 January 2024 23:43:08 +0000 (0:00:00.767) 0:00:00.819 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/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_rewriteizvqqgii/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:43:08 +0000 (0:00:00.021) 0:00:00.840 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/el_repo_setup.yml:17 Wednesday 31 January 2024 23:43:08 +0000 (0:00:00.247) 0:00:01.088 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/el_repo_setup.yml:22 Wednesday 31 January 2024 23:43:08 +0000 (0:00:00.262) 0:00:01.350 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/el_repo_setup.yml:26 Wednesday 31 January 2024 23:43:08 +0000 (0:00:00.027) 0:00:01.378 ***** 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_rewriteizvqqgii/tests/tasks/el_repo_setup.yml:51 Wednesday 31 January 2024 23:43:08 +0000 (0:00:00.016) 0:00:01.394 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:43:08 +0000 (0:00:00.036) 0:00:01.431 ***** 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_rewriteizvqqgii/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:43:08 +0000 (0:00:00.222) 0:00:01.653 ***** 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_rewriteizvqqgii/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:43:09 +0000 (0:00:00.501) 0:00:02.155 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.176877", "end": "2024-01-31 23:43:09.790576", "rc": 0, "start": "2024-01-31 23:43:09.613699" } 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_rewriteizvqqgii/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:43:09 +0000 (0:00:00.312) 0:00:02.467 ***** 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_rewriteizvqqgii/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:43:09 +0000 (0:00:00.015) 0:00:02.483 ***** 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_rewriteizvqqgii/tests/tests_helpers_and_asserts.yml:9 Wednesday 31 January 2024 23:43:09 +0000 (0:00:00.010) 0:00:02.494 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:3 Wednesday 31 January 2024 23:43:09 +0000 (0:00:00.013) 0:00:02.507 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:09 +0000 (0:00:00.014) 0:00:02.522 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:09 +0000 (0:00:00.017) 0:00:02.539 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004865", "end": "2024-01-31 23:43:10.994472", "rc": 0, "start": "2024-01-31 23:43:09.989607" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:11 +0000 (0:00:01.132) 0:00:03.672 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.012) 0:00:03.684 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:5 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.010) 0:00:03.695 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.017) 0:00:03.713 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.012) 0:00:03.725 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.008) 0:00:03.733 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.012) 0:00:03.746 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.011) 0:00:03.758 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003693", "end": "2024-01-31 23:43:11.210983", "rc": 0, "start": "2024-01-31 23:43:11.207290" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.128) 0:00:03.886 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.010) 0:00:03.897 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.010) 0:00:03.907 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.318) 0:00:04.226 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.019) 0:00:04.246 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.010) 0:00:04.256 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.009) 0:00:04.266 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.010) 0:00:04.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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.012) 0:00:04.289 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.010) 0:00:04.299 ***** 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_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:9 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.011) 0:00:04.310 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.015) 0:00:04.326 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:11 +0000 (0:00:00.010) 0:00:04.337 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005054", "end": "2024-01-31 23:43:12.788411", "rc": 0, "start": "2024-01-31 23:43:11.783357" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:12 +0000 (0:00:01.129) 0:00:05.466 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:12 +0000 (0:00:00.018) 0:00:05.485 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:11 Wednesday 31 January 2024 23:43:12 +0000 (0:00:00.012) 0:00:05.498 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:43:12 +0000 (0:00:00.020) 0:00:05.519 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:43:12 +0000 (0:00:00.012) 0:00:05.531 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:43:12 +0000 (0:00:00.126) 0:00:05.658 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:14 Wednesday 31 January 2024 23:43:13 +0000 (0:00:00.015) 0:00:05.674 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:43:13 +0000 (0:00:00.021) 0:00:05.695 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:43:13 +0000 (0:00:00.011) 0:00:05.706 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:43:13 +0000 (0:00:00.013) 0:00:05.720 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:13 +0000 (0:00:00.023) 0:00:05.744 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:13 +0000 (0:00:00.018) 0:00:05.762 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003732", "end": "2024-01-31 23:43:13.217837", "rc": 0, "start": "2024-01-31 23:43:13.214105" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:13 +0000 (0:00:00.132) 0:00:05.895 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:13 +0000 (0:00:00.014) 0:00:05.909 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:43:13 +0000 (0:00:00.013) 0:00:05.923 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:43:13 +0000 (0:00:00.317) 0:00:06.240 ***** 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.009526", "end": "2024-01-31 23:43:13.707944", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-01-31 23:43:13.698418" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003691", "end": "2024-01-31 23:43:13.839332", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-01-31 23:43:13.835641" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004484", "end": "2024-01-31 23:43:13.964563", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-01-31 23:43:13.960079" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:43:13 +0000 (0:00:00.402) 0:00:06.643 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.040213", "end": "2024-01-31 23:43:14.134163", "rc": 0, "start": "2024-01-31 23:43:14.093950" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.175) 0:00:06.818 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.014) 0:00:06.833 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.013) 0:00:06.846 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.014) 0:00:06.860 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.013) 0:00:06.873 ***** 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_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:18 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.012) 0:00:06.886 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.032) 0:00:06.919 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.017) 0:00:06.936 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004050", "end": "2024-01-31 23:43:14.390898", "rc": 0, "start": "2024-01-31 23:43:14.386848" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.131) 0:00:07.068 ***** 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_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.013) 0:00:07.082 ***** 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_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:20 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.011) 0:00:07.094 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.021) 0:00:07.116 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.015) 0:00:07.131 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744593.7127447, "block_size": 4096, "blocks": 0, "ctime": 1706744593.7127447, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17760, "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": 1706744593.7127447, "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_rewriteizvqqgii/tests/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.125) 0:00:07.257 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:23 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.013) 0:00:07.270 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.027) 0:00:07.298 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.009) 0:00:07.307 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.012) 0:00:07.320 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.016) 0:00:07.336 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.012) 0:00:07.349 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003734", "end": "2024-01-31 23:43:14.800228", "rc": 0, "start": "2024-01-31 23:43:14.796494" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.128) 0:00:07.477 ***** 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_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.012) 0:00:07.490 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:43:14 +0000 (0:00:00.012) 0:00:07.503 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.321) 0:00:07.824 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.027) 0:00:07.851 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.011) 0:00:07.862 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008441", "end": "2024-01-31 23:43:15.324061", "rc": 0, "start": "2024-01-31 23:43:15.315620" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.141) 0:00:08.004 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.011) 0:00:08.016 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.011) 0:00:08.027 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.012) 0:00:08.040 ***** 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_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:27 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.009) 0:00:08.049 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.024) 0:00:08.073 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.012) 0:00:08.086 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003752", "end": "2024-01-31 23:43:15.538084", "rc": 0, "start": "2024-01-31 23:43:15.534332" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.129) 0:00:08.215 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.012) 0:00:08.228 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:29 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.013) 0:00:08.241 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.027) 0:00:08.269 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.013) 0:00:08.283 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.125) 0:00:08.408 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tests_helpers_and_asserts.yml:15 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.016) 0:00:08.425 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:3 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.021) 0:00:08.447 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.015) 0:00:08.462 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.015) 0:00:08.478 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003715", "end": "2024-01-31 23:43:15.932768", "rc": 0, "start": "2024-01-31 23:43:15.929053" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.134) 0:00:08.612 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.014) 0:00:08.627 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:5 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.012) 0:00:08.639 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:43:15 +0000 (0:00:00.023) 0:00:08.662 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.013) 0:00:08.675 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.011) 0:00:08.687 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.018) 0:00:08.706 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.017) 0:00:08.723 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003765", "end": "2024-01-31 23:43:16.173442", "rc": 0, "start": "2024-01-31 23:43:16.169677" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.128) 0:00:08.852 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.015) 0:00:08.867 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.012) 0:00:08.880 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.317) 0:00:09.197 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.019) 0:00:09.217 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.013) 0:00:09.231 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.011) 0:00:09.243 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.011) 0:00:09.254 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.011) 0:00:09.266 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.011) 0:00:09.277 ***** 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_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:9 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.009) 0:00:09.287 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.017) 0:00:09.305 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.013) 0:00:09.318 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003730", "end": "2024-01-31 23:43:16.770654", "rc": 0, "start": "2024-01-31 23:43:16.766924" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.129) 0:00:09.448 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.017) 0:00:09.465 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:11 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.014) 0:00:09.479 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.018) 0:00:09.498 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.016) 0:00:09.515 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.126) 0:00:09.642 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:14 Wednesday 31 January 2024 23:43:16 +0000 (0:00:00.014) 0:00:09.657 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:43:17 +0000 (0:00:00.022) 0:00:09.679 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:43:17 +0000 (0:00:00.010) 0:00:09.689 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:43:17 +0000 (0:00:00.009) 0:00:09.699 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:17 +0000 (0:00:00.015) 0:00:09.715 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:17 +0000 (0:00:00.014) 0:00:09.729 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004909", "end": "2024-01-31 23:43:18.185274", "rc": 0, "start": "2024-01-31 23:43:17.180365" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:18 +0000 (0:00:01.133) 0:00:10.863 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.015) 0:00:10.878 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.012) 0:00:10.891 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.316) 0:00:11.207 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.020) 0:00:11.227 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.013) 0:00:11.240 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.012) 0:00:11.253 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.008386", "end": "2024-01-31 23:43:18.710267", "rc": 0, "start": "2024-01-31 23:43:18.701881" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.142) 0:00:11.395 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.013) 0:00:11.409 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.015) 0:00:11.425 ***** 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_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:18 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.013) 0:00:11.438 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.023) 0:00:11.462 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.012) 0:00:11.474 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003730", "end": "2024-01-31 23:43:18.926295", "rc": 0, "start": "2024-01-31 23:43:18.922565" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.128) 0:00:11.602 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.013) 0:00:11.616 ***** 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_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:20 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.015) 0:00:11.631 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.019) 0:00:11.650 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:43:18 +0000 (0:00:00.011) 0:00:11.662 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744598.7095618, "block_size": 4096, "blocks": 0, "ctime": 1706744598.7095618, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17651, "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": 1706744598.7095618, "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_rewriteizvqqgii/tests/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.126) 0:00:11.788 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:23 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.013) 0:00:11.802 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.025) 0:00:11.827 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.009) 0:00:11.837 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.009) 0:00:11.846 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.013) 0:00:11.860 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.011) 0:00:11.872 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003708", "end": "2024-01-31 23:43:19.322263", "rc": 0, "start": "2024-01-31 23:43:19.318555" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.125) 0:00:11.997 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.012) 0:00:12.010 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.014) 0:00:12.024 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.321) 0:00:12.345 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.019) 0:00:12.364 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.010) 0:00:12.375 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.012) 0:00:12.387 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.010) 0:00:12.398 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007651", "end": "2024-01-31 23:43:19.855025", "rc": 0, "start": "2024-01-31 23:43:19.847374" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.134) 0:00:12.532 ***** 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_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.011) 0:00:12.543 ***** 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_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:27 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.009) 0:00:12.553 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.031) 0:00:12.585 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:43:19 +0000 (0:00:00.016) 0:00:12.601 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003719", "end": "2024-01-31 23:43:20.051981", "rc": 0, "start": "2024-01-31 23:43:20.048262" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:43:20 +0000 (0:00:00.128) 0:00:12.730 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:43:20 +0000 (0:00:00.014) 0:00:12.744 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/create_and_remove_interface.yml:29 Wednesday 31 January 2024 23:43:20 +0000 (0:00:00.011) 0:00:12.756 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_absent.yml:3 Wednesday 31 January 2024 23:43:20 +0000 (0:00:00.024) 0:00:12.781 ***** included: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:43:20 +0000 (0:00:00.012) 0:00:12.794 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/assert_device_absent.yml:5 Wednesday 31 January 2024 23:43:20 +0000 (0:00:00.124) 0:00:12.919 ***** 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:43:20 +0000 (0:00:00.025) 0:00:12.944 ***** =============================================================================== Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tests_helpers_and_asserts.yml:3 Install yum-utils package ----------------------------------------------- 0.50s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth1298 ------------------------------------------ 0.40s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.31s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/enable_epel.yml:30 ------ Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/el_repo_setup.yml:17 ---- Gather the minimum subset of ansible_facts required by the network role test --- 0.25s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/el_repo_setup.yml:3 ----- Create EPEL 7 ----------------------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/enable_epel.yml:8 ------- Set up veth as managed by NetworkManager -------------------------------- 0.18s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.14s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:49 Delete veth interface veth1298 ------------------------------------------ 0.14s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.13s /WORKDIR/git-bond_options_rewriteizvqqgii/tests/tasks/get_current_interfaces.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---