# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ethtool_ring_initscripts.yml *********************************** 2 plays in /WORKDIR/git-route_typerw2hg6hv/tests/tests_ethtool_ring_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_ring.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/tests_ethtool_ring_initscripts.yml:4 Wednesday 20 December 2023 22:14:56 +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-route_typerw2hg6hv/tests/tests_ethtool_ring_initscripts.yml:8 Wednesday 20 December 2023 22:14:57 +0000 (0:00:00.676) 0:00:00.688 **** included: /WORKDIR/git-route_typerw2hg6hv/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-route_typerw2hg6hv/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 22:14:57 +0000 (0:00:00.011) 0:00:00.699 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/tasks/el_repo_setup.yml:19 Wednesday 20 December 2023 22:14:57 +0000 (0:00:00.328) 0:00:01.027 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/tasks/el_repo_setup.yml:24 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.253) 0:00:01.280 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/tasks/el_repo_setup.yml:28 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.020) 0:00:01.301 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/tasks/el_repo_setup.yml:53 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.018) 0:00:01.319 **** included: /WORKDIR/git-route_typerw2hg6hv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.030) 0:00:01.349 **** 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-route_typerw2hg6hv/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.233) 0:00:01.583 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.010) 0:00:01.594 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.010) 0:00:01.604 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.248765", "end": "2023-12-20 22:14:58.850177", "rc": 0, "start": "2023-12-20 22:14:58.601412" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.435) 0:00:02.040 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/tests_ethtool_ring_initscripts.yml:10 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.009) 0:00:02.049 **** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing ethtool ring settings] ********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:3 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.011) 0:00:02.060 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:9 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.544) 0:00:02.604 **** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:15 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.010) 0:00:02.615 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:18 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.010) 0:00:02.625 **** included: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.012) 0:00:02.637 **** included: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.011) 0:00:02.649 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003333", "end": "2023-12-20 22:14:59.647954", "rc": 0, "start": "2023-12-20 22:14:59.644621" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.187) 0:00:02.836 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.011) 0:00:02.848 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:20 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.010) 0:00:02.859 **** included: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.015) 0:00:02.874 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.009) 0:00:02.883 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.009) 0:00:02.892 **** included: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.012) 0:00:02.905 **** included: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.011) 0:00:02.916 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003598", "end": "2023-12-20 22:14:59.915592", "rc": 0, "start": "2023-12-20 22:14:59.911994" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.187) 0:00:03.104 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.011) 0:00:03.116 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.010) 0:00:03.126 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 22:15:03 +0000 (0:00:03.445) 0:00:06.571 **** 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.013027", "end": "2023-12-20 22:15:03.585111", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-12-20 22:15:03.572084" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003994", "end": "2023-12-20 22:15:03.810401", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-12-20 22:15:03.806407" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004679", "end": "2023-12-20 22:15:03.994770", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-12-20 22:15:03.990091" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.614) 0:00:07.185 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.022775", "end": "2023-12-20 22:15:04.208822", "rc": 0, "start": "2023-12-20 22:15:04.186047" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.213) 0:00:07.399 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.011) 0:00:07.411 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.011) 0:00:07.422 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.010) 0:00:07.432 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.010) 0:00:07.442 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:24 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.009) 0:00:07.452 **** included: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.013) 0:00:07.465 **** included: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.012) 0:00:07.477 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703110503.5758467, "block_size": 4096, "blocks": 0, "ctime": 1703110503.5758467, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32644, "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": 1703110503.5758467, "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-route_typerw2hg6hv/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.187) 0:00:07.665 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:26 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.012) 0:00:07.677 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can create a profile without any ring option.] ******************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:35 Wednesday 20 December 2023 22:15:07 +0000 (0:00:03.037) 0:00:10.714 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.012) 0:00:10.727 **** included: /WORKDIR/git-route_typerw2hg6hv/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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.066) 0:00:10.794 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.014) 0:00:10.808 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.011) 0:00:10.819 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.010) 0:00:10.830 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:15:09 +0000 (0:00:01.639) 0:00:12.470 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:15:10 +0000 (0:00:01.474) 0:00:13.944 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.024) 0:00:13.969 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.022) 0:00:13.992 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.021) 0:00:14.013 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.043) 0:00:14.056 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.020) 0:00:14.077 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.020) 0:00:14.097 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.023) 0:00:14.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.020) 0:00:14.141 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.019) 0:00:14.161 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:15:11 +0000 (0:00:00.470) 0:00:14.632 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12154lv68q0f7/tmpknzckkli" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:15:11 +0000 (0:00:00.296) 0:00:14.928 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:15:12 +0000 (0:00:00.542) 0:00:15.471 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:15:12 +0000 (0:00:00.021) 0:00:15.493 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:15:12 +0000 (0:00:00.022) 0:00:15.516 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:15:12 +0000 (0:00:00.022) 0:00:15.539 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:15:12 +0000 (0:00:00.019) 0:00:15.559 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:51 Wednesday 20 December 2023 22:15:12 +0000 (0:00:00.239) 0:00:15.798 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain ring options] *********************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:57 Wednesday 20 December 2023 22:15:12 +0000 (0:00:00.021) 0:00:15.820 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:62 Wednesday 20 December 2023 22:15:12 +0000 (0:00:00.020) 0:00:15.840 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003174", "end": "2023-12-20 22:15:12.843643", "rc": 1, "start": "2023-12-20 22:15:12.840469" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:70 Wednesday 20 December 2023 22:15:12 +0000 (0:00:00.202) 0:00:16.043 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:76 Wednesday 20 December 2023 22:15:12 +0000 (0:00:00.023) 0:00:16.067 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:15:12 +0000 (0:00:00.021) 0:00:16.088 **** included: /WORKDIR/git-route_typerw2hg6hv/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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:15:12 +0000 (0:00:00.058) 0:00:16.146 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:15:13 +0000 (0:00:00.027) 0:00:16.174 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:15:13 +0000 (0:00:00.022) 0:00:16.197 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:15:13 +0000 (0:00:00.022) 0:00:16.219 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:15:14 +0000 (0:00:01.595) 0:00:17.814 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:15:15 +0000 (0:00:01.325) 0:00:19.140 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:15:15 +0000 (0:00:00.026) 0:00:19.166 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:15:16 +0000 (0:00:00.027) 0:00:19.193 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:15:16 +0000 (0:00:00.024) 0:00:19.218 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:15:16 +0000 (0:00:00.044) 0:00:19.263 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:15:16 +0000 (0:00:00.022) 0:00:19.285 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:15:16 +0000 (0:00:00.022) 0:00:19.307 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:15:16 +0000 (0:00:00.024) 0:00:19.332 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:15:16 +0000 (0:00:00.022) 0:00:19.354 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:15:16 +0000 (0:00:00.021) 0:00:19.376 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:15:16 +0000 (0:00:00.350) 0:00:19.726 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12154lv68q0f7/tmpetgg5s71" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:15:16 +0000 (0:00:00.300) 0:00:20.026 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.441) 0:00:20.468 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.022) 0:00:20.490 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.023) 0:00:20.514 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.023) 0:00:20.537 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.020) 0:00:20.558 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:98 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.191) 0:00:20.749 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:104 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.021) 0:00:20.771 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:109 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.022) 0:00:20.793 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:115 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.021) 0:00:20.815 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:120 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.020) 0:00:20.836 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:126 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.021) 0:00:20.857 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:131 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.021) 0:00:20.879 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:137 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.021) 0:00:20.900 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring options] ************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:143 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.021) 0:00:20.922 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003219", "end": "2023-12-20 22:15:17.924770", "rc": 0, "start": "2023-12-20 22:15:17.921551" } STDOUT: ETHTOOL_OPTS="-G testnic1 rx 128 rx-jumbo 128 rx-mini 128 tx 128" TASK [Assert ethtool.ring option set in profile] ******************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:151 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.216) 0:00:21.139 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:161 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.031) 0:00:21.170 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.023) 0:00:21.194 **** included: /WORKDIR/git-route_typerw2hg6hv/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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.040) 0:00:21.234 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.028) 0:00:21.263 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.021) 0:00:21.285 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.021) 0:00:21.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:15:19 +0000 (0:00:01.548) 0:00:22.855 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:15:21 +0000 (0:00:01.326) 0:00:24.182 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.026) 0:00:24.208 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.022) 0:00:24.231 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.022) 0:00:24.254 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.051) 0:00:24.305 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.022) 0:00:24.327 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.022) 0:00:24.350 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.025) 0:00:24.375 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.021) 0:00:24.397 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.042) 0:00:24.439 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.346) 0:00:24.786 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12154lv68q0f7/tmppmvjwjf8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.294) 0:00:25.081 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.410) 0:00:25.491 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.021) 0:00:25.513 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.023) 0:00:25.536 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.023) 0:00:25.559 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.021) 0:00:25.581 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:176 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.189) 0:00:25.770 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:182 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.021) 0:00:25.791 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:187 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.020) 0:00:25.812 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.002751", "end": "2023-12-20 22:15:22.808752", "rc": 1, "start": "2023-12-20 22:15:22.806001" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:195 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.216) 0:00:26.028 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.024) 0:00:26.053 **** included: /WORKDIR/git-route_typerw2hg6hv/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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.040) 0:00:26.093 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.027) 0:00:26.121 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.022) 0:00:26.144 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.023) 0:00:26.167 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:15:24 +0000 (0:00:01.525) 0:00:27.693 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:15:25 +0000 (0:00:01.318) 0:00:29.012 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.023) 0:00:29.036 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.022) 0:00:29.058 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.022) 0:00:29.081 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.043) 0:00:29.124 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.022) 0:00:29.147 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.023) 0:00:29.171 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.025) 0:00:29.196 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.022) 0:00:29.218 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.020) 0:00:29.239 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.364) 0:00:29.604 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12154lv68q0f7/tmp8js0adv3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.294) 0:00:29.899 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.298) 0:00:30.197 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.022) 0:00:30.220 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.022) 0:00:30.242 **** 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-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.023) 0:00:30.266 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.022) 0:00:30.289 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:214 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.192) 0:00:30.481 **** included: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.048) 0:00:30.529 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.022) 0:00:30.552 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.021) 0:00:30.573 **** included: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.066) 0:00:30.640 **** included: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.036) 0:00:30.677 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002921", "end": "2023-12-20 22:15:27.675315", "rc": 0, "start": "2023-12-20 22:15:27.672394" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.198) 0:00:30.875 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.023) 0:00:30.899 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.022) 0:00:30.922 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 22:15:30 +0000 (0:00:02.951) 0:00:33.873 **** 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-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 22:15:30 +0000 (0:00:00.055) 0:00:33.929 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 22:15:30 +0000 (0:00:00.023) 0:00:33.952 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.008671", "end": "2023-12-20 22:15:30.957697", "rc": 0, "start": "2023-12-20 22:15:30.949026" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 22:15:30 +0000 (0:00:00.209) 0:00:34.162 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 22:15:31 +0000 (0:00:00.022) 0:00:34.185 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 22:15:31 +0000 (0:00:00.023) 0:00:34.208 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 22:15:31 +0000 (0:00:00.022) 0:00:34.231 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=88 changed=4 unreachable=0 failed=0 skipped=83 rescued=0 ignored=2 Wednesday 20 December 2023 22:15:31 +0000 (0:00:00.008) 0:00:34.240 **** =============================================================================== Install iproute --------------------------------------------------------- 3.45s /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 3.04s /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:26 ----- Install iproute --------------------------------------------------------- 2.95s /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.47s /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.32s /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.95s /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 0.82s /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-route_typerw2hg6hv/tests/tests_ethtool_ring_initscripts.yml:4 ---- Create veth interface testnic1 ------------------------------------------ 0.61s /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.59s /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.54s /WORKDIR/git-route_typerw2hg6hv/tests/playbooks/tests_ethtool_ring.yml:3 ------ linux-system-roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-route_typerw2hg6hv/tests/tasks/enable_epel.yml:35 ---------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.43s /WORKDIR/git-route_typerw2hg6hv/tests/roles/linux-system-roles.network/tasks/main.yml:155 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---