# 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_rewritetq_wxhf_/.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_rewritetq_wxhf_/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_rewritetq_wxhf_/tests/tests_helpers_and_asserts.yml:3 Monday 12 February 2024 23:17:55 +0000 (0:00:00.033) 0:00:00.033 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tests_helpers_and_asserts.yml:6 Monday 12 February 2024 23:17:56 +0000 (0:00:00.738) 0:00:00.771 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/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_rewritetq_wxhf_/tests/tasks/el_repo_setup.yml:3 Monday 12 February 2024 23:17:56 +0000 (0:00:00.012) 0:00:00.783 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/el_repo_setup.yml:17 Monday 12 February 2024 23:17:56 +0000 (0:00:00.233) 0:00:01.016 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/el_repo_setup.yml:22 Monday 12 February 2024 23:17:56 +0000 (0:00:00.183) 0:00:01.200 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/el_repo_setup.yml:26 Monday 12 February 2024 23:17:56 +0000 (0:00:00.020) 0:00:01.220 ******* 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_rewritetq_wxhf_/tests/tasks/el_repo_setup.yml:51 Monday 12 February 2024 23:17:57 +0000 (0:00:00.009) 0:00:01.230 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/enable_epel.yml:8 Monday 12 February 2024 23:17:57 +0000 (0:00:00.021) 0:00:01.251 ******* 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_rewritetq_wxhf_/tests/tasks/enable_epel.yml:24 Monday 12 February 2024 23:17:57 +0000 (0:00:00.219) 0:00:01.471 ******* 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_rewritetq_wxhf_/tests/tasks/enable_epel.yml:30 Monday 12 February 2024 23:17:57 +0000 (0:00:00.414) 0:00:01.886 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.173365", "end": "2024-02-12 23:17:57.956725", "rc": 0, "start": "2024-02-12 23:17:57.783360" } 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_rewritetq_wxhf_/tests/tasks/enable_epel.yml:35 Monday 12 February 2024 23:17:57 +0000 (0:00:00.304) 0:00:02.190 ******* 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_rewritetq_wxhf_/tests/tasks/enable_epel.yml:40 Monday 12 February 2024 23:17:57 +0000 (0:00:00.008) 0:00:02.199 ******* 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_rewritetq_wxhf_/tests/tests_helpers_and_asserts.yml:9 Monday 12 February 2024 23:17:57 +0000 (0:00:00.007) 0:00:02.207 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:3 Monday 12 February 2024 23:17:57 +0000 (0:00:00.011) 0:00:02.218 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:17:58 +0000 (0:00:00.010) 0:00:02.228 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:17:58 +0000 (0:00:00.009) 0:00:02.237 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003484", "end": "2024-02-12 23:17:58.137833", "rc": 0, "start": "2024-02-12 23:17:58.134349" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:17:58 +0000 (0:00:00.132) 0:00:02.370 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:17:58 +0000 (0:00:00.011) 0:00:02.382 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:5 Monday 12 February 2024 23:17:58 +0000 (0:00:00.008) 0:00:02.390 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:3 Monday 12 February 2024 23:17:58 +0000 (0:00:00.014) 0:00:02.405 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:8 Monday 12 February 2024 23:17:58 +0000 (0:00:00.007) 0:00:02.412 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:13 Monday 12 February 2024 23:17:58 +0000 (0:00:00.007) 0:00:02.419 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:17:58 +0000 (0:00:00.014) 0:00:02.434 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:17:58 +0000 (0:00:00.015) 0:00:02.450 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003504", "end": "2024-02-12 23:17:58.355217", "rc": 0, "start": "2024-02-12 23:17:58.351713" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:17:58 +0000 (0:00:00.137) 0:00:02.588 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:17:58 +0000 (0:00:00.009) 0:00:02.597 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:16 Monday 12 February 2024 23:17:58 +0000 (0:00:00.008) 0:00:02.606 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:27 Monday 12 February 2024 23:17:58 +0000 (0:00:00.315) 0:00:02.922 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:35 Monday 12 February 2024 23:17:58 +0000 (0:00:00.017) 0:00:02.940 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:43 Monday 12 February 2024 23:17:58 +0000 (0:00:00.009) 0:00:02.949 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:49 Monday 12 February 2024 23:17:58 +0000 (0:00:00.008) 0:00:02.958 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:54 Monday 12 February 2024 23:17:58 +0000 (0:00:00.007) 0:00:02.966 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:60 Monday 12 February 2024 23:17:58 +0000 (0:00:00.014) 0:00:02.981 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:65 Monday 12 February 2024 23:17:58 +0000 (0:00:00.014) 0:00:02.995 ******* 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_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:9 Monday 12 February 2024 23:17:58 +0000 (0:00:00.018) 0:00:03.014 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:17:58 +0000 (0:00:00.018) 0:00:03.032 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:17:58 +0000 (0:00:00.015) 0:00:03.047 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003542", "end": "2024-02-12 23:17:58.948430", "rc": 0, "start": "2024-02-12 23:17:58.944888" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:17:58 +0000 (0:00:00.136) 0:00:03.184 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:17:58 +0000 (0:00:00.009) 0:00:03.194 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:11 Monday 12 February 2024 23:17:58 +0000 (0:00:00.009) 0:00:03.204 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_absent.yml:3 Monday 12 February 2024 23:17:58 +0000 (0:00:00.014) 0:00:03.218 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:17:59 +0000 (0:00:00.010) 0:00:03.228 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_absent.yml:5 Monday 12 February 2024 23:17:59 +0000 (0:00:00.131) 0:00:03.359 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:14 Monday 12 February 2024 23:17:59 +0000 (0:00:00.011) 0:00:03.371 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:3 Monday 12 February 2024 23:17:59 +0000 (0:00:00.016) 0:00:03.388 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:8 Monday 12 February 2024 23:17:59 +0000 (0:00:00.025) 0:00:03.413 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:13 Monday 12 February 2024 23:17:59 +0000 (0:00:00.029) 0:00:03.443 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:17:59 +0000 (0:00:00.016) 0:00:03.459 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:17:59 +0000 (0:00:00.031) 0:00:03.491 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003562", "end": "2024-02-12 23:17:59.394721", "rc": 0, "start": "2024-02-12 23:17:59.391159" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:17:59 +0000 (0:00:00.136) 0:00:03.627 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:17:59 +0000 (0:00:00.009) 0:00:03.637 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:16 Monday 12 February 2024 23:17:59 +0000 (0:00:00.009) 0:00:03.646 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:27 Monday 12 February 2024 23:17:59 +0000 (0:00:00.310) 0:00:03.957 ******* 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.011861", "end": "2024-02-12 23:17:59.872695", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-12 23:17:59.860834" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003682", "end": "2024-02-12 23:18:00.003236", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-12 23:17:59.999554" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004855", "end": "2024-02-12 23:18:00.132322", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-12 23:18:00.127467" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:35 Monday 12 February 2024 23:18:00 +0000 (0:00:00.408) 0:00:04.366 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.046503", "end": "2024-02-12 23:18:00.321346", "rc": 0, "start": "2024-02-12 23:18:00.274843" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:43 Monday 12 February 2024 23:18:00 +0000 (0:00:00.190) 0:00:04.557 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:49 Monday 12 February 2024 23:18:00 +0000 (0:00:00.008) 0:00:04.565 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:54 Monday 12 February 2024 23:18:00 +0000 (0:00:00.009) 0:00:04.575 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:60 Monday 12 February 2024 23:18:00 +0000 (0:00:00.008) 0:00:04.583 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:65 Monday 12 February 2024 23:18:00 +0000 (0:00:00.008) 0:00:04.592 ******* 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_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:18 Monday 12 February 2024 23:18:00 +0000 (0:00:00.015) 0:00:04.608 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:18:00 +0000 (0:00:00.016) 0:00:04.625 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:18:00 +0000 (0:00:00.016) 0:00:04.641 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004735", "end": "2024-02-12 23:18:01.537212", "rc": 0, "start": "2024-02-12 23:18:00.532477" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:18:01 +0000 (0:00:01.134) 0:00:05.775 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:18:01 +0000 (0:00:00.010) 0:00:05.785 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:20 Monday 12 February 2024 23:18:01 +0000 (0:00:00.011) 0:00:05.796 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_present.yml:3 Monday 12 February 2024 23:18:01 +0000 (0:00:00.016) 0:00:05.813 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:18:01 +0000 (0:00:00.009) 0:00:05.823 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707779879.871112, "block_size": 4096, "blocks": 0, "ctime": 1707779879.871112, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17739, "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": 1707779879.871112, "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_rewritetq_wxhf_/tests/tasks/assert_device_present.yml:5 Monday 12 February 2024 23:18:01 +0000 (0:00:00.137) 0:00:05.961 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:23 Monday 12 February 2024 23:18:01 +0000 (0:00:00.012) 0:00:05.973 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:3 Monday 12 February 2024 23:18:01 +0000 (0:00:00.019) 0:00:05.992 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:8 Monday 12 February 2024 23:18:01 +0000 (0:00:00.007) 0:00:06.000 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:13 Monday 12 February 2024 23:18:01 +0000 (0:00:00.007) 0:00:06.007 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:18:01 +0000 (0:00:00.010) 0:00:06.017 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:18:01 +0000 (0:00:00.009) 0:00:06.026 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003822", "end": "2024-02-12 23:18:01.925398", "rc": 0, "start": "2024-02-12 23:18:01.921576" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:18:01 +0000 (0:00:00.131) 0:00:06.158 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:18:01 +0000 (0:00:00.009) 0:00:06.168 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:16 Monday 12 February 2024 23:18:01 +0000 (0:00:00.012) 0:00:06.180 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:27 Monday 12 February 2024 23:18:02 +0000 (0:00:00.317) 0:00:06.498 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:35 Monday 12 February 2024 23:18:02 +0000 (0:00:00.014) 0:00:06.512 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:43 Monday 12 February 2024 23:18:02 +0000 (0:00:00.008) 0:00:06.521 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008606", "end": "2024-02-12 23:18:02.423251", "rc": 0, "start": "2024-02-12 23:18:02.414645" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:49 Monday 12 February 2024 23:18:02 +0000 (0:00:00.139) 0:00:06.661 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:54 Monday 12 February 2024 23:18:02 +0000 (0:00:00.011) 0:00:06.672 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:60 Monday 12 February 2024 23:18:02 +0000 (0:00:00.008) 0:00:06.680 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:65 Monday 12 February 2024 23:18:02 +0000 (0:00:00.008) 0:00:06.689 ******* 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_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:27 Monday 12 February 2024 23:18:02 +0000 (0:00:00.008) 0:00:06.698 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:18:02 +0000 (0:00:00.018) 0:00:06.716 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:18:02 +0000 (0:00:00.008) 0:00:06.725 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003783", "end": "2024-02-12 23:18:02.621309", "rc": 0, "start": "2024-02-12 23:18:02.617526" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:18:02 +0000 (0:00:00.129) 0:00:06.854 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:18:02 +0000 (0:00:00.009) 0:00:06.864 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:29 Monday 12 February 2024 23:18:02 +0000 (0:00:00.009) 0:00:06.874 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_absent.yml:3 Monday 12 February 2024 23:18:02 +0000 (0:00:00.018) 0:00:06.893 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:18:02 +0000 (0:00:00.009) 0:00:06.903 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_absent.yml:5 Monday 12 February 2024 23:18:02 +0000 (0:00:00.135) 0:00:07.038 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tests_helpers_and_asserts.yml:15 Monday 12 February 2024 23:18:02 +0000 (0:00:00.010) 0:00:07.049 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:3 Monday 12 February 2024 23:18:02 +0000 (0:00:00.013) 0:00:07.062 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:18:02 +0000 (0:00:00.009) 0:00:07.072 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:18:02 +0000 (0:00:00.009) 0:00:07.081 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003724", "end": "2024-02-12 23:18:02.977559", "rc": 0, "start": "2024-02-12 23:18:02.973835" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:18:02 +0000 (0:00:00.129) 0:00:07.211 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:18:02 +0000 (0:00:00.009) 0:00:07.220 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:5 Monday 12 February 2024 23:18:03 +0000 (0:00:00.009) 0:00:07.230 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:3 Monday 12 February 2024 23:18:03 +0000 (0:00:00.011) 0:00:07.242 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:8 Monday 12 February 2024 23:18:03 +0000 (0:00:00.008) 0:00:07.250 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:13 Monday 12 February 2024 23:18:03 +0000 (0:00:00.021) 0:00:07.272 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:18:03 +0000 (0:00:00.021) 0:00:07.293 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:18:03 +0000 (0:00:00.013) 0:00:07.307 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003581", "end": "2024-02-12 23:18:03.221927", "rc": 0, "start": "2024-02-12 23:18:03.218346" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:18:03 +0000 (0:00:00.147) 0:00:07.455 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:18:03 +0000 (0:00:00.009) 0:00:07.464 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:16 Monday 12 February 2024 23:18:03 +0000 (0:00:00.009) 0:00:07.474 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:27 Monday 12 February 2024 23:18:03 +0000 (0:00:00.304) 0:00:07.779 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:35 Monday 12 February 2024 23:18:03 +0000 (0:00:00.014) 0:00:07.793 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:43 Monday 12 February 2024 23:18:03 +0000 (0:00:00.008) 0:00:07.802 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:49 Monday 12 February 2024 23:18:03 +0000 (0:00:00.008) 0:00:07.810 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:54 Monday 12 February 2024 23:18:03 +0000 (0:00:00.007) 0:00:07.817 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:60 Monday 12 February 2024 23:18:03 +0000 (0:00:00.010) 0:00:07.828 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:65 Monday 12 February 2024 23:18:03 +0000 (0:00:00.009) 0:00:07.837 ******* 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_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:9 Monday 12 February 2024 23:18:03 +0000 (0:00:00.008) 0:00:07.845 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:18:03 +0000 (0:00:00.012) 0:00:07.858 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:18:03 +0000 (0:00:00.008) 0:00:07.867 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004745", "end": "2024-02-12 23:18:04.764181", "rc": 0, "start": "2024-02-12 23:18:03.759436" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:18:04 +0000 (0:00:01.135) 0:00:09.002 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:18:04 +0000 (0:00:00.009) 0:00:09.011 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:11 Monday 12 February 2024 23:18:04 +0000 (0:00:00.012) 0:00:09.024 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_absent.yml:3 Monday 12 February 2024 23:18:04 +0000 (0:00:00.017) 0:00:09.041 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:18:04 +0000 (0:00:00.011) 0:00:09.053 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_absent.yml:5 Monday 12 February 2024 23:18:04 +0000 (0:00:00.124) 0:00:09.177 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:14 Monday 12 February 2024 23:18:04 +0000 (0:00:00.010) 0:00:09.188 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:3 Monday 12 February 2024 23:18:04 +0000 (0:00:00.014) 0:00:09.203 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:8 Monday 12 February 2024 23:18:04 +0000 (0:00:00.007) 0:00:09.211 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:13 Monday 12 February 2024 23:18:04 +0000 (0:00:00.007) 0:00:09.218 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:18:05 +0000 (0:00:00.010) 0:00:09.229 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:18:05 +0000 (0:00:00.009) 0:00:09.238 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003529", "end": "2024-02-12 23:18:05.133280", "rc": 0, "start": "2024-02-12 23:18:05.129751" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:18:05 +0000 (0:00:00.128) 0:00:09.367 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:18:05 +0000 (0:00:00.009) 0:00:09.376 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:16 Monday 12 February 2024 23:18:05 +0000 (0:00:00.008) 0:00:09.385 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:27 Monday 12 February 2024 23:18:05 +0000 (0:00:00.307) 0:00:09.692 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:35 Monday 12 February 2024 23:18:05 +0000 (0:00:00.014) 0:00:09.706 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:43 Monday 12 February 2024 23:18:05 +0000 (0:00:00.008) 0:00:09.714 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:49 Monday 12 February 2024 23:18:05 +0000 (0:00:00.007) 0:00:09.722 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011389", "end": "2024-02-12 23:18:05.626861", "rc": 0, "start": "2024-02-12 23:18:05.615472" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:54 Monday 12 February 2024 23:18:05 +0000 (0:00:00.144) 0:00:09.867 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:60 Monday 12 February 2024 23:18:05 +0000 (0:00:00.009) 0:00:09.876 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:65 Monday 12 February 2024 23:18:05 +0000 (0:00:00.010) 0:00:09.887 ******* 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_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:18 Monday 12 February 2024 23:18:05 +0000 (0:00:00.009) 0:00:09.896 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:18:05 +0000 (0:00:00.015) 0:00:09.912 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:18:05 +0000 (0:00:00.010) 0:00:09.922 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003643", "end": "2024-02-12 23:18:05.820211", "rc": 0, "start": "2024-02-12 23:18:05.816568" } STDOUT: bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:18:05 +0000 (0:00:00.141) 0:00:10.064 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:18:05 +0000 (0:00:00.029) 0:00:10.094 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:20 Monday 12 February 2024 23:18:05 +0000 (0:00:00.016) 0:00:10.111 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_present.yml:3 Monday 12 February 2024 23:18:05 +0000 (0:00:00.017) 0:00:10.128 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:18:05 +0000 (0:00:00.012) 0:00:10.140 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707779885.636109, "block_size": 4096, "blocks": 0, "ctime": 1707779885.636109, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17769, "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": 1707779885.636109, "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_rewritetq_wxhf_/tests/tasks/assert_device_present.yml:5 Monday 12 February 2024 23:18:06 +0000 (0:00:00.195) 0:00:10.335 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:23 Monday 12 February 2024 23:18:06 +0000 (0:00:00.032) 0:00:10.368 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:3 Monday 12 February 2024 23:18:06 +0000 (0:00:00.050) 0:00:10.419 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:8 Monday 12 February 2024 23:18:06 +0000 (0:00:00.017) 0:00:10.436 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:13 Monday 12 February 2024 23:18:06 +0000 (0:00:00.010) 0:00:10.447 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:18:06 +0000 (0:00:00.011) 0:00:10.458 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:18:06 +0000 (0:00:00.010) 0:00:10.469 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003551", "end": "2024-02-12 23:18:06.364626", "rc": 0, "start": "2024-02-12 23:18:06.361075" } STDOUT: bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:18:06 +0000 (0:00:00.130) 0:00:10.600 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:18:06 +0000 (0:00:00.010) 0:00:10.610 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:16 Monday 12 February 2024 23:18:06 +0000 (0:00:00.010) 0:00:10.621 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:27 Monday 12 February 2024 23:18:06 +0000 (0:00:00.314) 0:00:10.935 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:35 Monday 12 February 2024 23:18:06 +0000 (0:00:00.014) 0:00:10.949 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:43 Monday 12 February 2024 23:18:06 +0000 (0:00:00.007) 0:00:10.957 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:49 Monday 12 February 2024 23:18:06 +0000 (0:00:00.007) 0:00:10.965 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:54 Monday 12 February 2024 23:18:06 +0000 (0:00:00.009) 0:00:10.974 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007942", "end": "2024-02-12 23:18:06.875197", "rc": 0, "start": "2024-02-12 23:18:06.867255" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:60 Monday 12 February 2024 23:18:06 +0000 (0:00:00.135) 0:00:11.110 ******* 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_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:65 Monday 12 February 2024 23:18:06 +0000 (0:00:00.008) 0:00:11.119 ******* 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_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:27 Monday 12 February 2024 23:18:06 +0000 (0:00:00.007) 0:00:11.126 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:18:06 +0000 (0:00:00.020) 0:00:11.147 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:18:06 +0000 (0:00:00.011) 0:00:11.158 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003520", "end": "2024-02-12 23:18:07.065221", "rc": 0, "start": "2024-02-12 23:18:07.061701" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:18:07 +0000 (0:00:00.140) 0:00:11.298 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:18:07 +0000 (0:00:00.013) 0:00:11.312 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/create_and_remove_interface.yml:29 Monday 12 February 2024 23:18:07 +0000 (0:00:00.011) 0:00:11.323 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_absent.yml:3 Monday 12 February 2024 23:18:07 +0000 (0:00:00.019) 0:00:11.343 ******* included: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:18:07 +0000 (0:00:00.009) 0:00:11.352 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/assert_device_absent.yml:5 Monday 12 February 2024 23:18:07 +0000 (0:00:00.131) 0:00:11.484 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=122 changed=0 unreachable=0 failed=0 skipped=52 rescued=0 ignored=0 Monday 12 February 2024 23:18:07 +0000 (0:00:00.015) 0:00:11.500 ******* =============================================================================== Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tests_helpers_and_asserts.yml:3 Install yum-utils package ----------------------------------------------- 0.41s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth1298 ------------------------------------------ 0.41s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.30s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.30s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/enable_epel.yml:30 ------ Gather the minimum subset of ansible_facts required by the network role test --- 0.23s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/el_repo_setup.yml:3 ----- Create EPEL 7 ----------------------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/enable_epel.yml:8 ------- Get stat for interface dummy1298 ---------------------------------------- 0.20s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_interface_stat.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.19s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:35 Check if system is ostree ----------------------------------------------- 0.18s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/el_repo_setup.yml:17 ---- Gather current interface info ------------------------------------------- 0.15s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/get_current_interfaces.yml:3 Create dummy interface dummy1298 ---------------------------------------- 0.14s /WORKDIR/git-bond_options_rewritetq_wxhf_/tests/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.14s /WORKDIR/git-bond_options_rewritetq_wxhf_/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. ---^---^---^---^---^---