# 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_type4l7lhc2q/.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_type4l7lhc2q/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_type4l7lhc2q/tests/tests_helpers_and_asserts.yml:3 Thursday 11 January 2024 00:19:05 +0000 (0:00:00.033) 0:00:00.033 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type4l7lhc2q/tests/tests_helpers_and_asserts.yml:6 Thursday 11 January 2024 00:19:06 +0000 (0:00:00.684) 0:00:00.717 ****** included: /WORKDIR/git-route_type4l7lhc2q/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_type4l7lhc2q/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 00:19:06 +0000 (0:00:00.011) 0:00:00.729 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/el_repo_setup.yml:17 Thursday 11 January 2024 00:19:06 +0000 (0:00:00.243) 0:00:00.972 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/el_repo_setup.yml:22 Thursday 11 January 2024 00:19:07 +0000 (0:00:00.183) 0:00:01.155 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/el_repo_setup.yml:26 Thursday 11 January 2024 00:19:07 +0000 (0:00:00.016) 0:00:01.172 ****** 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_type4l7lhc2q/tests/tasks/el_repo_setup.yml:51 Thursday 11 January 2024 00:19:07 +0000 (0:00:00.008) 0:00:01.181 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 00:19:07 +0000 (0:00:00.021) 0:00:01.203 ****** 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_type4l7lhc2q/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 00:19:07 +0000 (0:00:00.191) 0:00:01.395 ****** 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_type4l7lhc2q/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 00:19:07 +0000 (0:00:00.429) 0:00:01.824 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.186786", "end": "2024-01-11 00:19:07.979112", "rc": 0, "start": "2024-01-11 00:19:07.792326" } 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_type4l7lhc2q/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 00:19:07 +0000 (0:00:00.328) 0:00:02.152 ****** 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_type4l7lhc2q/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.009) 0:00:02.162 ****** 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_type4l7lhc2q/tests/tests_helpers_and_asserts.yml:9 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.009) 0:00:02.172 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:3 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.012) 0:00:02.185 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.009) 0:00:02.194 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.013) 0:00:02.208 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004091", "end": "2024-01-11 00:19:08.174153", "rc": 0, "start": "2024-01-11 00:19:08.170062" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.137) 0:00:02.346 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.010) 0:00:02.356 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:5 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.009) 0:00:02.366 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.015) 0:00:02.381 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.009) 0:00:02.390 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.010) 0:00:02.400 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.011) 0:00:02.411 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.010) 0:00:02.422 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004118", "end": "2024-01-11 00:19:08.391692", "rc": 0, "start": "2024-01-11 00:19:08.387574" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.135) 0:00:02.558 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.009) 0:00:02.568 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.008) 0:00:02.576 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.320) 0:00:02.897 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.014) 0:00:02.912 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.007) 0:00:02.919 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.007) 0:00:02.927 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.007) 0:00:02.935 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.007) 0:00:02.942 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.007) 0:00:02.950 ****** 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_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:9 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.007) 0:00:02.957 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.012) 0:00:02.969 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:08 +0000 (0:00:00.008) 0:00:02.978 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005316", "end": "2024-01-11 00:19:09.946359", "rc": 0, "start": "2024-01-11 00:19:08.941043" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:09 +0000 (0:00:01.135) 0:00:04.114 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:09 +0000 (0:00:00.009) 0:00:04.124 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:11 Thursday 11 January 2024 00:19:09 +0000 (0:00:00.010) 0:00:04.134 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:19:09 +0000 (0:00:00.014) 0:00:04.148 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:19:10 +0000 (0:00:00.010) 0:00:04.159 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:19:10 +0000 (0:00:00.138) 0:00:04.297 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:14 Thursday 11 January 2024 00:19:10 +0000 (0:00:00.011) 0:00:04.309 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 00:19:10 +0000 (0:00:00.014) 0:00:04.323 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 00:19:10 +0000 (0:00:00.007) 0:00:04.331 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 00:19:10 +0000 (0:00:00.007) 0:00:04.338 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:10 +0000 (0:00:00.010) 0:00:04.348 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:10 +0000 (0:00:00.009) 0:00:04.357 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004163", "end": "2024-01-11 00:19:10.323395", "rc": 0, "start": "2024-01-11 00:19:10.319232" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:10 +0000 (0:00:00.132) 0:00:04.490 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:10 +0000 (0:00:00.009) 0:00:04.500 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 00:19:10 +0000 (0:00:00.009) 0:00:04.510 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 00:19:10 +0000 (0:00:00.319) 0:00:04.829 ****** 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.015174", "end": "2024-01-11 00:19:10.810210", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-01-11 00:19:10.795036" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004140", "end": "2024-01-11 00:19:10.962471", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-01-11 00:19:10.958331" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.005019", "end": "2024-01-11 00:19:11.088406", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-01-11 00:19:11.083387" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.427) 0:00:05.257 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.040789", "end": "2024-01-11 00:19:11.260543", "rc": 0, "start": "2024-01-11 00:19:11.219754" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.179) 0:00:05.437 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.008) 0:00:05.445 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.008) 0:00:05.453 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.007) 0:00:05.461 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.007) 0:00:05.468 ****** 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_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:18 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.007) 0:00:05.476 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.016) 0:00:05.492 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.009) 0:00:05.501 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004124", "end": "2024-01-11 00:19:11.468852", "rc": 0, "start": "2024-01-11 00:19:11.464728" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.134) 0:00:05.636 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.011) 0:00:05.647 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:20 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.009) 0:00:05.657 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.016) 0:00:05.673 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.010) 0:00:05.684 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932350.8078775, "block_size": 4096, "blocks": 0, "ctime": 1704932350.8078775, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17736, "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": 1704932350.8078775, "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_type4l7lhc2q/tests/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.131) 0:00:05.816 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:23 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.011) 0:00:05.827 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.017) 0:00:05.845 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.007) 0:00:05.852 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.007) 0:00:05.859 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.010) 0:00:05.870 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.009) 0:00:05.880 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004161", "end": "2024-01-11 00:19:11.846423", "rc": 0, "start": "2024-01-11 00:19:11.842262" } STDOUT: bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.133) 0:00:06.014 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.009) 0:00:06.023 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 00:19:11 +0000 (0:00:00.011) 0:00:06.035 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.326) 0:00:06.362 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.015) 0:00:06.378 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.009) 0:00:06.387 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010563", "end": "2024-01-11 00:19:12.363907", "rc": 0, "start": "2024-01-11 00:19:12.353344" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.146) 0:00:06.533 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.009) 0:00:06.543 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.008) 0:00:06.552 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.008) 0:00:06.560 ****** 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_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:27 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.008) 0:00:06.569 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.020) 0:00:06.590 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.008) 0:00:06.599 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004108", "end": "2024-01-11 00:19:12.566804", "rc": 0, "start": "2024-01-11 00:19:12.562696" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.135) 0:00:06.734 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.009) 0:00:06.744 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:29 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.011) 0:00:06.755 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.020) 0:00:06.776 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.012) 0:00:06.788 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.129) 0:00:06.917 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tests_helpers_and_asserts.yml:15 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.015) 0:00:06.933 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:3 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.014) 0:00:06.948 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.010) 0:00:06.958 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.009) 0:00:06.968 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004120", "end": "2024-01-11 00:19:12.934413", "rc": 0, "start": "2024-01-11 00:19:12.930293" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.132) 0:00:07.101 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.009) 0:00:07.111 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:5 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.009) 0:00:07.120 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.011) 0:00:07.132 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.007) 0:00:07.140 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 00:19:12 +0000 (0:00:00.007) 0:00:07.147 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.010) 0:00:07.158 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.011) 0:00:07.170 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004123", "end": "2024-01-11 00:19:13.137325", "rc": 0, "start": "2024-01-11 00:19:13.133202" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.134) 0:00:07.305 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.011) 0:00:07.316 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.009) 0:00:07.325 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.323) 0:00:07.648 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.014) 0:00:07.662 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.007) 0:00:07.670 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.008) 0:00:07.678 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.007) 0:00:07.686 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.008) 0:00:07.695 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.007) 0:00:07.703 ****** 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_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:9 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.007) 0:00:07.710 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.012) 0:00:07.723 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.009) 0:00:07.732 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004149", "end": "2024-01-11 00:19:13.698241", "rc": 0, "start": "2024-01-11 00:19:13.694092" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.132) 0:00:07.865 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.009) 0:00:07.875 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:11 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.009) 0:00:07.885 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.013) 0:00:07.898 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.012) 0:00:07.910 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.128) 0:00:08.038 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:14 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.010) 0:00:08.049 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.014) 0:00:08.064 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.007) 0:00:08.072 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.007) 0:00:08.079 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.010) 0:00:08.090 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:13 +0000 (0:00:00.009) 0:00:08.099 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004101", "end": "2024-01-11 00:19:14.067515", "rc": 0, "start": "2024-01-11 00:19:14.063414" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.136) 0:00:08.235 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.009) 0:00:08.245 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.009) 0:00:08.254 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.321) 0:00:08.576 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.013) 0:00:08.590 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.008) 0:00:08.598 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.007) 0:00:08.605 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009103", "end": "2024-01-11 00:19:14.577105", "rc": 0, "start": "2024-01-11 00:19:14.568002" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.145) 0:00:08.751 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.009) 0:00:08.760 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.007) 0:00:08.768 ****** 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_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:18 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.007) 0:00:08.775 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.015) 0:00:08.790 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.008) 0:00:08.799 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004336", "end": "2024-01-11 00:19:14.764244", "rc": 0, "start": "2024-01-11 00:19:14.759908" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.131) 0:00:08.931 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.009) 0:00:08.941 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:20 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.008) 0:00:08.949 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.015) 0:00:08.965 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.009) 0:00:08.974 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932354.5756655, "block_size": 4096, "blocks": 0, "ctime": 1704932354.5756655, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17625, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/dummy1298", "lnk_target": "../../devices/virtual/net/dummy1298", "mode": "0777", "mtime": 1704932354.5756655, "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_type4l7lhc2q/tests/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.129) 0:00:09.103 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:23 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.010) 0:00:09.114 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.019) 0:00:09.133 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.010) 0:00:09.144 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 00:19:14 +0000 (0:00:00.008) 0:00:09.152 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.011) 0:00:09.163 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.009) 0:00:09.173 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004202", "end": "2024-01-11 00:19:15.138399", "rc": 0, "start": "2024-01-11 00:19:15.134197" } STDOUT: bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.136) 0:00:09.309 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.010) 0:00:09.320 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.011) 0:00:09.331 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.327) 0:00:09.658 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.016) 0:00:09.674 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.009) 0:00:09.683 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.008) 0:00:09.692 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.009) 0:00:09.701 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010856", "end": "2024-01-11 00:19:15.673877", "rc": 0, "start": "2024-01-11 00:19:15.663021" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.140) 0:00:09.841 ****** 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_type4l7lhc2q/tests/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.009) 0:00:09.851 ****** 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_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:27 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.009) 0:00:09.860 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.019) 0:00:09.879 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.010) 0:00:09.890 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004087", "end": "2024-01-11 00:19:15.856022", "rc": 0, "start": "2024-01-11 00:19:15.851935" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.132) 0:00:10.022 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.009) 0:00:10.032 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/create_and_remove_interface.yml:29 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.013) 0:00:10.045 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.040) 0:00:10.085 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:19:15 +0000 (0:00:00.010) 0:00:10.096 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:19:16 +0000 (0:00:00.130) 0:00:10.227 ****** 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 Thursday 11 January 2024 00:19:16 +0000 (0:00:00.015) 0:00:10.243 ****** =============================================================================== Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 ------ Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-route_type4l7lhc2q/tests/tests_helpers_and_asserts.yml:3 --------- Install yum-utils package ----------------------------------------------- 0.43s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/enable_epel.yml:24 ---------------- Create veth interface veth1298 ------------------------------------------ 0.43s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:23 ------ Enable EPEL 7 ----------------------------------------------------------- 0.33s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/enable_epel.yml:30 ---------------- Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:16 ------ Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:16 ------ Gather the minimum subset of ansible_facts required by the network role test --- 0.24s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/el_repo_setup.yml:3 --------------- Create EPEL 7 ----------------------------------------------------------- 0.19s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/enable_epel.yml:8 ----------------- Check if system is ostree ----------------------------------------------- 0.18s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/el_repo_setup.yml:17 -------------- Set up veth as managed by NetworkManager -------------------------------- 0.18s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:31 ------ Delete veth interface veth1298 ------------------------------------------ 0.15s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:39 ------ Create dummy interface dummy1298 ---------------------------------------- 0.15s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:45 ------ Delete dummy interface dummy1298 ---------------------------------------- 0.14s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/manage_test_interface.yml:50 ------ Get stat for interface veth1298 ----------------------------------------- 0.14s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_interface_stat.yml:3 ---------- Gather current interface info ------------------------------------------- 0.14s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/get_current_interfaces.yml:3 ------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---