# 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-bond_options_rewritec94ohbsp/.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-bond_options_rewritec94ohbsp/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tests_helpers_and_asserts.yml:3 Tuesday 06 February 2024 21:22:59 +0000 (0:00:00.092) 0:00:00.092 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tests_helpers_and_asserts.yml:6 Tuesday 06 February 2024 21:22:59 +0000 (0:00:00.717) 0:00:00.810 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/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-bond_options_rewritec94ohbsp/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 21:22:59 +0000 (0:00:00.013) 0:00:00.824 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/el_repo_setup.yml:17 Tuesday 06 February 2024 21:23:00 +0000 (0:00:00.264) 0:00:01.088 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/el_repo_setup.yml:22 Tuesday 06 February 2024 21:23:00 +0000 (0:00:00.217) 0:00:01.306 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/el_repo_setup.yml:26 Tuesday 06 February 2024 21:23:00 +0000 (0:00:00.019) 0:00:01.326 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/el_repo_setup.yml:51 Tuesday 06 February 2024 21:23:00 +0000 (0:00:00.009) 0:00:01.335 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 21:23:00 +0000 (0:00:00.043) 0:00:01.378 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 21:23:00 +0000 (0:00:00.276) 0:00:01.654 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.487) 0:00:02.142 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.190048", "end": "2024-02-06 21:23:01.587819", "rc": 0, "start": "2024-02-06 21:23:01.397771" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.332) 0:00:02.474 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.014) 0:00:02.488 ****** 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-bond_options_rewritec94ohbsp/tests/tests_helpers_and_asserts.yml:9 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.025) 0:00:02.514 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:3 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.014) 0:00:02.528 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.010) 0:00:02.539 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.020) 0:00:02.559 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004118", "end": "2024-02-06 21:23:01.828812", "rc": 0, "start": "2024-02-06 21:23:01.824694" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.149) 0:00:02.709 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.010) 0:00:02.719 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:5 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.008) 0:00:02.727 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.014) 0:00:02.742 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.007) 0:00:02.749 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.007) 0:00:02.757 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.011) 0:00:02.768 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:01 +0000 (0:00:00.009) 0:00:02.778 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004533", "end": "2024-02-06 21:23:02.035000", "rc": 0, "start": "2024-02-06 21:23:02.030467" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.140) 0:00:02.918 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.010) 0:00:02.929 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.032) 0:00:02.961 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.336) 0:00:03.298 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.017) 0:00:03.316 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.008) 0:00:03.325 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.027) 0:00:03.353 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.020) 0:00:03.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 veth1298] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.009) 0:00:03.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 veth1298] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.008) 0:00:03.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-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:9 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.007) 0:00:03.399 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.012) 0:00:03.412 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.010) 0:00:03.422 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004149", "end": "2024-02-06 21:23:02.682472", "rc": 0, "start": "2024-02-06 21:23:02.678323" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.143) 0:00:03.566 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.013) 0:00:03.580 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:11 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.016) 0:00:03.596 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.016) 0:00:03.613 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.012) 0:00:03.625 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.134) 0:00:03.760 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:14 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.011) 0:00:03.771 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.034) 0:00:03.806 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.010) 0:00:03.817 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.008) 0:00:03.825 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.014) 0:00:03.839 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:02 +0000 (0:00:00.012) 0:00:03.852 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004135", "end": "2024-02-06 21:23:03.123866", "rc": 0, "start": "2024-02-06 21:23:03.119731" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:03 +0000 (0:00:00.178) 0:00:04.030 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:03 +0000 (0:00:00.017) 0:00:04.047 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:23:03 +0000 (0:00:00.011) 0:00:04.058 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 21:23:03 +0000 (0:00:00.347) 0:00:04.406 ****** 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.014537", "end": "2024-02-06 21:23:03.678854", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-06 21:23:03.664317" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.004344", "end": "2024-02-06 21:23:03.817271", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-06 21:23:03.812927" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.005567", "end": "2024-02-06 21:23:03.947895", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-06 21:23:03.942328" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 21:23:03 +0000 (0:00:00.424) 0:00:04.830 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.034644", "end": "2024-02-06 21:23:04.121068", "rc": 0, "start": "2024-02-06 21:23:04.086424" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.177) 0:00:05.008 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.009) 0:00:05.017 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.009) 0:00:05.027 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.009) 0:00:05.036 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.009) 0:00:05.045 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:18 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.007) 0:00:05.053 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.016) 0:00:05.069 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.010) 0:00:05.080 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004405", "end": "2024-02-06 21:23:04.338998", "rc": 0, "start": "2024-02-06 21:23:04.334593" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.143) 0:00:05.223 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.010) 0:00:05.233 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:20 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.028) 0:00:05.262 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.043) 0:00:05.305 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.011) 0:00:05.316 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707254583.6773407, "block_size": 4096, "blocks": 0, "ctime": 1707254583.6773407, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17764, "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": 1707254583.6773407, "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-bond_options_rewritec94ohbsp/tests/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.144) 0:00:05.461 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:23 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.010) 0:00:05.471 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.021) 0:00:05.493 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.007) 0:00:05.501 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.008) 0:00:05.509 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.011) 0:00:05.521 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.009) 0:00:05.531 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004134", "end": "2024-02-06 21:23:04.799945", "rc": 0, "start": "2024-02-06 21:23:04.795811" } STDOUT: bond0 bonding_masters eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.149) 0:00:05.680 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.009) 0:00:05.689 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:23:04 +0000 (0:00:00.009) 0:00:05.699 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.336) 0:00:06.036 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.015) 0:00:06.052 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.008) 0:00:06.060 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.009725", "end": "2024-02-06 21:23:05.335485", "rc": 0, "start": "2024-02-06 21:23:05.325760" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.158) 0:00:06.219 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.010) 0:00:06.230 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.009) 0:00:06.239 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.009) 0:00:06.249 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:27 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.018) 0:00:06.267 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.024) 0:00:06.292 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.019) 0:00:06.311 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004152", "end": "2024-02-06 21:23:05.581777", "rc": 0, "start": "2024-02-06 21:23:05.577625" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.162) 0:00:06.473 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.019) 0:00:06.493 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:29 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.010) 0:00:06.503 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.037) 0:00:06.540 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.012) 0:00:06.553 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.142) 0:00:06.696 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tests_helpers_and_asserts.yml:15 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.011) 0:00:06.707 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:3 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.013) 0:00:06.721 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.043) 0:00:06.764 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:05 +0000 (0:00:00.009) 0:00:06.774 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005398", "end": "2024-02-06 21:23:07.049425", "rc": 0, "start": "2024-02-06 21:23:06.044027" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:07 +0000 (0:00:01.158) 0:00:07.933 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.009) 0:00:07.943 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:5 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.008) 0:00:07.951 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.012) 0:00:07.964 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.007) 0:00:07.971 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.007) 0:00:07.979 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.012) 0:00:07.992 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.013) 0:00:08.005 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004149", "end": "2024-02-06 21:23:07.266548", "rc": 0, "start": "2024-02-06 21:23:07.262399" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.141) 0:00:08.146 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.010) 0:00:08.157 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.009) 0:00:08.167 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.332) 0:00:08.499 ****** skipping: [sut] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerdummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set dummy1298 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.021) 0:00:08.521 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.023) 0:00:08.544 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.009) 0:00:08.554 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.008) 0:00:08.562 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.008) 0:00:08.570 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.010) 0:00:08.581 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:9 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.009) 0:00:08.591 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.025) 0:00:08.616 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.010) 0:00:08.627 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004184", "end": "2024-02-06 21:23:07.892322", "rc": 0, "start": "2024-02-06 21:23:07.888138" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.148) 0:00:08.775 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.010) 0:00:08.786 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:11 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.025) 0:00:08.811 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.014) 0:00:08.826 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:23:07 +0000 (0:00:00.010) 0:00:08.837 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:23:08 +0000 (0:00:00.139) 0:00:08.977 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:14 Tuesday 06 February 2024 21:23:08 +0000 (0:00:00.012) 0:00:08.989 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:23:08 +0000 (0:00:00.019) 0:00:09.008 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:23:08 +0000 (0:00:00.011) 0:00:09.020 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:23:08 +0000 (0:00:00.010) 0:00:09.031 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:08 +0000 (0:00:00.032) 0:00:09.063 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:08 +0000 (0:00:00.011) 0:00:09.074 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005616", "end": "2024-02-06 21:23:09.343014", "rc": 0, "start": "2024-02-06 21:23:08.337398" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:09 +0000 (0:00:01.149) 0:00:10.223 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:09 +0000 (0:00:00.010) 0:00:10.233 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:23:09 +0000 (0:00:00.017) 0:00:10.251 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 21:23:09 +0000 (0:00:00.353) 0:00:10.604 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 21:23:09 +0000 (0:00:00.049) 0:00:10.654 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 21:23:09 +0000 (0:00:00.009) 0:00:10.664 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 21:23:09 +0000 (0:00:00.008) 0:00:10.673 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.009441", "end": "2024-02-06 21:23:09.950537", "rc": 0, "start": "2024-02-06 21:23:09.941096" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 21:23:09 +0000 (0:00:00.175) 0:00:10.848 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.028) 0:00:10.876 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.015) 0:00:10.892 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:18 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.038) 0:00:10.931 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.018) 0:00:10.950 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.011) 0:00:10.961 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004289", "end": "2024-02-06 21:23:10.264670", "rc": 0, "start": "2024-02-06 21:23:10.260381" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.183) 0:00:11.145 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.011) 0:00:11.156 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:20 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.012) 0:00:11.168 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.018) 0:00:11.186 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.010) 0:00:11.197 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707254589.950321, "block_size": 4096, "blocks": 0, "ctime": 1707254589.9493208, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17681, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/dummy1298", "lnk_target": "../../devices/virtual/net/dummy1298", "mode": "0777", "mtime": 1707254589.9493208, "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-bond_options_rewritec94ohbsp/tests/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.153) 0:00:11.350 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:23 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.011) 0:00:11.361 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.025) 0:00:11.387 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.014) 0:00:11.402 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.018) 0:00:11.420 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.013) 0:00:11.433 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.010) 0:00:11.444 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004324", "end": "2024-02-06 21:23:10.701799", "rc": 0, "start": "2024-02-06 21:23:10.697475" } STDOUT: bond0 bonding_masters dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.138) 0:00:11.583 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.010) 0:00:11.593 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:23:10 +0000 (0:00:00.014) 0:00:11.608 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface dummy1298] ***************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.335) 0:00:11.943 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.016) 0:00:11.960 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.011) 0:00:11.971 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.010) 0:00:11.981 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.011) 0:00:11.993 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.010822", "end": "2024-02-06 21:23:11.262457", "rc": 0, "start": "2024-02-06 21:23:11.251635" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.152) 0:00:12.145 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.015) 0:00:12.160 ****** 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-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:27 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.010) 0:00:12.171 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.020) 0:00:12.191 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.009) 0:00:12.201 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004118", "end": "2024-02-06 21:23:11.466505", "rc": 0, "start": "2024-02-06 21:23:11.462387" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.146) 0:00:12.348 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.009) 0:00:12.358 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/create_and_remove_interface.yml:29 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.009) 0:00:12.368 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.019) 0:00:12.387 ****** included: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.010) 0:00:12.398 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.133) 0:00:12.531 ****** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=122 changed=0 unreachable=0 failed=0 skipped=52 rescued=0 ignored=0 Tuesday 06 February 2024 21:23:11 +0000 (0:00:00.015) 0:00:12.547 ****** =============================================================================== Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tests_helpers_and_asserts.yml:3 Install yum-utils package ----------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth1298 ------------------------------------------ 0.42s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/enable_epel.yml:30 ------ Create EPEL 7 ----------------------------------------------------------- 0.28s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/enable_epel.yml:8 ------- Gather the minimum subset of ansible_facts required by the network role test --- 0.26s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/el_repo_setup.yml:17 ---- Gather current interface info ------------------------------------------- 0.18s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.18s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.18s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.18s /WORKDIR/git-bond_options_rewritec94ohbsp/tests/tasks/manage_test_interface.yml:49 Gather current interface info ------------------------------------------- 0.16s /WORKDIR/git-bond_options_rewritec94ohbsp/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. ---^---^---^---^---^---