# 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-ciaes5ry4l/.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-ciaes5ry4l/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-ciaes5ry4l/tests/tests_helpers_and_asserts.yml:3 Saturday 06 January 2024 13:46:02 +0000 (0:00:00.035) 0:00:00.035 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tests_helpers_and_asserts.yml:6 Saturday 06 January 2024 13:46:03 +0000 (0:00:00.690) 0:00:00.726 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/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-ciaes5ry4l/tests/tasks/el_repo_setup.yml:3 Saturday 06 January 2024 13:46:03 +0000 (0:00:00.012) 0:00:00.738 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/el_repo_setup.yml:17 Saturday 06 January 2024 13:46:03 +0000 (0:00:00.222) 0:00:00.961 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/el_repo_setup.yml:22 Saturday 06 January 2024 13:46:03 +0000 (0:00:00.180) 0:00:01.141 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/el_repo_setup.yml:26 Saturday 06 January 2024 13:46:03 +0000 (0:00:00.013) 0:00:01.155 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/el_repo_setup.yml:51 Saturday 06 January 2024 13:46:04 +0000 (0:00:00.007) 0:00:01.163 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/enable_epel.yml:8 Saturday 06 January 2024 13:46:04 +0000 (0:00:00.021) 0:00:01.184 ****** 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-ciaes5ry4l/tests/tasks/enable_epel.yml:24 Saturday 06 January 2024 13:46:04 +0000 (0:00:00.184) 0:00:01.368 ****** 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-ciaes5ry4l/tests/tasks/enable_epel.yml:30 Saturday 06 January 2024 13:46:04 +0000 (0:00:00.418) 0:00:01.786 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.192891", "end": "2024-01-06 13:46:04.925550", "rc": 0, "start": "2024-01-06 13:46:04.732659" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/enable_epel.yml:35 Saturday 06 January 2024 13:46:04 +0000 (0:00:00.315) 0:00:02.102 ****** 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-ciaes5ry4l/tests/tasks/enable_epel.yml:40 Saturday 06 January 2024 13:46:04 +0000 (0:00:00.008) 0:00:02.110 ****** 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-ciaes5ry4l/tests/tests_helpers_and_asserts.yml:9 Saturday 06 January 2024 13:46:04 +0000 (0:00:00.008) 0:00:02.119 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:3 Saturday 06 January 2024 13:46:04 +0000 (0:00:00.011) 0:00:02.131 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:04 +0000 (0:00:00.010) 0:00:02.141 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:04 +0000 (0:00:00.009) 0:00:02.150 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003883", "end": "2024-01-06 13:46:05.097883", "rc": 0, "start": "2024-01-06 13:46:05.094000" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.122) 0:00:02.273 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.010) 0:00:02.283 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:5 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.008) 0:00:02.292 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:3 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.014) 0:00:02.306 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:8 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.007) 0:00:02.313 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:13 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.007) 0:00:02.321 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.010) 0:00:02.331 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.009) 0:00:02.341 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003608", "end": "2024-01-06 13:46:05.290658", "rc": 0, "start": "2024-01-06 13:46:05.287050" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.123) 0:00:02.465 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.009) 0:00:02.475 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:16 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.009) 0:00:02.484 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:23 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.313) 0:00:02.798 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:31 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.013) 0:00:02.811 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:39 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.008) 0:00:02.819 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:45 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.007) 0:00:02.827 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:50 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.008) 0:00:02.835 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:56 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.007) 0:00:02.843 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:61 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.007) 0:00:02.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-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:9 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.007) 0:00:02.858 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.011) 0:00:02.870 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.009) 0:00:02.879 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003786", "end": "2024-01-06 13:46:05.829025", "rc": 0, "start": "2024-01-06 13:46:05.825239" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.124) 0:00:03.003 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.012) 0:00:03.015 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:11 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.008) 0:00:03.024 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.013) 0:00:03.037 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:46:05 +0000 (0:00:00.009) 0:00:03.047 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:46:06 +0000 (0:00:00.122) 0:00:03.170 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:14 Saturday 06 January 2024 13:46:06 +0000 (0:00:00.010) 0:00:03.180 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:3 Saturday 06 January 2024 13:46:06 +0000 (0:00:00.015) 0:00:03.196 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:8 Saturday 06 January 2024 13:46:06 +0000 (0:00:00.007) 0:00:03.203 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:13 Saturday 06 January 2024 13:46:06 +0000 (0:00:00.007) 0:00:03.211 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:06 +0000 (0:00:00.011) 0:00:03.222 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:06 +0000 (0:00:00.010) 0:00:03.233 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003798", "end": "2024-01-06 13:46:06.184815", "rc": 0, "start": "2024-01-06 13:46:06.181017" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:06 +0000 (0:00:00.126) 0:00:03.359 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:06 +0000 (0:00:00.012) 0:00:03.372 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:16 Saturday 06 January 2024 13:46:06 +0000 (0:00:00.009) 0:00:03.382 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:23 Saturday 06 January 2024 13:46:06 +0000 (0:00:00.310) 0:00:03.693 ****** 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.012926", "end": "2024-01-06 13:46:06.654038", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-01-06 13:46:06.641112" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.006551", "end": "2024-01-06 13:46:06.783922", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-01-06 13:46:06.777371" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.007579", "end": "2024-01-06 13:46:06.905135", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-01-06 13:46:06.897556" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:31 Saturday 06 January 2024 13:46:06 +0000 (0:00:00.391) 0:00:04.084 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.026884", "end": "2024-01-06 13:46:07.057533", "rc": 0, "start": "2024-01-06 13:46:07.030649" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:39 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.149) 0:00:04.234 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:45 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.012) 0:00:04.246 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:50 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.009) 0:00:04.255 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:56 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.008) 0:00:04.263 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:61 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.009) 0:00:04.273 ****** 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-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:18 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.013) 0:00:04.286 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.016) 0:00:04.302 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.009) 0:00:04.312 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003969", "end": "2024-01-06 13:46:07.265161", "rc": 0, "start": "2024-01-06 13:46:07.261192" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.128) 0:00:04.440 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.011) 0:00:04.452 ****** 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-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:20 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.010) 0:00:04.463 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.018) 0:00:04.481 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.010) 0:00:04.491 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704548766.6589587, "block_size": 4096, "blocks": 0, "ctime": 1704548766.6589587, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17605, "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": 1704548766.6589587, "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-ciaes5ry4l/tests/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.127) 0:00:04.619 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:23 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.010) 0:00:04.629 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:3 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.018) 0:00:04.647 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:8 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.007) 0:00:04.655 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:13 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.008) 0:00:04.664 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.012) 0:00:04.677 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.010) 0:00:04.687 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003760", "end": "2024-01-06 13:46:07.638999", "rc": 0, "start": "2024-01-06 13:46:07.635239" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.126) 0:00:04.814 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.010) 0:00:04.824 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:16 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.010) 0:00:04.834 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:23 Saturday 06 January 2024 13:46:07 +0000 (0:00:00.313) 0:00:05.148 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:31 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.013) 0:00:05.162 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:39 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.008) 0:00:05.170 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008667", "end": "2024-01-06 13:46:08.125673", "rc": 0, "start": "2024-01-06 13:46:08.117006" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:45 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.131) 0:00:05.302 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:50 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.009) 0:00:05.311 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:56 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.008) 0:00:05.320 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:61 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.009) 0:00:05.329 ****** 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-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:27 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.008) 0:00:05.337 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.018) 0:00:05.356 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.009) 0:00:05.366 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003818", "end": "2024-01-06 13:46:08.315087", "rc": 0, "start": "2024-01-06 13:46:08.311269" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.125) 0:00:05.491 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.009) 0:00:05.501 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:29 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.010) 0:00:05.511 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.020) 0:00:05.531 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.010) 0:00:05.541 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.120) 0:00:05.661 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tests_helpers_and_asserts.yml:15 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.010) 0:00:05.672 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:3 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.012) 0:00:05.685 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.010) 0:00:05.696 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.010) 0:00:05.706 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003688", "end": "2024-01-06 13:46:08.654353", "rc": 0, "start": "2024-01-06 13:46:08.650665" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.124) 0:00:05.830 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.011) 0:00:05.841 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:5 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.010) 0:00:05.852 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:3 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.012) 0:00:05.864 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:8 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.007) 0:00:05.872 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:13 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.007) 0:00:05.880 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.012) 0:00:05.892 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.010) 0:00:05.903 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003708", "end": "2024-01-06 13:46:08.851405", "rc": 0, "start": "2024-01-06 13:46:08.847697" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.122) 0:00:06.026 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.009) 0:00:06.036 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:16 Saturday 06 January 2024 13:46:08 +0000 (0:00:00.009) 0:00:06.046 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:23 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.312) 0:00:06.359 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:31 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.015) 0:00:06.374 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:39 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.009) 0:00:06.384 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:45 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.009) 0:00:06.393 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:50 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.008) 0:00:06.401 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:56 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.007) 0:00:06.409 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:61 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.009) 0:00:06.418 ****** 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-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:9 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.007) 0:00:06.426 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.012) 0:00:06.438 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.009) 0:00:06.448 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003901", "end": "2024-01-06 13:46:09.401575", "rc": 0, "start": "2024-01-06 13:46:09.397674" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.129) 0:00:06.577 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.009) 0:00:06.587 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:11 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.010) 0:00:06.597 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.013) 0:00:06.611 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.010) 0:00:06.621 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.120) 0:00:06.741 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:14 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.010) 0:00:06.751 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:3 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.017) 0:00:06.769 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:8 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.008) 0:00:06.777 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:13 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.008) 0:00:06.785 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.011) 0:00:06.797 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.010) 0:00:06.807 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003628", "end": "2024-01-06 13:46:09.757310", "rc": 0, "start": "2024-01-06 13:46:09.753682" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.125) 0:00:06.933 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.010) 0:00:06.943 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:16 Saturday 06 January 2024 13:46:09 +0000 (0:00:00.010) 0:00:06.953 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:23 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.314) 0:00:07.268 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:31 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.015) 0:00:07.284 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:39 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.009) 0:00:07.293 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:45 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.010) 0:00:07.303 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010399", "end": "2024-01-06 13:46:10.260793", "rc": 0, "start": "2024-01-06 13:46:10.250394" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:50 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.137) 0:00:07.440 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:56 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.009) 0:00:07.449 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:61 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.009) 0:00:07.459 ****** 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-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:18 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.007) 0:00:07.467 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.016) 0:00:07.483 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.009) 0:00:07.493 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003931", "end": "2024-01-06 13:46:10.443138", "rc": 0, "start": "2024-01-06 13:46:10.439207" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.124) 0:00:07.618 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.011) 0:00:07.629 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:20 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.010) 0:00:07.640 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.018) 0:00:07.658 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.010) 0:00:07.669 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704548770.2549543, "block_size": 4096, "blocks": 0, "ctime": 1704548770.2549543, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17494, "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": 1704548770.2549543, "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-ciaes5ry4l/tests/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.124) 0:00:07.793 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:23 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.011) 0:00:07.804 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:3 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.018) 0:00:07.822 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:8 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.007) 0:00:07.830 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:13 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.007) 0:00:07.838 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.012) 0:00:07.850 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.009) 0:00:07.860 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003702", "end": "2024-01-06 13:46:10.811115", "rc": 0, "start": "2024-01-06 13:46:10.807413" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.125) 0:00:07.985 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.010) 0:00:07.996 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:16 Saturday 06 January 2024 13:46:10 +0000 (0:00:00.009) 0:00:08.005 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:23 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.312) 0:00:08.318 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:31 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.014) 0:00:08.332 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:39 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.009) 0:00:08.342 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:45 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.012) 0:00:08.354 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:50 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.009) 0:00:08.364 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007778", "end": "2024-01-06 13:46:11.319028", "rc": 0, "start": "2024-01-06 13:46:11.311250" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:56 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.130) 0:00:08.494 ****** 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-ciaes5ry4l/tests/tasks/manage_test_interface.yml:61 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.009) 0:00:08.504 ****** 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-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:27 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.007) 0:00:08.511 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.018) 0:00:08.530 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.009) 0:00:08.540 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003900", "end": "2024-01-06 13:46:11.492064", "rc": 0, "start": "2024-01-06 13:46:11.488164" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.127) 0:00:08.668 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.009) 0:00:08.678 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/create_and_remove_interface.yml:29 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.009) 0:00:08.687 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.019) 0:00:08.706 ****** included: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.010) 0:00:08.716 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:46:11 +0000 (0:00:00.120) 0:00:08.837 ****** 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 06 January 2024 13:46:11 +0000 (0:00:00.015) 0:00:08.852 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-weekly-ciaes5ry4l/tests/tests_helpers_and_asserts.yml:3 ---------- Install yum-utils package ----------------------------------------------- 0.42s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/enable_epel.yml:24 ----------------- Create veth interface veth1298 ------------------------------------------ 0.39s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:23 ------- Enable EPEL 7 ----------------------------------------------------------- 0.32s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/enable_epel.yml:30 ----------------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:16 ------- Gather the minimum subset of ansible_facts required by the network role test --- 0.22s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/el_repo_setup.yml:3 ---------------- Create EPEL 7 ----------------------------------------------------------- 0.18s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/enable_epel.yml:8 ------------------ Check if system is ostree ----------------------------------------------- 0.18s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/el_repo_setup.yml:17 --------------- Set up veth as managed by NetworkManager -------------------------------- 0.15s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:31 ------- Create dummy interface dummy1298 ---------------------------------------- 0.14s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:45 ------- Delete veth interface veth1298 ------------------------------------------ 0.13s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:39 ------- Delete dummy interface dummy1298 ---------------------------------------- 0.13s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/manage_test_interface.yml:50 ------- Gather current interface info ------------------------------------------- 0.13s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 ------- Gather current interface info ------------------------------------------- 0.13s /WORKDIR/git-weekly-ciaes5ry4l/tests/tasks/get_current_interfaces.yml:3 ------- Gather current interface info ------------------------------------------- 0.13s /WORKDIR/git-weekly-ciaes5ry4l/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. ---^---^---^---^---^---