# 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_coalesce_initscripts.yml ******************************* 2 plays in /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tests_ethtool_coalesce_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_coalesce.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tests_ethtool_coalesce_initscripts.yml:5 Wednesday 14 February 2024 00:07:03 +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_rewritewm05ls8b/tests/tests_ethtool_coalesce_initscripts.yml:8 Wednesday 14 February 2024 00:07:04 +0000 (0:00:00.732) 0:00:00.744 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 00:07:04 +0000 (0:00:00.011) 0:00:00.756 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 00:07:05 +0000 (0:00:00.336) 0:00:01.092 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 00:07:05 +0000 (0:00:00.267) 0:00:01.360 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 00:07:05 +0000 (0:00:00.022) 0:00:01.382 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 00:07:05 +0000 (0:00:00.018) 0:00:01.401 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 00:07:05 +0000 (0:00:00.032) 0:00:01.434 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.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_rewritewm05ls8b/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 00:07:05 +0000 (0:00:00.255) 0:00:01.689 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 00:07:05 +0000 (0:00:00.014) 0:00:01.703 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 00:07:05 +0000 (0:00:00.012) 0:00:01.716 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.258369", "end": "2024-02-14 00:07:06.055195", "rc": 0, "start": "2024-02-14 00:07:05.796826" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.451) 0:00:02.167 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tests_ethtool_coalesce_initscripts.yml:10 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.010) 0:00:02.177 **** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing ethtool coalesce settings] ****************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:3 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.013) 0:00:02.191 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:9 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.489) 0:00:02.681 **** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:15 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.011) 0:00:02.692 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:18 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.011) 0:00:02.704 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.013) 0:00:02.718 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.013) 0:00:02.731 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003684", "end": "2024-02-14 00:07:06.818193", "rc": 0, "start": "2024-02-14 00:07:06.814509" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.201) 0:00:02.933 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.012) 0:00:02.946 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:20 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.010) 0:00:02.957 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.017) 0:00:02.974 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.012) 0:00:02.987 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.010) 0:00:02.998 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.014) 0:00:03.013 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:07:06 +0000 (0:00:00.014) 0:00:03.027 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003918", "end": "2024-02-14 00:07:07.113029", "rc": 0, "start": "2024-02-14 00:07:07.109111" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:07:07 +0000 (0:00:00.197) 0:00:03.225 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:07:07 +0000 (0:00:00.013) 0:00:03.238 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:07:07 +0000 (0:00:00.012) 0:00:03.250 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 00:07:10 +0000 (0:00:02.921) 0:00:06.172 **** 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.013817", "end": "2024-02-14 00:07:10.272045", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-02-14 00:07:10.258228" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004420", "end": "2024-02-14 00:07:10.507152", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-02-14 00:07:10.502732" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004640", "end": "2024-02-14 00:07:10.699823", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-02-14 00:07:10.695183" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 00:07:10 +0000 (0:00:00.643) 0:00:06.815 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.025762", "end": "2024-02-14 00:07:10.920162", "rc": 0, "start": "2024-02-14 00:07:10.894400" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 00:07:10 +0000 (0:00:00.218) 0:00:07.034 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 00:07:10 +0000 (0:00:00.021) 0:00:07.056 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 00:07:10 +0000 (0:00:00.033) 0:00:07.089 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:07:11 +0000 (0:00:00.040) 0:00:07.130 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 00:07:11 +0000 (0:00:00.013) 0:00:07.143 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:24 Wednesday 14 February 2024 00:07:11 +0000 (0:00:00.016) 0:00:07.159 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:07:11 +0000 (0:00:00.015) 0:00:07.174 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:07:11 +0000 (0:00:00.015) 0:00:07.190 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869230.2625167, "block_size": 4096, "blocks": 0, "ctime": 1707869230.2625167, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30317, "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": 1707869230.2625167, "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_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:07:11 +0000 (0:00:00.195) 0:00:07.385 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:26 Wednesday 14 February 2024 00:07:11 +0000 (0:00:00.014) 0:00:07.400 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can create a profile without any coalescing option.] ************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:35 Wednesday 14 February 2024 00:07:14 +0000 (0:00:02.729) 0:00:10.130 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:07:14 +0000 (0:00:00.012) 0:00:10.142 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:07:14 +0000 (0:00:00.067) 0:00:10.210 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:07:14 +0000 (0:00:00.013) 0:00:10.223 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:07:14 +0000 (0:00:00.014) 0:00:10.238 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:07:14 +0000 (0:00:00.011) 0:00:10.249 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:07:15 +0000 (0:00:01.741) 0:00:11.991 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:07:17 +0000 (0:00:01.516) 0:00:13.508 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:07:17 +0000 (0:00:00.024) 0:00:13.532 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:07:17 +0000 (0:00:00.034) 0:00:13.566 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:07:17 +0000 (0:00:00.039) 0:00:13.606 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:07:17 +0000 (0:00:00.048) 0:00:13.654 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:07:17 +0000 (0:00:00.023) 0:00:13.677 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:07:17 +0000 (0:00:00.022) 0:00:13.700 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:07:17 +0000 (0:00:00.026) 0:00:13.727 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:07:17 +0000 (0:00:00.023) 0:00:13.750 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:07:17 +0000 (0:00:00.024) 0:00:13.774 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:07:18 +0000 (0:00:00.502) 0:00:14.277 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10526cwydlmni/tmphgip4dz9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:07:18 +0000 (0:00:00.312) 0:00:14.589 **** 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.570) 0:00:15.160 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.022) 0:00:15.183 **** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.024) 0:00:15.208 **** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.024) 0:00:15.233 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.024) 0:00:15.257 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:51 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.250) 0:00:15.507 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:57 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.022) 0:00:15.530 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:62 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.022) 0:00:15.553 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003534", "end": "2024-02-14 00:07:19.637646", "rc": 1, "start": "2024-02-14 00:07:19.634112" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:70 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.207) 0:00:15.760 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx-frames.] ********************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:76 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.025) 0:00:15.786 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.023) 0:00:15.809 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.041) 0:00:15.851 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.099) 0:00:15.950 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.025) 0:00:15.975 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:07:19 +0000 (0:00:00.023) 0:00:15.999 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:07:21 +0000 (0:00:01.623) 0:00:17.622 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:07:22 +0000 (0:00:01.350) 0:00:18.973 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:07:22 +0000 (0:00:00.025) 0:00:18.999 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:07:22 +0000 (0:00:00.024) 0:00:19.024 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:07:22 +0000 (0:00:00.023) 0:00:19.048 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:07:23 +0000 (0:00:00.047) 0:00:19.095 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:07:23 +0000 (0:00:00.023) 0:00:19.118 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:07:23 +0000 (0:00:00.031) 0:00:19.150 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:07:23 +0000 (0:00:00.031) 0:00:19.182 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:07:23 +0000 (0:00:00.023) 0:00:19.205 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:07:23 +0000 (0:00:00.024) 0:00:19.230 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:07:23 +0000 (0:00:00.359) 0:00:19.589 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10526cwydlmni/tmpi9avmnjo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:07:23 +0000 (0:00:00.313) 0:00:19.903 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nnetlink error: Operation not supported\nRTNETLINK answers: File exists\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:07:24 +0000 (0:00:00.493) 0:00:20.396 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:07:24 +0000 (0:00:00.024) 0:00:20.421 **** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:07:24 +0000 (0:00:00.026) 0:00:20.447 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:07:24 +0000 (0:00:00.028) 0:00:20.475 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:07:24 +0000 (0:00:00.023) 0:00:20.499 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:94 Wednesday 14 February 2024 00:07:24 +0000 (0:00:00.204) 0:00:20.704 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert coalesce options set in profile] ********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:100 Wednesday 14 February 2024 00:07:24 +0000 (0:00:00.022) 0:00:20.727 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:106 Wednesday 14 February 2024 00:07:24 +0000 (0:00:00.023) 0:00:20.750 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003493", "end": "2024-02-14 00:07:24.836298", "rc": 0, "start": "2024-02-14 00:07:24.832805" } STDOUT: ETHTOOL_OPTS="-C testnic1 rx-frames 128" TASK [Assert coalesce options set in profile] ********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:114 Wednesday 14 February 2024 00:07:24 +0000 (0:00:00.210) 0:00:20.961 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear coalescing options] ************************************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:120 Wednesday 14 February 2024 00:07:24 +0000 (0:00:00.026) 0:00:20.987 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:07:24 +0000 (0:00:00.023) 0:00:21.011 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:07:24 +0000 (0:00:00.046) 0:00:21.058 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:07:24 +0000 (0:00:00.028) 0:00:21.086 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:07:25 +0000 (0:00:00.022) 0:00:21.109 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:07:25 +0000 (0:00:00.022) 0:00:21.132 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:07:26 +0000 (0:00:01.713) 0:00:22.845 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:07:28 +0000 (0:00:01.318) 0:00:24.164 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:07:28 +0000 (0:00:00.025) 0:00:24.189 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:07:28 +0000 (0:00:00.049) 0:00:24.239 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:07:28 +0000 (0:00:00.023) 0:00:24.262 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:07:28 +0000 (0:00:00.048) 0:00:24.311 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:07:28 +0000 (0:00:00.023) 0:00:24.334 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:07:28 +0000 (0:00:00.022) 0:00:24.357 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:07:28 +0000 (0:00:00.027) 0:00:24.384 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:07:28 +0000 (0:00:00.023) 0:00:24.407 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:07:28 +0000 (0:00:00.022) 0:00:24.430 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:07:28 +0000 (0:00:00.370) 0:00:24.800 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10526cwydlmni/tmpsvxg8jjm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:07:29 +0000 (0:00:00.362) 0:00:25.163 **** 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nRTNETLINK answers: File exists\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:07:29 +0000 (0:00:00.428) 0:00:25.591 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:07:29 +0000 (0:00:00.023) 0:00:25.615 **** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:07:29 +0000 (0:00:00.024) 0:00:25.639 **** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:07:29 +0000 (0:00:00.054) 0:00:25.694 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:07:29 +0000 (0:00:00.024) 0:00:25.718 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:135 Wednesday 14 February 2024 00:07:29 +0000 (0:00:00.198) 0:00:25.917 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:141 Wednesday 14 February 2024 00:07:29 +0000 (0:00:00.023) 0:00:25.941 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:146 Wednesday 14 February 2024 00:07:29 +0000 (0:00:00.025) 0:00:25.966 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003594", "end": "2024-02-14 00:07:30.050500", "rc": 1, "start": "2024-02-14 00:07:30.046906" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:154 Wednesday 14 February 2024 00:07:30 +0000 (0:00:00.206) 0:00:26.173 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:07:30 +0000 (0:00:00.026) 0:00:26.200 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:07:30 +0000 (0:00:00.039) 0:00:26.239 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:07:30 +0000 (0:00:00.028) 0:00:26.268 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:07:30 +0000 (0:00:00.023) 0:00:26.292 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:07:30 +0000 (0:00:00.024) 0:00:26.317 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:07:31 +0000 (0:00:01.593) 0:00:27.910 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:07:33 +0000 (0:00:01.327) 0:00:29.238 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:07:33 +0000 (0:00:00.027) 0:00:29.266 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:07:33 +0000 (0:00:00.024) 0:00:29.291 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:07:33 +0000 (0:00:00.023) 0:00:29.314 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:07:33 +0000 (0:00:00.045) 0:00:29.359 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:07:33 +0000 (0:00:00.049) 0:00:29.409 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:07:33 +0000 (0:00:00.023) 0:00:29.433 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:07:33 +0000 (0:00:00.027) 0:00:29.461 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:07:33 +0000 (0:00:00.023) 0:00:29.485 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:07:33 +0000 (0:00:00.022) 0:00:29.508 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:07:33 +0000 (0:00:00.357) 0:00:29.865 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10526cwydlmni/tmpj0jy7v_y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:07:34 +0000 (0:00:00.314) 0:00:30.179 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:07:34 +0000 (0:00:00.319) 0:00:30.498 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:07:34 +0000 (0:00:00.023) 0:00:30.522 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:07:34 +0000 (0:00:00.023) 0:00:30.545 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:07:34 +0000 (0:00:00.025) 0:00:30.571 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:07:34 +0000 (0:00:00.027) 0:00:30.599 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:173 Wednesday 14 February 2024 00:07:34 +0000 (0:00:00.237) 0:00:30.836 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 00:07:34 +0000 (0:00:00.041) 0:00:30.877 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 00:07:34 +0000 (0:00:00.023) 0:00:30.900 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 00:07:34 +0000 (0:00:00.022) 0:00:30.923 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:07:34 +0000 (0:00:00.039) 0:00:30.962 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:07:34 +0000 (0:00:00.039) 0:00:31.002 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003789", "end": "2024-02-14 00:07:35.086273", "rc": 0, "start": "2024-02-14 00:07:35.082484" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:07:35 +0000 (0:00:00.208) 0:00:31.211 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:07:35 +0000 (0:00:00.025) 0:00:31.237 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 00:07:35 +0000 (0:00:00.024) 0:00:31.261 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 00:07:37 +0000 (0:00:02.643) 0:00:33.905 **** 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_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 00:07:37 +0000 (0:00:00.035) 0:00:33.940 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 00:07:37 +0000 (0:00:00.030) 0:00:33.971 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.008460", "end": "2024-02-14 00:07:38.064409", "rc": 0, "start": "2024-02-14 00:07:38.055949" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 00:07:38 +0000 (0:00:00.232) 0:00:34.203 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 00:07:38 +0000 (0:00:00.043) 0:00:34.246 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 00:07:38 +0000 (0:00:00.028) 0:00:34.275 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 00:07:38 +0000 (0:00:00.036) 0:00:34.311 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:177 Wednesday 14 February 2024 00:07:38 +0000 (0:00:00.025) 0:00:34.336 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 00:07:38 +0000 (0:00:00.042) 0:00:34.379 **** 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.010376", "end": "2024-02-14 00:07:38.472245", "rc": 0, "start": "2024-02-14 00:07:38.461869" } 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 0a:7e:43:bf:f4:97 brd ff:ff:ff:ff:ff:ff inet 10.31.14.99/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2502sec preferred_lft 2502sec inet6 fe80::87e:43ff:febf:f497/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.99 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.99 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 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_rewritewm05ls8b/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 00:07:38 +0000 (0:00:00.224) 0:00:34.603 **** 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.271418", "end": "2024-02-14 00:07:38.964213", "rc": 0, "start": "2024-02-14 00:07:38.692795" } STDOUT: CHECK DNS AND CONNECTIVITY 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.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2620:52:3:1:dead:beef:cafe:fed7 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 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 1412 0 --:--:-- --:--:-- --:--:-- 1405 % 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 12125 0 --:--:-- --:--:-- --:--:-- 12125 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=91 changed=4 unreachable=0 failed=0 skipped=77 rescued=0 ignored=2 Wednesday 14 February 2024 00:07:38 +0000 (0:00:00.471) 0:00:35.075 **** =============================================================================== Install iproute --------------------------------------------------------- 2.92s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 2.73s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:26 Install iproute --------------------------------------------------------- 2.64s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.52s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.32s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.00s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 0.87s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tests_ethtool_coalesce_initscripts.yml:5 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.68s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Create veth interface testnic1 ------------------------------------------ 0.64s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Configure networking connection profiles --- 0.49s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_ethtool_coalesce.yml:3 Verify DNS and ping still work ------------------------------------------ 0.47s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/check_network_dns.yml:24 Enable EPEL 8 ----------------------------------------------------------- 0.45s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:35 ------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---