# 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_rewrite93xpb3az/.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_rewrite93xpb3az/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_rewrite93xpb3az/tests/tests_helpers_and_asserts.yml:3 Wednesday 14 February 2024 21:29:46 +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_rewrite93xpb3az/tests/tests_helpers_and_asserts.yml:6 Wednesday 14 February 2024 21:29:47 +0000 (0:00:00.877) 0:00:00.930 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/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_rewrite93xpb3az/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 21:29:47 +0000 (0:00:00.042) 0:00:00.972 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 21:29:47 +0000 (0:00:00.311) 0:00:01.284 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 21:29:47 +0000 (0:00:00.303) 0:00:01.587 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 21:29:47 +0000 (0:00:00.035) 0:00:01.622 **** 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_rewrite93xpb3az/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 21:29:47 +0000 (0:00:00.018) 0:00:01.641 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 21:29:47 +0000 (0:00:00.041) 0:00:01.683 **** 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_rewrite93xpb3az/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 21:29:48 +0000 (0:00:00.204) 0:00:01.887 **** 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_rewrite93xpb3az/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 21:29:48 +0000 (0:00:00.458) 0:00:02.346 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.204548", "end": "2024-02-14 21:29:48.962122", "rc": 0, "start": "2024-02-14 21:29:48.757574" } 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_rewrite93xpb3az/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 21:29:48 +0000 (0:00:00.343) 0:00:02.689 **** 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_rewrite93xpb3az/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 21:29:48 +0000 (0:00:00.009) 0:00:02.699 **** 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_rewrite93xpb3az/tests/tests_helpers_and_asserts.yml:9 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.008) 0:00:02.708 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.012) 0:00:02.720 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.026) 0:00:02.747 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.018) 0:00:02.765 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003960", "end": "2024-02-14 21:29:49.178297", "rc": 0, "start": "2024-02-14 21:29:49.174337" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.129) 0:00:02.895 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.059) 0:00:02.954 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.037) 0:00:02.992 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.028) 0:00:03.020 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.011) 0:00:03.032 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.015) 0:00:03.047 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.017) 0:00:03.064 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.009) 0:00:03.074 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003877", "end": "2024-02-14 21:29:49.486255", "rc": 0, "start": "2024-02-14 21:29:49.482378" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.140) 0:00:03.215 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.012) 0:00:03.227 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.012) 0:00:03.239 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.375) 0:00:03.615 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.013) 0:00:03.629 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.007) 0:00:03.637 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.008) 0:00:03.645 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.021) 0:00:03.667 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.010) 0:00:03.677 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:29:49 +0000 (0:00:00.024) 0:00:03.702 **** 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_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.016) 0:00:03.719 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.017) 0:00:03.736 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.016) 0:00:03.753 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004027", "end": "2024-02-14 21:29:50.176887", "rc": 0, "start": "2024-02-14 21:29:50.172860" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.146) 0:00:03.899 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.012) 0:00:03.912 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.015) 0:00:03.927 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.027) 0:00:03.955 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.021) 0:00:03.976 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.142) 0:00:04.119 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.014) 0:00:04.133 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.039) 0:00:04.172 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.012) 0:00:04.185 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.026) 0:00:04.212 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.016) 0:00:04.228 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.012) 0:00:04.241 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003994", "end": "2024-02-14 21:29:50.652717", "rc": 0, "start": "2024-02-14 21:29:50.648723" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.129) 0:00:04.370 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.009) 0:00:04.380 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:29:50 +0000 (0:00:00.009) 0:00:04.389 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.330) 0:00:04.719 **** 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.010856", "end": "2024-02-14 21:29:51.147895", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-14 21:29:51.137039" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.006985", "end": "2024-02-14 21:29:51.299908", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-14 21:29:51.292923" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.007704", "end": "2024-02-14 21:29:51.433995", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-14 21:29:51.426291" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.437) 0:00:05.156 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.028224", "end": "2024-02-14 21:29:51.601551", "rc": 0, "start": "2024-02-14 21:29:51.573327" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.164) 0:00:05.320 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.008) 0:00:05.329 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.008) 0:00:05.337 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.007) 0:00:05.345 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.007) 0:00:05.353 **** 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_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.007) 0:00:05.360 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.015) 0:00:05.376 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.008) 0:00:05.385 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004004", "end": "2024-02-14 21:29:51.797353", "rc": 0, "start": "2024-02-14 21:29:51.793349" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.129) 0:00:05.515 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.009) 0:00:05.525 **** 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_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.010) 0:00:05.535 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.017) 0:00:05.552 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.010) 0:00:05.562 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946191.151592, "block_size": 4096, "blocks": 0, "ctime": 1707946191.151592, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17578, "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": 1707946191.151592, "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_rewrite93xpb3az/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:29:51 +0000 (0:00:00.129) 0:00:05.692 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.012) 0:00:05.704 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.019) 0:00:05.724 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.010) 0:00:05.735 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.013) 0:00:05.748 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.012) 0:00:05.760 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.009) 0:00:05.769 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003987", "end": "2024-02-14 21:29:52.181436", "rc": 0, "start": "2024-02-14 21:29:52.177449" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.130) 0:00:05.900 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.009) 0:00:05.910 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.012) 0:00:05.922 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.329) 0:00:06.251 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.019) 0:00:06.271 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.007) 0:00:06.279 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009773", "end": "2024-02-14 21:29:52.699329", "rc": 0, "start": "2024-02-14 21:29:52.689556" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.137) 0:00:06.417 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.009) 0:00:06.426 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.008) 0:00:06.434 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.007) 0:00:06.442 **** 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_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.007) 0:00:06.449 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.018) 0:00:06.468 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.009) 0:00:06.477 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003770", "end": "2024-02-14 21:29:52.885916", "rc": 0, "start": "2024-02-14 21:29:52.882146" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.140) 0:00:06.617 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.026) 0:00:06.644 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.016) 0:00:06.660 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.025) 0:00:06.685 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:29:52 +0000 (0:00:00.010) 0:00:06.695 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.138) 0:00:06.834 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tests_helpers_and_asserts.yml:15 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.049) 0:00:06.883 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:3 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.027) 0:00:06.911 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.017) 0:00:06.928 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.009) 0:00:06.938 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003827", "end": "2024-02-14 21:29:53.346568", "rc": 0, "start": "2024-02-14 21:29:53.342741" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.127) 0:00:07.065 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.011) 0:00:07.076 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:5 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.012) 0:00:07.089 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.013) 0:00:07.102 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.016) 0:00:07.119 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.011) 0:00:07.131 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.011) 0:00:07.142 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.009) 0:00:07.152 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003867", "end": "2024-02-14 21:29:53.567681", "rc": 0, "start": "2024-02-14 21:29:53.563814" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.138) 0:00:07.290 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.010) 0:00:07.300 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.021) 0:00:07.321 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.332) 0:00:07.654 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.017) 0:00:07.672 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:29:53 +0000 (0:00:00.015) 0:00:07.687 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.023) 0:00:07.711 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.011) 0:00:07.723 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.013) 0:00:07.736 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.014) 0:00:07.751 **** 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_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:9 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.018) 0:00:07.769 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.044) 0:00:07.813 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.022) 0:00:07.836 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003796", "end": "2024-02-14 21:29:54.266303", "rc": 0, "start": "2024-02-14 21:29:54.262507" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.160) 0:00:07.997 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.031) 0:00:08.029 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:11 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.019) 0:00:08.049 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.022) 0:00:08.071 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.020) 0:00:08.092 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.180) 0:00:08.272 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:14 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.013) 0:00:08.286 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.040) 0:00:08.326 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.018) 0:00:08.345 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.008) 0:00:08.353 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.011) 0:00:08.364 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.019) 0:00:08.384 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003835", "end": "2024-02-14 21:29:54.803668", "rc": 0, "start": "2024-02-14 21:29:54.799833" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.140) 0:00:08.524 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.010) 0:00:08.534 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:29:54 +0000 (0:00:00.011) 0:00:08.546 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.325) 0:00:08.871 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.023) 0:00:08.895 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.009) 0:00:08.904 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.009) 0:00:08.914 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.041377", "end": "2024-02-14 21:29:55.363731", "rc": 0, "start": "2024-02-14 21:29:55.322354" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.187) 0:00:09.101 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.019) 0:00:09.120 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.015) 0:00:09.136 **** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:18 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.011) 0:00:09.147 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.017) 0:00:09.165 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.011) 0:00:09.176 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004143", "end": "2024-02-14 21:29:55.609023", "rc": 0, "start": "2024-02-14 21:29:55.604880" } STDOUT: bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.150) 0:00:09.326 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.009) 0:00:09.336 **** 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_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:20 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.008) 0:00:09.345 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.016) 0:00:09.361 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.009) 0:00:09.371 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946195.3666437, "block_size": 4096, "blocks": 0, "ctime": 1707946195.3666437, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17607, "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": 1707946195.3666437, "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_rewrite93xpb3az/tests/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.124) 0:00:09.495 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:23 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.009) 0:00:09.505 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.019) 0:00:09.524 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.007) 0:00:09.532 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.007) 0:00:09.540 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.020) 0:00:09.560 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:55 +0000 (0:00:00.011) 0:00:09.572 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003816", "end": "2024-02-14 21:29:56.007520", "rc": 0, "start": "2024-02-14 21:29:56.003704" } STDOUT: bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.164) 0:00:09.736 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.012) 0:00:09.749 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.010) 0:00:09.759 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.338) 0:00:10.097 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.019) 0:00:10.116 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.011) 0:00:10.128 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.010) 0:00:10.139 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.008) 0:00:10.147 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007364", "end": "2024-02-14 21:29:56.568294", "rc": 0, "start": "2024-02-14 21:29:56.560930" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.139) 0:00:10.286 **** 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_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.012) 0:00:10.298 **** 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_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:27 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.016) 0:00:10.315 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.040) 0:00:10.356 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.011) 0:00:10.367 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003901", "end": "2024-02-14 21:29:56.801837", "rc": 0, "start": "2024-02-14 21:29:56.797936" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.165) 0:00:10.533 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.015) 0:00:10.548 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/create_and_remove_interface.yml:29 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.027) 0:00:10.575 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.026) 0:00:10.602 **** included: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:29:56 +0000 (0:00:00.018) 0:00:10.620 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:29:57 +0000 (0:00:00.131) 0:00:10.752 **** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=122 changed=0 unreachable=0 failed=0 skipped=52 rescued=0 ignored=0 Wednesday 14 February 2024 21:29:57 +0000 (0:00:00.015) 0:00:10.768 **** =============================================================================== Gathering Facts --------------------------------------------------------- 0.88s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tests_helpers_and_asserts.yml:3 Install yum-utils package ----------------------------------------------- 0.46s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth1298 ------------------------------------------ 0.44s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.38s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.34s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/enable_epel.yml:30 ------ Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.31s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.30s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/el_repo_setup.yml:17 ---- Create EPEL 7 ----------------------------------------------------------- 0.20s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/enable_epel.yml:8 ------- Create dummy interface dummy1298 ---------------------------------------- 0.19s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:49 Get stat for interface dummy1298 ---------------------------------------- 0.18s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.17s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.16s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.16s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.16s /WORKDIR/git-bond_options_rewrite93xpb3az/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.15s /WORKDIR/git-bond_options_rewrite93xpb3az/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. ---^---^---^---^---^---