# 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_rewriteexavwmtw/.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_rewriteexavwmtw/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_rewriteexavwmtw/tests/tests_helpers_and_asserts.yml:3 Wednesday 07 February 2024 11:45:41 +0000 (0:00:00.035) 0:00:00.035 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tests_helpers_and_asserts.yml:6 Wednesday 07 February 2024 11:45:42 +0000 (0:00:00.689) 0:00:00.724 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/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_rewriteexavwmtw/tests/tasks/el_repo_setup.yml:3 Wednesday 07 February 2024 11:45:42 +0000 (0:00:00.011) 0:00:00.736 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/el_repo_setup.yml:17 Wednesday 07 February 2024 11:45:42 +0000 (0:00:00.313) 0:00:01.049 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/el_repo_setup.yml:22 Wednesday 07 February 2024 11:45:42 +0000 (0:00:00.190) 0:00:01.239 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/el_repo_setup.yml:26 Wednesday 07 February 2024 11:45:42 +0000 (0:00:00.014) 0:00:01.253 **** 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_rewriteexavwmtw/tests/tasks/el_repo_setup.yml:51 Wednesday 07 February 2024 11:45:42 +0000 (0:00:00.008) 0:00:01.262 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/enable_epel.yml:8 Wednesday 07 February 2024 11:45:42 +0000 (0:00:00.020) 0:00:01.283 **** 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_rewriteexavwmtw/tests/tasks/enable_epel.yml:24 Wednesday 07 February 2024 11:45:42 +0000 (0:00:00.192) 0:00:01.475 **** 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_rewriteexavwmtw/tests/tasks/enable_epel.yml:30 Wednesday 07 February 2024 11:45:43 +0000 (0:00:00.439) 0:00:01.915 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.187835", "end": "2024-02-07 11:45:43.660957", "rc": 0, "start": "2024-02-07 11:45:43.473122" } 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_rewriteexavwmtw/tests/tasks/enable_epel.yml:35 Wednesday 07 February 2024 11:45:43 +0000 (0:00:00.321) 0:00:02.237 **** 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_rewriteexavwmtw/tests/tasks/enable_epel.yml:40 Wednesday 07 February 2024 11:45:43 +0000 (0:00:00.009) 0:00:02.246 **** 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_rewriteexavwmtw/tests/tests_helpers_and_asserts.yml:9 Wednesday 07 February 2024 11:45:43 +0000 (0:00:00.008) 0:00:02.255 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:3 Wednesday 07 February 2024 11:45:43 +0000 (0:00:00.011) 0:00:02.266 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:43 +0000 (0:00:00.008) 0:00:02.275 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:43 +0000 (0:00:00.009) 0:00:02.284 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003762", "end": "2024-02-07 11:45:43.846032", "rc": 0, "start": "2024-02-07 11:45:43.842270" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:43 +0000 (0:00:00.140) 0:00:02.425 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:43 +0000 (0:00:00.016) 0:00:02.442 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:5 Wednesday 07 February 2024 11:45:43 +0000 (0:00:00.019) 0:00:02.461 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:3 Wednesday 07 February 2024 11:45:43 +0000 (0:00:00.016) 0:00:02.478 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:8 Wednesday 07 February 2024 11:45:43 +0000 (0:00:00.028) 0:00:02.506 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:13 Wednesday 07 February 2024 11:45:43 +0000 (0:00:00.022) 0:00:02.528 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.044) 0:00:02.573 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.015) 0:00:02.588 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003771", "end": "2024-02-07 11:45:44.152162", "rc": 0, "start": "2024-02-07 11:45:44.148391" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.138) 0:00:02.726 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.009) 0:00:02.736 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:16 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.008) 0:00:02.745 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:27 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.329) 0:00:03.074 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:35 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.014) 0:00:03.088 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:43 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.007) 0:00:03.096 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:49 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.008) 0:00:03.105 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:54 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.007) 0:00:03.112 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:60 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.007) 0:00:03.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 veth1298] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:65 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.007) 0:00:03.127 **** 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_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:9 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.007) 0:00:03.135 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.012) 0:00:03.147 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.008) 0:00:03.156 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004064", "end": "2024-02-07 11:45:44.718428", "rc": 0, "start": "2024-02-07 11:45:44.714364" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.137) 0:00:03.293 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.009) 0:00:03.303 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:11 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.008) 0:00:03.311 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_absent.yml:3 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.013) 0:00:03.325 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_interface_stat.yml:3 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.009) 0:00:03.334 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_absent.yml:5 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.132) 0:00:03.467 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:14 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.011) 0:00:03.478 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:3 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.015) 0:00:03.494 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:8 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.008) 0:00:03.502 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:13 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.007) 0:00:03.509 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.010) 0:00:03.520 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:44 +0000 (0:00:00.009) 0:00:03.529 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003753", "end": "2024-02-07 11:45:45.089038", "rc": 0, "start": "2024-02-07 11:45:45.085285" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:45 +0000 (0:00:00.135) 0:00:03.664 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:45 +0000 (0:00:00.012) 0:00:03.677 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:16 Wednesday 07 February 2024 11:45:45 +0000 (0:00:00.010) 0:00:03.687 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:27 Wednesday 07 February 2024 11:45:45 +0000 (0:00:00.332) 0:00:04.020 **** 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.012151", "end": "2024-02-07 11:45:45.592352", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-07 11:45:45.580201" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003534", "end": "2024-02-07 11:45:45.727253", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-07 11:45:45.723719" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.004253", "end": "2024-02-07 11:45:45.855065", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-07 11:45:45.850812" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:35 Wednesday 07 February 2024 11:45:45 +0000 (0:00:00.412) 0:00:04.432 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.041931", "end": "2024-02-07 11:45:46.031446", "rc": 0, "start": "2024-02-07 11:45:45.989515" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:43 Wednesday 07 February 2024 11:45:46 +0000 (0:00:00.178) 0:00:04.611 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:49 Wednesday 07 February 2024 11:45:46 +0000 (0:00:00.007) 0:00:04.619 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:54 Wednesday 07 February 2024 11:45:46 +0000 (0:00:00.007) 0:00:04.626 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:60 Wednesday 07 February 2024 11:45:46 +0000 (0:00:00.007) 0:00:04.634 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:65 Wednesday 07 February 2024 11:45:46 +0000 (0:00:00.007) 0:00:04.641 **** 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_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:18 Wednesday 07 February 2024 11:45:46 +0000 (0:00:00.007) 0:00:04.649 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:46 +0000 (0:00:00.015) 0:00:04.664 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:46 +0000 (0:00:00.008) 0:00:04.673 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005011", "end": "2024-02-07 11:45:47.236218", "rc": 0, "start": "2024-02-07 11:45:46.231207" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:47 +0000 (0:00:01.141) 0:00:05.814 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:47 +0000 (0:00:00.009) 0:00:05.824 **** 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_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:20 Wednesday 07 February 2024 11:45:47 +0000 (0:00:00.008) 0:00:05.832 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_present.yml:3 Wednesday 07 February 2024 11:45:47 +0000 (0:00:00.015) 0:00:05.848 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_interface_stat.yml:3 Wednesday 07 February 2024 11:45:47 +0000 (0:00:00.009) 0:00:05.858 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707306345.5984747, "block_size": 4096, "blocks": 0, "ctime": 1707306345.5984747, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17741, "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": 1707306345.5984747, "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_rewriteexavwmtw/tests/tasks/assert_device_present.yml:5 Wednesday 07 February 2024 11:45:47 +0000 (0:00:00.135) 0:00:05.993 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:23 Wednesday 07 February 2024 11:45:47 +0000 (0:00:00.010) 0:00:06.004 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:3 Wednesday 07 February 2024 11:45:47 +0000 (0:00:00.017) 0:00:06.021 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:8 Wednesday 07 February 2024 11:45:47 +0000 (0:00:00.007) 0:00:06.029 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:13 Wednesday 07 February 2024 11:45:47 +0000 (0:00:00.007) 0:00:06.036 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:47 +0000 (0:00:00.010) 0:00:06.046 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:47 +0000 (0:00:00.009) 0:00:06.055 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004065", "end": "2024-02-07 11:45:48.623080", "rc": 0, "start": "2024-02-07 11:45:47.619015" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:48 +0000 (0:00:01.146) 0:00:07.202 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:48 +0000 (0:00:00.010) 0:00:07.213 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:16 Wednesday 07 February 2024 11:45:48 +0000 (0:00:00.013) 0:00:07.227 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:27 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.334) 0:00:07.561 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:35 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.014) 0:00:07.576 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:43 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.008) 0:00:07.584 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010524", "end": "2024-02-07 11:45:49.154201", "rc": 0, "start": "2024-02-07 11:45:49.143677" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:49 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.147) 0:00:07.731 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:54 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.009) 0:00:07.741 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:60 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.008) 0:00:07.749 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:65 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.007) 0:00:07.757 **** 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_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:27 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.008) 0:00:07.766 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.018) 0:00:07.784 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.009) 0:00:07.793 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003660", "end": "2024-02-07 11:45:49.353207", "rc": 0, "start": "2024-02-07 11:45:49.349547" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.134) 0:00:07.927 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.009) 0:00:07.937 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:29 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.009) 0:00:07.946 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_absent.yml:3 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.018) 0:00:07.965 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_interface_stat.yml:3 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.009) 0:00:07.975 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_absent.yml:5 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.130) 0:00:08.105 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tests_helpers_and_asserts.yml:15 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.010) 0:00:08.116 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:3 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.016) 0:00:08.132 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.010) 0:00:08.142 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.009) 0:00:08.152 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003712", "end": "2024-02-07 11:45:49.712027", "rc": 0, "start": "2024-02-07 11:45:49.708315" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.139) 0:00:08.291 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.009) 0:00:08.301 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:5 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.010) 0:00:08.312 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:3 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.012) 0:00:08.324 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:8 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.007) 0:00:08.331 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:13 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.007) 0:00:08.339 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.010) 0:00:08.349 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.009) 0:00:08.358 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003652", "end": "2024-02-07 11:45:49.918882", "rc": 0, "start": "2024-02-07 11:45:49.915230" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.135) 0:00:08.494 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.010) 0:00:08.505 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:16 Wednesday 07 February 2024 11:45:49 +0000 (0:00:00.009) 0:00:08.515 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:27 Wednesday 07 February 2024 11:45:50 +0000 (0:00:00.332) 0:00:08.847 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:35 Wednesday 07 February 2024 11:45:50 +0000 (0:00:00.013) 0:00:08.861 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:43 Wednesday 07 February 2024 11:45:50 +0000 (0:00:00.008) 0:00:08.869 **** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:49 Wednesday 07 February 2024 11:45:50 +0000 (0:00:00.008) 0:00:08.877 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:54 Wednesday 07 February 2024 11:45:50 +0000 (0:00:00.007) 0:00:08.885 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:60 Wednesday 07 February 2024 11:45:50 +0000 (0:00:00.018) 0:00:08.904 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:65 Wednesday 07 February 2024 11:45:50 +0000 (0:00:00.010) 0:00:08.914 **** 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_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:9 Wednesday 07 February 2024 11:45:50 +0000 (0:00:00.009) 0:00:08.924 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:50 +0000 (0:00:00.012) 0:00:08.937 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:50 +0000 (0:00:00.010) 0:00:08.947 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004844", "end": "2024-02-07 11:45:51.510147", "rc": 0, "start": "2024-02-07 11:45:50.505303" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:51 +0000 (0:00:01.140) 0:00:10.088 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.009) 0:00:10.098 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:11 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.009) 0:00:10.107 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_absent.yml:3 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.012) 0:00:10.120 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_interface_stat.yml:3 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.009) 0:00:10.130 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_absent.yml:5 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.133) 0:00:10.263 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:14 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.010) 0:00:10.274 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:3 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.014) 0:00:10.289 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:8 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.007) 0:00:10.296 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:13 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.007) 0:00:10.304 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.011) 0:00:10.315 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.010) 0:00:10.325 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003768", "end": "2024-02-07 11:45:51.888399", "rc": 0, "start": "2024-02-07 11:45:51.884631" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.138) 0:00:10.464 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.009) 0:00:10.474 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:16 Wednesday 07 February 2024 11:45:51 +0000 (0:00:00.009) 0:00:10.483 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:27 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.331) 0:00:10.815 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:35 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.013) 0:00:10.829 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:43 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.007) 0:00:10.837 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:49 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.007) 0:00:10.845 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.016500", "end": "2024-02-07 11:45:52.420641", "rc": 0, "start": "2024-02-07 11:45:52.404141" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:54 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.157) 0:00:11.002 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:60 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.008) 0:00:11.010 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:65 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.007) 0:00:11.018 **** 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_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:18 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.008) 0:00:11.026 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.015) 0:00:11.042 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.009) 0:00:11.051 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003814", "end": "2024-02-07 11:45:52.612906", "rc": 0, "start": "2024-02-07 11:45:52.609092" } STDOUT: bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.136) 0:00:11.187 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.010) 0:00:11.198 **** 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_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:20 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.008) 0:00:11.207 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_present.yml:3 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.016) 0:00:11.223 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_interface_stat.yml:3 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.009) 0:00:11.232 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707306352.418473, "block_size": 4096, "blocks": 0, "ctime": 1707306352.418473, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17770, "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": 1707306352.418473, "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_rewriteexavwmtw/tests/tasks/assert_device_present.yml:5 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.133) 0:00:11.366 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:23 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.011) 0:00:11.377 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:3 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.018) 0:00:11.396 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:8 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.007) 0:00:11.404 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:13 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.008) 0:00:11.412 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.010) 0:00:11.423 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:52 +0000 (0:00:00.009) 0:00:11.432 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003873", "end": "2024-02-07 11:45:52.994205", "rc": 0, "start": "2024-02-07 11:45:52.990332" } STDOUT: bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.136) 0:00:11.569 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.009) 0:00:11.579 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:16 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.010) 0:00:11.589 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:27 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.330) 0:00:11.920 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:35 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.014) 0:00:11.934 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:43 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.008) 0:00:11.943 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:49 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.007) 0:00:11.950 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:54 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.008) 0:00:11.959 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009382", "end": "2024-02-07 11:45:53.529204", "rc": 0, "start": "2024-02-07 11:45:53.519822" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:60 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.144) 0:00:12.104 **** 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_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:65 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.008) 0:00:12.113 **** 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_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:27 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.007) 0:00:12.120 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.018) 0:00:12.139 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.009) 0:00:12.148 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004005", "end": "2024-02-07 11:45:53.708513", "rc": 0, "start": "2024-02-07 11:45:53.704508" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.134) 0:00:12.283 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.012) 0:00:12.296 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/create_and_remove_interface.yml:29 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.009) 0:00:12.305 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_absent.yml:3 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.018) 0:00:12.324 **** included: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_interface_stat.yml:3 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.009) 0:00:12.333 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/assert_device_absent.yml:5 Wednesday 07 February 2024 11:45:53 +0000 (0:00:00.132) 0:00:12.466 **** 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 07 February 2024 11:45:53 +0000 (0:00:00.014) 0:00:12.481 **** =============================================================================== Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tests_helpers_and_asserts.yml:3 Install yum-utils package ----------------------------------------------- 0.44s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth1298 ------------------------------------------ 0.41s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/enable_epel.yml:30 ------ Gather the minimum subset of ansible_facts required by the network role test --- 0.31s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/el_repo_setup.yml:3 ----- Create EPEL 7 ----------------------------------------------------------- 0.19s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/enable_epel.yml:8 ------- Check if system is ostree ----------------------------------------------- 0.19s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/el_repo_setup.yml:17 ---- Set up veth as managed by NetworkManager -------------------------------- 0.18s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.16s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:49 Delete veth interface veth1298 ------------------------------------------ 0.15s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:43 Delete dummy interface dummy1298 ---------------------------------------- 0.14s /WORKDIR/git-bond_options_rewriteexavwmtw/tests/tasks/manage_test_interface.yml:54 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---