# 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_rewriteiaqoiuej/.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_rewriteiaqoiuej/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_rewriteiaqoiuej/tests/tests_helpers_and_asserts.yml:3 Friday 09 February 2024 16:14:40 +0000 (0:00:00.036) 0:00:00.036 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tests_helpers_and_asserts.yml:6 Friday 09 February 2024 16:14:41 +0000 (0:00:00.718) 0:00:00.755 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/el_repo_setup.yml for sut TASK [Verify DNS and ping still work before el repo setup] ********************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 16:14:41 +0000 (0:00:00.014) 0:00:00.770 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 16:14:41 +0000 (0:00:00.013) 0:00:00.784 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/el_repo_setup.yml:31 Friday 09 February 2024 16:14:41 +0000 (0:00:00.245) 0:00:01.029 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/el_repo_setup.yml:36 Friday 09 February 2024 16:14:42 +0000 (0:00:00.194) 0:00:01.224 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/el_repo_setup.yml:40 Friday 09 February 2024 16:14:42 +0000 (0:00:00.014) 0:00:01.239 ******* 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_rewriteiaqoiuej/tests/tasks/el_repo_setup.yml:65 Friday 09 February 2024 16:14:42 +0000 (0:00:00.008) 0:00:01.248 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 16:14:42 +0000 (0:00:00.021) 0:00:01.270 ******* 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_rewriteiaqoiuej/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 16:14:42 +0000 (0:00:00.196) 0:00:01.466 ******* 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_rewriteiaqoiuej/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 16:14:42 +0000 (0:00:00.455) 0:00:01.922 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.212810", "end": "2024-02-09 16:14:43.056792", "rc": 0, "start": "2024-02-09 16:14:42.843982" } 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_rewriteiaqoiuej/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 16:14:43 +0000 (0:00:00.349) 0:00:02.272 ******* 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_rewriteiaqoiuej/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 16:14:43 +0000 (0:00:00.009) 0:00:02.281 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Verify DNS and ping still work after el repo setup] ********************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/el_repo_setup.yml:69 Friday 09 February 2024 16:14:43 +0000 (0:00:00.010) 0:00:02.291 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tests_helpers_and_asserts.yml:9 Friday 09 February 2024 16:14:43 +0000 (0:00:00.007) 0:00:02.299 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:3 Friday 09 February 2024 16:14:43 +0000 (0:00:00.011) 0:00:02.311 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:43 +0000 (0:00:00.010) 0:00:02.321 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:43 +0000 (0:00:00.011) 0:00:02.332 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004594", "end": "2024-02-09 16:14:43.255676", "rc": 0, "start": "2024-02-09 16:14:43.251082" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:43 +0000 (0:00:00.137) 0:00:02.470 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:43 +0000 (0:00:00.009) 0:00:02.480 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:5 Friday 09 February 2024 16:14:43 +0000 (0:00:00.009) 0:00:02.490 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:3 Friday 09 February 2024 16:14:43 +0000 (0:00:00.013) 0:00:02.503 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:8 Friday 09 February 2024 16:14:43 +0000 (0:00:00.007) 0:00:02.511 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:13 Friday 09 February 2024 16:14:43 +0000 (0:00:00.007) 0:00:02.518 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:43 +0000 (0:00:00.010) 0:00:02.529 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:43 +0000 (0:00:00.009) 0:00:02.538 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004138", "end": "2024-02-09 16:14:43.459582", "rc": 0, "start": "2024-02-09 16:14:43.455444" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:43 +0000 (0:00:00.135) 0:00:02.673 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:43 +0000 (0:00:00.009) 0:00:02.683 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:16 Friday 09 February 2024 16:14:43 +0000 (0:00:00.008) 0:00:02.692 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:27 Friday 09 February 2024 16:14:43 +0000 (0:00:00.341) 0:00:03.034 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:35 Friday 09 February 2024 16:14:43 +0000 (0:00:00.015) 0:00:03.049 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:43 Friday 09 February 2024 16:14:43 +0000 (0:00:00.008) 0:00:03.057 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:49 Friday 09 February 2024 16:14:43 +0000 (0:00:00.009) 0:00:03.067 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:54 Friday 09 February 2024 16:14:43 +0000 (0:00:00.007) 0:00:03.074 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:60 Friday 09 February 2024 16:14:43 +0000 (0:00:00.008) 0:00:03.082 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:65 Friday 09 February 2024 16:14:43 +0000 (0:00:00.007) 0:00:03.090 ******* 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_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:9 Friday 09 February 2024 16:14:43 +0000 (0:00:00.007) 0:00:03.098 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:43 +0000 (0:00:00.012) 0:00:03.110 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:43 +0000 (0:00:00.009) 0:00:03.120 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004184", "end": "2024-02-09 16:14:44.042471", "rc": 0, "start": "2024-02-09 16:14:44.038287" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:44 +0000 (0:00:00.136) 0:00:03.257 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:44 +0000 (0:00:00.009) 0:00:03.266 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:11 Friday 09 February 2024 16:14:44 +0000 (0:00:00.009) 0:00:03.276 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_absent.yml:3 Friday 09 February 2024 16:14:44 +0000 (0:00:00.013) 0:00:03.290 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:14:44 +0000 (0:00:00.010) 0:00:03.300 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_absent.yml:5 Friday 09 February 2024 16:14:44 +0000 (0:00:00.133) 0:00:03.433 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:14 Friday 09 February 2024 16:14:44 +0000 (0:00:00.011) 0:00:03.445 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:3 Friday 09 February 2024 16:14:44 +0000 (0:00:00.015) 0:00:03.460 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:8 Friday 09 February 2024 16:14:44 +0000 (0:00:00.008) 0:00:03.468 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:13 Friday 09 February 2024 16:14:44 +0000 (0:00:00.007) 0:00:03.476 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:44 +0000 (0:00:00.011) 0:00:03.487 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:44 +0000 (0:00:00.009) 0:00:03.497 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004176", "end": "2024-02-09 16:14:44.419679", "rc": 0, "start": "2024-02-09 16:14:44.415503" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:44 +0000 (0:00:00.136) 0:00:03.634 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:44 +0000 (0:00:00.009) 0:00:03.644 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:16 Friday 09 February 2024 16:14:44 +0000 (0:00:00.009) 0:00:03.654 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:27 Friday 09 February 2024 16:14:44 +0000 (0:00:00.345) 0:00:03.999 ******* 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.014065", "end": "2024-02-09 16:14:44.935621", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-09 16:14:44.921556" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.005606", "end": "2024-02-09 16:14:45.075903", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-09 16:14:45.070297" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.006766", "end": "2024-02-09 16:14:45.215813", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-09 16:14:45.209047" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:35 Friday 09 February 2024 16:14:45 +0000 (0:00:00.438) 0:00:04.437 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.026172", "end": "2024-02-09 16:14:45.384524", "rc": 0, "start": "2024-02-09 16:14:45.358352" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:43 Friday 09 February 2024 16:14:45 +0000 (0:00:00.162) 0:00:04.600 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:49 Friday 09 February 2024 16:14:45 +0000 (0:00:00.008) 0:00:04.608 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:54 Friday 09 February 2024 16:14:45 +0000 (0:00:00.009) 0:00:04.617 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:60 Friday 09 February 2024 16:14:45 +0000 (0:00:00.007) 0:00:04.625 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:65 Friday 09 February 2024 16:14:45 +0000 (0:00:00.008) 0:00:04.633 ******* 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_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:18 Friday 09 February 2024 16:14:45 +0000 (0:00:00.008) 0:00:04.642 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:45 +0000 (0:00:00.016) 0:00:04.659 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:45 +0000 (0:00:00.009) 0:00:04.669 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004138", "end": "2024-02-09 16:14:45.590498", "rc": 0, "start": "2024-02-09 16:14:45.586360" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:45 +0000 (0:00:00.135) 0:00:04.805 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:45 +0000 (0:00:00.009) 0:00:04.814 ******* 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_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:20 Friday 09 February 2024 16:14:45 +0000 (0:00:00.009) 0:00:04.824 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_present.yml:3 Friday 09 February 2024 16:14:45 +0000 (0:00:00.017) 0:00:04.841 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:14:45 +0000 (0:00:00.010) 0:00:04.852 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707495284.9335513, "block_size": 4096, "blocks": 0, "ctime": 1707495284.9335513, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17629, "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": 1707495284.9335513, "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_rewriteiaqoiuej/tests/tasks/assert_device_present.yml:5 Friday 09 February 2024 16:14:45 +0000 (0:00:00.132) 0:00:04.984 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:23 Friday 09 February 2024 16:14:45 +0000 (0:00:00.011) 0:00:04.996 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:3 Friday 09 February 2024 16:14:45 +0000 (0:00:00.018) 0:00:05.014 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:8 Friday 09 February 2024 16:14:45 +0000 (0:00:00.007) 0:00:05.022 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:13 Friday 09 February 2024 16:14:45 +0000 (0:00:00.010) 0:00:05.032 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:45 +0000 (0:00:00.013) 0:00:05.045 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:45 +0000 (0:00:00.010) 0:00:05.055 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004093", "end": "2024-02-09 16:14:45.976356", "rc": 0, "start": "2024-02-09 16:14:45.972263" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:45 +0000 (0:00:00.134) 0:00:05.190 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:46 +0000 (0:00:00.010) 0:00:05.200 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:16 Friday 09 February 2024 16:14:46 +0000 (0:00:00.009) 0:00:05.210 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:27 Friday 09 February 2024 16:14:46 +0000 (0:00:00.342) 0:00:05.553 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:35 Friday 09 February 2024 16:14:46 +0000 (0:00:00.015) 0:00:05.568 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:43 Friday 09 February 2024 16:14:46 +0000 (0:00:00.008) 0:00:05.577 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009341", "end": "2024-02-09 16:14:46.504707", "rc": 0, "start": "2024-02-09 16:14:46.495366" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:49 Friday 09 February 2024 16:14:46 +0000 (0:00:00.142) 0:00:05.719 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:54 Friday 09 February 2024 16:14:46 +0000 (0:00:00.009) 0:00:05.729 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:60 Friday 09 February 2024 16:14:46 +0000 (0:00:00.009) 0:00:05.739 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:65 Friday 09 February 2024 16:14:46 +0000 (0:00:00.009) 0:00:05.749 ******* 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_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:27 Friday 09 February 2024 16:14:46 +0000 (0:00:00.009) 0:00:05.758 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:46 +0000 (0:00:00.018) 0:00:05.776 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:46 +0000 (0:00:00.009) 0:00:05.786 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004154", "end": "2024-02-09 16:14:46.707453", "rc": 0, "start": "2024-02-09 16:14:46.703299" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:46 +0000 (0:00:00.135) 0:00:05.921 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:46 +0000 (0:00:00.010) 0:00:05.932 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:29 Friday 09 February 2024 16:14:46 +0000 (0:00:00.010) 0:00:05.942 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_absent.yml:3 Friday 09 February 2024 16:14:46 +0000 (0:00:00.020) 0:00:05.962 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:14:46 +0000 (0:00:00.011) 0:00:05.974 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_absent.yml:5 Friday 09 February 2024 16:14:46 +0000 (0:00:00.131) 0:00:06.105 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tests_helpers_and_asserts.yml:15 Friday 09 February 2024 16:14:46 +0000 (0:00:00.011) 0:00:06.116 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:3 Friday 09 February 2024 16:14:46 +0000 (0:00:00.013) 0:00:06.130 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:46 +0000 (0:00:00.010) 0:00:06.140 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:46 +0000 (0:00:00.009) 0:00:06.150 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004117", "end": "2024-02-09 16:14:47.072150", "rc": 0, "start": "2024-02-09 16:14:47.068033" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:47 +0000 (0:00:00.135) 0:00:06.286 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:47 +0000 (0:00:00.010) 0:00:06.296 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:5 Friday 09 February 2024 16:14:47 +0000 (0:00:00.011) 0:00:06.307 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:3 Friday 09 February 2024 16:14:47 +0000 (0:00:00.012) 0:00:06.319 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:8 Friday 09 February 2024 16:14:47 +0000 (0:00:00.010) 0:00:06.330 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:13 Friday 09 February 2024 16:14:47 +0000 (0:00:00.011) 0:00:06.341 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:47 +0000 (0:00:00.023) 0:00:06.365 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:47 +0000 (0:00:00.013) 0:00:06.378 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004126", "end": "2024-02-09 16:14:47.308888", "rc": 0, "start": "2024-02-09 16:14:47.304762" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:47 +0000 (0:00:00.145) 0:00:06.524 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:47 +0000 (0:00:00.011) 0:00:06.535 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:16 Friday 09 February 2024 16:14:47 +0000 (0:00:00.011) 0:00:06.546 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:27 Friday 09 February 2024 16:14:47 +0000 (0:00:00.349) 0:00:06.896 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:35 Friday 09 February 2024 16:14:47 +0000 (0:00:00.014) 0:00:06.910 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:43 Friday 09 February 2024 16:14:47 +0000 (0:00:00.009) 0:00:06.920 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:49 Friday 09 February 2024 16:14:47 +0000 (0:00:00.009) 0:00:06.929 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:54 Friday 09 February 2024 16:14:47 +0000 (0:00:00.009) 0:00:06.939 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:60 Friday 09 February 2024 16:14:47 +0000 (0:00:00.011) 0:00:06.950 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:65 Friday 09 February 2024 16:14:47 +0000 (0:00:00.009) 0:00:06.960 ******* 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_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:9 Friday 09 February 2024 16:14:47 +0000 (0:00:00.009) 0:00:06.969 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:47 +0000 (0:00:00.013) 0:00:06.982 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:47 +0000 (0:00:00.009) 0:00:06.992 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004166", "end": "2024-02-09 16:14:47.915229", "rc": 0, "start": "2024-02-09 16:14:47.911063" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:47 +0000 (0:00:00.136) 0:00:07.129 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:47 +0000 (0:00:00.011) 0:00:07.141 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:11 Friday 09 February 2024 16:14:47 +0000 (0:00:00.012) 0:00:07.154 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_absent.yml:3 Friday 09 February 2024 16:14:47 +0000 (0:00:00.014) 0:00:07.168 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:14:47 +0000 (0:00:00.011) 0:00:07.180 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_absent.yml:5 Friday 09 February 2024 16:14:48 +0000 (0:00:00.136) 0:00:07.316 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:14 Friday 09 February 2024 16:14:48 +0000 (0:00:00.011) 0:00:07.328 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:3 Friday 09 February 2024 16:14:48 +0000 (0:00:00.016) 0:00:07.345 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:8 Friday 09 February 2024 16:14:48 +0000 (0:00:00.009) 0:00:07.354 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:13 Friday 09 February 2024 16:14:48 +0000 (0:00:00.008) 0:00:07.363 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:48 +0000 (0:00:00.015) 0:00:07.378 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:48 +0000 (0:00:00.011) 0:00:07.389 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004202", "end": "2024-02-09 16:14:48.314445", "rc": 0, "start": "2024-02-09 16:14:48.310243" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:48 +0000 (0:00:00.139) 0:00:07.529 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:48 +0000 (0:00:00.011) 0:00:07.540 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:16 Friday 09 February 2024 16:14:48 +0000 (0:00:00.011) 0:00:07.551 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:27 Friday 09 February 2024 16:14:48 +0000 (0:00:00.365) 0:00:07.917 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:35 Friday 09 February 2024 16:14:48 +0000 (0:00:00.015) 0:00:07.932 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:43 Friday 09 February 2024 16:14:48 +0000 (0:00:00.010) 0:00:07.943 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:49 Friday 09 February 2024 16:14:48 +0000 (0:00:00.010) 0:00:07.953 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.006381", "end": "2024-02-09 16:14:48.882196", "rc": 0, "start": "2024-02-09 16:14:48.875815" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:54 Friday 09 February 2024 16:14:48 +0000 (0:00:00.149) 0:00:08.102 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:60 Friday 09 February 2024 16:14:48 +0000 (0:00:00.009) 0:00:08.111 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:65 Friday 09 February 2024 16:14:48 +0000 (0:00:00.008) 0:00:08.120 ******* 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_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:18 Friday 09 February 2024 16:14:48 +0000 (0:00:00.008) 0:00:08.129 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:48 +0000 (0:00:00.016) 0:00:08.145 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:48 +0000 (0:00:00.011) 0:00:08.157 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004195", "end": "2024-02-09 16:14:49.080287", "rc": 0, "start": "2024-02-09 16:14:49.076092" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:49 +0000 (0:00:00.137) 0:00:08.294 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:49 +0000 (0:00:00.009) 0:00:08.304 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:20 Friday 09 February 2024 16:14:49 +0000 (0:00:00.009) 0:00:08.314 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_present.yml:3 Friday 09 February 2024 16:14:49 +0000 (0:00:00.016) 0:00:08.330 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:14:49 +0000 (0:00:00.012) 0:00:08.343 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707495288.887612, "block_size": 4096, "blocks": 0, "ctime": 1707495288.887612, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17545, "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": 1707495288.887612, "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_rewriteiaqoiuej/tests/tasks/assert_device_present.yml:5 Friday 09 February 2024 16:14:49 +0000 (0:00:00.141) 0:00:08.484 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:23 Friday 09 February 2024 16:14:49 +0000 (0:00:00.017) 0:00:08.502 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:3 Friday 09 February 2024 16:14:49 +0000 (0:00:00.037) 0:00:08.539 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:8 Friday 09 February 2024 16:14:49 +0000 (0:00:00.012) 0:00:08.551 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:13 Friday 09 February 2024 16:14:49 +0000 (0:00:00.009) 0:00:08.561 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:49 +0000 (0:00:00.011) 0:00:08.573 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:49 +0000 (0:00:00.009) 0:00:08.583 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004177", "end": "2024-02-09 16:14:49.505492", "rc": 0, "start": "2024-02-09 16:14:49.501315" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:49 +0000 (0:00:00.144) 0:00:08.727 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:49 +0000 (0:00:00.013) 0:00:08.740 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:16 Friday 09 February 2024 16:14:49 +0000 (0:00:00.011) 0:00:08.751 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:27 Friday 09 February 2024 16:14:49 +0000 (0:00:00.345) 0:00:09.097 ******* skipping: [sut] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:35 Friday 09 February 2024 16:14:49 +0000 (0:00:00.014) 0:00:09.112 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:43 Friday 09 February 2024 16:14:49 +0000 (0:00:00.015) 0:00:09.128 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:49 Friday 09 February 2024 16:14:49 +0000 (0:00:00.011) 0:00:09.139 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:54 Friday 09 February 2024 16:14:49 +0000 (0:00:00.012) 0:00:09.151 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010462", "end": "2024-02-09 16:14:50.082663", "rc": 0, "start": "2024-02-09 16:14:50.072201" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:60 Friday 09 February 2024 16:14:50 +0000 (0:00:00.146) 0:00:09.298 ******* 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_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:65 Friday 09 February 2024 16:14:50 +0000 (0:00:00.012) 0:00:09.311 ******* 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_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:27 Friday 09 February 2024 16:14:50 +0000 (0:00:00.008) 0:00:09.320 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:14:50 +0000 (0:00:00.023) 0:00:09.343 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:14:50 +0000 (0:00:00.011) 0:00:09.355 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004184", "end": "2024-02-09 16:14:50.280490", "rc": 0, "start": "2024-02-09 16:14:50.276306" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:14:50 +0000 (0:00:00.140) 0:00:09.495 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:14:50 +0000 (0:00:00.009) 0:00:09.505 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/create_and_remove_interface.yml:29 Friday 09 February 2024 16:14:50 +0000 (0:00:00.009) 0:00:09.515 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_absent.yml:3 Friday 09 February 2024 16:14:50 +0000 (0:00:00.020) 0:00:09.535 ******* included: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:14:50 +0000 (0:00:00.011) 0:00:09.546 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/assert_device_absent.yml:5 Friday 09 February 2024 16:14:50 +0000 (0:00:00.133) 0:00:09.680 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=122 changed=0 unreachable=0 failed=0 skipped=54 rescued=0 ignored=0 Friday 09 February 2024 16:14:50 +0000 (0:00:00.019) 0:00:09.699 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tests_helpers_and_asserts.yml:3 Install yum-utils package ----------------------------------------------- 0.46s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth1298 ------------------------------------------ 0.44s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.37s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/enable_epel.yml:30 ------ Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-bond_options_rewriteiaqoiuej/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_rewriteiaqoiuej/tests/tasks/el_repo_setup.yml:17 ---- Create EPEL 7 ----------------------------------------------------------- 0.20s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/enable_epel.yml:8 ------- Check if system is ostree ----------------------------------------------- 0.19s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/el_repo_setup.yml:31 ---- Set up veth as managed by NetworkManager -------------------------------- 0.16s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.15s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:49 Delete dummy interface dummy1298 ---------------------------------------- 0.15s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:54 Gather current interface info ------------------------------------------- 0.15s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.14s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_current_interfaces.yml:3 Delete veth interface veth1298 ------------------------------------------ 0.14s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/manage_test_interface.yml:43 Get stat for interface dummy1298 ---------------------------------------- 0.14s /WORKDIR/git-bond_options_rewriteiaqoiuej/tests/tasks/get_interface_stat.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---