# 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_rewritexl6ptndw/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_rewritexl6ptndw/tests/tests_ethtool_coalesce_initscripts.yml:5 Wednesday 14 February 2024 02:36:24 +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_rewritexl6ptndw/tests/tests_ethtool_coalesce_initscripts.yml:8 Wednesday 14 February 2024 02:36:25 +0000 (0:00:00.771) 0:00:00.784 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:36:25 +0000 (0:00:00.045) 0:00:00.830 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 02:36:26 +0000 (0:00:00.368) 0:00:01.198 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 02:36:26 +0000 (0:00:00.286) 0:00:01.485 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 02:36:26 +0000 (0:00:00.049) 0:00:01.534 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 02:36:26 +0000 (0:00:00.041) 0:00:01.576 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:36:26 +0000 (0:00:00.040) 0:00:01.616 **** 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_rewritexl6ptndw/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:36:26 +0000 (0:00:00.300) 0:00:01.916 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:36:26 +0000 (0:00:00.013) 0:00:01.930 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:36:26 +0000 (0:00:00.034) 0:00:01.964 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.245575", "end": "2024-02-14 02:36:27.329391", "rc": 0, "start": "2024-02-14 02:36:27.083816" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:36:27 +0000 (0:00:00.448) 0:00:02.412 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tests_ethtool_coalesce_initscripts.yml:10 Wednesday 14 February 2024 02:36:27 +0000 (0:00:00.038) 0:00:02.451 **** 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_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:3 Wednesday 14 February 2024 02:36:27 +0000 (0:00:00.044) 0:00:02.496 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:9 Wednesday 14 February 2024 02:36:27 +0000 (0:00:00.505) 0:00:03.001 **** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:15 Wednesday 14 February 2024 02:36:27 +0000 (0:00:00.016) 0:00:03.018 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:18 Wednesday 14 February 2024 02:36:27 +0000 (0:00:00.013) 0:00:03.031 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:36:28 +0000 (0:00:00.023) 0:00:03.055 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:36:28 +0000 (0:00:00.029) 0:00:03.085 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003340", "end": "2024-02-14 02:36:28.211702", "rc": 0, "start": "2024-02-14 02:36:28.208362" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:36:28 +0000 (0:00:00.211) 0:00:03.296 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:36:28 +0000 (0:00:00.014) 0:00:03.311 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:20 Wednesday 14 February 2024 02:36:28 +0000 (0:00:00.013) 0:00:03.325 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:36:28 +0000 (0:00:00.023) 0:00:03.348 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:36:28 +0000 (0:00:00.015) 0:00:03.363 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:36:28 +0000 (0:00:00.011) 0:00:03.375 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:36:28 +0000 (0:00:00.015) 0:00:03.390 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:36:28 +0000 (0:00:00.014) 0:00:03.404 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003364", "end": "2024-02-14 02:36:28.525376", "rc": 0, "start": "2024-02-14 02:36:28.522012" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:36:28 +0000 (0:00:00.187) 0:00:03.592 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:36:28 +0000 (0:00:00.020) 0:00:03.613 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:36:28 +0000 (0:00:00.024) 0:00:03.637 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 02:36:31 +0000 (0:00:02.936) 0:00:06.574 **** 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.009816", "end": "2024-02-14 02:36:31.711068", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-02-14 02:36:31.701252" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003932", "end": "2024-02-14 02:36:31.936585", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-02-14 02:36:31.932653" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004310", "end": "2024-02-14 02:36:32.123360", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-02-14 02:36:32.119050" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 02:36:32 +0000 (0:00:00.622) 0:00:07.196 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.022937", "end": "2024-02-14 02:36:32.353470", "rc": 0, "start": "2024-02-14 02:36:32.330533" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 02:36:32 +0000 (0:00:00.226) 0:00:07.422 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 02:36:32 +0000 (0:00:00.015) 0:00:07.438 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 02:36:32 +0000 (0:00:00.013) 0:00:07.451 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:36:32 +0000 (0:00:00.015) 0:00:07.467 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 02:36:32 +0000 (0:00:00.018) 0:00:07.486 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:24 Wednesday 14 February 2024 02:36:32 +0000 (0:00:00.013) 0:00:07.500 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:36:32 +0000 (0:00:00.016) 0:00:07.516 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:36:32 +0000 (0:00:00.016) 0:00:07.532 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878191.7047284, "block_size": 4096, "blocks": 0, "ctime": 1707878191.7047284, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35187, "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": 1707878191.7047284, "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_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:36:32 +0000 (0:00:00.189) 0:00:07.722 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:26 Wednesday 14 February 2024 02:36:32 +0000 (0:00:00.031) 0:00:07.753 **** 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_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:35 Wednesday 14 February 2024 02:36:35 +0000 (0:00:02.738) 0:00:10.492 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:36:35 +0000 (0:00:00.026) 0:00:10.518 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:36:35 +0000 (0:00:00.074) 0:00:10.593 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:36:35 +0000 (0:00:00.014) 0:00:10.608 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:36:35 +0000 (0:00:00.011) 0:00:10.620 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:36:35 +0000 (0:00:00.021) 0:00:10.641 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:36:37 +0000 (0:00:01.665) 0:00:12.307 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:36:38 +0000 (0:00:01.696) 0:00:14.004 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:36:38 +0000 (0:00:00.040) 0:00:14.044 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:36:39 +0000 (0:00:00.039) 0:00:14.083 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:36:39 +0000 (0:00:00.059) 0:00:14.143 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:36:39 +0000 (0:00:00.096) 0:00:14.240 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:36:39 +0000 (0:00:00.039) 0:00:14.279 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:36:39 +0000 (0:00:00.053) 0:00:14.333 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:36:39 +0000 (0:00:00.049) 0:00:14.382 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:36:39 +0000 (0:00:00.038) 0:00:14.421 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:36:39 +0000 (0:00:00.028) 0:00:14.450 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:36:39 +0000 (0:00:00.524) 0:00:14.974 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10521ni_t1gnp/tmp1zo8oe6v" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:36:40 +0000 (0:00:00.324) 0:00:15.299 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:36:40 +0000 (0:00:00.701) 0:00:16.000 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.109) 0:00:16.109 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.039) 0:00:16.148 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.039) 0:00:16.188 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.033) 0:00:16.221 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:51 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.287) 0:00:16.508 **** 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_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:57 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.024) 0:00:16.533 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:62 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.048) 0:00:16.581 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003192", "end": "2024-02-14 02:36:41.725331", "rc": 1, "start": "2024-02-14 02:36:41.722139" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:70 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.226) 0:00:16.808 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx-frames.] ********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:76 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.026) 0:00:16.835 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.030) 0:00:16.866 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.045) 0:00:16.911 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.029) 0:00:16.941 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.045) 0:00:16.986 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:36:41 +0000 (0:00:00.027) 0:00:17.013 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:36:43 +0000 (0:00:01.526) 0:00:18.540 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:36:44 +0000 (0:00:01.337) 0:00:19.877 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:36:44 +0000 (0:00:00.027) 0:00:19.904 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:36:44 +0000 (0:00:00.025) 0:00:19.930 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:36:44 +0000 (0:00:00.029) 0:00:19.960 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:36:44 +0000 (0:00:00.072) 0:00:20.032 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:36:45 +0000 (0:00:00.084) 0:00:20.117 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:36:45 +0000 (0:00:00.058) 0:00:20.176 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:36:45 +0000 (0:00:00.043) 0:00:20.219 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:36:45 +0000 (0:00:00.049) 0:00:20.269 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:36:45 +0000 (0:00:00.072) 0:00:20.342 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:36:45 +0000 (0:00:00.416) 0:00:20.758 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10521ni_t1gnp/tmp8nazbhaj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:36:46 +0000 (0:00:00.318) 0:00:21.077 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:36:46 +0000 (0:00:00.440) 0:00:21.517 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:36:46 +0000 (0:00:00.023) 0:00:21.540 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:36:46 +0000 (0:00:00.027) 0:00:21.567 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:36:46 +0000 (0:00:00.036) 0:00:21.604 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:36:46 +0000 (0:00:00.024) 0:00:21.629 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:94 Wednesday 14 February 2024 02:36:46 +0000 (0:00:00.245) 0:00:21.874 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert coalesce options set in profile] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:100 Wednesday 14 February 2024 02:36:46 +0000 (0:00:00.083) 0:00:21.958 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:106 Wednesday 14 February 2024 02:36:46 +0000 (0:00:00.043) 0:00:22.002 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003209", "end": "2024-02-14 02:36:47.138366", "rc": 0, "start": "2024-02-14 02:36:47.135157" } STDOUT: ETHTOOL_OPTS="-C testnic1 rx-frames 128" TASK [Assert coalesce options set in profile] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:114 Wednesday 14 February 2024 02:36:47 +0000 (0:00:00.230) 0:00:22.233 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear coalescing options] ************************************ task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:120 Wednesday 14 February 2024 02:36:47 +0000 (0:00:00.081) 0:00:22.314 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:36:47 +0000 (0:00:00.056) 0:00:22.371 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:36:47 +0000 (0:00:00.056) 0:00:22.427 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:36:47 +0000 (0:00:00.030) 0:00:22.458 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:36:47 +0000 (0:00:00.054) 0:00:22.512 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:36:47 +0000 (0:00:00.037) 0:00:22.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:36:49 +0000 (0:00:01.551) 0:00:24.101 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:36:50 +0000 (0:00:01.365) 0:00:25.466 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:36:50 +0000 (0:00:00.025) 0:00:25.492 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:36:50 +0000 (0:00:00.024) 0:00:25.516 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:36:50 +0000 (0:00:00.026) 0:00:25.542 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:36:50 +0000 (0:00:00.088) 0:00:25.631 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:36:50 +0000 (0:00:00.036) 0:00:25.668 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:36:50 +0000 (0:00:00.045) 0:00:25.713 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:36:50 +0000 (0:00:00.069) 0:00:25.783 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:36:50 +0000 (0:00:00.044) 0:00:25.827 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:36:50 +0000 (0:00:00.038) 0:00:25.865 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:36:51 +0000 (0:00:00.441) 0:00:26.307 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10521ni_t1gnp/tmpxdzeamfx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:36:51 +0000 (0:00:00.335) 0:00:26.642 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.428) 0:00:27.071 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.025) 0:00:27.097 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.026) 0:00:27.123 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.046) 0:00:27.169 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.031) 0:00:27.201 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:135 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.229) 0:00:27.431 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:141 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.040) 0:00:27.472 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:146 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.033) 0:00:27.506 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003463", "end": "2024-02-14 02:36:52.633134", "rc": 1, "start": "2024-02-14 02:36:52.629671" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:154 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.212) 0:00:27.718 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.049) 0:00:27.768 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.059) 0:00:27.827 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.060) 0:00:27.887 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.085) 0:00:27.973 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:36:52 +0000 (0:00:00.065) 0:00:28.038 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:36:54 +0000 (0:00:01.574) 0:00:29.613 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:36:55 +0000 (0:00:01.303) 0:00:30.917 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:36:55 +0000 (0:00:00.061) 0:00:30.978 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:36:55 +0000 (0:00:00.024) 0:00:31.003 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:36:56 +0000 (0:00:00.058) 0:00:31.061 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:36:56 +0000 (0:00:00.049) 0:00:31.111 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:36:56 +0000 (0:00:00.023) 0:00:31.134 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:36:56 +0000 (0:00:00.029) 0:00:31.164 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:36:56 +0000 (0:00:00.037) 0:00:31.201 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:36:56 +0000 (0:00:00.039) 0:00:31.241 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:36:56 +0000 (0:00:00.034) 0:00:31.275 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:36:56 +0000 (0:00:00.396) 0:00:31.671 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10521ni_t1gnp/tmpgciq97fj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:36:56 +0000 (0:00:00.309) 0:00:31.981 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.317) 0:00:32.299 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.025) 0:00:32.324 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.027) 0:00:32.351 **** 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_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.027) 0:00:32.379 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.024) 0:00:32.404 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:173 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.193) 0:00:32.597 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.043) 0:00:32.641 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.026) 0:00:32.667 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.024) 0:00:32.692 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.042) 0:00:32.734 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.039) 0:00:32.773 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003373", "end": "2024-02-14 02:36:57.898342", "rc": 0, "start": "2024-02-14 02:36:57.894969" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.205) 0:00:32.979 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.026) 0:00:33.005 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:36:57 +0000 (0:00:00.027) 0:00:33.033 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 02:37:00 +0000 (0:00:02.626) 0:00:35.660 **** 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_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 02:37:00 +0000 (0:00:00.073) 0:00:35.733 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 02:37:00 +0000 (0:00:00.049) 0:00:35.783 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.010137", "end": "2024-02-14 02:37:00.950858", "rc": 0, "start": "2024-02-14 02:37:00.940721" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 02:37:01 +0000 (0:00:00.310) 0:00:36.094 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 02:37:01 +0000 (0:00:00.036) 0:00:36.130 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:37:01 +0000 (0:00:00.028) 0:00:36.159 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 02:37:01 +0000 (0:00:00.042) 0:00:36.201 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:177 Wednesday 14 February 2024 02:37:01 +0000 (0:00:00.049) 0:00:36.250 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 02:37:01 +0000 (0:00:00.053) 0:00:36.304 **** 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.009371", "end": "2024-02-14 02:37:01.455579", "rc": 0, "start": "2024-02-14 02:37:01.446208" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:a0:04:fe:df:ef brd ff:ff:ff:ff:ff:ff inet 10.31.9.5/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2286sec preferred_lft 2286sec inet6 fe80::10a0:4ff:fefe:dfef/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.5 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.5 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_rewritexl6ptndw/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 02:37:01 +0000 (0:00:00.231) 0:00:36.536 **** 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.289523", "end": "2024-02-14 02:37:01.952184", "rc": 0, "start": "2024-02-14 02:37:01.662661" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2620:52:3:1:dead:beef:cafe:fed6 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 2600:2701:4000:5211:dead:beef:fe:fed3 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 100 305 100 305 0 0 5350 0 --:--:-- --:--:-- --:--:-- 5350 % 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 291 100 291 0 0 1447 0 --:--:-- --:--:-- --:--:-- 1440 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 02:37:01 +0000 (0:00:00.504) 0:00:37.040 **** =============================================================================== Install iproute --------------------------------------------------------- 2.94s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 2.74s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:26 Install iproute --------------------------------------------------------- 2.63s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which packages are installed --------- 1.70s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.34s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.13s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 0.97s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tests_ethtool_coalesce_initscripts.yml:5 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.66s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Create veth interface testnic1 ------------------------------------------ 0.62s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Re-test connectivity ----------------------- 0.52s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_ethtool_coalesce.yml:3 Verify DNS and ping still work ------------------------------------------ 0.50s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/check_network_dns.yml:24 Enable EPEL 8 ----------------------------------------------------------- 0.45s /WORKDIR/git-bond_options_rewritexl6ptndw/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. ---^---^---^---^---^---