# 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_rewriteoqonc9c6/.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_rewriteoqonc9c6/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_rewriteoqonc9c6/tests/tests_helpers_and_asserts.yml:3 Tuesday 06 February 2024 18:46:46 +0000 (0:00:00.052) 0:00:00.052 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tests_helpers_and_asserts.yml:6 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.799) 0:00:00.852 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/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_rewriteoqonc9c6/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.017) 0:00:00.869 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/el_repo_setup.yml:17 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.244) 0:00:01.114 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/el_repo_setup.yml:22 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.186) 0:00:01.301 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/el_repo_setup.yml:26 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.016) 0:00:01.317 ****** 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_rewriteoqonc9c6/tests/tasks/el_repo_setup.yml:51 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.008) 0:00:01.326 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.024) 0:00:01.350 ****** 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_rewriteoqonc9c6/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 18:46:48 +0000 (0:00:00.185) 0:00:01.536 ****** 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_rewriteoqonc9c6/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 18:46:48 +0000 (0:00:00.443) 0:00:01.979 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.200155", "end": "2024-02-06 18:46:48.906773", "rc": 0, "start": "2024-02-06 18:46:48.706618" } 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_rewriteoqonc9c6/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 18:46:48 +0000 (0:00:00.326) 0:00:02.306 ****** 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_rewriteoqonc9c6/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 18:46:48 +0000 (0:00:00.008) 0:00:02.314 ****** 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_rewriteoqonc9c6/tests/tests_helpers_and_asserts.yml:9 Tuesday 06 February 2024 18:46:48 +0000 (0:00:00.009) 0:00:02.323 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:3 Tuesday 06 February 2024 18:46:48 +0000 (0:00:00.012) 0:00:02.336 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:48 +0000 (0:00:00.011) 0:00:02.347 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:48 +0000 (0:00:00.010) 0:00:02.357 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004041", "end": "2024-02-06 18:46:49.086518", "rc": 0, "start": "2024-02-06 18:46:49.082477" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.129) 0:00:02.486 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.012) 0:00:02.498 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:5 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.009) 0:00:02.508 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.016) 0:00:02.525 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.010) 0:00:02.535 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.010) 0:00:02.546 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.012) 0:00:02.559 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.010) 0:00:02.570 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003854", "end": "2024-02-06 18:46:49.297465", "rc": 0, "start": "2024-02-06 18:46:49.293611" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.127) 0:00:02.697 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.010) 0:00:02.708 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.011) 0:00:02.719 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.329) 0:00:03.049 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.021) 0:00:03.071 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.013) 0:00:03.084 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.024) 0:00:03.109 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.014) 0:00:03.124 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.013) 0:00:03.137 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.012) 0:00:03.149 ****** 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_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:9 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.024) 0:00:03.174 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.016) 0:00:03.190 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:49 +0000 (0:00:00.039) 0:00:03.229 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003848", "end": "2024-02-06 18:46:50.008781", "rc": 0, "start": "2024-02-06 18:46:50.004933" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.210) 0:00:03.440 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.020) 0:00:03.461 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:11 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.021) 0:00:03.483 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.018) 0:00:03.501 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.011) 0:00:03.512 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.130) 0:00:03.643 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:14 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.013) 0:00:03.656 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.025) 0:00:03.682 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.010) 0:00:03.692 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.009) 0:00:03.702 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.015) 0:00:03.718 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.020) 0:00:03.738 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003885", "end": "2024-02-06 18:46:50.472380", "rc": 0, "start": "2024-02-06 18:46:50.468495" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.142) 0:00:03.881 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.011) 0:00:03.892 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.012) 0:00:03.905 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.337) 0:00:04.243 ****** 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.009761", "end": "2024-02-06 18:46:50.987289", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-06 18:46:50.977528" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.007612", "end": "2024-02-06 18:46:51.132611", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-06 18:46:51.124999" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.007854", "end": "2024-02-06 18:46:51.267852", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-06 18:46:51.259998" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.429) 0:00:04.672 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.027178", "end": "2024-02-06 18:46:51.424755", "rc": 0, "start": "2024-02-06 18:46:51.397577" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.153) 0:00:04.826 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.010) 0:00:04.837 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.012) 0:00:04.849 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.010) 0:00:04.860 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.009) 0:00:04.869 ****** 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_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:18 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.009) 0:00:04.878 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.016) 0:00:04.895 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.010) 0:00:04.906 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003873", "end": "2024-02-06 18:46:51.635179", "rc": 0, "start": "2024-02-06 18:46:51.631306" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.129) 0:00:05.035 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.017) 0:00:05.053 ****** 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_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:20 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.011) 0:00:05.065 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.023) 0:00:05.088 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.010) 0:00:05.098 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245210.9908345, "block_size": 4096, "blocks": 0, "ctime": 1707245210.9908345, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17625, "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": 1707245210.9908345, "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_rewriteoqonc9c6/tests/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.125) 0:00:05.224 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:23 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.012) 0:00:05.237 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.020) 0:00:05.257 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.009) 0:00:05.266 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.009) 0:00:05.276 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.017) 0:00:05.293 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.010) 0:00:05.304 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003858", "end": "2024-02-06 18:46:52.033765", "rc": 0, "start": "2024-02-06 18:46:52.029907" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.128) 0:00:05.432 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.011) 0:00:05.443 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.014) 0:00:05.458 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.327) 0:00:05.786 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.014) 0:00:05.801 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.008) 0:00:05.809 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009062", "end": "2024-02-06 18:46:52.546629", "rc": 0, "start": "2024-02-06 18:46:52.537567" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.148) 0:00:05.957 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.012) 0:00:05.970 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.009) 0:00:05.980 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.009) 0:00:05.989 ****** 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_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:27 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.008) 0:00:05.998 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.021) 0:00:06.020 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.010) 0:00:06.030 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003847", "end": "2024-02-06 18:46:52.760942", "rc": 0, "start": "2024-02-06 18:46:52.757095" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.128) 0:00:06.159 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.011) 0:00:06.171 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:29 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.009) 0:00:06.180 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.021) 0:00:06.201 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.013) 0:00:06.215 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.123) 0:00:06.338 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tests_helpers_and_asserts.yml:15 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.012) 0:00:06.351 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:3 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.015) 0:00:06.366 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.016) 0:00:06.382 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.010) 0:00:06.393 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003955", "end": "2024-02-06 18:46:53.125920", "rc": 0, "start": "2024-02-06 18:46:53.121965" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.131) 0:00:06.525 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.011) 0:00:06.536 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:5 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.012) 0:00:06.549 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.013) 0:00:06.563 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.009) 0:00:06.573 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.008) 0:00:06.581 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.012) 0:00:06.593 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.011) 0:00:06.604 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003826", "end": "2024-02-06 18:46:53.348388", "rc": 0, "start": "2024-02-06 18:46:53.344562" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.159) 0:00:06.764 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.011) 0:00:06.776 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.009) 0:00:06.785 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.323) 0:00:07.109 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.017) 0:00:07.127 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.010) 0:00:07.137 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.012) 0:00:07.149 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.012) 0:00:07.162 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.012) 0:00:07.174 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.014) 0:00:07.188 ****** 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_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:9 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.010) 0:00:07.199 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.013) 0:00:07.212 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.011) 0:00:07.224 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003868", "end": "2024-02-06 18:46:53.956045", "rc": 0, "start": "2024-02-06 18:46:53.952177" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.130) 0:00:07.355 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.011) 0:00:07.366 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:11 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.013) 0:00:07.380 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.015) 0:00:07.396 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.011) 0:00:07.407 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.132) 0:00:07.540 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:14 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.017) 0:00:07.558 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.017) 0:00:07.575 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.010) 0:00:07.585 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.012) 0:00:07.598 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.015) 0:00:07.613 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.037) 0:00:07.651 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003824", "end": "2024-02-06 18:46:54.436441", "rc": 0, "start": "2024-02-06 18:46:54.432617" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.185) 0:00:07.837 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.011) 0:00:07.848 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.013) 0:00:07.862 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.335) 0:00:08.197 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.025) 0:00:08.222 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.012) 0:00:08.234 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.012) 0:00:08.247 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009591", "end": "2024-02-06 18:46:54.984822", "rc": 0, "start": "2024-02-06 18:46:54.975231" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.141) 0:00:08.388 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.009) 0:00:08.398 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.009) 0:00:08.407 ****** 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_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:18 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.010) 0:00:08.418 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.019) 0:00:08.437 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.019) 0:00:08.456 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004037", "end": "2024-02-06 18:46:55.197269", "rc": 0, "start": "2024-02-06 18:46:55.193232" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.148) 0:00:08.605 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.011) 0:00:08.616 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:20 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.035) 0:00:08.651 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.018) 0:00:08.670 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.012) 0:00:08.682 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245214.98171, "block_size": 4096, "blocks": 0, "ctime": 1707245214.98171, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17540, "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": 1707245214.98171, "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_rewriteoqonc9c6/tests/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.154) 0:00:08.837 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:23 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.028) 0:00:08.865 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.025) 0:00:08.890 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.009) 0:00:08.899 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.009) 0:00:08.909 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.013) 0:00:08.922 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.024) 0:00:08.947 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003879", "end": "2024-02-06 18:46:55.677757", "rc": 0, "start": "2024-02-06 18:46:55.673878" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.148) 0:00:09.095 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.019) 0:00:09.114 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 18:46:55 +0000 (0:00:00.016) 0:00:09.131 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.347) 0:00:09.478 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.016) 0:00:09.495 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.009) 0:00:09.504 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.011) 0:00:09.515 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.010) 0:00:09.526 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011975", "end": "2024-02-06 18:46:56.265634", "rc": 0, "start": "2024-02-06 18:46:56.253659" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.140) 0:00:09.666 ****** 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_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.011) 0:00:09.678 ****** 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_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:27 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.009) 0:00:09.687 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.023) 0:00:09.710 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.022) 0:00:09.733 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003864", "end": "2024-02-06 18:46:56.487987", "rc": 0, "start": "2024-02-06 18:46:56.484123" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.156) 0:00:09.890 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.019) 0:00:09.910 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/create_and_remove_interface.yml:29 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.011) 0:00:09.922 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.023) 0:00:09.945 ****** included: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.011) 0:00:09.956 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:46:56 +0000 (0:00:00.135) 0:00:10.092 ****** 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 06 February 2024 18:46:56 +0000 (0:00:00.035) 0:00:10.127 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tests_helpers_and_asserts.yml:3 Install yum-utils package ----------------------------------------------- 0.44s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth1298 ------------------------------------------ 0.43s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/enable_epel.yml:30 ------ Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.24s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/el_repo_setup.yml:3 ----- Gather current interface info ------------------------------------------- 0.21s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.19s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/el_repo_setup.yml:17 ---- Gather current interface info ------------------------------------------- 0.19s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Create EPEL 7 ----------------------------------------------------------- 0.19s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/enable_epel.yml:8 ------- Gather current interface info ------------------------------------------- 0.16s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.16s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 Get stat for interface dummy1298 ---------------------------------------- 0.15s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_interface_stat.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.15s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/manage_test_interface.yml:35 Gather current interface info ------------------------------------------- 0.15s /WORKDIR/git-bond_options_rewriteoqonc9c6/tests/tasks/get_current_interfaces.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---