# 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_rewritefaovdfcj/.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_rewritefaovdfcj/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_rewritefaovdfcj/tests/tests_helpers_and_asserts.yml:3 Friday 09 February 2024 20:00:04 +0000 (0:00:00.046) 0:00:00.046 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tests_helpers_and_asserts.yml:6 Friday 09 February 2024 20:00:05 +0000 (0:00:00.739) 0:00:00.785 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/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_rewritefaovdfcj/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 20:00:05 +0000 (0:00:00.011) 0:00:00.797 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 20:00:05 +0000 (0:00:00.263) 0:00:01.060 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/el_repo_setup.yml:22 Friday 09 February 2024 20:00:05 +0000 (0:00:00.209) 0:00:01.270 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/el_repo_setup.yml:26 Friday 09 February 2024 20:00:05 +0000 (0:00:00.015) 0:00:01.286 ******* 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_rewritefaovdfcj/tests/tasks/el_repo_setup.yml:51 Friday 09 February 2024 20:00:05 +0000 (0:00:00.013) 0:00:01.299 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 20:00:05 +0000 (0:00:00.021) 0:00:01.320 ******* 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_rewritefaovdfcj/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 20:00:05 +0000 (0:00:00.197) 0:00:01.518 ******* 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_rewritefaovdfcj/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 20:00:06 +0000 (0:00:00.474) 0:00:01.992 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.216658", "end": "2024-02-09 20:00:06.713878", "rc": 0, "start": "2024-02-09 20:00:06.497220" } 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_rewritefaovdfcj/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 20:00:06 +0000 (0:00:00.357) 0:00:02.349 ******* 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_rewritefaovdfcj/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 20:00:06 +0000 (0:00:00.010) 0:00:02.359 ******* 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_rewritefaovdfcj/tests/tests_helpers_and_asserts.yml:9 Friday 09 February 2024 20:00:06 +0000 (0:00:00.009) 0:00:02.369 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:3 Friday 09 February 2024 20:00:06 +0000 (0:00:00.012) 0:00:02.381 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:06 +0000 (0:00:00.012) 0:00:02.394 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:06 +0000 (0:00:00.010) 0:00:02.404 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004294", "end": "2024-02-09 20:00:06.910662", "rc": 0, "start": "2024-02-09 20:00:06.906368" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:06 +0000 (0:00:00.148) 0:00:02.553 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:06 +0000 (0:00:00.017) 0:00:02.570 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:5 Friday 09 February 2024 20:00:06 +0000 (0:00:00.011) 0:00:02.581 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:00:06 +0000 (0:00:00.015) 0:00:02.597 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:00:06 +0000 (0:00:00.008) 0:00:02.605 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:00:06 +0000 (0:00:00.008) 0:00:02.613 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:07 +0000 (0:00:00.011) 0:00:02.625 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:07 +0000 (0:00:00.010) 0:00:02.635 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004316", "end": "2024-02-09 20:00:07.142075", "rc": 0, "start": "2024-02-09 20:00:07.137759" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:07 +0000 (0:00:00.141) 0:00:02.776 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:07 +0000 (0:00:00.010) 0:00:02.787 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:00:07 +0000 (0:00:00.009) 0:00:02.797 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:00:07 +0000 (0:00:00.350) 0:00:03.147 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:00:07 +0000 (0:00:00.016) 0:00:03.163 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:00:07 +0000 (0:00:00.009) 0:00:03.173 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:00:07 +0000 (0:00:00.009) 0:00:03.183 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:00:07 +0000 (0:00:00.011) 0:00:03.194 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:00:07 +0000 (0:00:00.010) 0:00:03.205 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:00:07 +0000 (0:00:00.009) 0:00:03.214 ******* 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_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:9 Friday 09 February 2024 20:00:07 +0000 (0:00:00.010) 0:00:03.225 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:07 +0000 (0:00:00.023) 0:00:03.248 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:07 +0000 (0:00:00.011) 0:00:03.259 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004218", "end": "2024-02-09 20:00:07.765655", "rc": 0, "start": "2024-02-09 20:00:07.761437" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:07 +0000 (0:00:00.140) 0:00:03.399 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:07 +0000 (0:00:00.013) 0:00:03.413 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:11 Friday 09 February 2024 20:00:07 +0000 (0:00:00.013) 0:00:03.427 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_absent.yml:3 Friday 09 February 2024 20:00:07 +0000 (0:00:00.020) 0:00:03.447 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:00:07 +0000 (0:00:00.011) 0:00:03.459 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_absent.yml:5 Friday 09 February 2024 20:00:07 +0000 (0:00:00.140) 0:00:03.599 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:14 Friday 09 February 2024 20:00:07 +0000 (0:00:00.011) 0:00:03.611 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:00:08 +0000 (0:00:00.015) 0:00:03.626 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:00:08 +0000 (0:00:00.007) 0:00:03.634 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:00:08 +0000 (0:00:00.007) 0:00:03.641 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:08 +0000 (0:00:00.011) 0:00:03.652 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:08 +0000 (0:00:00.010) 0:00:03.663 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004255", "end": "2024-02-09 20:00:08.168339", "rc": 0, "start": "2024-02-09 20:00:08.164084" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:08 +0000 (0:00:00.141) 0:00:03.805 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:08 +0000 (0:00:00.013) 0:00:03.818 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:00:08 +0000 (0:00:00.020) 0:00:03.839 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:00:08 +0000 (0:00:00.354) 0:00:04.193 ******* 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.015015", "end": "2024-02-09 20:00:08.722904", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-09 20:00:08.707889" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.005853", "end": "2024-02-09 20:00:08.885255", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-09 20:00:08.879402" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.006939", "end": "2024-02-09 20:00:09.023591", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-09 20:00:09.016652" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:00:09 +0000 (0:00:00.469) 0:00:04.662 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.027688", "end": "2024-02-09 20:00:09.201986", "rc": 0, "start": "2024-02-09 20:00:09.174298" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:00:09 +0000 (0:00:00.181) 0:00:04.843 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:00:09 +0000 (0:00:00.026) 0:00:04.870 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:00:09 +0000 (0:00:00.010) 0:00:04.880 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:00:09 +0000 (0:00:00.010) 0:00:04.891 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:00:09 +0000 (0:00:00.010) 0:00:04.901 ******* 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_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:18 Friday 09 February 2024 20:00:09 +0000 (0:00:00.010) 0:00:04.912 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:09 +0000 (0:00:00.028) 0:00:04.940 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:09 +0000 (0:00:00.018) 0:00:04.959 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004207", "end": "2024-02-09 20:00:09.474119", "rc": 0, "start": "2024-02-09 20:00:09.469912" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:09 +0000 (0:00:00.158) 0:00:05.117 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:09 +0000 (0:00:00.009) 0:00:05.127 ******* 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_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:20 Friday 09 February 2024 20:00:09 +0000 (0:00:00.009) 0:00:05.136 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_present.yml:3 Friday 09 February 2024 20:00:09 +0000 (0:00:00.018) 0:00:05.154 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:00:09 +0000 (0:00:00.010) 0:00:05.165 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508808.7211282, "block_size": 4096, "blocks": 0, "ctime": 1707508808.7211282, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17598, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth1298", "lnk_target": "../../devices/virtual/net/veth1298", "mode": "0777", "mtime": 1707508808.7211282, "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_rewritefaovdfcj/tests/tasks/assert_device_present.yml:5 Friday 09 February 2024 20:00:09 +0000 (0:00:00.139) 0:00:05.304 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:23 Friday 09 February 2024 20:00:09 +0000 (0:00:00.011) 0:00:05.315 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:00:09 +0000 (0:00:00.019) 0:00:05.335 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:00:09 +0000 (0:00:00.009) 0:00:05.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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:00:09 +0000 (0:00:00.009) 0:00:05.354 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:09 +0000 (0:00:00.014) 0:00:05.368 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:09 +0000 (0:00:00.009) 0:00:05.378 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004311", "end": "2024-02-09 20:00:09.883460", "rc": 0, "start": "2024-02-09 20:00:09.879149" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:09 +0000 (0:00:00.145) 0:00:05.524 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:09 +0000 (0:00:00.012) 0:00:05.537 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:00:09 +0000 (0:00:00.014) 0:00:05.551 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:00:10 +0000 (0:00:00.361) 0:00:05.912 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:00:10 +0000 (0:00:00.015) 0:00:05.928 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:00:10 +0000 (0:00:00.008) 0:00:05.936 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009566", "end": "2024-02-09 20:00:10.449990", "rc": 0, "start": "2024-02-09 20:00:10.440424" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:00:10 +0000 (0:00:00.148) 0:00:06.085 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:00:10 +0000 (0:00:00.009) 0:00:06.094 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:00:10 +0000 (0:00:00.008) 0:00:06.103 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:00:10 +0000 (0:00:00.009) 0:00:06.112 ******* 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_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:27 Friday 09 February 2024 20:00:10 +0000 (0:00:00.008) 0:00:06.120 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:10 +0000 (0:00:00.019) 0:00:06.139 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:10 +0000 (0:00:00.009) 0:00:06.149 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004298", "end": "2024-02-09 20:00:10.653196", "rc": 0, "start": "2024-02-09 20:00:10.648898" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:10 +0000 (0:00:00.138) 0:00:06.288 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:10 +0000 (0:00:00.010) 0:00:06.298 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:29 Friday 09 February 2024 20:00:10 +0000 (0:00:00.009) 0:00:06.308 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_absent.yml:3 Friday 09 February 2024 20:00:10 +0000 (0:00:00.019) 0:00:06.328 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:00:10 +0000 (0:00:00.010) 0:00:06.338 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_absent.yml:5 Friday 09 February 2024 20:00:10 +0000 (0:00:00.135) 0:00:06.474 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tests_helpers_and_asserts.yml:15 Friday 09 February 2024 20:00:10 +0000 (0:00:00.011) 0:00:06.485 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:3 Friday 09 February 2024 20:00:10 +0000 (0:00:00.013) 0:00:06.499 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:10 +0000 (0:00:00.010) 0:00:06.510 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:10 +0000 (0:00:00.011) 0:00:06.521 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004296", "end": "2024-02-09 20:00:11.027050", "rc": 0, "start": "2024-02-09 20:00:11.022754" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:11 +0000 (0:00:00.140) 0:00:06.661 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:11 +0000 (0:00:00.010) 0:00:06.672 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:5 Friday 09 February 2024 20:00:11 +0000 (0:00:00.012) 0:00:06.684 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:00:11 +0000 (0:00:00.013) 0:00:06.697 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:00:11 +0000 (0:00:00.010) 0:00:06.707 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:00:11 +0000 (0:00:00.015) 0:00:06.723 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:11 +0000 (0:00:00.018) 0:00:06.741 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:11 +0000 (0:00:00.012) 0:00:06.754 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004176", "end": "2024-02-09 20:00:11.263632", "rc": 0, "start": "2024-02-09 20:00:11.259456" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:11 +0000 (0:00:00.144) 0:00:06.898 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:11 +0000 (0:00:00.010) 0:00:06.909 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:00:11 +0000 (0:00:00.009) 0:00:06.918 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:00:11 +0000 (0:00:00.354) 0:00:07.273 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:00:11 +0000 (0:00:00.024) 0:00:07.297 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:00:11 +0000 (0:00:00.011) 0:00:07.309 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:00:11 +0000 (0:00:00.010) 0:00:07.319 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:00:11 +0000 (0:00:00.011) 0:00:07.331 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:00:11 +0000 (0:00:00.016) 0:00:07.347 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:00:11 +0000 (0:00:00.009) 0:00:07.357 ******* 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_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:9 Friday 09 February 2024 20:00:11 +0000 (0:00:00.012) 0:00:07.369 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:11 +0000 (0:00:00.015) 0:00:07.384 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:11 +0000 (0:00:00.011) 0:00:07.396 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004268", "end": "2024-02-09 20:00:11.904011", "rc": 0, "start": "2024-02-09 20:00:11.899743" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:11 +0000 (0:00:00.150) 0:00:07.546 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:11 +0000 (0:00:00.014) 0:00:07.561 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:11 Friday 09 February 2024 20:00:11 +0000 (0:00:00.024) 0:00:07.585 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_absent.yml:3 Friday 09 February 2024 20:00:11 +0000 (0:00:00.015) 0:00:07.601 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:00:11 +0000 (0:00:00.015) 0:00:07.616 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_absent.yml:5 Friday 09 February 2024 20:00:12 +0000 (0:00:00.155) 0:00:07.771 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:14 Friday 09 February 2024 20:00:12 +0000 (0:00:00.019) 0:00:07.791 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:00:12 +0000 (0:00:00.019) 0:00:07.811 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:00:12 +0000 (0:00:00.021) 0:00:07.832 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:00:12 +0000 (0:00:00.013) 0:00:07.845 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:12 +0000 (0:00:00.016) 0:00:07.861 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:12 +0000 (0:00:00.014) 0:00:07.876 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004249", "end": "2024-02-09 20:00:12.397370", "rc": 0, "start": "2024-02-09 20:00:12.393121" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:12 +0000 (0:00:00.157) 0:00:08.033 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:12 +0000 (0:00:00.010) 0:00:08.044 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:00:12 +0000 (0:00:00.011) 0:00:08.055 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:00:12 +0000 (0:00:00.356) 0:00:08.411 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:00:12 +0000 (0:00:00.020) 0:00:08.432 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:00:12 +0000 (0:00:00.010) 0:00:08.442 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:00:12 +0000 (0:00:00.009) 0:00:08.451 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.074865", "end": "2024-02-09 20:00:13.027639", "rc": 0, "start": "2024-02-09 20:00:12.952774" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:00:13 +0000 (0:00:00.221) 0:00:08.673 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:00:13 +0000 (0:00:00.010) 0:00:08.684 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:00:13 +0000 (0:00:00.012) 0:00:08.696 ******* 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_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:18 Friday 09 February 2024 20:00:13 +0000 (0:00:00.017) 0:00:08.714 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:13 +0000 (0:00:00.024) 0:00:08.739 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:13 +0000 (0:00:00.027) 0:00:08.766 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004403", "end": "2024-02-09 20:00:13.290786", "rc": 0, "start": "2024-02-09 20:00:13.286383" } STDOUT: bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:13 +0000 (0:00:00.159) 0:00:08.925 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:13 +0000 (0:00:00.010) 0:00:08.936 ******* 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_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:20 Friday 09 February 2024 20:00:13 +0000 (0:00:00.019) 0:00:08.955 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_present.yml:3 Friday 09 February 2024 20:00:13 +0000 (0:00:00.018) 0:00:08.974 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:00:13 +0000 (0:00:00.016) 0:00:08.990 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508813.0271432, "block_size": 4096, "blocks": 0, "ctime": 1707508813.0261433, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17627, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/dummy1298", "lnk_target": "../../devices/virtual/net/dummy1298", "mode": "0777", "mtime": 1707508813.0261433, "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_rewritefaovdfcj/tests/tasks/assert_device_present.yml:5 Friday 09 February 2024 20:00:13 +0000 (0:00:00.150) 0:00:09.141 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:23 Friday 09 February 2024 20:00:13 +0000 (0:00:00.016) 0:00:09.158 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:00:13 +0000 (0:00:00.032) 0:00:09.191 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:00:13 +0000 (0:00:00.018) 0:00:09.209 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:00:13 +0000 (0:00:00.010) 0:00:09.220 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:13 +0000 (0:00:00.013) 0:00:09.233 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:13 +0000 (0:00:00.022) 0:00:09.256 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004238", "end": "2024-02-09 20:00:13.778744", "rc": 0, "start": "2024-02-09 20:00:13.774506" } STDOUT: bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:13 +0000 (0:00:00.158) 0:00:09.414 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:13 +0000 (0:00:00.019) 0:00:09.433 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:00:13 +0000 (0:00:00.012) 0:00:09.446 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:00:14 +0000 (0:00:00.352) 0:00:09.798 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:00:14 +0000 (0:00:00.014) 0:00:09.813 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:00:14 +0000 (0:00:00.008) 0:00:09.821 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:00:14 +0000 (0:00:00.011) 0:00:09.833 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:00:14 +0000 (0:00:00.009) 0:00:09.843 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011290", "end": "2024-02-09 20:00:14.359929", "rc": 0, "start": "2024-02-09 20:00:14.348639" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:00:14 +0000 (0:00:00.152) 0:00:09.995 ******* 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_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:00:14 +0000 (0:00:00.009) 0:00:10.005 ******* 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_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:27 Friday 09 February 2024 20:00:14 +0000 (0:00:00.007) 0:00:10.013 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:00:14 +0000 (0:00:00.019) 0:00:10.032 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:00:14 +0000 (0:00:00.011) 0:00:10.043 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004217", "end": "2024-02-09 20:00:14.547163", "rc": 0, "start": "2024-02-09 20:00:14.542946" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:00:14 +0000 (0:00:00.150) 0:00:10.193 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:00:14 +0000 (0:00:00.015) 0:00:10.209 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/create_and_remove_interface.yml:29 Friday 09 February 2024 20:00:14 +0000 (0:00:00.011) 0:00:10.221 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_absent.yml:3 Friday 09 February 2024 20:00:14 +0000 (0:00:00.026) 0:00:10.248 ******* included: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:00:14 +0000 (0:00:00.013) 0:00:10.261 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/assert_device_absent.yml:5 Friday 09 February 2024 20:00:14 +0000 (0:00:00.151) 0:00:10.413 ******* 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 Friday 09 February 2024 20:00:14 +0000 (0:00:00.017) 0:00:10.430 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tests_helpers_and_asserts.yml:3 Install yum-utils package ----------------------------------------------- 0.47s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth1298 ------------------------------------------ 0.47s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.36s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.36s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/enable_epel.yml:30 ------ Install iproute --------------------------------------------------------- 0.36s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.26s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/el_repo_setup.yml:3 ----- Create dummy interface dummy1298 ---------------------------------------- 0.22s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:49 Check if system is ostree ----------------------------------------------- 0.21s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/el_repo_setup.yml:17 ---- Create EPEL 7 ----------------------------------------------------------- 0.20s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/enable_epel.yml:8 ------- Set up veth as managed by NetworkManager -------------------------------- 0.18s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.16s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.16s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.16s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.16s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.16s /WORKDIR/git-bond_options_rewritefaovdfcj/tests/tasks/get_interface_stat.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. ---^---^---^---^---^---