# 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-bond_options_rewritejycikpsa/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-bond_options_rewritejycikpsa/tests/tests_ethtool_ring_initscripts.yml:5 Wednesday 14 February 2024 17:16:17 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tests_ethtool_ring_initscripts.yml:8 Wednesday 14 February 2024 17:16:18 +0000 (0:00:00.657) 0:00:00.669 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:16:18 +0000 (0:00:00.010) 0:00:00.680 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 17:16:18 +0000 (0:00:00.234) 0:00:00.914 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 17:16:18 +0000 (0:00:00.221) 0:00:01.135 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 17:16:18 +0000 (0:00:00.019) 0:00:01.155 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 17:16:18 +0000 (0:00:00.016) 0:00:01.172 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:16:18 +0000 (0:00:00.028) 0:00:01.200 **** 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-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.214) 0:00:01.415 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.532) 0:00:01.947 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.188910", "end": "2024-02-14 17:16:19.871644", "rc": 0, "start": "2024-02-14 17:16:19.682734" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.354) 0:00:02.302 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.011) 0:00:02.313 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tests_ethtool_ring_initscripts.yml:10 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.009) 0:00:02.323 **** 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:3 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.011) 0:00:02.334 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:9 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.384) 0:00:02.718 **** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:15 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.011) 0:00:02.729 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:18 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.010) 0:00:02.740 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.012) 0:00:02.752 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.013) 0:00:02.765 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003998", "end": "2024-02-14 17:16:20.465290", "rc": 0, "start": "2024-02-14 17:16:20.461292" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.129) 0:00:02.894 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.013) 0:00:02.907 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:20 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.010) 0:00:02.918 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.016) 0:00:02.935 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.010) 0:00:02.945 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.010) 0:00:02.956 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.012) 0:00:02.969 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.012) 0:00:02.982 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004027", "end": "2024-02-14 17:16:20.681341", "rc": 0, "start": "2024-02-14 17:16:20.677314" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.128) 0:00:03.110 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.011) 0:00:03.122 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.011) 0:00:03.134 **** 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 testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.384) 0:00:03.518 **** 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.016003", "end": "2024-02-14 17:16:21.235305", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-02-14 17:16:21.219302" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004169", "end": "2024-02-14 17:16:21.365173", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-02-14 17:16:21.361004" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.005205", "end": "2024-02-14 17:16:21.487245", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-02-14 17:16:21.482040" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.398) 0:00:03.917 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.026556", "end": "2024-02-14 17:16:21.639311", "rc": 0, "start": "2024-02-14 17:16:21.612755" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.152) 0:00:04.069 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.011) 0:00:04.081 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.011) 0:00:04.092 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.010) 0:00:04.102 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.010) 0:00:04.113 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:24 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.010) 0:00:04.123 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.014) 0:00:04.138 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.012) 0:00:04.150 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930981.2329369, "block_size": 4096, "blocks": 0, "ctime": 1707930981.2329369, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17720, "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": 1707930981.2329369, "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-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.127) 0:00:04.277 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:26 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.011) 0:00:04.289 **** 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:35 Wednesday 14 February 2024 17:16:22 +0000 (0:00:00.381) 0:00:04.670 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:16:22 +0000 (0:00:00.010) 0:00:04.681 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:16:22 +0000 (0:00:00.064) 0:00:04.746 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:16:22 +0000 (0:00:00.011) 0:00:04.758 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:16:22 +0000 (0:00:00.010) 0:00:04.768 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:16:22 +0000 (0:00:00.009) 0:00:04.777 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:16:23 +0000 (0:00:00.825) 0:00:05.602 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:16:24 +0000 (0:00:01.101) 0:00:06.704 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.022) 0:00:06.727 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.020) 0:00:06.747 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.020) 0:00:06.768 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.041) 0:00:06.809 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.018) 0:00:06.828 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.021) 0:00:06.849 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.028) 0:00:06.878 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.020) 0:00:06.898 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.020) 0:00:06.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.365) 0:00:07.285 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11930oh3z4w92/tmp0v7r3142" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:16:25 +0000 (0:00:00.213) 0:00:07.498 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:16:25 +0000 (0:00:00.432) 0:00:07.930 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:16:25 +0000 (0:00:00.020) 0:00:07.951 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:16:25 +0000 (0:00:00.039) 0:00:07.990 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:16:25 +0000 (0:00:00.022) 0:00:08.013 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:16:25 +0000 (0:00:00.019) 0:00:08.032 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:51 Wednesday 14 February 2024 17:16:25 +0000 (0:00:00.178) 0:00:08.210 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain ring options] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:57 Wednesday 14 February 2024 17:16:25 +0000 (0:00:00.020) 0:00:08.231 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:62 Wednesday 14 February 2024 17:16:25 +0000 (0:00:00.020) 0:00:08.252 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003895", "end": "2024-02-14 17:16:25.953224", "rc": 1, "start": "2024-02-14 17:16:25.949329" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:70 Wednesday 14 February 2024 17:16:25 +0000 (0:00:00.137) 0:00:08.390 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:76 Wednesday 14 February 2024 17:16:25 +0000 (0:00:00.022) 0:00:08.412 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.020) 0:00:08.433 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.035) 0:00:08.468 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.024) 0:00:08.493 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.020) 0:00:08.513 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.020) 0:00:08.533 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.756) 0:00:09.290 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.935) 0:00:10.225 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.021) 0:00:10.247 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.021) 0:00:10.269 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.020) 0:00:10.289 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.042) 0:00:10.331 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.020) 0:00:10.351 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.019) 0:00:10.371 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.026) 0:00:10.397 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.020) 0:00:10.418 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.021) 0:00:10.439 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.253) 0:00:10.693 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11930oh3z4w92/tmpk1y4xzwv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.213) 0:00:10.907 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.333) 0:00:11.240 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.022) 0:00:11.263 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.023) 0:00:11.286 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.021) 0:00:11.308 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.028) 0:00:11.336 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:98 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.143) 0:00:11.479 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:104 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.020) 0:00:11.499 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:109 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.019) 0:00:11.518 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:115 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.024) 0:00:11.543 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:120 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.020) 0:00:11.564 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:126 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.020) 0:00:11.584 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:131 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.018) 0:00:11.603 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:137 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.019) 0:00:11.623 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring options] ************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:143 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.018) 0:00:11.642 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003938", "end": "2024-02-14 17:16:29.341407", "rc": 0, "start": "2024-02-14 17:16:29.337469" } 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:151 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.155) 0:00:11.797 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:161 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.025) 0:00:11.822 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.020) 0:00:11.842 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.036) 0:00:11.879 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.025) 0:00:11.904 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.022) 0:00:11.926 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.020) 0:00:11.947 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:16:30 +0000 (0:00:00.733) 0:00:12.680 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:16:31 +0000 (0:00:00.969) 0:00:13.650 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:16:31 +0000 (0:00:00.024) 0:00:13.675 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:16:31 +0000 (0:00:00.023) 0:00:13.698 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:16:31 +0000 (0:00:00.021) 0:00:13.720 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:16:31 +0000 (0:00:00.043) 0:00:13.763 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:16:31 +0000 (0:00:00.027) 0:00:13.791 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:16:31 +0000 (0:00:00.026) 0:00:13.817 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:16:31 +0000 (0:00:00.038) 0:00:13.856 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:16:31 +0000 (0:00:00.022) 0:00:13.879 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:16:31 +0000 (0:00:00.025) 0:00:13.905 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:16:31 +0000 (0:00:00.241) 0:00:14.146 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11930oh3z4w92/tmpozc61f3t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:16:31 +0000 (0:00:00.218) 0:00:14.364 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.333) 0:00:14.698 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.020) 0:00:14.719 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.021) 0:00:14.741 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.042) 0:00:14.783 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.021) 0:00:14.804 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:176 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.134) 0:00:14.939 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:182 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.020) 0:00:14.960 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:187 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.020) 0:00:14.981 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003847", "end": "2024-02-14 17:16:32.680800", "rc": 1, "start": "2024-02-14 17:16:32.676953" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:195 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.137) 0:00:15.118 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.022) 0:00:15.141 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.037) 0:00:15.178 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.027) 0:00:15.206 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.021) 0:00:15.228 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:16:32 +0000 (0:00:00.020) 0:00:15.248 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:16:33 +0000 (0:00:00.729) 0:00:15.977 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:16:34 +0000 (0:00:00.951) 0:00:16.928 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:16:34 +0000 (0:00:00.021) 0:00:16.950 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:16:34 +0000 (0:00:00.019) 0:00:16.970 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:16:34 +0000 (0:00:00.019) 0:00:16.989 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:16:34 +0000 (0:00:00.043) 0:00:17.032 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:16:34 +0000 (0:00:00.021) 0:00:17.054 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:16:34 +0000 (0:00:00.020) 0:00:17.075 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:16:34 +0000 (0:00:00.024) 0:00:17.099 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:16:34 +0000 (0:00:00.020) 0:00:17.120 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:16:34 +0000 (0:00:00.021) 0:00:17.141 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:16:34 +0000 (0:00:00.230) 0:00:17.372 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11930oh3z4w92/tmp6dp7m3eb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:16:35 +0000 (0:00:00.210) 0:00:17.582 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:16:35 +0000 (0:00:00.233) 0:00:17.816 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:16:35 +0000 (0:00:00.020) 0:00:17.837 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:16:35 +0000 (0:00:00.021) 0:00:17.859 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:16:35 +0000 (0:00:00.021) 0:00:17.880 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:16:35 +0000 (0:00:00.019) 0:00:17.900 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:214 Wednesday 14 February 2024 17:16:35 +0000 (0:00:00.132) 0:00:18.032 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:16:35 +0000 (0:00:00.037) 0:00:18.070 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:16:35 +0000 (0:00:00.021) 0:00:18.091 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:16:35 +0000 (0:00:00.020) 0:00:18.112 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:16:35 +0000 (0:00:00.037) 0:00:18.149 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:16:35 +0000 (0:00:00.033) 0:00:18.183 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005335", "end": "2024-02-14 17:16:36.887956", "rc": 0, "start": "2024-02-14 17:16:35.882621" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:16:36 +0000 (0:00:01.146) 0:00:19.329 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:16:36 +0000 (0:00:00.021) 0:00:19.351 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:16:36 +0000 (0:00:00.020) 0:00:19.372 **** 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 testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 17:16:37 +0000 (0:00:00.349) 0:00:19.722 **** 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-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 17:16:37 +0000 (0:00:00.031) 0:00:19.754 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 17:16:37 +0000 (0:00:00.022) 0:00:19.776 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.010706", "end": "2024-02-14 17:16:37.485498", "rc": 0, "start": "2024-02-14 17:16:37.474792" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 17:16:37 +0000 (0:00:00.148) 0:00:19.925 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 17:16:37 +0000 (0:00:00.021) 0:00:19.946 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:16:37 +0000 (0:00:00.021) 0:00:19.968 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 17:16:37 +0000 (0:00:00.021) 0:00:19.989 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:218 Wednesday 14 February 2024 17:16:37 +0000 (0:00:00.020) 0:00:20.009 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:16:37 +0000 (0:00:00.036) 0:00:20.046 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008618", "end": "2024-02-14 17:16:37.751006", "rc": 0, "start": "2024-02-14 17:16:37.742388" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:7d:3b:c4:08:97 brd ff:ff:ff:ff:ff:ff inet 10.31.11.178/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3529sec preferred_lft 3529sec inet6 fe80::107d:3bff:fec4:897/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.178 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:16:37 +0000 (0:00:00.154) 0:00:20.200 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.361970", "end": "2024-02-14 17:16:38.262649", "rc": 0, "start": "2024-02-14 17:16:37.900679" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1587 0 --:--:-- --:--:-- --:--:-- 1588 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1988 0 --:--:-- --:--:-- --:--:-- 1993 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=92 changed=4 unreachable=0 failed=0 skipped=82 rescued=0 ignored=2 Wednesday 14 February 2024 17:16:38 +0000 (0:00:00.490) 0:00:20.690 **** =============================================================================== Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.10s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 0.77s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.73s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.73s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.66s /WORKDIR/git-bond_options_rewritejycikpsa/tests/tests_ethtool_ring_initscripts.yml:5 linux-system-roles.network : Enable network service --------------------- 0.61s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Install yum-utils package ----------------------------------------------- 0.53s /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:24 ------ Verify DNS and ping still work ------------------------------------------ 0.49s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml:24 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.43s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Create veth interface testnic1 ------------------------------------------ 0.40s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.38s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:3 Install iproute --------------------------------------------------------- 0.38s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 0.38s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_ring.yml:26 Enable EPEL 7 ----------------------------------------------------------- 0.35s /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:30 ------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---