# 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_rewriteun5tivel/.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_rewriteun5tivel/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_rewriteun5tivel/tests/tests_helpers_and_asserts.yml:3 Tuesday 13 February 2024 21:20:56 +0000 (0:00:00.052) 0:00:00.052 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tests_helpers_and_asserts.yml:6 Tuesday 13 February 2024 21:20:57 +0000 (0:00:00.828) 0:00:00.881 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/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_rewriteun5tivel/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 21:20:57 +0000 (0:00:00.027) 0:00:00.908 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/el_repo_setup.yml:17 Tuesday 13 February 2024 21:20:57 +0000 (0:00:00.248) 0:00:01.156 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/el_repo_setup.yml:22 Tuesday 13 February 2024 21:20:58 +0000 (0:00:00.217) 0:00:01.374 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/el_repo_setup.yml:26 Tuesday 13 February 2024 21:20:58 +0000 (0:00:00.018) 0:00:01.392 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/el_repo_setup.yml:51 Tuesday 13 February 2024 21:20:58 +0000 (0:00:00.015) 0:00:01.408 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 21:20:58 +0000 (0:00:00.024) 0:00:01.432 ****** 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_rewriteun5tivel/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 21:20:58 +0000 (0:00:00.225) 0:00:01.658 ****** 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_rewriteun5tivel/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 21:20:58 +0000 (0:00:00.583) 0:00:02.241 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.204240", "end": "2024-02-13 21:20:59.206389", "rc": 0, "start": "2024-02-13 21:20:59.002149" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.361) 0:00:02.603 ****** 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_rewriteun5tivel/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.010) 0:00:02.614 ****** 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_rewriteun5tivel/tests/tests_helpers_and_asserts.yml:9 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.009) 0:00:02.623 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:3 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.011) 0:00:02.635 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.016) 0:00:02.652 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.009) 0:00:02.662 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004079", "end": "2024-02-13 21:20:59.413117", "rc": 0, "start": "2024-02-13 21:20:59.409038" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.151) 0:00:02.814 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.021) 0:00:02.836 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:5 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.015) 0:00:02.852 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.025) 0:00:02.877 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.032) 0:00:02.910 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.023) 0:00:02.934 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.017) 0:00:02.951 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.022) 0:00:02.973 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004037", "end": "2024-02-13 21:20:59.717003", "rc": 0, "start": "2024-02-13 21:20:59.712966" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.144) 0:00:03.118 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.022) 0:00:03.140 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:20:59 +0000 (0:00:00.010) 0:00:03.151 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.362) 0:00:03.514 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.026) 0:00:03.540 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.040) 0:00:03.581 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.030) 0:00:03.611 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.046) 0:00:03.658 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.025) 0:00:03.683 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.044) 0:00:03.727 ****** 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_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:9 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.015) 0:00:03.743 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.035) 0:00:03.778 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.034) 0:00:03.813 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004119", "end": "2024-02-13 21:21:00.591550", "rc": 0, "start": "2024-02-13 21:21:00.587431" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.172) 0:00:03.985 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.024) 0:00:04.010 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:11 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.025) 0:00:04.036 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.025) 0:00:04.061 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.026) 0:00:04.087 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.159) 0:00:04.247 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:14 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.017) 0:00:04.265 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.076) 0:00:04.341 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:21:00 +0000 (0:00:00.016) 0:00:04.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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:21:01 +0000 (0:00:00.026) 0:00:04.384 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:21:01 +0000 (0:00:00.015) 0:00:04.399 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:21:01 +0000 (0:00:00.024) 0:00:04.424 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004113", "end": "2024-02-13 21:21:01.185245", "rc": 0, "start": "2024-02-13 21:21:01.181132" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:21:01 +0000 (0:00:00.161) 0:00:04.585 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:21:01 +0000 (0:00:00.010) 0:00:04.596 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:21:01 +0000 (0:00:00.022) 0:00:04.619 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:21:01 +0000 (0:00:00.368) 0:00:04.988 ****** 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.012208", "end": "2024-02-13 21:21:01.755363", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-13 21:21:01.743155" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.010131", "end": "2024-02-13 21:21:01.910692", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-13 21:21:01.900561" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.010413", "end": "2024-02-13 21:21:02.057763", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-13 21:21:02.047350" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.470) 0:00:05.458 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.028485", "end": "2024-02-13 21:21:02.234584", "rc": 0, "start": "2024-02-13 21:21:02.206099" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.165) 0:00:05.623 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.010) 0:00:05.634 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.013) 0:00:05.647 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.009) 0:00:05.657 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.009) 0:00:05.666 ****** 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_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:18 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.007) 0:00:05.674 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.015) 0:00:05.690 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.009) 0:00:05.699 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003988", "end": "2024-02-13 21:21:02.441719", "rc": 0, "start": "2024-02-13 21:21:02.437731" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.127) 0:00:05.826 ****** 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_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.014) 0:00:05.841 ****** 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_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:20 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.012) 0:00:05.853 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.022) 0:00:05.876 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.013) 0:00:05.889 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859261.7630446, "block_size": 4096, "blocks": 0, "ctime": 1707859261.7630446, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17598, "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": 1707859261.7630446, "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_rewriteun5tivel/tests/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.144) 0:00:06.034 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:23 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.011) 0:00:06.046 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.027) 0:00:06.073 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.014) 0:00:06.087 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.009) 0:00:06.096 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.020) 0:00:06.117 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.020) 0:00:06.138 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004048", "end": "2024-02-13 21:21:02.910149", "rc": 0, "start": "2024-02-13 21:21:02.906101" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.166) 0:00:06.304 ****** 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_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.021) 0:00:06.325 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:21:02 +0000 (0:00:00.021) 0:00:06.347 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.370) 0:00:06.717 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.027) 0:00:06.745 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.014) 0:00:06.760 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008810", "end": "2024-02-13 21:21:03.526140", "rc": 0, "start": "2024-02-13 21:21:03.517330" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.152) 0:00:06.912 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.025) 0:00:06.937 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.010) 0:00:06.947 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.016) 0:00:06.964 ****** 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_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:27 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.010) 0:00:06.975 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.038) 0:00:07.013 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.011) 0:00:07.024 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003787", "end": "2024-02-13 21:21:03.772206", "rc": 0, "start": "2024-02-13 21:21:03.768419" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.141) 0:00:07.165 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.034) 0:00:07.200 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:29 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.029) 0:00:07.229 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.093) 0:00:07.323 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:21:03 +0000 (0:00:00.042) 0:00:07.365 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.136) 0:00:07.501 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tests_helpers_and_asserts.yml:15 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.016) 0:00:07.518 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:3 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.016) 0:00:07.534 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.019) 0:00:07.553 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.026) 0:00:07.580 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003711", "end": "2024-02-13 21:21:04.332465", "rc": 0, "start": "2024-02-13 21:21:04.328754" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.157) 0:00:07.738 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.013) 0:00:07.751 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:5 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.021) 0:00:07.773 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.015) 0:00:07.789 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.016) 0:00:07.806 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.020) 0:00:07.827 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.031) 0:00:07.858 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.031) 0:00:07.889 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003668", "end": "2024-02-13 21:21:04.657983", "rc": 0, "start": "2024-02-13 21:21:04.654315" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.168) 0:00:08.058 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.010) 0:00:08.069 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:21:04 +0000 (0:00:00.016) 0:00:08.085 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.332) 0:00:08.418 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.065) 0:00:08.483 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.033) 0:00:08.517 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.034) 0:00:08.552 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.029) 0:00:08.581 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.027) 0:00:08.609 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.020) 0:00:08.629 ****** 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_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:9 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.027) 0:00:08.657 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.043) 0:00:08.701 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.019) 0:00:08.721 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003917", "end": "2024-02-13 21:21:05.487993", "rc": 0, "start": "2024-02-13 21:21:05.484076" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.159) 0:00:08.881 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.009) 0:00:08.891 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:11 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.010) 0:00:08.901 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.013) 0:00:08.914 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.011) 0:00:08.926 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.162) 0:00:09.089 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:14 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.019) 0:00:09.108 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.024) 0:00:09.133 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.008) 0:00:09.141 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.009) 0:00:09.151 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.013) 0:00:09.164 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.019) 0:00:09.184 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003893", "end": "2024-02-13 21:21:05.983382", "rc": 0, "start": "2024-02-13 21:21:05.979489" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:21:05 +0000 (0:00:00.185) 0:00:09.370 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:21:06 +0000 (0:00:00.016) 0:00:09.386 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:21:06 +0000 (0:00:00.030) 0:00:09.417 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:21:06 +0000 (0:00:00.349) 0:00:09.766 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:21:06 +0000 (0:00:00.030) 0:00:09.797 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:21:06 +0000 (0:00:00.013) 0:00:09.810 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:21:06 +0000 (0:00:00.037) 0:00:09.848 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.057615", "end": "2024-02-13 21:21:06.700317", "rc": 0, "start": "2024-02-13 21:21:06.642702" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:21:06 +0000 (0:00:00.260) 0:00:10.108 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:21:06 +0000 (0:00:00.034) 0:00:10.143 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:21:06 +0000 (0:00:00.025) 0:00:10.168 ****** 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_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:18 Tuesday 13 February 2024 21:21:06 +0000 (0:00:00.026) 0:00:10.195 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:21:06 +0000 (0:00:00.040) 0:00:10.236 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:21:06 +0000 (0:00:00.013) 0:00:10.250 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003686", "end": "2024-02-13 21:21:07.004237", "rc": 0, "start": "2024-02-13 21:21:07.000551" } STDOUT: bond0 bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.138) 0:00:10.388 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.020) 0:00:10.409 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:20 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.016) 0:00:10.426 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.025) 0:00:10.451 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.011) 0:00:10.462 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859266.703856, "block_size": 4096, "blocks": 0, "ctime": 1707859266.703856, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17627, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/dummy1298", "lnk_target": "../../devices/virtual/net/dummy1298", "mode": "0777", "mtime": 1707859266.703856, "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_rewriteun5tivel/tests/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.174) 0:00:10.637 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:23 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.021) 0:00:10.659 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.079) 0:00:10.739 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.048) 0:00:10.788 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.011) 0:00:10.799 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.011) 0:00:10.810 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.011) 0:00:10.822 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003889", "end": "2024-02-13 21:21:07.584402", "rc": 0, "start": "2024-02-13 21:21:07.580513" } STDOUT: bond0 bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.147) 0:00:10.970 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.011) 0:00:10.981 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.011) 0:00:10.992 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.321) 0:00:11.314 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.016) 0:00:11.330 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.008) 0:00:11.339 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.011) 0:00:11.350 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:21:07 +0000 (0:00:00.016) 0:00:11.367 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.012112", "end": "2024-02-13 21:21:08.131328", "rc": 0, "start": "2024-02-13 21:21:08.119216" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:21:08 +0000 (0:00:00.158) 0:00:11.525 ****** 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_rewriteun5tivel/tests/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:21:08 +0000 (0:00:00.013) 0:00:11.539 ****** 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_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:27 Tuesday 13 February 2024 21:21:08 +0000 (0:00:00.012) 0:00:11.551 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:21:08 +0000 (0:00:00.020) 0:00:11.571 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:21:08 +0000 (0:00:00.010) 0:00:11.582 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003787", "end": "2024-02-13 21:21:08.331326", "rc": 0, "start": "2024-02-13 21:21:08.327539" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:21:08 +0000 (0:00:00.169) 0:00:11.751 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:21:08 +0000 (0:00:00.014) 0:00:11.765 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/create_and_remove_interface.yml:29 Tuesday 13 February 2024 21:21:08 +0000 (0:00:00.026) 0:00:11.792 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 21:21:08 +0000 (0:00:00.021) 0:00:11.814 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:21:08 +0000 (0:00:00.010) 0:00:11.825 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 21:21:08 +0000 (0:00:00.149) 0:00:11.974 ****** 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 Tuesday 13 February 2024 21:21:08 +0000 (0:00:00.021) 0:00:11.996 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tests_helpers_and_asserts.yml:3 Install yum-utils package ----------------------------------------------- 0.58s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth1298 ------------------------------------------ 0.47s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.37s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.37s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.36s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.36s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/enable_epel.yml:30 ------ Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:16 Create dummy interface dummy1298 ---------------------------------------- 0.26s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/manage_test_interface.yml:49 Gather the minimum subset of ansible_facts required by the network role test --- 0.25s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/el_repo_setup.yml:3 ----- Create EPEL 7 ----------------------------------------------------------- 0.23s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/enable_epel.yml:8 ------- Check if system is ostree ----------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/el_repo_setup.yml:17 ---- Gather current interface info ------------------------------------------- 0.19s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.17s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.17s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.17s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.17s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.17s /WORKDIR/git-bond_options_rewriteun5tivel/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. ---^---^---^---^---^---