# 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_rewriteok1o9vve/.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_rewriteok1o9vve/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_rewriteok1o9vve/tests/tests_helpers_and_asserts.yml:3 Tuesday 30 January 2024 21:37:30 +0000 (0:00:00.054) 0:00:00.054 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tests_helpers_and_asserts.yml:6 Tuesday 30 January 2024 21:37:30 +0000 (0:00:00.725) 0:00:00.779 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/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_rewriteok1o9vve/tests/tasks/el_repo_setup.yml:3 Tuesday 30 January 2024 21:37:30 +0000 (0:00:00.016) 0:00:00.796 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/el_repo_setup.yml:17 Tuesday 30 January 2024 21:37:31 +0000 (0:00:00.250) 0:00:01.046 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/el_repo_setup.yml:22 Tuesday 30 January 2024 21:37:31 +0000 (0:00:00.217) 0:00:01.264 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/el_repo_setup.yml:26 Tuesday 30 January 2024 21:37:31 +0000 (0:00:00.021) 0:00:01.285 ******* 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_rewriteok1o9vve/tests/tasks/el_repo_setup.yml:51 Tuesday 30 January 2024 21:37:31 +0000 (0:00:00.012) 0:00:01.298 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/enable_epel.yml:8 Tuesday 30 January 2024 21:37:31 +0000 (0:00:00.032) 0:00:01.330 ******* 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_rewriteok1o9vve/tests/tasks/enable_epel.yml:24 Tuesday 30 January 2024 21:37:31 +0000 (0:00:00.215) 0:00:01.546 ******* 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_rewriteok1o9vve/tests/tasks/enable_epel.yml:30 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.484) 0:00:02.031 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.174677", "end": "2024-01-30 21:37:32.488448", "rc": 0, "start": "2024-01-30 21:37:32.313771" } 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_rewriteok1o9vve/tests/tasks/enable_epel.yml:35 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.330) 0:00:02.362 ******* 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_rewriteok1o9vve/tests/tasks/enable_epel.yml:40 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.014) 0:00:02.376 ******* 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_rewriteok1o9vve/tests/tests_helpers_and_asserts.yml:9 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.026) 0:00:02.402 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:3 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.027) 0:00:02.430 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.019) 0:00:02.449 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.029) 0:00:02.479 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003643", "end": "2024-01-30 21:37:32.743412", "rc": 0, "start": "2024-01-30 21:37:32.739769" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.133) 0:00:02.612 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.017) 0:00:02.629 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:5 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.015) 0:00:02.644 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:3 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.023) 0:00:02.668 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:8 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.011) 0:00:02.679 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:13 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.012) 0:00:02.692 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.015) 0:00:02.708 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:32 +0000 (0:00:00.015) 0:00:02.723 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003882", "end": "2024-01-30 21:37:32.986231", "rc": 0, "start": "2024-01-30 21:37:32.982349" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.137) 0:00:02.861 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.018) 0:00:02.880 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:16 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.018) 0:00:02.898 ******* ok: [sut] => { "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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:23 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.326) 0:00:03.225 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:31 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.026) 0:00:03.251 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:39 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.015) 0:00:03.267 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:45 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.022) 0:00:03.289 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:50 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.015) 0:00:03.305 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:56 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.016) 0:00:03.321 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:61 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.024) 0:00:03.346 ******* 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_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:9 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.014) 0:00:03.361 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.025) 0:00:03.386 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.019) 0:00:03.406 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003942", "end": "2024-01-30 21:37:33.670313", "rc": 0, "start": "2024-01-30 21:37:33.666371" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.134) 0:00:03.541 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.015) 0:00:03.557 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:11 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.016) 0:00:03.573 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.026) 0:00:03.600 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.024) 0:00:03.624 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.136) 0:00:03.760 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:14 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.017) 0:00:03.777 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:3 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.031) 0:00:03.809 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:8 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.013) 0:00:03.823 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:13 Tuesday 30 January 2024 21:37:33 +0000 (0:00:00.017) 0:00:03.840 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:34 +0000 (0:00:00.023) 0:00:03.864 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:34 +0000 (0:00:00.026) 0:00:03.890 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005082", "end": "2024-01-30 21:37:35.161722", "rc": 0, "start": "2024-01-30 21:37:34.156640" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:35 +0000 (0:00:01.143) 0:00:05.033 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:35 +0000 (0:00:00.016) 0:00:05.050 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:16 Tuesday 30 January 2024 21:37:35 +0000 (0:00:00.018) 0:00:05.068 ******* ok: [sut] => { "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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:23 Tuesday 30 January 2024 21:37:35 +0000 (0:00:00.322) 0:00:05.390 ******* 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.010958", "end": "2024-01-30 21:37:35.669867", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-01-30 21:37:35.658909" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004003", "end": "2024-01-30 21:37:35.804174", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-01-30 21:37:35.800171" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.003760", "end": "2024-01-30 21:37:35.929811", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-01-30 21:37:35.926051" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:31 Tuesday 30 January 2024 21:37:35 +0000 (0:00:00.411) 0:00:05.802 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.042520", "end": "2024-01-30 21:37:36.107285", "rc": 0, "start": "2024-01-30 21:37:36.064765" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:39 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.179) 0:00:05.981 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:45 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.011) 0:00:05.993 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:50 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.011) 0:00:06.004 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:56 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.011) 0:00:06.016 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:61 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.011) 0:00:06.027 ******* 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_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:18 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.010) 0:00:06.038 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.020) 0:00:06.058 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.011) 0:00:06.070 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004190", "end": "2024-01-30 21:37:36.335832", "rc": 0, "start": "2024-01-30 21:37:36.331642" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.136) 0:00:06.207 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.013) 0:00:06.220 ******* 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_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:20 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.012) 0:00:06.232 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_present.yml:3 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.023) 0:00:06.255 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.013) 0:00:06.269 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706650655.674337, "block_size": 4096, "blocks": 0, "ctime": 1706650655.674337, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17738, "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": 1706650655.674337, "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_rewriteok1o9vve/tests/tasks/assert_device_present.yml:5 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.130) 0:00:06.399 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:23 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.015) 0:00:06.415 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:3 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.026) 0:00:06.441 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:8 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.011) 0:00:06.452 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:13 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.009) 0:00:06.462 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.014) 0:00:06.476 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.012) 0:00:06.489 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003934", "end": "2024-01-30 21:37:36.751704", "rc": 0, "start": "2024-01-30 21:37:36.747770" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.131) 0:00:06.621 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.016) 0:00:06.637 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:16 Tuesday 30 January 2024 21:37:36 +0000 (0:00:00.022) 0:00:06.660 ******* ok: [sut] => { "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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:23 Tuesday 30 January 2024 21:37:37 +0000 (0:00:00.327) 0:00:06.988 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:31 Tuesday 30 January 2024 21:37:37 +0000 (0:00:00.018) 0:00:07.006 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:39 Tuesday 30 January 2024 21:37:37 +0000 (0:00:00.011) 0:00:07.018 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009001", "end": "2024-01-30 21:37:37.288794", "rc": 0, "start": "2024-01-30 21:37:37.279793" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:45 Tuesday 30 January 2024 21:37:37 +0000 (0:00:00.143) 0:00:07.161 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:50 Tuesday 30 January 2024 21:37:37 +0000 (0:00:00.013) 0:00:07.174 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:56 Tuesday 30 January 2024 21:37:37 +0000 (0:00:00.016) 0:00:07.191 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:61 Tuesday 30 January 2024 21:37:37 +0000 (0:00:00.015) 0:00:07.207 ******* 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_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:27 Tuesday 30 January 2024 21:37:37 +0000 (0:00:00.014) 0:00:07.221 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:37 +0000 (0:00:00.031) 0:00:07.252 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:37 +0000 (0:00:00.018) 0:00:07.271 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005059", "end": "2024-01-30 21:37:38.538733", "rc": 0, "start": "2024-01-30 21:37:37.533674" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:38 +0000 (0:00:01.137) 0:00:08.408 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:38 +0000 (0:00:00.013) 0:00:08.422 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:29 Tuesday 30 January 2024 21:37:38 +0000 (0:00:00.014) 0:00:08.436 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:37:38 +0000 (0:00:00.026) 0:00:08.463 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:37:38 +0000 (0:00:00.018) 0:00:08.481 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:37:38 +0000 (0:00:00.132) 0:00:08.614 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tests_helpers_and_asserts.yml:15 Tuesday 30 January 2024 21:37:38 +0000 (0:00:00.015) 0:00:08.629 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:3 Tuesday 30 January 2024 21:37:38 +0000 (0:00:00.020) 0:00:08.649 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:38 +0000 (0:00:00.014) 0:00:08.663 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:38 +0000 (0:00:00.012) 0:00:08.676 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003818", "end": "2024-01-30 21:37:38.936540", "rc": 0, "start": "2024-01-30 21:37:38.932722" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:38 +0000 (0:00:00.129) 0:00:08.806 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:38 +0000 (0:00:00.021) 0:00:08.827 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:5 Tuesday 30 January 2024 21:37:38 +0000 (0:00:00.021) 0:00:08.849 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:3 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.027) 0:00:08.876 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:8 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.015) 0:00:08.892 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:13 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.012) 0:00:08.904 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.019) 0:00:08.923 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.015) 0:00:08.939 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003680", "end": "2024-01-30 21:37:39.215256", "rc": 0, "start": "2024-01-30 21:37:39.211576" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.148) 0:00:09.087 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.016) 0:00:09.104 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:16 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.014) 0:00:09.118 ******* ok: [sut] => { "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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:23 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.318) 0:00:09.437 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:31 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.025) 0:00:09.462 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:39 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.018) 0:00:09.481 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:45 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.016) 0:00:09.497 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:50 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.015) 0:00:09.513 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:56 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.022) 0:00:09.535 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:61 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.021) 0:00:09.557 ******* 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_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:9 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.017) 0:00:09.575 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.019) 0:00:09.594 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.017) 0:00:09.611 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003819", "end": "2024-01-30 21:37:39.876065", "rc": 0, "start": "2024-01-30 21:37:39.872246" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.134) 0:00:09.745 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.017) 0:00:09.763 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:11 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.018) 0:00:09.782 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.022) 0:00:09.804 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:37:39 +0000 (0:00:00.016) 0:00:09.820 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.138) 0:00:09.958 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:14 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.018) 0:00:09.977 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:3 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.024) 0:00:10.001 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:8 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.012) 0:00:10.014 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:13 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.012) 0:00:10.026 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.017) 0:00:10.043 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.014) 0:00:10.058 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003887", "end": "2024-01-30 21:37:40.324540", "rc": 0, "start": "2024-01-30 21:37:40.320653" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.138) 0:00:10.196 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.018) 0:00:10.215 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:16 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.018) 0:00:10.233 ******* ok: [sut] => { "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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:23 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.331) 0:00:10.565 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:31 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.027) 0:00:10.592 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:39 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.015) 0:00:10.608 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:45 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.013) 0:00:10.621 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.013163", "end": "2024-01-30 21:37:40.897513", "rc": 0, "start": "2024-01-30 21:37:40.884350" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:50 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.155) 0:00:10.776 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:56 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.015) 0:00:10.791 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:61 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.014) 0:00:10.806 ******* 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_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:18 Tuesday 30 January 2024 21:37:40 +0000 (0:00:00.013) 0:00:10.819 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.035) 0:00:10.855 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.017) 0:00:10.873 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003954", "end": "2024-01-30 21:37:41.140149", "rc": 0, "start": "2024-01-30 21:37:41.136195" } STDOUT: bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.138) 0:00:11.011 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.018) 0:00:11.030 ******* 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_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:20 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.016) 0:00:11.046 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_present.yml:3 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.035) 0:00:11.082 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.019) 0:00:11.101 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706650660.9073625, "block_size": 4096, "blocks": 0, "ctime": 1706650660.9073625, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17767, "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": 1706650660.9073625, "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_rewriteok1o9vve/tests/tasks/assert_device_present.yml:5 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.137) 0:00:11.239 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:23 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.020) 0:00:11.259 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:3 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.044) 0:00:11.303 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:8 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.017) 0:00:11.321 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:13 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.025) 0:00:11.346 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.027) 0:00:11.374 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.019) 0:00:11.393 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004116", "end": "2024-01-30 21:37:41.661426", "rc": 0, "start": "2024-01-30 21:37:41.657310" } STDOUT: bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.137) 0:00:11.531 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.014) 0:00:11.545 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:16 Tuesday 30 January 2024 21:37:41 +0000 (0:00:00.014) 0:00:11.560 ******* ok: [sut] => { "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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:23 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.322) 0:00:11.883 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:31 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.028) 0:00:11.911 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:39 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.016) 0:00:11.927 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:45 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.014) 0:00:11.941 ******* 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:50 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.017) 0:00:11.959 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.013488", "end": "2024-01-30 21:37:42.234714", "rc": 0, "start": "2024-01-30 21:37:42.221226" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:56 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.145) 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_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:61 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.011) 0:00:12.116 ******* 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_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:27 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.014) 0:00:12.131 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.030) 0:00:12.161 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.014) 0:00:12.175 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003930", "end": "2024-01-30 21:37:42.441388", "rc": 0, "start": "2024-01-30 21:37:42.437458" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.137) 0:00:12.313 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.018) 0:00:12.332 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/create_and_remove_interface.yml:29 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.024) 0:00:12.357 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.036) 0:00:12.393 ******* included: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.028) 0:00:12.422 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.136) 0:00:12.558 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=122 changed=0 unreachable=0 failed=0 skipped=52 rescued=0 ignored=0 Tuesday 30 January 2024 21:37:42 +0000 (0:00:00.020) 0:00:12.579 ******* =============================================================================== Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tests_helpers_and_asserts.yml:3 Install yum-utils package ----------------------------------------------- 0.48s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth1298 ------------------------------------------ 0.41s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:23 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/enable_epel.yml:30 ------ Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.25s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/el_repo_setup.yml:17 ---- Create EPEL 7 ----------------------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/enable_epel.yml:8 ------- Set up veth as managed by NetworkManager -------------------------------- 0.18s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:31 Create dummy interface dummy1298 ---------------------------------------- 0.16s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:45 Gather current interface info ------------------------------------------- 0.15s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/get_current_interfaces.yml:3 Delete dummy interface dummy1298 ---------------------------------------- 0.15s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:50 Delete veth interface veth1298 ------------------------------------------ 0.14s /WORKDIR/git-bond_options_rewriteok1o9vve/tests/tasks/manage_test_interface.yml:39 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---