# 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-route_typeu4zyrkew/.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-route_typeu4zyrkew/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tests_helpers_and_asserts.yml:3 Tuesday 09 January 2024 02:39:08 +0000 (0:00:00.033) 0:00:00.033 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeu4zyrkew/tests/tests_helpers_and_asserts.yml:6 Tuesday 09 January 2024 02:39:09 +0000 (0:00:00.659) 0:00:00.693 ******* included: /WORKDIR/git-route_typeu4zyrkew/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-route_typeu4zyrkew/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 02:39:09 +0000 (0:00:00.011) 0:00:00.704 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/el_repo_setup.yml:17 Tuesday 09 January 2024 02:39:09 +0000 (0:00:00.241) 0:00:00.945 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/el_repo_setup.yml:22 Tuesday 09 January 2024 02:39:09 +0000 (0:00:00.179) 0:00:01.125 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/el_repo_setup.yml:26 Tuesday 09 January 2024 02:39:09 +0000 (0:00:00.018) 0:00:01.143 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/el_repo_setup.yml:51 Tuesday 09 January 2024 02:39:09 +0000 (0:00:00.010) 0:00:01.154 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 02:39:09 +0000 (0:00:00.028) 0:00:01.183 ******* 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-route_typeu4zyrkew/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.202) 0:00:01.385 ******* 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-route_typeu4zyrkew/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.416) 0:00:01.802 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.175835", "end": "2024-01-09 02:39:10.727013", "rc": 0, "start": "2024-01-09 02:39:10.551178" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.303) 0:00:02.106 ******* 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-route_typeu4zyrkew/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.008) 0:00:02.115 ******* 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-route_typeu4zyrkew/tests/tests_helpers_and_asserts.yml:9 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.008) 0:00:02.123 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:3 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.011) 0:00:02.135 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.010) 0:00:02.145 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.012) 0:00:02.158 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003923", "end": "2024-01-09 02:39:10.924390", "rc": 0, "start": "2024-01-09 02:39:10.920467" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.144) 0:00:02.302 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.012) 0:00:02.315 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:5 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.011) 0:00:02.326 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.018) 0:00:02.344 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.009) 0:00:02.353 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 02:39:10 +0000 (0:00:00.007) 0:00:02.361 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.010) 0:00:02.371 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.009) 0:00:02.381 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003924", "end": "2024-01-09 02:39:11.130289", "rc": 0, "start": "2024-01-09 02:39:11.126365" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.133) 0:00:02.514 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.013) 0:00:02.528 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.008) 0:00:02.536 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.312) 0:00:02.849 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.018) 0:00:02.868 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.009) 0:00:02.878 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.008) 0:00:02.886 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.015) 0:00:02.902 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.010) 0:00:02.912 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.009) 0:00:02.922 ******* 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-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:9 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.009) 0:00:02.932 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.021) 0:00:02.953 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.014) 0:00:02.967 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003719", "end": "2024-01-09 02:39:11.729591", "rc": 0, "start": "2024-01-09 02:39:11.725872" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.139) 0:00:03.107 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.009) 0:00:03.116 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:11 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.008) 0:00:03.125 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.013) 0:00:03.139 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.009) 0:00:03.149 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.125) 0:00:03.274 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:14 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.010) 0:00:03.284 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.015) 0:00:03.299 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.007) 0:00:03.307 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.007) 0:00:03.314 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.011) 0:00:03.326 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:11 +0000 (0:00:00.009) 0:00:03.335 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003930", "end": "2024-01-09 02:39:12.085143", "rc": 0, "start": "2024-01-09 02:39:12.081213" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:12 +0000 (0:00:00.127) 0:00:03.463 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:12 +0000 (0:00:00.009) 0:00:03.473 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 02:39:12 +0000 (0:00:00.009) 0:00:03.482 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 02:39:12 +0000 (0:00:00.313) 0:00:03.795 ******* 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.010632", "end": "2024-01-09 02:39:12.556408", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-01-09 02:39:12.545776" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.003611", "end": "2024-01-09 02:39:12.684929", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-01-09 02:39:12.681318" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.005160", "end": "2024-01-09 02:39:12.805702", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-01-09 02:39:12.800542" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 02:39:12 +0000 (0:00:00.388) 0:00:04.184 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.034076", "end": "2024-01-09 02:39:12.963356", "rc": 0, "start": "2024-01-09 02:39:12.929280" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 02:39:12 +0000 (0:00:00.164) 0:00:04.348 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 02:39:12 +0000 (0:00:00.008) 0:00:04.356 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.008) 0:00:04.365 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.007) 0:00:04.373 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.007) 0:00:04.380 ******* 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-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:18 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.008) 0:00:04.389 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.016) 0:00:04.405 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.009) 0:00:04.415 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003525", "end": "2024-01-09 02:39:13.168569", "rc": 0, "start": "2024-01-09 02:39:13.165044" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.131) 0:00:04.546 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.009) 0:00:04.556 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:20 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.008) 0:00:04.564 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.016) 0:00:04.581 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.009) 0:00:04.591 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767952.5615144, "block_size": 4096, "blocks": 0, "ctime": 1704767952.5605145, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17766, "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": 1704767952.5605145, "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-route_typeu4zyrkew/tests/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.125) 0:00:04.716 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:23 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.011) 0:00:04.727 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.018) 0:00:04.746 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.007) 0:00:04.754 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.007) 0:00:04.762 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.010) 0:00:04.772 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.009) 0:00:04.781 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003900", "end": "2024-01-09 02:39:13.533216", "rc": 0, "start": "2024-01-09 02:39:13.529316" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.130) 0:00:04.911 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.009) 0:00:04.921 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.013) 0:00:04.934 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.314) 0:00:05.248 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.014) 0:00:05.263 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 02:39:13 +0000 (0:00:00.008) 0:00:05.271 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009651", "end": "2024-01-09 02:39:14.030584", "rc": 0, "start": "2024-01-09 02:39:14.020933" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.139) 0:00:05.411 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.012) 0:00:05.424 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.008) 0:00:05.432 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.008) 0:00:05.440 ******* 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-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:27 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.008) 0:00:05.449 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.018) 0:00:05.468 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.009) 0:00:05.477 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003971", "end": "2024-01-09 02:39:14.232593", "rc": 0, "start": "2024-01-09 02:39:14.228622" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.134) 0:00:05.611 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.009) 0:00:05.621 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:29 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.011) 0:00:05.632 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.019) 0:00:05.652 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.009) 0:00:05.662 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.133) 0:00:05.795 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tests_helpers_and_asserts.yml:15 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.009) 0:00:05.805 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:3 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.013) 0:00:05.819 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.009) 0:00:05.829 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.008) 0:00:05.838 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004008", "end": "2024-01-09 02:39:14.591368", "rc": 0, "start": "2024-01-09 02:39:14.587360" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.131) 0:00:05.970 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.009) 0:00:05.980 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:5 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.010) 0:00:05.990 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.012) 0:00:06.002 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.007) 0:00:06.009 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.007) 0:00:06.016 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.010) 0:00:06.027 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.009) 0:00:06.036 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004039", "end": "2024-01-09 02:39:14.788971", "rc": 0, "start": "2024-01-09 02:39:14.784932" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.135) 0:00:06.172 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.025) 0:00:06.197 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 02:39:14 +0000 (0:00:00.011) 0:00:06.209 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.346) 0:00:06.555 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.013) 0:00:06.569 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.008) 0:00:06.578 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.008) 0:00:06.586 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.007) 0:00:06.594 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.008) 0:00:06.603 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.007) 0:00:06.611 ******* 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-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:9 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.007) 0:00:06.618 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.012) 0:00:06.630 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.008) 0:00:06.639 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003940", "end": "2024-01-09 02:39:15.388792", "rc": 0, "start": "2024-01-09 02:39:15.384852" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.136) 0:00:06.775 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.009) 0:00:06.785 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:11 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.010) 0:00:06.795 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.013) 0:00:06.809 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.009) 0:00:06.819 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.133) 0:00:06.953 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:14 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.017) 0:00:06.970 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.019) 0:00:06.990 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.013) 0:00:07.003 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.007) 0:00:07.011 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.010) 0:00:07.022 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:15 +0000 (0:00:00.009) 0:00:07.031 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004977", "end": "2024-01-09 02:39:16.784560", "rc": 0, "start": "2024-01-09 02:39:15.779583" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:16 +0000 (0:00:01.135) 0:00:08.167 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:16 +0000 (0:00:00.010) 0:00:08.177 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 02:39:16 +0000 (0:00:00.009) 0:00:08.187 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.312) 0:00:08.499 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.014) 0:00:08.514 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.009) 0:00:08.523 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.008) 0:00:08.532 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.008112", "end": "2024-01-09 02:39:17.288921", "rc": 0, "start": "2024-01-09 02:39:17.280809" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.142) 0:00:08.674 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.009) 0:00:08.683 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.008) 0:00:08.692 ******* 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-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:18 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.008) 0:00:08.701 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.015) 0:00:08.717 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.009) 0:00:08.726 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004182", "end": "2024-01-09 02:39:17.477675", "rc": 0, "start": "2024-01-09 02:39:17.473493" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.129) 0:00:08.856 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.011) 0:00:08.868 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:20 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.008) 0:00:08.877 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.016) 0:00:08.894 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.009) 0:00:08.904 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767957.2892838, "block_size": 4096, "blocks": 0, "ctime": 1704767957.2882838, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17681, "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": 1704767957.2882838, "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-route_typeu4zyrkew/tests/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.131) 0:00:09.035 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:23 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.011) 0:00:09.046 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.019) 0:00:09.066 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.008) 0:00:09.074 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.009) 0:00:09.084 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.010) 0:00:09.095 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.018) 0:00:09.113 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003710", "end": "2024-01-09 02:39:17.885778", "rc": 0, "start": "2024-01-09 02:39:17.882068" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.149) 0:00:09.263 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.009) 0:00:09.273 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 02:39:17 +0000 (0:00:00.009) 0:00:09.283 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.309) 0:00:09.592 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.016) 0:00:09.609 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.010) 0:00:09.619 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.009) 0:00:09.628 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.011) 0:00:09.640 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009374", "end": "2024-01-09 02:39:18.402564", "rc": 0, "start": "2024-01-09 02:39:18.393190" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.141) 0:00:09.782 ******* 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-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.009) 0:00:09.791 ******* 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-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:27 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.011) 0:00:09.802 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.019) 0:00:09.821 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.011) 0:00:09.832 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003920", "end": "2024-01-09 02:39:18.594159", "rc": 0, "start": "2024-01-09 02:39:18.590239" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.139) 0:00:09.972 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.009) 0:00:09.982 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/create_and_remove_interface.yml:29 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.013) 0:00:09.995 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.019) 0:00:10.015 ******* included: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.009) 0:00:10.025 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-route_typeu4zyrkew/tests/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:39:18 +0000 (0:00:00.123) 0:00:10.148 ******* 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 09 January 2024 02:39:18 +0000 (0:00:00.014) 0:00:10.163 ******* =============================================================================== Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 ------ Gathering Facts --------------------------------------------------------- 0.66s /WORKDIR/git-route_typeu4zyrkew/tests/tests_helpers_and_asserts.yml:3 --------- Install yum-utils package ----------------------------------------------- 0.42s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/enable_epel.yml:24 ---------------- Create veth interface veth1298 ------------------------------------------ 0.39s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:23 ------ Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:16 ------ Enable EPEL 7 ----------------------------------------------------------- 0.30s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/enable_epel.yml:30 ---------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.24s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/el_repo_setup.yml:3 --------------- Create EPEL 7 ----------------------------------------------------------- 0.20s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/enable_epel.yml:8 ----------------- Check if system is ostree ----------------------------------------------- 0.18s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/el_repo_setup.yml:17 -------------- Set up veth as managed by NetworkManager -------------------------------- 0.16s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:31 ------ Gather current interface info ------------------------------------------- 0.15s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 ------ Gather current interface info ------------------------------------------- 0.14s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/get_current_interfaces.yml:3 ------ Create dummy interface dummy1298 ---------------------------------------- 0.14s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:45 ------ Delete dummy interface dummy1298 ---------------------------------------- 0.14s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:50 ------ Delete veth interface veth1298 ------------------------------------------ 0.14s /WORKDIR/git-route_typeu4zyrkew/tests/tasks/manage_test_interface.yml:39 ------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---