# 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_rewrite73us5rz2/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_rewrite73us5rz2/tests/tests_ethtool_coalesce_initscripts.yml:5 Tuesday 13 February 2024 00:45:49 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tests_ethtool_coalesce_initscripts.yml:8 Tuesday 13 February 2024 00:45:50 +0000 (0:00:00.737) 0:00:00.748 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 00:45:50 +0000 (0:00:00.010) 0:00:00.759 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:19 Tuesday 13 February 2024 00:45:50 +0000 (0:00:00.372) 0:00:01.132 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:24 Tuesday 13 February 2024 00:45:50 +0000 (0:00:00.251) 0:00:01.384 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:28 Tuesday 13 February 2024 00:45:50 +0000 (0:00:00.021) 0:00:01.405 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/el_repo_setup.yml:53 Tuesday 13 February 2024 00:45:50 +0000 (0:00:00.018) 0:00:01.423 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 00:45:50 +0000 (0:00:00.030) 0:00:01.454 ****** 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_rewrite73us5rz2/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 00:45:51 +0000 (0:00:00.255) 0:00:01.709 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 00:45:51 +0000 (0:00:00.010) 0:00:01.720 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 00:45:51 +0000 (0:00:00.010) 0:00:01.730 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.267552", "end": "2024-02-13 00:45:51.580814", "rc": 0, "start": "2024-02-13 00:45:51.313262" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 00:45:51 +0000 (0:00:00.469) 0:00:02.200 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tests_ethtool_coalesce_initscripts.yml:10 Tuesday 13 February 2024 00:45:51 +0000 (0:00:00.009) 0:00:02.209 ****** 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_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:3 Tuesday 13 February 2024 00:45:51 +0000 (0:00:00.011) 0:00:02.220 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:9 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.512) 0:00:02.732 ****** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:15 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.010) 0:00:02.743 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:18 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.010) 0:00:02.754 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.011) 0:00:02.766 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.011) 0:00:02.777 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003237", "end": "2024-02-13 00:45:52.364546", "rc": 0, "start": "2024-02-13 00:45:52.361309" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.203) 0:00:02.981 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.011) 0:00:02.993 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:20 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.010) 0:00:03.003 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.015) 0:00:03.018 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.009) 0:00:03.027 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.009) 0:00:03.037 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.012) 0:00:03.049 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.011) 0:00:03.061 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003319", "end": "2024-02-13 00:45:52.647769", "rc": 0, "start": "2024-02-13 00:45:52.644450" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.203) 0:00:03.264 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.011) 0:00:03.276 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 00:45:52 +0000 (0:00:00.010) 0:00:03.286 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 00:45:55 +0000 (0:00:02.969) 0:00:06.256 ****** 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.016791", "end": "2024-02-13 00:45:55.861011", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-02-13 00:45:55.844220" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004562", "end": "2024-02-13 00:45:56.109280", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-02-13 00:45:56.104718" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004713", "end": "2024-02-13 00:45:56.312130", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-02-13 00:45:56.307417" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 00:45:56 +0000 (0:00:00.674) 0:00:06.931 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.103612", "end": "2024-02-13 00:45:56.624830", "rc": 0, "start": "2024-02-13 00:45:56.521218" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 00:45:56 +0000 (0:00:00.314) 0:00:07.245 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 00:45:56 +0000 (0:00:00.011) 0:00:07.257 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 00:45:56 +0000 (0:00:00.011) 0:00:07.268 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 00:45:56 +0000 (0:00:00.010) 0:00:07.278 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 00:45:56 +0000 (0:00:00.010) 0:00:07.289 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:24 Tuesday 13 February 2024 00:45:56 +0000 (0:00:00.010) 0:00:07.299 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 00:45:56 +0000 (0:00:00.013) 0:00:07.313 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 00:45:56 +0000 (0:00:00.012) 0:00:07.325 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707785155.8556843, "block_size": 4096, "blocks": 0, "ctime": 1707785155.8556843, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21682, "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": 1707785155.8556843, "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_rewrite73us5rz2/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 00:45:56 +0000 (0:00:00.207) 0:00:07.533 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:26 Tuesday 13 February 2024 00:45:56 +0000 (0:00:00.012) 0:00:07.546 ****** 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_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:35 Tuesday 13 February 2024 00:45:59 +0000 (0:00:02.843) 0:00:10.389 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 00:45:59 +0000 (0:00:00.010) 0:00:10.400 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 00:45:59 +0000 (0:00:00.067) 0:00:10.467 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 00:45:59 +0000 (0:00:00.012) 0:00:10.479 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 00:45:59 +0000 (0:00:00.010) 0:00:10.490 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 00:45:59 +0000 (0:00:00.010) 0:00:10.501 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 00:46:01 +0000 (0:00:01.612) 0:00:12.113 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 00:46:03 +0000 (0:00:01.616) 0:00:13.730 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 00:46:03 +0000 (0:00:00.022) 0:00:13.752 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 00:46:03 +0000 (0:00:00.020) 0:00:13.772 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 00:46:03 +0000 (0:00:00.020) 0:00:13.793 ****** changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 00:46:07 +0000 (0:00:04.185) 0:00:17.978 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 00:46:07 +0000 (0:00:00.022) 0:00:18.001 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 00:46:07 +0000 (0:00:00.021) 0:00:18.023 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 00:46:07 +0000 (0:00:00.026) 0:00:18.049 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 00:46:07 +0000 (0:00:00.022) 0:00:18.071 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 00:46:07 +0000 (0:00:00.020) 0:00:18.092 ****** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 00:46:08 +0000 (0:00:00.823) 0:00:18.916 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-267630tt81cq7/tmp5xr3uo68" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 00:46:08 +0000 (0:00:00.317) 0:00:19.233 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 00:46:09 +0000 (0:00:00.576) 0:00:19.809 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 00:46:09 +0000 (0:00:00.022) 0:00:19.832 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 00:46:09 +0000 (0:00:00.023) 0:00:19.856 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 00:46:09 +0000 (0:00:00.022) 0:00:19.879 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 00:46:09 +0000 (0:00:00.020) 0:00:19.899 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:51 Tuesday 13 February 2024 00:46:09 +0000 (0:00:00.292) 0:00:20.192 ****** 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_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:57 Tuesday 13 February 2024 00:46:09 +0000 (0:00:00.029) 0:00:20.221 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:62 Tuesday 13 February 2024 00:46:09 +0000 (0:00:00.023) 0:00:20.244 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003172", "end": "2024-02-13 00:46:09.834514", "rc": 1, "start": "2024-02-13 00:46:09.831342" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:70 Tuesday 13 February 2024 00:46:09 +0000 (0:00:00.216) 0:00:20.461 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx-frames.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:76 Tuesday 13 February 2024 00:46:09 +0000 (0:00:00.023) 0:00:20.485 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 00:46:09 +0000 (0:00:00.021) 0:00:20.506 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 00:46:09 +0000 (0:00:00.058) 0:00:20.564 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 00:46:09 +0000 (0:00:00.027) 0:00:20.592 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 00:46:10 +0000 (0:00:00.023) 0:00:20.615 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 00:46:10 +0000 (0:00:00.022) 0:00:20.638 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 00:46:11 +0000 (0:00:01.686) 0:00:22.324 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 00:46:13 +0000 (0:00:01.431) 0:00:23.756 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 00:46:13 +0000 (0:00:00.024) 0:00:23.780 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 00:46:13 +0000 (0:00:00.021) 0:00:23.802 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 00:46:13 +0000 (0:00:00.024) 0:00:23.827 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 00:46:13 +0000 (0:00:00.047) 0:00:23.874 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 00:46:13 +0000 (0:00:00.021) 0:00:23.896 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 00:46:13 +0000 (0:00:00.022) 0:00:23.918 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 00:46:13 +0000 (0:00:00.024) 0:00:23.943 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 00:46:13 +0000 (0:00:00.021) 0:00:23.965 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 00:46:13 +0000 (0:00:00.021) 0:00:23.987 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 00:46:13 +0000 (0:00:00.389) 0:00:24.376 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-267630tt81cq7/tmpwjnckajp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 00:46:14 +0000 (0:00:00.324) 0:00:24.700 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 00:46:14 +0000 (0:00:00.477) 0:00:25.178 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 00:46:14 +0000 (0:00:00.021) 0:00:25.199 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 00:46:14 +0000 (0:00:00.022) 0:00:25.222 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 00:46:14 +0000 (0:00:00.023) 0:00:25.245 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 00:46:14 +0000 (0:00:00.020) 0:00:25.265 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:94 Tuesday 13 February 2024 00:46:14 +0000 (0:00:00.221) 0:00:25.486 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert coalesce options set in profile] ********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:100 Tuesday 13 February 2024 00:46:14 +0000 (0:00:00.022) 0:00:25.509 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:106 Tuesday 13 February 2024 00:46:14 +0000 (0:00:00.020) 0:00:25.529 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:01.004738", "end": "2024-02-13 00:46:16.123349", "rc": 0, "start": "2024-02-13 00:46:15.118611" } STDOUT: ETHTOOL_OPTS="-C testnic1 rx-frames 128" TASK [Assert coalesce options set in profile] ********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:114 Tuesday 13 February 2024 00:46:16 +0000 (0:00:01.225) 0:00:26.754 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear coalescing options] ************************************ task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:120 Tuesday 13 February 2024 00:46:16 +0000 (0:00:00.024) 0:00:26.778 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 00:46:16 +0000 (0:00:00.022) 0:00:26.801 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 00:46:16 +0000 (0:00:00.037) 0:00:26.838 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 00:46:16 +0000 (0:00:00.028) 0:00:26.866 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 00:46:16 +0000 (0:00:00.021) 0:00:26.888 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 00:46:16 +0000 (0:00:00.022) 0:00:26.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 00:46:17 +0000 (0:00:01.639) 0:00:28.550 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 00:46:19 +0000 (0:00:01.460) 0:00:30.010 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 00:46:19 +0000 (0:00:00.031) 0:00:30.042 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 00:46:19 +0000 (0:00:00.049) 0:00:30.091 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 00:46:19 +0000 (0:00:00.025) 0:00:30.116 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 00:46:19 +0000 (0:00:00.047) 0:00:30.164 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 00:46:19 +0000 (0:00:00.022) 0:00:30.187 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 00:46:19 +0000 (0:00:00.022) 0:00:30.209 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 00:46:19 +0000 (0:00:00.027) 0:00:30.236 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 00:46:19 +0000 (0:00:00.045) 0:00:30.282 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 00:46:19 +0000 (0:00:00.022) 0:00:30.304 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 00:46:20 +0000 (0:00:00.389) 0:00:30.694 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-267630tt81cq7/tmpvscpb5_k" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 00:46:20 +0000 (0:00:00.330) 0:00:31.024 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 00:46:20 +0000 (0:00:00.457) 0:00:31.481 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 00:46:20 +0000 (0:00:00.022) 0:00:31.504 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 00:46:20 +0000 (0:00:00.023) 0:00:31.527 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 00:46:20 +0000 (0:00:00.023) 0:00:31.550 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 00:46:20 +0000 (0:00:00.022) 0:00:31.573 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:135 Tuesday 13 February 2024 00:46:21 +0000 (0:00:00.215) 0:00:31.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:141 Tuesday 13 February 2024 00:46:21 +0000 (0:00:00.022) 0:00:31.811 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:146 Tuesday 13 February 2024 00:46:21 +0000 (0:00:00.021) 0:00:31.833 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003845", "end": "2024-02-13 00:46:21.426700", "rc": 1, "start": "2024-02-13 00:46:21.422855" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:154 Tuesday 13 February 2024 00:46:21 +0000 (0:00:00.222) 0:00:32.056 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 00:46:21 +0000 (0:00:00.026) 0:00:32.082 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 00:46:21 +0000 (0:00:00.039) 0:00:32.121 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 00:46:21 +0000 (0:00:00.027) 0:00:32.149 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 00:46:21 +0000 (0:00:00.022) 0:00:32.172 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 00:46:21 +0000 (0:00:00.022) 0:00:32.194 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 00:46:23 +0000 (0:00:01.655) 0:00:33.849 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 00:46:24 +0000 (0:00:01.449) 0:00:35.299 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 00:46:24 +0000 (0:00:00.023) 0:00:35.322 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 00:46:24 +0000 (0:00:00.021) 0:00:35.344 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 00:46:24 +0000 (0:00:00.020) 0:00:35.365 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 00:46:24 +0000 (0:00:00.043) 0:00:35.408 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 00:46:24 +0000 (0:00:00.022) 0:00:35.430 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 00:46:24 +0000 (0:00:00.020) 0:00:35.451 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 00:46:24 +0000 (0:00:00.023) 0:00:35.475 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 00:46:24 +0000 (0:00:00.020) 0:00:35.495 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 00:46:24 +0000 (0:00:00.043) 0:00:35.539 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 00:46:25 +0000 (0:00:00.382) 0:00:35.922 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-267630tt81cq7/tmpsh6gzm91" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 00:46:25 +0000 (0:00:00.312) 0:00:36.234 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 00:46:25 +0000 (0:00:00.332) 0:00:36.566 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 00:46:25 +0000 (0:00:00.021) 0:00:36.588 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 00:46:26 +0000 (0:00:00.023) 0:00:36.611 ****** 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_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 00:46:26 +0000 (0:00:00.022) 0:00:36.634 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 00:46:26 +0000 (0:00:00.020) 0:00:36.654 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:173 Tuesday 13 February 2024 00:46:26 +0000 (0:00:00.209) 0:00:36.863 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 00:46:26 +0000 (0:00:00.039) 0:00:36.902 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 00:46:26 +0000 (0:00:00.045) 0:00:36.948 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 00:46:26 +0000 (0:00:00.021) 0:00:36.970 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 00:46:26 +0000 (0:00:00.036) 0:00:37.007 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 00:46:26 +0000 (0:00:00.034) 0:00:37.041 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003488", "end": "2024-02-13 00:46:26.631113", "rc": 0, "start": "2024-02-13 00:46:26.627625" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 00:46:26 +0000 (0:00:00.219) 0:00:37.261 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 00:46:26 +0000 (0:00:00.024) 0:00:37.285 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 00:46:26 +0000 (0:00:00.021) 0:00:37.307 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 00:46:29 +0000 (0:00:02.758) 0:00:40.066 ****** 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_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 00:46:29 +0000 (0:00:00.032) 0:00:40.098 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 00:46:29 +0000 (0:00:00.023) 0:00:40.121 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.011675", "end": "2024-02-13 00:46:29.721065", "rc": 0, "start": "2024-02-13 00:46:29.709390" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 00:46:29 +0000 (0:00:00.232) 0:00:40.354 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 00:46:29 +0000 (0:00:00.023) 0:00:40.378 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 00:46:29 +0000 (0:00:00.022) 0:00:40.401 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 00:46:29 +0000 (0:00:00.023) 0:00:40.424 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:177 Tuesday 13 February 2024 00:46:29 +0000 (0:00:00.022) 0:00:40.446 ****** included: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 00:46:29 +0000 (0:00:00.039) 0:00:40.486 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip 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\ntype -p resolvectl && resolvectl\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.017059", "end": "2024-02-13 00:46:30.097531", "rc": 1, "start": "2024-02-13 00:46:30.080472" } 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:45:02:f8:41:ad brd ff:ff:ff:ff:ff:ff inet 10.31.44.87/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2808sec preferred_lft 2808sec inet6 fe80::45:2ff:fef8:41ad/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.87 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.87 metric 100 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 /usr/bin/resolvectl STDERR: Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found. MSG: non-zero return code to retry, use: --limit @/tmp/tests_ethtool_coalesce_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=90 changed=6 unreachable=0 failed=1 skipped=76 rescued=0 ignored=2 Tuesday 13 February 2024 00:46:30 +0000 (0:00:00.227) 0:00:40.713 ****** =============================================================================== linux-system-roles.network : Install packages --------------------------- 4.23s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install iproute --------------------------------------------------------- 2.97s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 2.84s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:26 Install iproute --------------------------------------------------------- 2.76s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.62s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.46s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.43s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Get profile's coalescing options ---------------------------------------- 1.23s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:106 linux-system-roles.network : Enable network service --------------------- 1.21s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.03s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/tests_ethtool_coalesce_initscripts.yml:5 Create veth interface testnic1 ------------------------------------------ 0.67s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.65s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/playbooks/tests_ethtool_coalesce.yml:3 linux-system-roles.network : Re-test connectivity ----------------------- 0.51s /WORKDIR/git-bond_options_rewrite73us5rz2/tests/roles/linux-system-roles.network/tasks/main.yml:158 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---