# 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-ciwl8xw3aj/.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-ciwl8xw3aj/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-ciwl8xw3aj/tests/tests_helpers_and_asserts.yml:3 Saturday 27 January 2024 13:37:46 +0000 (0:00:00.034) 0:00:00.034 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tests_helpers_and_asserts.yml:6 Saturday 27 January 2024 13:37:47 +0000 (0:00:00.678) 0:00:00.713 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/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-ciwl8xw3aj/tests/tasks/el_repo_setup.yml:3 Saturday 27 January 2024 13:37:47 +0000 (0:00:00.012) 0:00:00.726 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/el_repo_setup.yml:17 Saturday 27 January 2024 13:37:47 +0000 (0:00:00.229) 0:00:00.955 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/el_repo_setup.yml:22 Saturday 27 January 2024 13:37:47 +0000 (0:00:00.176) 0:00:01.132 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/el_repo_setup.yml:26 Saturday 27 January 2024 13:37:47 +0000 (0:00:00.013) 0:00:01.146 ****** 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-ciwl8xw3aj/tests/tasks/el_repo_setup.yml:51 Saturday 27 January 2024 13:37:47 +0000 (0:00:00.007) 0:00:01.153 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/enable_epel.yml:8 Saturday 27 January 2024 13:37:47 +0000 (0:00:00.020) 0:00:01.174 ****** 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-ciwl8xw3aj/tests/tasks/enable_epel.yml:24 Saturday 27 January 2024 13:37:47 +0000 (0:00:00.183) 0:00:01.358 ****** 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-ciwl8xw3aj/tests/tasks/enable_epel.yml:30 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.413) 0:00:01.771 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.192622", "end": "2024-01-27 13:37:48.634625", "rc": 0, "start": "2024-01-27 13:37:48.442003" } 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-ciwl8xw3aj/tests/tasks/enable_epel.yml:35 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.314) 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-ciwl8xw3aj/tests/tasks/enable_epel.yml:40 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.009) 0:00:02.095 ****** 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-ciwl8xw3aj/tests/tests_helpers_and_asserts.yml:9 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.007) 0:00:02.103 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:3 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.011) 0:00:02.115 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.009) 0:00:02.124 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.009) 0:00:02.134 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003708", "end": "2024-01-27 13:37:48.805756", "rc": 0, "start": "2024-01-27 13:37:48.802048" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.121) 0:00:02.255 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.009) 0:00:02.265 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:5 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.008) 0:00:02.274 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:3 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.013) 0:00:02.288 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:8 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.007) 0:00:02.295 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:13 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.007) 0:00:02.302 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.010) 0:00:02.313 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:48 +0000 (0:00:00.009) 0:00:02.322 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003724", "end": "2024-01-27 13:37:48.994939", "rc": 0, "start": "2024-01-27 13:37:48.991215" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.122) 0:00:02.445 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.009) 0:00:02.455 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:16 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.008) 0:00:02.463 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:23 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.308) 0:00:02.772 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:31 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.013) 0:00:02.785 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:39 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.007) 0:00:02.793 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:45 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.007) 0:00:02.801 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:50 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.007) 0:00:02.809 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:56 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.007) 0:00:02.816 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:61 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.011) 0:00:02.828 ****** 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-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:9 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.008) 0:00:02.836 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.012) 0:00:02.849 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.009) 0:00:02.858 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003701", "end": "2024-01-27 13:37:49.530390", "rc": 0, "start": "2024-01-27 13:37:49.526689" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.122) 0:00:02.980 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.012) 0:00:02.992 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:11 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.009) 0:00:03.002 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.013) 0:00:03.016 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.010) 0:00:03.026 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.120) 0:00:03.147 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:14 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.011) 0:00:03.158 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:3 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.015) 0:00:03.174 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:8 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.007) 0:00:03.182 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:13 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.007) 0:00:03.189 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.011) 0:00:03.200 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.009) 0:00:03.210 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003757", "end": "2024-01-27 13:37:49.882065", "rc": 0, "start": "2024-01-27 13:37:49.878308" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.122) 0:00:03.332 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.009) 0:00:03.342 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:16 Saturday 27 January 2024 13:37:49 +0000 (0:00:00.009) 0:00:03.352 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:23 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.308) 0:00:03.660 ****** 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.010198", "end": "2024-01-27 13:37:50.343680", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-01-27 13:37:50.333482" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.006643", "end": "2024-01-27 13:37:50.473350", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-01-27 13:37:50.466707" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.007677", "end": "2024-01-27 13:37:50.594493", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-01-27 13:37:50.586816" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:31 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.389) 0:00:04.050 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.026654", "end": "2024-01-27 13:37:50.746389", "rc": 0, "start": "2024-01-27 13:37:50.719735" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:39 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.148) 0:00:04.198 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:45 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.013) 0:00:04.212 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:50 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.009) 0:00:04.221 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:56 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.009) 0:00:04.231 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:61 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.009) 0:00:04.240 ****** 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-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:18 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.008) 0:00:04.249 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.015) 0:00:04.265 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.009) 0:00:04.274 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003897", "end": "2024-01-27 13:37:50.946854", "rc": 0, "start": "2024-01-27 13:37:50.942957" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.123) 0:00:04.398 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.009) 0:00:04.408 ****** 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-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:20 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.008) 0:00:04.416 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_present.yml:3 Saturday 27 January 2024 13:37:50 +0000 (0:00:00.016) 0:00:04.432 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.009) 0:00:04.442 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706362670.3461325, "block_size": 4096, "blocks": 0, "ctime": 1706362670.3461325, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17593, "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": 1706362670.3461325, "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-ciwl8xw3aj/tests/tasks/assert_device_present.yml:5 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.131) 0:00:04.574 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:23 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.010) 0:00:04.585 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:3 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.018) 0:00:04.603 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:8 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.008) 0:00:04.611 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:13 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.009) 0:00:04.621 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.011) 0:00:04.633 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.009) 0:00:04.642 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003736", "end": "2024-01-27 13:37:51.315542", "rc": 0, "start": "2024-01-27 13:37:51.311806" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.123) 0:00:04.766 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.010) 0:00:04.777 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:16 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.010) 0:00:04.787 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:23 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.314) 0:00:05.102 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:31 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.016) 0:00:05.119 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:39 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.009) 0:00:05.128 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.010416", "end": "2024-01-27 13:37:51.811498", "rc": 0, "start": "2024-01-27 13:37:51.801082" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:45 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.142) 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:50 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.011) 0:00:05.282 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:56 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.009) 0:00:05.292 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:61 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.009) 0:00:05.301 ****** 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-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:27 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.007) 0:00:05.309 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.019) 0:00:05.329 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:51 +0000 (0:00:00.009) 0:00:05.338 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003744", "end": "2024-01-27 13:37:52.011226", "rc": 0, "start": "2024-01-27 13:37:52.007482" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.124) 0:00:05.462 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.009) 0:00:05.472 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:29 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.009) 0:00:05.482 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.020) 0:00:05.502 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.010) 0:00:05.512 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.119) 0:00:05.632 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tests_helpers_and_asserts.yml:15 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.011) 0:00:05.643 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:3 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.012) 0:00:05.656 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.010) 0:00:05.667 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.009) 0:00:05.676 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003673", "end": "2024-01-27 13:37:52.348601", "rc": 0, "start": "2024-01-27 13:37:52.344928" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.122) 0:00:05.799 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.009) 0:00:05.808 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:5 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.008) 0:00:05.817 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:3 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.012) 0:00:05.829 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:8 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.007) 0:00:05.836 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:13 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.007) 0:00:05.844 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.010) 0:00:05.854 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.010) 0:00:05.865 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003711", "end": "2024-01-27 13:37:52.536897", "rc": 0, "start": "2024-01-27 13:37:52.533186" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.122) 0:00:05.987 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.009) 0:00:05.997 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:16 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.009) 0:00:06.007 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:23 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.307) 0:00:06.314 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:31 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.014) 0:00:06.328 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:39 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.008) 0:00:06.336 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:45 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.008) 0:00:06.345 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:50 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.007) 0:00:06.353 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:56 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.007) 0:00:06.360 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:61 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.008) 0:00:06.369 ****** 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-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:9 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.007) 0:00:06.376 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.012) 0:00:06.389 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:52 +0000 (0:00:00.009) 0:00:06.398 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003795", "end": "2024-01-27 13:37:53.070407", "rc": 0, "start": "2024-01-27 13:37:53.066612" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.122) 0:00:06.521 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.011) 0:00:06.532 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:11 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.011) 0:00:06.543 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.013) 0:00:06.556 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.009) 0:00:06.566 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.119) 0:00:06.685 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:14 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.011) 0:00:06.696 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:3 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.016) 0:00:06.713 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:8 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.007) 0:00:06.721 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:13 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.008) 0:00:06.729 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.011) 0:00:06.740 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.009) 0:00:06.750 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003714", "end": "2024-01-27 13:37:53.422331", "rc": 0, "start": "2024-01-27 13:37:53.418617" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.124) 0:00:06.874 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.012) 0:00:06.886 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:16 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.010) 0:00:06.897 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:23 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.310) 0:00:07.207 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:31 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.014) 0:00:07.222 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:39 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.008) 0:00:07.231 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:45 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.008) 0:00:07.239 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007861", "end": "2024-01-27 13:37:53.919230", "rc": 0, "start": "2024-01-27 13:37:53.911369" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:50 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.134) 0:00:07.373 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:56 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.009) 0:00:07.383 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:61 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.009) 0:00:07.392 ****** 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-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:18 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.008) 0:00:07.401 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.015) 0:00:07.417 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:53 +0000 (0:00:00.009) 0:00:07.427 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003941", "end": "2024-01-27 13:37:54.100571", "rc": 0, "start": "2024-01-27 13:37:54.096630" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.123) 0:00:07.551 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.011) 0:00:07.562 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:20 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.009) 0:00:07.572 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_present.yml:3 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.016) 0:00:07.588 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.010) 0:00:07.599 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706362673.9179885, "block_size": 4096, "blocks": 0, "ctime": 1706362673.9169886, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17483, "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": 1706362673.9169886, "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-ciwl8xw3aj/tests/tasks/assert_device_present.yml:5 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.120) 0:00:07.719 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:23 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.011) 0:00:07.731 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:3 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.018) 0:00:07.749 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:8 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.007) 0:00:07.757 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:13 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.007) 0:00:07.765 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.011) 0:00:07.776 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.009) 0:00:07.786 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003774", "end": "2024-01-27 13:37:54.459074", "rc": 0, "start": "2024-01-27 13:37:54.455300" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.123) 0:00:07.909 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.010) 0:00:07.920 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:16 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.008) 0:00:07.928 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:23 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.310) 0:00:08.239 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:31 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.014) 0:00:08.253 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:39 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.008) 0:00:08.261 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:45 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.012) 0:00:08.274 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:50 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.009) 0:00:08.283 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010970", "end": "2024-01-27 13:37:54.965256", "rc": 0, "start": "2024-01-27 13:37:54.954286" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:56 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.133) 0:00:08.416 ****** 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-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:61 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.009) 0:00:08.426 ****** 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-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:27 Saturday 27 January 2024 13:37:54 +0000 (0:00:00.008) 0:00:08.434 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:55 +0000 (0:00:00.019) 0:00:08.453 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:55 +0000 (0:00:00.009) 0:00:08.463 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003732", "end": "2024-01-27 13:37:55.135776", "rc": 0, "start": "2024-01-27 13:37:55.132044" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:55 +0000 (0:00:00.123) 0:00:08.587 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:55 +0000 (0:00:00.010) 0:00:08.597 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/create_and_remove_interface.yml:29 Saturday 27 January 2024 13:37:55 +0000 (0:00:00.009) 0:00:08.607 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:37:55 +0000 (0:00:00.019) 0:00:08.626 ****** included: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:37:55 +0000 (0:00:00.010) 0:00:08.636 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:37:55 +0000 (0:00:00.119) 0:00:08.756 ****** 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 27 January 2024 13:37:55 +0000 (0:00:00.015) 0:00:08.771 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tests_helpers_and_asserts.yml:3 ---------- Install yum-utils package ----------------------------------------------- 0.41s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/enable_epel.yml:24 ----------------- Create veth interface veth1298 ------------------------------------------ 0.39s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:23 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:16 ------- Enable EPEL 7 ----------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/enable_epel.yml:30 ----------------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:16 ------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:16 ------- Gather the minimum subset of ansible_facts required by the network role test --- 0.23s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/el_repo_setup.yml:3 ---------------- Create EPEL 7 ----------------------------------------------------------- 0.18s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/enable_epel.yml:8 ------------------ Check if system is ostree ----------------------------------------------- 0.18s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/el_repo_setup.yml:17 --------------- Set up veth as managed by NetworkManager -------------------------------- 0.15s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:31 ------- Delete veth interface veth1298 ------------------------------------------ 0.14s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:39 ------- Create dummy interface dummy1298 ---------------------------------------- 0.13s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:45 ------- Delete dummy interface dummy1298 ---------------------------------------- 0.13s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/manage_test_interface.yml:50 ------- Get stat for interface veth1298 ----------------------------------------- 0.13s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_interface_stat.yml:3 ----------- Gather current interface info ------------------------------------------- 0.12s /WORKDIR/git-weekly-ciwl8xw3aj/tests/tasks/get_current_interfaces.yml:3 ------- Gather current interface info ------------------------------------------- 0.12s /WORKDIR/git-weekly-ciwl8xw3aj/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. ---^---^---^---^---^---