# 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-nm_plugin_hotfix4rkbmy42/.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-nm_plugin_hotfix4rkbmy42/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tests_helpers_and_asserts.yml:3 Sunday 18 February 2024 19:37:28 +0000 (0:00:00.032) 0:00:00.032 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tests_helpers_and_asserts.yml:6 Sunday 18 February 2024 19:37:29 +0000 (0:00:00.708) 0:00:00.740 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/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-nm_plugin_hotfix4rkbmy42/tests/tasks/el_repo_setup.yml:3 Sunday 18 February 2024 19:37:29 +0000 (0:00:00.011) 0:00:00.752 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/el_repo_setup.yml:17 Sunday 18 February 2024 19:37:29 +0000 (0:00:00.234) 0:00:00.986 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/el_repo_setup.yml:22 Sunday 18 February 2024 19:37:30 +0000 (0:00:00.176) 0:00:01.163 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/el_repo_setup.yml:26 Sunday 18 February 2024 19:37:30 +0000 (0:00:00.013) 0:00:01.176 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/el_repo_setup.yml:51 Sunday 18 February 2024 19:37:30 +0000 (0:00:00.007) 0:00:01.184 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/enable_epel.yml:8 Sunday 18 February 2024 19:37:30 +0000 (0:00:00.020) 0:00:01.204 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/enable_epel.yml:24 Sunday 18 February 2024 19:37:30 +0000 (0:00:00.178) 0:00:01.383 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/enable_epel.yml:30 Sunday 18 February 2024 19:37:30 +0000 (0:00:00.408) 0:00:01.791 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.193664", "end": "2024-02-18 19:37:30.974622", "rc": 0, "start": "2024-02-18 19:37:30.780958" } 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-nm_plugin_hotfix4rkbmy42/tests/tasks/enable_epel.yml:35 Sunday 18 February 2024 19:37:30 +0000 (0:00:00.315) 0:00:02.106 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/enable_epel.yml:40 Sunday 18 February 2024 19:37:30 +0000 (0:00:00.008) 0:00:02.115 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tests_helpers_and_asserts.yml:9 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.008) 0:00:02.124 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:3 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.011) 0:00:02.135 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.009) 0:00:02.145 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.009) 0:00:02.154 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003755", "end": "2024-02-18 19:37:31.145491", "rc": 0, "start": "2024-02-18 19:37:31.141736" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.121) 0:00:02.276 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.010) 0:00:02.286 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:5 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.009) 0:00:02.296 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.014) 0:00:02.310 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.007) 0:00:02.317 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.007) 0:00:02.325 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.010) 0:00:02.335 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.009) 0:00:02.344 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003605", "end": "2024-02-18 19:37:31.335135", "rc": 0, "start": "2024-02-18 19:37:31.331530" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.121) 0:00:02.466 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.009) 0:00:02.475 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.009) 0:00:02.485 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.310) 0:00:02.795 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.014) 0:00:02.809 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.008) 0:00:02.818 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.009) 0:00:02.827 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.007) 0:00:02.834 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.007) 0:00:02.842 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.007) 0:00:02.850 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:9 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.007) 0:00:02.857 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.012) 0:00:02.870 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.009) 0:00:02.879 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003705", "end": "2024-02-18 19:37:31.871567", "rc": 0, "start": "2024-02-18 19:37:31.867862" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.123) 0:00:03.002 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.009) 0:00:03.012 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:11 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.009) 0:00:03.021 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.013) 0:00:03.035 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 19:37:31 +0000 (0:00:00.009) 0:00:03.045 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 19:37:32 +0000 (0:00:00.117) 0:00:03.163 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:14 Sunday 18 February 2024 19:37:32 +0000 (0:00:00.010) 0:00:03.174 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 19:37:32 +0000 (0:00:00.015) 0:00:03.189 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 19:37:32 +0000 (0:00:00.007) 0:00:03.197 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 19:37:32 +0000 (0:00:00.007) 0:00:03.204 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:32 +0000 (0:00:00.011) 0:00:03.215 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:32 +0000 (0:00:00.009) 0:00:03.224 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003557", "end": "2024-02-18 19:37:32.215105", "rc": 0, "start": "2024-02-18 19:37:32.211548" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:32 +0000 (0:00:00.121) 0:00:03.346 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:32 +0000 (0:00:00.009) 0:00:03.355 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 19:37:32 +0000 (0:00:00.009) 0:00:03.365 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 19:37:32 +0000 (0:00:00.309) 0:00:03.674 ******* 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.011963", "end": "2024-02-18 19:37:32.677079", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2024-02-18 19:37:32.665116" } ok: [sut] => (item=ip link set peerveth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth1298", "up" ], "delta": "0:00:00.007482", "end": "2024-02-18 19:37:32.802990", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2024-02-18 19:37:32.795508" } ok: [sut] => (item=ip link set veth1298 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth1298", "up" ], "delta": "0:00:00.009147", "end": "2024-02-18 19:37:32.923535", "item": "ip link set veth1298 up", "rc": 0, "start": "2024-02-18 19:37:32.914388" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 19:37:32 +0000 (0:00:00.385) 0:00:04.060 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth1298", "managed", "true" ], "delta": "0:00:00.025286", "end": "2024-02-18 19:37:33.074375", "rc": 0, "start": "2024-02-18 19:37:33.049089" } TASK [Delete veth interface veth1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.146) 0:00:04.206 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.008) 0:00:04.214 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.008) 0:00:04.223 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.008) 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.007) 0:00:04.238 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:18 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.008) 0:00:04.247 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.015) 0:00:04.263 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.008) 0:00:04.272 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003610", "end": "2024-02-18 19:37:33.262939", "rc": 0, "start": "2024-02-18 19:37:33.259329" } STDOUT: eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.122) 0:00:04.394 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.009) 0:00:04.404 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:20 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.009) 0:00:04.413 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_present.yml:3 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.016) 0:00:04.430 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.009) 0:00:04.439 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708285052.681915, "block_size": 4096, "blocks": 0, "ctime": 1708285052.681915, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17621, "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": 1708285052.681915, "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-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_present.yml:5 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.120) 0:00:04.560 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:23 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.011) 0:00:04.571 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.018) 0:00:04.590 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.007) 0:00:04.597 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.007) 0:00:04.604 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.010) 0:00:04.615 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.009) 0:00:04.624 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003557", "end": "2024-02-18 19:37:33.614909", "rc": 0, "start": "2024-02-18 19:37:33.611352" } STDOUT: eth0 lo peerveth1298 veth1298 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.121) 0:00:04.745 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth1298", "veth1298" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.009) 0:00:04.755 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth1298', 'veth1298'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.013) 0:00:04.768 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.310) 0:00:05.079 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.016) 0:00:05.095 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 19:37:33 +0000 (0:00:00.009) 0:00:05.104 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth1298", "type", "veth" ], "delta": "0:00:00.008742", "end": "2024-02-18 19:37:34.102317", "rc": 0, "start": "2024-02-18 19:37:34.093575" } TASK [Create dummy interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.129) 0:00:05.234 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.009) 0:00:05.243 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.008) 0:00:05.251 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.008) 0:00:05.260 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:27 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.007) 0:00:05.267 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.018) 0:00:05.286 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.009) 0:00:05.295 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003633", "end": "2024-02-18 19:37:34.286549", "rc": 0, "start": "2024-02-18 19:37:34.282916" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.122) 0:00:05.417 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.011) 0:00:05.428 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:29 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.009) 0:00:05.438 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.019) 0:00:05.458 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth1298] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.010) 0:00:05.468 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'veth1298'] ************************ task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.118) 0:00:05.587 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test veth interface management] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tests_helpers_and_asserts.yml:15 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.011) 0:00:05.598 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml for sut TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:3 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.013) 0:00:05.612 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.010) 0:00:05.622 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.009) 0:00:05.631 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003621", "end": "2024-02-18 19:37:34.622793", "rc": 0, "start": "2024-02-18 19:37:34.619172" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.122) 0:00:05.754 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.009) 0:00:05.764 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:5 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.010) 0:00:05.774 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.012) 0:00:05.786 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.008) 0:00:05.795 ******* skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.007) 0:00:05.802 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.011) 0:00:05.813 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.009) 0:00:05.823 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003674", "end": "2024-02-18 19:37:34.815066", "rc": 0, "start": "2024-02-18 19:37:34.811392" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.123) 0:00:05.947 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.010) 0:00:05.957 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 19:37:34 +0000 (0:00:00.009) 0:00:05.966 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.311) 0:00:06.277 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.014) 0:00:06.292 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.008) 0:00:06.300 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.009) 0:00:06.309 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.008) 0:00:06.318 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.011) 0:00:06.329 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.008) 0:00:06.338 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:9 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.008) 0:00:06.347 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.012) 0:00:06.360 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.009) 0:00:06.370 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003571", "end": "2024-02-18 19:37:35.361578", "rc": 0, "start": "2024-02-18 19:37:35.358007" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.122) 0:00:06.492 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.010) 0:00:06.503 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:11 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.011) 0:00:06.514 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.013) 0:00:06.527 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.010) 0:00:06.537 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.118) 0:00:06.656 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:14 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.011) 0:00:06.667 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.015) 0:00:06.682 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.007) 0:00:06.690 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.007) 0:00:06.697 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.010) 0:00:06.708 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.009) 0:00:06.718 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003539", "end": "2024-02-18 19:37:35.710196", "rc": 0, "start": "2024-02-18 19:37:35.706657" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.124) 0:00:06.842 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.009) 0:00:06.852 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 19:37:35 +0000 (0:00:00.009) 0:00:06.861 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.308) 0:00:07.170 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.014) 0:00:07.184 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.008) 0:00:07.192 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.009) 0:00:07.201 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "add", "dummy1298", "type", "dummy" ], "delta": "0:00:00.007902", "end": "2024-02-18 19:37:36.199898", "rc": 0, "start": "2024-02-18 19:37:36.191996" } TASK [Delete dummy interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.133) 0:00:07.335 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.009) 0:00:07.344 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.008) 0:00:07.352 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:18 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.008) 0:00:07.361 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.015) 0:00:07.376 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.009) 0:00:07.385 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003561", "end": "2024-02-18 19:37:36.376524", "rc": 0, "start": "2024-02-18 19:37:36.372963" } STDOUT: dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.122) 0:00:07.508 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.010) 0:00:07.518 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy1298', 'eth0', 'lo'] TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:20 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.009) 0:00:07.527 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_present.yml:3 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.016) 0:00:07.543 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.009) 0:00:07.553 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708285056.1969485, "block_size": 4096, "blocks": 0, "ctime": 1708285056.1959486, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17540, "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": 1708285056.1959486, "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-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_present.yml:5 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.121) 0:00:07.674 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:23 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.010) 0:00:07.685 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.018) 0:00:07.704 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.007) 0:00:07.712 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.007) 0:00:07.719 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.010) 0:00:07.730 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.009) 0:00:07.739 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003538", "end": "2024-02-18 19:37:36.729358", "rc": 0, "start": "2024-02-18 19:37:36.725820" } STDOUT: dummy1298 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.121) 0:00:07.860 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy1298", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.010) 0:00:07.870 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy1298', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 19:37:36 +0000 (0:00:00.009) 0:00:07.879 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.309) 0:00:08.189 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.014) 0:00:08.203 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.008) 0:00:08.211 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.008) 0:00:08.220 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.007) 0:00:08.228 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "dummy1298", "type", "dummy" ], "delta": "0:00:00.011719", "end": "2024-02-18 19:37:37.229141", "rc": 0, "start": "2024-02-18 19:37:37.217422" } TASK [Create tap interface dummy1298] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.132) 0:00:08.361 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.009) 0:00:08.370 ******* 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-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:27 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.008) 0:00:08.379 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:3 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.018) 0:00:08.398 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.009) 0:00:08.407 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003598", "end": "2024-02-18 19:37:37.398386", "rc": 0, "start": "2024-02-18 19:37:37.394788" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.124) 0:00:08.532 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/show_interfaces.yml:5 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.009) 0:00:08.542 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/create_and_remove_interface.yml:29 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.009) 0:00:08.552 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.019) 0:00:08.571 ******* included: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy1298] **************************************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.009) 0:00:08.581 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'dummy1298'] *********************** task path: /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.117) 0:00:08.699 ******* 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 Sunday 18 February 2024 19:37:37 +0000 (0:00:00.015) 0:00:08.714 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tests_helpers_and_asserts.yml:3 --- Install yum-utils package ----------------------------------------------- 0.41s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/enable_epel.yml:24 ---------- Create veth interface veth1298 ------------------------------------------ 0.39s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:27 Enable EPEL 7 ----------------------------------------------------------- 0.32s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/enable_epel.yml:30 ---------- Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.31s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.23s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/el_repo_setup.yml:3 --------- Create EPEL 7 ----------------------------------------------------------- 0.18s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/enable_epel.yml:8 ----------- Check if system is ostree ----------------------------------------------- 0.18s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/el_repo_setup.yml:17 -------- Set up veth as managed by NetworkManager -------------------------------- 0.15s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:35 Create dummy interface dummy1298 ---------------------------------------- 0.13s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:49 Delete dummy interface dummy1298 ---------------------------------------- 0.13s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:54 Delete veth interface veth1298 ------------------------------------------ 0.13s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/manage_test_interface.yml:43 Gather current interface info ------------------------------------------- 0.12s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.12s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/tests/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 0.12s /WORKDIR/git-nm_plugin_hotfix4rkbmy42/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. ---^---^---^---^---^---