# 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_rewritekpsknqfm/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_rewritekpsknqfm/tests/tests_ethtool_ring_initscripts.yml:5 Wednesday 14 February 2024 00:26:34 +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-bond_options_rewritekpsknqfm/tests/tests_ethtool_ring_initscripts.yml:8 Wednesday 14 February 2024 00:26:35 +0000 (0:00:00.585) 0:00:00.597 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/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_rewritekpsknqfm/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 00:26:35 +0000 (0:00:00.011) 0:00:00.608 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 00:26:35 +0000 (0:00:00.221) 0:00:00.830 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 00:26:35 +0000 (0:00:00.190) 0:00:01.020 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 00:26:35 +0000 (0:00:00.044) 0:00:01.065 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 00:26:35 +0000 (0:00:00.017) 0:00:01.082 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 00:26:35 +0000 (0:00:00.028) 0:00:01.111 **** 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_rewritekpsknqfm/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 00:26:36 +0000 (0:00:00.168) 0:00:01.280 **** 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_rewritekpsknqfm/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 00:26:36 +0000 (0:00:00.436) 0:00:01.717 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.199979", "end": "2024-02-14 00:26:36.781107", "rc": 0, "start": "2024-02-14 00:26:36.581128" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 00:26:36 +0000 (0:00:00.325) 0:00:02.042 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 00:26:36 +0000 (0:00:00.010) 0:00:02.052 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/tests_ethtool_ring_initscripts.yml:10 Wednesday 14 February 2024 00:26:36 +0000 (0:00:00.009) 0:00:02.061 **** 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_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:3 Wednesday 14 February 2024 00:26:36 +0000 (0:00:00.010) 0:00:02.072 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:9 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.397) 0:00:02.470 **** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:15 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.010) 0:00:02.481 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:18 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.010) 0:00:02.491 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.011) 0:00:02.503 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.012) 0:00:02.515 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003553", "end": "2024-02-14 00:26:37.380990", "rc": 0, "start": "2024-02-14 00:26:37.377437" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.124) 0:00:02.639 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.011) 0:00:02.651 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:20 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.010) 0:00:02.662 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.016) 0:00:02.678 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.009) 0:00:02.688 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.009) 0:00:02.698 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.013) 0:00:02.711 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.013) 0:00:02.725 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003499", "end": "2024-02-14 00:26:37.588593", "rc": 0, "start": "2024-02-14 00:26:37.585094" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.122) 0:00:02.848 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.011) 0:00:02.859 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.010) 0:00:02.870 **** 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_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 00:26:37 +0000 (0:00:00.369) 0:00:03.239 **** 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.012664", "end": "2024-02-14 00:26:38.114124", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-02-14 00:26:38.101460" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.006993", "end": "2024-02-14 00:26:38.241866", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-02-14 00:26:38.234873" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.007878", "end": "2024-02-14 00:26:38.361389", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-02-14 00:26:38.353511" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 00:26:38 +0000 (0:00:00.384) 0:00:03.624 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.025850", "end": "2024-02-14 00:26:38.513038", "rc": 0, "start": "2024-02-14 00:26:38.487188" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 00:26:38 +0000 (0:00:00.150) 0:00:03.775 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 00:26:38 +0000 (0:00:00.011) 0:00:03.786 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 00:26:38 +0000 (0:00:00.011) 0:00:03.797 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:26:38 +0000 (0:00:00.011) 0:00:03.809 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 00:26:38 +0000 (0:00:00.011) 0:00:03.821 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:24 Wednesday 14 February 2024 00:26:38 +0000 (0:00:00.010) 0:00:03.832 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:26:38 +0000 (0:00:00.015) 0:00:03.847 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:26:38 +0000 (0:00:00.014) 0:00:03.861 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707870398.1182566, "block_size": 4096, "blocks": 0, "ctime": 1707870398.1182566, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17599, "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": 1707870398.1182566, "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_rewritekpsknqfm/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:26:38 +0000 (0:00:00.125) 0:00:03.986 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:26 Wednesday 14 February 2024 00:26:38 +0000 (0:00:00.013) 0:00:03.999 **** 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_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:35 Wednesday 14 February 2024 00:26:39 +0000 (0:00:00.371) 0:00:04.371 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:26:39 +0000 (0:00:00.010) 0:00:04.382 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:26:39 +0000 (0:00:00.065) 0:00:04.447 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:26:39 +0000 (0:00:00.012) 0:00:04.459 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:26:39 +0000 (0:00:00.010) 0:00:04.470 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:26:39 +0000 (0:00:00.011) 0:00:04.482 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:26:40 +0000 (0:00:00.833) 0:00:05.315 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:26:40 +0000 (0:00:00.815) 0:00:06.131 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:26:40 +0000 (0:00:00.022) 0:00:06.153 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:26:40 +0000 (0:00:00.021) 0:00:06.175 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:26:40 +0000 (0:00:00.020) 0:00:06.195 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:26:40 +0000 (0:00:00.041) 0:00:06.237 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:26:41 +0000 (0:00:00.020) 0:00:06.258 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:26:41 +0000 (0:00:00.019) 0:00:06.277 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:26:41 +0000 (0:00:00.024) 0:00:06.302 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:26:41 +0000 (0:00:00.020) 0:00:06.322 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:26:41 +0000 (0:00:00.019) 0:00:06.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-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:26:41 +0000 (0:00:00.350) 0:00:06.692 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-117008n97m8fc/tmpq387ui1b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:26:41 +0000 (0:00:00.207) 0:00:06.899 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.423) 0:00:07.323 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.021) 0:00:07.344 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.045) 0:00:07.390 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.027) 0:00:07.417 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.020) 0:00:07.438 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:51 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.171) 0:00:07.609 **** 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_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:57 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.022) 0:00:07.631 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:62 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.022) 0:00:07.654 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003587", "end": "2024-02-14 00:26:42.530111", "rc": 1, "start": "2024-02-14 00:26:42.526524" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:70 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.145) 0:00:07.799 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:76 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.025) 0:00:07.824 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.021) 0:00:07.846 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.036) 0:00:07.882 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.028) 0:00:07.911 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.026) 0:00:07.938 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:26:42 +0000 (0:00:00.021) 0:00:07.960 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:26:43 +0000 (0:00:00.762) 0:00:08.723 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:26:44 +0000 (0:00:00.634) 0:00:09.358 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:26:44 +0000 (0:00:00.023) 0:00:09.381 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:26:44 +0000 (0:00:00.021) 0:00:09.403 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:26:44 +0000 (0:00:00.021) 0:00:09.424 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:26:44 +0000 (0:00:00.043) 0:00:09.467 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:26:44 +0000 (0:00:00.022) 0:00:09.490 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:26:44 +0000 (0:00:00.023) 0:00:09.513 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:26:44 +0000 (0:00:00.024) 0:00:09.537 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:26:44 +0000 (0:00:00.020) 0:00:09.557 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:26:44 +0000 (0:00:00.020) 0:00:09.578 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:26:44 +0000 (0:00:00.229) 0:00:09.807 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-117008n97m8fc/tmp9o9px7x5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:26:44 +0000 (0:00:00.229) 0:00:10.037 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.329) 0:00:10.366 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.020) 0:00:10.387 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.021) 0:00:10.408 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.021) 0:00:10.430 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.019) 0:00:10.450 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:98 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.124) 0:00:10.574 **** 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_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:104 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.020) 0:00:10.595 **** 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_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:109 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.019) 0:00:10.614 **** 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_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:115 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.018) 0:00:10.633 **** 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_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:120 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.019) 0:00:10.652 **** 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_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:126 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.018) 0:00:10.671 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:131 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.019) 0:00:10.690 **** 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_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:137 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.019) 0:00:10.710 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring options] ************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:143 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.018) 0:00:10.728 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003268", "end": "2024-02-14 00:26:45.592681", "rc": 0, "start": "2024-02-14 00:26:45.589413" } 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_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:151 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.132) 0:00:10.861 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:161 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.050) 0:00:10.911 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.021) 0:00:10.933 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.035) 0:00:10.969 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.025) 0:00:10.994 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.020) 0:00:11.015 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:26:45 +0000 (0:00:00.019) 0:00:11.034 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:26:46 +0000 (0:00:00.755) 0:00:11.789 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:26:47 +0000 (0:00:00.642) 0:00:12.432 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:26:47 +0000 (0:00:00.021) 0:00:12.454 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:26:47 +0000 (0:00:00.043) 0:00:12.497 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:26:47 +0000 (0:00:00.021) 0:00:12.518 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:26:47 +0000 (0:00:00.042) 0:00:12.561 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:26:47 +0000 (0:00:00.020) 0:00:12.581 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:26:47 +0000 (0:00:00.020) 0:00:12.602 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:26:47 +0000 (0:00:00.024) 0:00:12.626 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:26:47 +0000 (0:00:00.020) 0:00:12.647 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:26:47 +0000 (0:00:00.019) 0:00:12.666 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:26:47 +0000 (0:00:00.226) 0:00:12.893 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-117008n97m8fc/tmp8qgy3j62" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:26:47 +0000 (0:00:00.209) 0:00:13.102 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.317) 0:00:13.419 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.021) 0:00:13.440 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.023) 0:00:13.463 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.032) 0:00:13.496 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.025) 0:00:13.522 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:176 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.130) 0:00:13.653 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:182 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.043) 0:00:13.697 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:187 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.020) 0:00:13.717 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003643", "end": "2024-02-14 00:26:48.584631", "rc": 1, "start": "2024-02-14 00:26:48.580988" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:195 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.137) 0:00:13.854 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.024) 0:00:13.879 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.036) 0:00:13.916 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.025) 0:00:13.942 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.020) 0:00:13.962 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:26:48 +0000 (0:00:00.019) 0:00:13.982 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:26:49 +0000 (0:00:00.735) 0:00:14.717 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:26:50 +0000 (0:00:00.661) 0:00:15.379 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:26:50 +0000 (0:00:00.023) 0:00:15.403 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:26:50 +0000 (0:00:00.021) 0:00:15.424 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:26:50 +0000 (0:00:00.022) 0:00:15.446 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:26:50 +0000 (0:00:00.045) 0:00:15.492 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:26:50 +0000 (0:00:00.022) 0:00:15.514 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:26:50 +0000 (0:00:00.024) 0:00:15.538 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:26:50 +0000 (0:00:00.031) 0:00:15.570 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:26:50 +0000 (0:00:00.021) 0:00:15.592 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:26:50 +0000 (0:00:00.021) 0:00:15.614 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:26:50 +0000 (0:00:00.234) 0:00:15.848 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-117008n97m8fc/tmpdnxt4zmg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:26:50 +0000 (0:00:00.229) 0:00:16.077 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.241) 0:00:16.319 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.020) 0:00:16.340 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.021) 0:00:16.361 **** 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_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.021) 0:00:16.383 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.047) 0:00:16.431 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:214 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.126) 0:00:16.557 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.037) 0:00:16.595 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.020) 0:00:16.615 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.021) 0:00:16.637 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.035) 0:00:16.672 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.033) 0:00:16.706 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003609", "end": "2024-02-14 00:26:51.570920", "rc": 0, "start": "2024-02-14 00:26:51.567311" } STDOUT: bond0 bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.134) 0:00:16.840 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.022) 0:00:16.862 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.020) 0:00:16.882 **** 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_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.332) 0:00:17.214 **** 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_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 00:26:51 +0000 (0:00:00.030) 0:00:17.245 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 00:26:52 +0000 (0:00:00.021) 0:00:17.267 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.013799", "end": "2024-02-14 00:26:52.142883", "rc": 0, "start": "2024-02-14 00:26:52.129084" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 00:26:52 +0000 (0:00:00.172) 0:00:17.439 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 00:26:52 +0000 (0:00:00.022) 0:00:17.462 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:26:52 +0000 (0:00:00.023) 0:00:17.486 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 00:26:52 +0000 (0:00:00.022) 0:00:17.508 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:218 Wednesday 14 February 2024 00:26:52 +0000 (0:00:00.021) 0:00:17.529 **** included: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 00:26:52 +0000 (0:00:00.039) 0:00:17.568 **** 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.007778", "end": "2024-02-14 00:26:52.438805", "rc": 0, "start": "2024-02-14 00:26:52.431027" } 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 02:bc:f0:83:71:dd brd ff:ff:ff:ff:ff:ff inet 10.31.44.56/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 2755sec preferred_lft 2755sec inet6 fe80::bc:f0ff:fe83:71dd/64 scope link valid_lft forever preferred_lft forever 16: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 46:85:8f:a3:eb:d6 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.56 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_rewritekpsknqfm/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 00:26:52 +0000 (0:00:00.140) 0:00:17.708 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=91 changed=4 unreachable=0 failed=0 skipped=83 rescued=0 ignored=2 Wednesday 14 February 2024 00:26:52 +0000 (0:00:00.013) 0:00:17.722 **** =============================================================================== linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.82s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 0.74s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.66s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.64s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.63s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.59s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/tests_ethtool_ring_initscripts.yml:5 linux-system-roles.network : Enable network service --------------------- 0.58s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Install yum-utils package ----------------------------------------------- 0.44s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/tasks/enable_epel.yml:24 ------ linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.42s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gathering Facts --------------------------------------------------------- 0.40s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:3 Create veth interface testnic1 ------------------------------------------ 0.38s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:28 Install ethtool (test dependency) --------------------------------------- 0.37s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tests_ethtool_ring.yml:26 Install iproute --------------------------------------------------------- 0.37s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.33s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Enable EPEL 7 ----------------------------------------------------------- 0.33s /WORKDIR/git-bond_options_rewritekpsknqfm/tests/tasks/enable_epel.yml:30 ------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---