# 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-weekly-cinbskj1z_/.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-weekly-cinbskj1z_/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tests_helpers_and_asserts.yml:3 Saturday 23 December 2023 13:31:34 +0000 (0:00:00.032) 0:00:00.032 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tests_helpers_and_asserts.yml:6 Saturday 23 December 2023 13:31:35 +0000 (0:00:00.686) 0:00:00.719 ***** included: /WORKDIR/git-weekly-cinbskj1z_/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-weekly-cinbskj1z_/tests/tasks/el_repo_setup.yml:3 Saturday 23 December 2023 13:31:35 +0000 (0:00:00.012) 0:00:00.731 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/el_repo_setup.yml:17 Saturday 23 December 2023 13:31:35 +0000 (0:00:00.233) 0:00:00.965 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/el_repo_setup.yml:22 Saturday 23 December 2023 13:31:35 +0000 (0:00:00.179) 0:00:01.145 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/el_repo_setup.yml:26 Saturday 23 December 2023 13:31:35 +0000 (0:00:00.013) 0:00:01.158 ***** 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-weekly-cinbskj1z_/tests/tasks/el_repo_setup.yml:51 Saturday 23 December 2023 13:31:35 +0000 (0:00:00.007) 0:00:01.166 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/enable_epel.yml:8 Saturday 23 December 2023 13:31:35 +0000 (0:00:00.020) 0:00:01.186 ***** 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-weekly-cinbskj1z_/tests/tasks/enable_epel.yml:24 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.182) 0:00:01.369 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/enable_epel.yml:30 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.411) 0:00:01.781 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.178751", "end": "2023-12-23 13:31:36.805467", "rc": 0, "start": "2023-12-23 13:31:36.626716" } 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-weekly-cinbskj1z_/tests/tasks/enable_epel.yml:35 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.304) 0:00:02.085 ***** 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-weekly-cinbskj1z_/tests/tasks/enable_epel.yml:40 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.008) 0:00:02.094 ***** 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-weekly-cinbskj1z_/tests/tests_helpers_and_asserts.yml:9 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.007) 0:00:02.102 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:3 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.011) 0:00:02.114 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.010) 0:00:02.124 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.008) 0:00:02.132 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004038", "end": "2023-12-23 13:31:36.980023", "rc": 0, "start": "2023-12-23 13:31:36.975985" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:36 +0000 (0:00:00.125) 0:00:02.258 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.009) 0:00:02.268 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:5 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.008) 0:00:02.276 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.013) 0:00:02.290 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.007) 0:00:02.297 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.007) 0:00:02.304 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.009) 0:00:02.314 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.009) 0:00:02.324 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004069", "end": "2023-12-23 13:31:37.172707", "rc": 0, "start": "2023-12-23 13:31:37.168638" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.127) 0:00:02.451 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.009) 0:00:02.461 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.008) 0:00:02.469 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.306) 0:00:02.775 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.013) 0:00:02.789 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.007) 0:00:02.797 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.007) 0:00:02.804 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.007) 0:00:02.812 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.007) 0:00:02.820 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.007) 0:00:02.827 ***** 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-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:9 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.008) 0:00:02.836 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.012) 0:00:02.848 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.008) 0:00:02.857 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004034", "end": "2023-12-23 13:31:37.705984", "rc": 0, "start": "2023-12-23 13:31:37.701950" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.126) 0:00:02.983 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.011) 0:00:02.995 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:11 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.008) 0:00:03.003 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.013) 0:00:03.016 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.009) 0:00:03.026 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.127) 0:00:03.154 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:14 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.009) 0:00:03.164 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.014) 0:00:03.178 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.007) 0:00:03.186 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.007) 0:00:03.193 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.010) 0:00:03.203 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:37 +0000 (0:00:00.009) 0:00:03.213 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003941", "end": "2023-12-23 13:31:38.061904", "rc": 0, "start": "2023-12-23 13:31:38.057963" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.126) 0:00:03.339 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.009) 0:00:03.349 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.008) 0:00:03.358 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.305) 0:00:03.663 ***** 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.011995", "end": "2023-12-23 13:31:38.522664", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2023-12-23 13:31:38.510669" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004253", "end": "2023-12-23 13:31:38.655714", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2023-12-23 13:31:38.651461" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.005002", "end": "2023-12-23 13:31:38.776013", "item": "ip link set veth1298 up", "rc": 0, "start": "2023-12-23 13:31:38.771011" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.392) 0:00:04.055 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.036281", "end": "2023-12-23 13:31:38.936960", "rc": 0, "start": "2023-12-23 13:31:38.900679" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.166) 0:00:04.221 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.008) 0:00:04.230 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.010) 0:00:04.240 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.007) 0:00:04.247 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.007) 0:00:04.255 ***** 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-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:18 Saturday 23 December 2023 13:31:38 +0000 (0:00:00.007) 0:00:04.262 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.015) 0:00:04.277 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.008) 0:00:04.286 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004304", "end": "2023-12-23 13:31:39.137609", "rc": 0, "start": "2023-12-23 13:31:39.133305" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.128) 0:00:04.415 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.009) 0:00:04.425 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:20 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.008) 0:00:04.434 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_present.yml:3 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.015) 0:00:04.450 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.009) 0:00:04.459 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703338298.5272841, "block_size": 4096, "blocks": 0, "ctime": 1703338298.5272841, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17708, "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": 1703338298.5272841, "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-weekly-cinbskj1z_/tests/tasks/assert_device_present.yml:5 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.126) 0:00:04.586 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:23 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.009) 0:00:04.596 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.017) 0:00:04.613 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.007) 0:00:04.621 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.007) 0:00:04.628 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.011) 0:00:04.640 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.009) 0:00:04.649 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003901", "end": "2023-12-23 13:31:39.496914", "rc": 0, "start": "2023-12-23 13:31:39.493013" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.125) 0:00:04.775 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.009) 0:00:04.784 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.008) 0:00:04.793 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.314) 0:00:05.108 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.015) 0:00:05.123 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 13:31:39 +0000 (0:00:00.008) 0:00:05.132 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.011973", "end": "2023-12-23 13:31:39.990938", "rc": 0, "start": "2023-12-23 13:31:39.978965" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.139) 0:00:05.271 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.009) 0:00:05.281 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.009) 0:00:05.290 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.007) 0:00:05.298 ***** 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-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:27 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.007) 0:00:05.306 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.019) 0:00:05.325 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.018) 0:00:05.343 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003949", "end": "2023-12-23 13:31:40.197504", "rc": 0, "start": "2023-12-23 13:31:40.193555" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.138) 0:00:05.482 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.009) 0:00:05.492 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:29 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.009) 0:00:05.501 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.019) 0:00:05.521 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.009) 0:00:05.531 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.132) 0:00:05.663 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tests_helpers_and_asserts.yml:15 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.011) 0:00:05.674 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:3 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.013) 0:00:05.688 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.011) 0:00:05.699 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.009) 0:00:05.709 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004009", "end": "2023-12-23 13:31:40.558698", "rc": 0, "start": "2023-12-23 13:31:40.554689" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.127) 0:00:05.836 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.009) 0:00:05.846 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:5 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.011) 0:00:05.858 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.012) 0:00:05.870 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.007) 0:00:05.878 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.007) 0:00:05.885 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.012) 0:00:05.898 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.010) 0:00:05.908 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003995", "end": "2023-12-23 13:31:40.760911", "rc": 0, "start": "2023-12-23 13:31:40.756916" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.131) 0:00:06.040 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.010) 0:00:06.050 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 13:31:40 +0000 (0:00:00.010) 0:00:06.060 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.317) 0:00:06.377 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.014) 0:00:06.391 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.007) 0:00:06.399 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.007) 0:00:06.407 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.008) 0:00:06.415 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.007) 0:00:06.423 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.008) 0:00:06.431 ***** 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-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:9 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.007) 0:00:06.438 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.012) 0:00:06.451 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.009) 0:00:06.460 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004357", "end": "2023-12-23 13:31:41.311389", "rc": 0, "start": "2023-12-23 13:31:41.307032" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.131) 0:00:06.591 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.009) 0:00:06.601 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:11 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.008) 0:00:06.610 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.013) 0:00:06.623 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.009) 0:00:06.633 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.127) 0:00:06.760 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:14 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.010) 0:00:06.771 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.016) 0:00:06.787 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.007) 0:00:06.795 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.007) 0:00:06.802 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.010) 0:00:06.813 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.009) 0:00:06.823 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004267", "end": "2023-12-23 13:31:41.675091", "rc": 0, "start": "2023-12-23 13:31:41.670824" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.131) 0:00:06.954 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.009) 0:00:06.964 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 13:31:41 +0000 (0:00:00.008) 0:00:06.973 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.322) 0:00:07.295 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.017) 0:00:07.313 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.010) 0:00:07.323 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.010) 0:00:07.333 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.015595", "end": "2023-12-23 13:31:42.203125", "rc": 0, "start": "2023-12-23 13:31:42.187530" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.157) 0:00:07.491 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.009) 0:00:07.500 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.008) 0:00:07.508 ***** 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-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:18 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.008) 0:00:07.517 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.015) 0:00:07.533 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.009) 0:00:07.542 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004616", "end": "2023-12-23 13:31:42.394885", "rc": 0, "start": "2023-12-23 13:31:42.390269" } STDOUT: bond0 bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.132) 0:00:07.674 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.009) 0:00:07.684 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:20 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.009) 0:00:07.694 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_present.yml:3 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.018) 0:00:07.713 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.009) 0:00:07.722 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703338302.2071986, "block_size": 4096, "blocks": 0, "ctime": 1703338302.2071986, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17737, "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": 1703338302.2071986, "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-weekly-cinbskj1z_/tests/tasks/assert_device_present.yml:5 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.125) 0:00:07.848 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:23 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.011) 0:00:07.859 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.018) 0:00:07.877 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.007) 0:00:07.885 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.007) 0:00:07.892 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.010) 0:00:07.903 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.009) 0:00:07.912 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004332", "end": "2023-12-23 13:31:42.765307", "rc": 0, "start": "2023-12-23 13:31:42.760975" } STDOUT: bond0 bonding_masters dummy0 dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.131) 0:00:08.044 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.009) 0:00:08.054 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 13:31:42 +0000 (0:00:00.008) 0:00:08.063 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.309) 0:00:08.372 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.013) 0:00:08.386 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.007) 0:00:08.394 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.008) 0:00:08.402 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.007) 0:00:08.410 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009746", "end": "2023-12-23 13:31:43.264695", "rc": 0, "start": "2023-12-23 13:31:43.254949" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.134) 0:00:08.544 ***** 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-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.009) 0:00:08.554 ***** 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-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:27 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.007) 0:00:08.561 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:3 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.018) 0:00:08.580 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.009) 0:00:08.589 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004301", "end": "2023-12-23 13:31:43.438798", "rc": 0, "start": "2023-12-23 13:31:43.434497" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.129) 0:00:08.718 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/show_interfaces.yml:5 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.009) 0:00:08.728 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/create_and_remove_interface.yml:29 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.008) 0:00:08.736 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.018) 0:00:08.755 ***** included: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.009) 0:00:08.765 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.128) 0:00:08.893 ***** 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 Saturday 23 December 2023 13:31:43 +0000 (0:00:00.014) 0:00:08.908 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-weekly-cinbskj1z_/tests/tests_helpers_and_asserts.yml:3 ---------- Install yum-utils package ----------------------------------------------- 0.41s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/enable_epel.yml:24 ----------------- Create veth interface veth1298 ------------------------------------------ 0.39s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:23 ------- Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:16 ------- Enable EPEL 7 ----------------------------------------------------------- 0.30s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/enable_epel.yml:30 ----------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.23s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/el_repo_setup.yml:3 ---------------- Create EPEL 7 ----------------------------------------------------------- 0.18s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/enable_epel.yml:8 ------------------ Check if system is ostree ----------------------------------------------- 0.18s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/el_repo_setup.yml:17 --------------- Set up veth as managed by NetworkManager -------------------------------- 0.17s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:31 ------- Create dummy interface dummy1298 ---------------------------------------- 0.16s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:45 ------- Delete veth interface veth1298 ------------------------------------------ 0.14s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:39 ------- Gather current interface info ------------------------------------------- 0.14s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 ------- Delete dummy interface dummy1298 ---------------------------------------- 0.13s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/manage_test_interface.yml:50 ------- Gather current interface info ------------------------------------------- 0.13s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_current_interfaces.yml:3 ------- Get stat for interface veth1298 ----------------------------------------- 0.13s /WORKDIR/git-weekly-cinbskj1z_/tests/tasks/get_interface_stat.yml:3 ----------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---