# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ethtool_ring_initscripts.yml *********************************** 2 plays in /WORKDIR/git-skip_initscripts7ttc67ni/tests/tests_ethtool_ring_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_ring.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/tests_ethtool_ring_initscripts.yml:4 Wednesday 20 December 2023 20:38:50 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/tests_ethtool_ring_initscripts.yml:8 Wednesday 20 December 2023 20:38:50 +0000 (0:00:00.542) 0:00:00.555 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/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-skip_initscripts7ttc67ni/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 20:38:51 +0000 (0:00:00.030) 0:00:00.585 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/tasks/el_repo_setup.yml:19 Wednesday 20 December 2023 20:38:51 +0000 (0:00:00.231) 0:00:00.817 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/tasks/el_repo_setup.yml:24 Wednesday 20 December 2023 20:38:51 +0000 (0:00:00.191) 0:00:01.009 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/tasks/el_repo_setup.yml:28 Wednesday 20 December 2023 20:38:51 +0000 (0:00:00.057) 0:00:01.066 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/tasks/el_repo_setup.yml:53 Wednesday 20 December 2023 20:38:51 +0000 (0:00:00.025) 0:00:01.091 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 20:38:51 +0000 (0:00:00.031) 0:00:01.123 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 20:38:51 +0000 (0:00:00.182) 0:00:01.305 **** 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-skip_initscripts7ttc67ni/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 20:38:52 +0000 (0:00:00.464) 0:00:01.770 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.171153", "end": "2023-12-20 20:38:52.508286", "rc": 0, "start": "2023-12-20 20:38:52.337133" } 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-skip_initscripts7ttc67ni/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 20:38:52 +0000 (0:00:00.336) 0:00:02.106 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 20:38:52 +0000 (0:00:00.023) 0:00:02.129 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/tests_ethtool_ring_initscripts.yml:10 Wednesday 20 December 2023 20:38:52 +0000 (0:00:00.036) 0:00:02.166 **** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing ethtool ring settings] ********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:3 Wednesday 20 December 2023 20:38:52 +0000 (0:00:00.054) 0:00:02.220 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:9 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.418) 0:00:02.638 **** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:15 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.046) 0:00:02.685 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:18 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.028) 0:00:02.714 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.030) 0:00:02.744 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.014) 0:00:02.759 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003236", "end": "2023-12-20 20:38:53.300145", "rc": 0, "start": "2023-12-20 20:38:53.296909" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.132) 0:00:02.891 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.034) 0:00:02.926 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:20 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.021) 0:00:02.948 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.030) 0:00:02.978 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.011) 0:00:02.990 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.014) 0:00:03.005 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.021) 0:00:03.026 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.015) 0:00:03.042 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003056", "end": "2023-12-20 20:38:53.583160", "rc": 0, "start": "2023-12-20 20:38:53.580104" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.126) 0:00:03.168 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.035) 0:00:03.204 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:38:53 +0000 (0:00:00.013) 0:00:03.217 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:38:54 +0000 (0:00:00.398) 0:00:03.616 **** ok: [sut] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.010455", "end": "2023-12-20 20:38:54.164445", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-12-20 20:38:54.153990" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003212", "end": "2023-12-20 20:38:54.301561", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-12-20 20:38:54.298349" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.003718", "end": "2023-12-20 20:38:54.431396", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-12-20 20:38:54.427678" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:38:54 +0000 (0:00:00.410) 0:00:04.026 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.023756", "end": "2023-12-20 20:38:54.603971", "rc": 0, "start": "2023-12-20 20:38:54.580215" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:38:54 +0000 (0:00:00.171) 0:00:04.198 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:38:54 +0000 (0:00:00.044) 0:00:04.242 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:38:54 +0000 (0:00:00.014) 0:00:04.256 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:38:54 +0000 (0:00:00.013) 0:00:04.270 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:38:54 +0000 (0:00:00.016) 0:00:04.286 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:24 Wednesday 20 December 2023 20:38:54 +0000 (0:00:00.011) 0:00:04.298 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:38:54 +0000 (0:00:00.017) 0:00:04.315 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:38:54 +0000 (0:00:00.025) 0:00:04.340 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104734.167985, "block_size": 4096, "blocks": 0, "ctime": 1703104734.167985, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17736, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1703104734.167985, "nlink": 1, "path": "/sys/class/net/testnic1", "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 - 'testnic1'] *********************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:38:54 +0000 (0:00:00.143) 0:00:04.484 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:26 Wednesday 20 December 2023 20:38:54 +0000 (0:00:00.013) 0:00:04.497 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "2:ethtool-4.8-10.el7.x86_64 providing ethtool is already installed" ] } TASK [TEST: I can create a profile without any ring option.] ******************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:35 Wednesday 20 December 2023 20:38:55 +0000 (0:00:00.408) 0:00:04.905 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:38:55 +0000 (0:00:00.023) 0:00:04.928 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:38:55 +0000 (0:00:00.149) 0:00:05.077 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:38:55 +0000 (0:00:00.024) 0:00:05.102 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:38:55 +0000 (0:00:00.042) 0:00:05.144 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:38:55 +0000 (0:00:00.031) 0:00:05.175 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:38:56 +0000 (0:00:00.777) 0:00:05.953 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:38:57 +0000 (0:00:01.113) 0:00:07.067 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:38:57 +0000 (0:00:00.023) 0:00:07.090 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:38:57 +0000 (0:00:00.021) 0:00:07.112 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:38:57 +0000 (0:00:00.025) 0:00:07.137 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:38:57 +0000 (0:00:00.050) 0:00:07.188 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:38:57 +0000 (0:00:00.037) 0:00:07.225 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:38:57 +0000 (0:00:00.027) 0:00:07.253 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:38:57 +0000 (0:00:00.024) 0:00:07.278 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:38:57 +0000 (0:00:00.033) 0:00:07.311 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:38:57 +0000 (0:00:00.029) 0:00:07.341 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:38:58 +0000 (0:00:00.402) 0:00:07.743 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11855j8w6wk0a/tmpey2wg9oc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:38:58 +0000 (0:00:00.219) 0:00:07.962 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:38:58 +0000 (0:00:00.474) 0:00:08.437 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:38:58 +0000 (0:00:00.058) 0:00:08.496 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:38:58 +0000 (0:00:00.023) 0:00:08.519 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:38:59 +0000 (0:00:00.082) 0:00:08.602 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:38:59 +0000 (0:00:00.048) 0:00:08.650 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:51 Wednesday 20 December 2023 20:38:59 +0000 (0:00:00.214) 0:00:08.865 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain ring options] *********************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:57 Wednesday 20 December 2023 20:38:59 +0000 (0:00:00.022) 0:00:08.887 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:62 Wednesday 20 December 2023 20:38:59 +0000 (0:00:00.021) 0:00:08.909 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.002956", "end": "2023-12-20 20:38:59.446739", "rc": 1, "start": "2023-12-20 20:38:59.443783" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:70 Wednesday 20 December 2023 20:38:59 +0000 (0:00:00.140) 0:00:09.049 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:76 Wednesday 20 December 2023 20:38:59 +0000 (0:00:00.026) 0:00:09.076 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:38:59 +0000 (0:00:00.030) 0:00:09.107 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:38:59 +0000 (0:00:00.036) 0:00:09.143 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:38:59 +0000 (0:00:00.027) 0:00:09.170 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:38:59 +0000 (0:00:00.022) 0:00:09.193 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:38:59 +0000 (0:00:00.028) 0:00:09.221 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:39:00 +0000 (0:00:00.698) 0:00:09.919 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:39:01 +0000 (0:00:00.998) 0:00:10.918 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:39:01 +0000 (0:00:00.045) 0:00:10.963 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:39:01 +0000 (0:00:00.053) 0:00:11.016 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:39:01 +0000 (0:00:00.057) 0:00:11.074 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:39:01 +0000 (0:00:00.077) 0:00:11.151 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:39:01 +0000 (0:00:00.021) 0:00:11.173 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:39:01 +0000 (0:00:00.023) 0:00:11.197 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:39:01 +0000 (0:00:00.062) 0:00:11.259 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:39:01 +0000 (0:00:00.028) 0:00:11.288 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:39:01 +0000 (0:00:00.036) 0:00:11.324 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:39:02 +0000 (0:00:00.251) 0:00:11.576 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11855j8w6wk0a/tmp0bbjjq_y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:39:02 +0000 (0:00:00.230) 0:00:11.807 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device ring settings: Operation not supported RTNETLINK answers: File exists ' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:39:02 +0000 (0:00:00.352) 0:00:12.159 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:39:02 +0000 (0:00:00.022) 0:00:12.182 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device ring settings: Operation not supported", "RTNETLINK answers: File exists", "'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:39:02 +0000 (0:00:00.027) 0:00:12.209 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device ring settings: Operation not supported\nRTNETLINK answers: File exists\n'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device ring settings: Operation not supported", "RTNETLINK answers: File exists", "'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:39:02 +0000 (0:00:00.025) 0:00:12.235 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:39:02 +0000 (0:00:00.023) 0:00:12.258 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:98 Wednesday 20 December 2023 20:39:02 +0000 (0:00:00.155) 0:00:12.413 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:104 Wednesday 20 December 2023 20:39:02 +0000 (0:00:00.027) 0:00:12.440 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:109 Wednesday 20 December 2023 20:39:02 +0000 (0:00:00.023) 0:00:12.463 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:115 Wednesday 20 December 2023 20:39:02 +0000 (0:00:00.033) 0:00:12.497 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:120 Wednesday 20 December 2023 20:39:02 +0000 (0:00:00.032) 0:00:12.529 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:126 Wednesday 20 December 2023 20:39:02 +0000 (0:00:00.023) 0:00:12.553 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:131 Wednesday 20 December 2023 20:39:03 +0000 (0:00:00.021) 0:00:12.574 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:137 Wednesday 20 December 2023 20:39:03 +0000 (0:00:00.020) 0:00:12.595 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring options] ************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:143 Wednesday 20 December 2023 20:39:03 +0000 (0:00:00.019) 0:00:12.615 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003103", "end": "2023-12-20 20:39:03.151679", "rc": 0, "start": "2023-12-20 20:39:03.148576" } STDOUT: ETHTOOL_OPTS="-G testnic1 rx 128 tx 128 rx-jumbo 128 rx-mini 128" TASK [Assert ethtool.ring option set in profile] ******************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:151 Wednesday 20 December 2023 20:39:03 +0000 (0:00:00.132) 0:00:12.747 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:161 Wednesday 20 December 2023 20:39:03 +0000 (0:00:00.027) 0:00:12.774 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:39:03 +0000 (0:00:00.021) 0:00:12.796 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:39:03 +0000 (0:00:00.057) 0:00:12.853 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:39:03 +0000 (0:00:00.026) 0:00:12.880 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:39:03 +0000 (0:00:00.021) 0:00:12.902 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:39:03 +0000 (0:00:00.020) 0:00:12.922 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:39:04 +0000 (0:00:00.677) 0:00:13.599 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:39:04 +0000 (0:00:00.929) 0:00:14.529 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:39:04 +0000 (0:00:00.042) 0:00:14.572 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:39:05 +0000 (0:00:00.037) 0:00:14.609 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:39:05 +0000 (0:00:00.065) 0:00:14.675 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:39:05 +0000 (0:00:00.043) 0:00:14.718 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:39:05 +0000 (0:00:00.023) 0:00:14.742 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:39:05 +0000 (0:00:00.024) 0:00:14.766 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:39:05 +0000 (0:00:00.026) 0:00:14.793 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:39:05 +0000 (0:00:00.021) 0:00:14.814 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:39:05 +0000 (0:00:00.023) 0:00:14.837 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:39:05 +0000 (0:00:00.230) 0:00:15.068 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11855j8w6wk0a/tmpq00ybl78" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:39:05 +0000 (0:00:00.255) 0:00:15.324 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='RTNETLINK answers: File exists ' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.331) 0:00:15.656 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.021) 0:00:15.677 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='RTNETLINK answers: File exists", "'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.029) 0:00:15.707 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='RTNETLINK answers: File exists\n'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='RTNETLINK answers: File exists", "'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.031) 0:00:15.739 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.023) 0:00:15.762 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:176 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.127) 0:00:15.889 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:182 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.023) 0:00:15.913 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:187 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.060) 0:00:15.973 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.002954", "end": "2023-12-20 20:39:06.513377", "rc": 1, "start": "2023-12-20 20:39:06.510423" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:195 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.135) 0:00:16.109 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.023) 0:00:16.132 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.037) 0:00:16.169 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.027) 0:00:16.197 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.022) 0:00:16.219 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:39:06 +0000 (0:00:00.021) 0:00:16.241 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:39:07 +0000 (0:00:00.685) 0:00:16.927 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:39:08 +0000 (0:00:00.919) 0:00:17.846 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:39:08 +0000 (0:00:00.068) 0:00:17.915 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:39:08 +0000 (0:00:00.050) 0:00:17.965 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:39:08 +0000 (0:00:00.035) 0:00:18.000 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:39:08 +0000 (0:00:00.056) 0:00:18.057 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:39:08 +0000 (0:00:00.027) 0:00:18.084 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:39:08 +0000 (0:00:00.028) 0:00:18.112 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:39:08 +0000 (0:00:00.043) 0:00:18.155 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:39:08 +0000 (0:00:00.056) 0:00:18.212 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:39:08 +0000 (0:00:00.044) 0:00:18.256 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:39:08 +0000 (0:00:00.275) 0:00:18.532 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11855j8w6wk0a/tmpu9kwx7_z" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:39:09 +0000 (0:00:00.267) 0:00:18.800 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:39:09 +0000 (0:00:00.226) 0:00:19.026 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:39:09 +0000 (0:00:00.044) 0:00:19.070 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:39:09 +0000 (0:00:00.027) 0:00:19.098 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:39:09 +0000 (0:00:00.027) 0:00:19.125 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:39:09 +0000 (0:00:00.022) 0:00:19.147 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:214 Wednesday 20 December 2023 20:39:09 +0000 (0:00:00.167) 0:00:19.315 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:39:09 +0000 (0:00:00.050) 0:00:19.365 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:39:09 +0000 (0:00:00.044) 0:00:19.410 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:39:09 +0000 (0:00:00.033) 0:00:19.444 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:39:09 +0000 (0:00:00.038) 0:00:19.483 **** included: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:39:09 +0000 (0:00:00.033) 0:00:19.517 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003439", "end": "2023-12-20 20:39:10.055928", "rc": 0, "start": "2023-12-20 20:39:10.052489" } STDOUT: bond0 bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:39:10 +0000 (0:00:00.144) 0:00:19.661 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:39:10 +0000 (0:00:00.039) 0:00:19.701 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:39:10 +0000 (0:00:00.036) 0:00:19.738 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:39:10 +0000 (0:00:00.339) 0:00:20.077 **** skipping: [sut] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:39:10 +0000 (0:00:00.032) 0:00:20.109 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:39:10 +0000 (0:00:00.022) 0:00:20.132 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.010056", "end": "2023-12-20 20:39:10.678870", "rc": 0, "start": "2023-12-20 20:39:10.668814" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:39:10 +0000 (0:00:00.174) 0:00:20.306 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:39:10 +0000 (0:00:00.037) 0:00:20.344 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:39:10 +0000 (0:00:00.184) 0:00:20.529 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:39:11 +0000 (0:00:00.053) 0:00:20.582 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=89 changed=4 unreachable=0 failed=0 skipped=82 rescued=0 ignored=2 Wednesday 20 December 2023 20:39:11 +0000 (0:00:00.045) 0:00:20.628 **** =============================================================================== linux-system-roles.network : Check which packages are installed --------- 1.11s /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.81s /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.70s /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.69s /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.68s /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 0.63s /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gathering Facts --------------------------------------------------------- 0.54s /WORKDIR/git-skip_initscripts7ttc67ni/tests/tests_ethtool_ring_initscripts.yml:4 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.48s /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:113 Install yum-utils package ----------------------------------------------- 0.46s /WORKDIR/git-skip_initscripts7ttc67ni/tests/tasks/enable_epel.yml:24 ---------- Gathering Facts --------------------------------------------------------- 0.42s /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:3 Create veth interface testnic1 ------------------------------------------ 0.41s /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:24 Install ethtool (test dependency) --------------------------------------- 0.41s /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tests_ethtool_ring.yml:26 Install iproute --------------------------------------------------------- 0.40s /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.35s /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Re-test connectivity ----------------------- 0.34s /WORKDIR/git-skip_initscripts7ttc67ni/tests/roles/linux-system-roles.network/tasks/main.yml:155 Install iproute --------------------------------------------------------- 0.34s /WORKDIR/git-skip_initscripts7ttc67ni/tests/playbooks/tasks/manage_test_interface.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---