# 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_features_initscripts.yml ******************************* 2 plays in /WORKDIR/git-code_refactorqi17efad/tests/tests_ethtool_features_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_features.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/tests_ethtool_features_initscripts.yml:4 Thursday 30 November 2023 18:37:01 +0000 (0:00:00.017) 0:00:00.017 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorqi17efad/tests/tests_ethtool_features_initscripts.yml:8 Thursday 30 November 2023 18:37:02 +0000 (0:00:00.809) 0:00:00.827 ***** included: /WORKDIR/git-code_refactorqi17efad/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-code_refactorqi17efad/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 18:37:02 +0000 (0:00:00.014) 0:00:00.841 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/tasks/el_repo_setup.yml:19 Thursday 30 November 2023 18:37:02 +0000 (0:00:00.369) 0:00:01.211 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/tasks/el_repo_setup.yml:24 Thursday 30 November 2023 18:37:03 +0000 (0:00:00.275) 0:00:01.486 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/tasks/el_repo_setup.yml:28 Thursday 30 November 2023 18:37:03 +0000 (0:00:00.030) 0:00:01.517 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/tasks/el_repo_setup.yml:53 Thursday 30 November 2023 18:37:03 +0000 (0:00:00.026) 0:00:01.543 ***** included: /WORKDIR/git-code_refactorqi17efad/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 18:37:03 +0000 (0:00:00.039) 0:00:01.583 ***** 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-code_refactorqi17efad/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 18:37:03 +0000 (0:00:00.260) 0:00:01.843 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 18:37:03 +0000 (0:00:00.015) 0:00:01.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 18:37:03 +0000 (0:00:00.017) 0:00:01.876 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.256821", "end": "2023-11-30 18:37:03.957272", "rc": 0, "start": "2023-11-30 18:37:03.700451" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 18:37:03 +0000 (0:00:00.454) 0:00:02.331 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/tests_ethtool_features_initscripts.yml:10 Thursday 30 November 2023 18:37:03 +0000 (0:00:00.013) 0:00:02.345 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing ethtool features settings] ****************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:3 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.015) 0:00:02.361 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:9 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.575) 0:00:02.936 ***** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_features.yml TASK [INIT: Ethtool feeatures tests] ******************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:15 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.013) 0:00:02.950 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:18 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.014) 0:00:02.965 ***** included: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.021) 0:00:02.986 ***** included: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.017) 0:00:03.003 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003601", "end": "2023-11-30 18:37:04.828560", "rc": 0, "start": "2023-11-30 18:37:04.824959" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.200) 0:00:03.203 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.015) 0:00:03.219 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:20 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.013) 0:00:03.233 ***** included: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.021) 0:00:03.254 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.013) 0:00:03.268 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.012) 0:00:03.280 ***** included: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.017) 0:00:03.298 ***** included: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:37:04 +0000 (0:00:00.017) 0:00:03.315 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003561", "end": "2023-11-30 18:37:05.139814", "rc": 0, "start": "2023-11-30 18:37:05.136253" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:37:05 +0000 (0:00:00.198) 0:00:03.514 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:37:05 +0000 (0:00:00.015) 0:00:03.529 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:37:05 +0000 (0:00:00.015) 0:00:03.544 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 30 November 2023 18:37:08 +0000 (0:00:03.314) 0:00:06.859 ***** 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.012959", "end": "2023-11-30 18:37:08.707031", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-11-30 18:37:08.694072" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003919", "end": "2023-11-30 18:37:08.934259", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-11-30 18:37:08.930340" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004526", "end": "2023-11-30 18:37:09.133915", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-11-30 18:37:09.129389" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 30 November 2023 18:37:09 +0000 (0:00:00.652) 0:00:07.512 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.023661", "end": "2023-11-30 18:37:09.369305", "rc": 0, "start": "2023-11-30 18:37:09.345644" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 30 November 2023 18:37:09 +0000 (0:00:00.234) 0:00:07.746 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 30 November 2023 18:37:09 +0000 (0:00:00.020) 0:00:07.767 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 30 November 2023 18:37:09 +0000 (0:00:00.021) 0:00:07.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:37:09 +0000 (0:00:00.020) 0:00:07.809 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 30 November 2023 18:37:09 +0000 (0:00:00.017) 0:00:07.826 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:24 Thursday 30 November 2023 18:37:09 +0000 (0:00:00.019) 0:00:07.846 ***** included: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:37:09 +0000 (0:00:00.028) 0:00:07.874 ***** included: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:37:09 +0000 (0:00:00.036) 0:00:07.911 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369428.6978736, "block_size": 4096, "blocks": 0, "ctime": 1701369428.6978736, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32961, "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": 1701369428.6978736, "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-code_refactorqi17efad/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:37:09 +0000 (0:00:00.204) 0:00:08.116 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:26 Thursday 30 November 2023 18:37:09 +0000 (0:00:00.019) 0:00:08.136 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can create a profile without changing the ethtool features.] ***** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:36 Thursday 30 November 2023 18:37:12 +0000 (0:00:03.106) 0:00:11.242 ***** ok: [sut] => {} MSG: ################################################## TASK [Get current device features] ********************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:40 Thursday 30 November 2023 18:37:12 +0000 (0:00:00.018) 0:00:11.261 ***** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003168", "end": "2023-11-30 18:37:13.094738", "rc": 0, "start": "2023-11-30 18:37:13.091570" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp-mangleid-segmentation: on tx-tcp6-segmentation: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-gre-csum-segmentation: on tx-ipxip4-segmentation: on tx-ipxip6-segmentation: on tx-udp_tnl-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-tunnel-remcsum-segmentation: off [fixed] tx-sctp-segmentation: on tx-esp-segmentation: off [fixed] tx-udp-segmentation: on tx-gso-list: on rx-udp-gro-forwarding: off rx-gro-list: off tls-hw-rx-offload: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] esp-hw-offload: off [fixed] esp-tx-csum-hw-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] tls-hw-tx-offload: off [fixed] rx-gro-hw: off [fixed] tls-hw-record: off [fixed] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:37:13 +0000 (0:00:00.209) 0:00:11.471 ***** included: /WORKDIR/git-code_refactorqi17efad/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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:37:13 +0000 (0:00:00.102) 0:00:11.573 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:37:13 +0000 (0:00:00.019) 0:00:11.593 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:37:13 +0000 (0:00:00.019) 0:00:11.612 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:37:13 +0000 (0:00:00.019) 0:00:11.632 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:37:15 +0000 (0:00:01.801) 0:00:13.433 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:37:16 +0000 (0:00:01.553) 0:00:14.987 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:37:16 +0000 (0:00:00.028) 0:00:15.015 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:37:16 +0000 (0:00:00.028) 0:00:15.044 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:37:16 +0000 (0:00:00.026) 0:00:15.071 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:37:16 +0000 (0:00:00.058) 0:00:15.129 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:37:16 +0000 (0:00:00.028) 0:00:15.157 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:37:16 +0000 (0:00:00.028) 0:00:15.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:37:16 +0000 (0:00:00.032) 0:00:15.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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:37:16 +0000 (0:00:00.030) 0:00:15.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:37:16 +0000 (0:00:00.032) 0:00:15.282 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:37:17 +0000 (0:00:00.555) 0:00:15.838 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11175amy2bj_y/tmpqf80mukq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:37:17 +0000 (0:00:00.355) 0:00:16.193 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:37:18 +0000 (0:00:00.616) 0:00:16.810 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:37:18 +0000 (0:00:00.028) 0:00:16.838 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:37:18 +0000 (0:00:00.029) 0:00:16.868 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:37:18 +0000 (0:00:00.029) 0:00:16.897 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:37:18 +0000 (0:00:00.028) 0:00:16.925 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:55 Thursday 30 November 2023 18:37:18 +0000 (0:00:00.293) 0:00:17.219 ***** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003139", "end": "2023-11-30 18:37:19.043386", "rc": 0, "start": "2023-11-30 18:37:19.040247" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp-mangleid-segmentation: on tx-tcp6-segmentation: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-gre-csum-segmentation: on tx-ipxip4-segmentation: on tx-ipxip6-segmentation: on tx-udp_tnl-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-tunnel-remcsum-segmentation: off [fixed] tx-sctp-segmentation: on tx-esp-segmentation: off [fixed] tx-udp-segmentation: on tx-gso-list: on rx-udp-gro-forwarding: off rx-gro-list: off tls-hw-rx-offload: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] esp-hw-offload: off [fixed] esp-tx-csum-hw-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] tls-hw-tx-offload: off [fixed] rx-gro-hw: off [fixed] tls-hw-record: off [fixed] TASK [ASSERT: The profile does not change the ethtool features] **************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:59 Thursday 30 November 2023 18:37:19 +0000 (0:00:00.212) 0:00:17.431 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can disable gro and tx-tcp-segmentation and enable gso.] ********* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:65 Thursday 30 November 2023 18:37:19 +0000 (0:00:00.030) 0:00:17.462 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:37:19 +0000 (0:00:00.029) 0:00:17.492 ***** included: /WORKDIR/git-code_refactorqi17efad/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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:37:19 +0000 (0:00:00.049) 0:00:17.541 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:37:19 +0000 (0:00:00.062) 0:00:17.604 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:37:19 +0000 (0:00:00.029) 0:00:17.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:37:19 +0000 (0:00:00.027) 0:00:17.661 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:37:20 +0000 (0:00:01.689) 0:00:19.350 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:37:22 +0000 (0:00:01.355) 0:00:20.705 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:37:22 +0000 (0:00:00.031) 0:00:20.736 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:37:22 +0000 (0:00:00.027) 0:00:20.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:37:22 +0000 (0:00:00.028) 0:00:20.792 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:37:22 +0000 (0:00:00.060) 0:00:20.852 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:37:22 +0000 (0:00:00.028) 0:00:20.880 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:37:22 +0000 (0:00:00.026) 0:00:20.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:37:22 +0000 (0:00:00.031) 0:00:20.938 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:37:22 +0000 (0:00:00.028) 0:00:20.967 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:37:22 +0000 (0:00:00.027) 0:00:20.994 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:37:23 +0000 (0:00:00.368) 0:00:21.363 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11175amy2bj_y/tmpwmejt2rr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:37:23 +0000 (0:00:00.317) 0:00:21.680 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "features": { "gro": "no", "gso": "yes", "tx-tcp-segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "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'Actual changes:\ntx-tcp-segmentation: off\ntx-tcp-mangleid-segmentation: off [not requested]\n'', 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:37:23 +0000 (0:00:00.514) 0:00:22.194 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:37:23 +0000 (0:00:00.029) 0:00:22.224 ***** 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'Actual changes:\\ntx-tcp-segmentation: off\\ntx-tcp-mangleid-segmentation: off [not requested]\\n'', 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:37:23 +0000 (0:00:00.029) 0:00:22.254 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "features": { "gro": "no", "gso": "yes", "tx-tcp-segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "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'Actual changes:\\ntx-tcp-segmentation: off\\ntx-tcp-mangleid-segmentation: off [not requested]\\n'', 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'Actual changes:\\ntx-tcp-segmentation: off\\ntx-tcp-mangleid-segmentation: off [not requested]\\n'', 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:37:23 +0000 (0:00:00.031) 0:00:22.286 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:37:23 +0000 (0:00:00.029) 0:00:22.315 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:85 Thursday 30 November 2023 18:37:24 +0000 (0:00:00.208) 0:00:22.524 ***** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003308", "end": "2023-11-30 18:37:24.354886", "rc": 0, "start": "2023-11-30 18:37:24.351578" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: off tx-tcp-ecn-segmentation: on tx-tcp-mangleid-segmentation: off [requested on] tx-tcp6-segmentation: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-gre-csum-segmentation: on tx-ipxip4-segmentation: on tx-ipxip6-segmentation: on tx-udp_tnl-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-tunnel-remcsum-segmentation: off [fixed] tx-sctp-segmentation: on tx-esp-segmentation: off [fixed] tx-udp-segmentation: on tx-gso-list: on rx-udp-gro-forwarding: off rx-gro-list: off tls-hw-rx-offload: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] esp-hw-offload: off [fixed] esp-tx-csum-hw-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] tls-hw-tx-offload: off [fixed] rx-gro-hw: off [fixed] tls-hw-record: off [fixed] TASK [Show ethtool_features] *************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:89 Thursday 30 November 2023 18:37:24 +0000 (0:00:00.219) 0:00:22.743 ***** ok: [sut] => { "ethtool_features.stdout_lines": [ "Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: off", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: off [requested on]", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "rx-udp-gro-forwarding: off", "rx-gro-list: off", "tls-hw-rx-offload: off [fixed]", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]" ] } TASK [Assert device features] ************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:92 Thursday 30 November 2023 18:37:24 +0000 (0:00:00.029) 0:00:22.773 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can enable tx_tcp_segmentation (using underscores).] ************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:106 Thursday 30 November 2023 18:37:24 +0000 (0:00:00.032) 0:00:22.805 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:37:24 +0000 (0:00:00.027) 0:00:22.833 ***** included: /WORKDIR/git-code_refactorqi17efad/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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:37:24 +0000 (0:00:00.047) 0:00:22.880 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:37:24 +0000 (0:00:00.032) 0:00:22.913 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:37:24 +0000 (0:00:00.026) 0:00:22.940 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:37:24 +0000 (0:00:00.026) 0:00:22.966 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:37:26 +0000 (0:00:01.738) 0:00:24.705 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:37:27 +0000 (0:00:01.348) 0:00:26.053 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:37:27 +0000 (0:00:00.050) 0:00:26.104 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:37:27 +0000 (0:00:00.028) 0:00:26.133 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:37:27 +0000 (0:00:00.028) 0:00:26.161 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:37:27 +0000 (0:00:00.060) 0:00:26.222 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:37:27 +0000 (0:00:00.028) 0:00:26.251 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:37:27 +0000 (0:00:00.026) 0:00:26.278 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:37:27 +0000 (0:00:00.029) 0:00:26.307 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:37:27 +0000 (0:00:00.026) 0:00:26.334 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:37:28 +0000 (0:00:00.027) 0:00:26.361 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:37:28 +0000 (0:00:00.373) 0:00:26.735 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11175amy2bj_y/tmpb53qm7ed" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:37:28 +0000 (0:00:00.317) 0:00:27.052 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "features": { "tx_tcp_segmentation": "yes" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "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'Actual changes:\ntx-tcp-segmentation: on\ntx-tcp-mangleid-segmentation: on [not requested]\n'', 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:37:29 +0000 (0:00:00.447) 0:00:27.499 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:37:29 +0000 (0:00:00.053) 0:00:27.553 ***** 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'Actual changes:\\ntx-tcp-segmentation: on\\ntx-tcp-mangleid-segmentation: on [not requested]\\n'', 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:37:29 +0000 (0:00:00.028) 0:00:27.582 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "features": { "tx_tcp_segmentation": "yes" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "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'Actual changes:\\ntx-tcp-segmentation: on\\ntx-tcp-mangleid-segmentation: on [not requested]\\n'', 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'Actual changes:\\ntx-tcp-segmentation: on\\ntx-tcp-mangleid-segmentation: on [not requested]\\n'', 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:37:29 +0000 (0:00:00.028) 0:00:27.610 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:37:29 +0000 (0:00:00.025) 0:00:27.636 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:124 Thursday 30 November 2023 18:37:29 +0000 (0:00:00.206) 0:00:27.842 ***** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003299", "end": "2023-11-30 18:37:29.669623", "rc": 0, "start": "2023-11-30 18:37:29.666324" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp-mangleid-segmentation: on tx-tcp6-segmentation: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-gre-csum-segmentation: on tx-ipxip4-segmentation: on tx-ipxip6-segmentation: on tx-udp_tnl-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-tunnel-remcsum-segmentation: off [fixed] tx-sctp-segmentation: on tx-esp-segmentation: off [fixed] tx-udp-segmentation: on tx-gso-list: on rx-udp-gro-forwarding: off rx-gro-list: off tls-hw-rx-offload: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] esp-hw-offload: off [fixed] esp-tx-csum-hw-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] tls-hw-tx-offload: off [fixed] rx-gro-hw: off [fixed] tls-hw-record: off [fixed] TASK [Show ethtool_features] *************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:128 Thursday 30 November 2023 18:37:29 +0000 (0:00:00.215) 0:00:28.058 ***** ok: [sut] => { "ethtool_features.stdout_lines": [ "Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: on", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: on", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "rx-udp-gro-forwarding: off", "rx-gro-list: off", "tls-hw-rx-offload: off [fixed]", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]" ] } TASK [Assert device features] ************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:131 Thursday 30 November 2023 18:37:29 +0000 (0:00:00.029) 0:00:28.088 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: Change feature with both underscores and dashes.] ****************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:142 Thursday 30 November 2023 18:37:29 +0000 (0:00:00.030) 0:00:28.118 ***** ok: [sut] => {} MSG: ################################################## TASK [Configure ethtool features setting] ************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:146 Thursday 30 November 2023 18:37:29 +0000 (0:00:00.037) 0:00:28.155 ***** fatal: [sut]: FAILED! => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ethtool": { "features": { "tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: MSG: fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation' TASK [Show network_connections result] ***************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:163 Thursday 30 November 2023 18:37:30 +0000 (0:00:00.269) 0:00:28.425 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ethtool": { "features": { "tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": true, "msg": "fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation'", "stderr": "\n", "stderr_lines": [ "" ] } } TASK [Assert the duplicate key "tx_tcp_segmentation" configuration error happened] *** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:166 Thursday 30 November 2023 18:37:30 +0000 (0:00:00.029) 0:00:28.455 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check failure] *********************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:176 Thursday 30 November 2023 18:37:30 +0000 (0:00:00.029) 0:00:28.484 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ethtool": { "features": { "tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": true, "msg": "fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation'", "stderr": "\n", "stderr_lines": [ "" ] } } TASK [Assert that the result is failure] *************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:179 Thursday 30 November 2023 18:37:30 +0000 (0:00:00.029) 0:00:28.513 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can reset features to their original value.] ********************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:184 Thursday 30 November 2023 18:37:30 +0000 (0:00:00.029) 0:00:28.542 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:37:30 +0000 (0:00:00.056) 0:00:28.598 ***** included: /WORKDIR/git-code_refactorqi17efad/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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:37:30 +0000 (0:00:00.049) 0:00:28.648 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:37:30 +0000 (0:00:00.035) 0:00:28.683 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:37:30 +0000 (0:00:00.035) 0:00:28.718 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:37:30 +0000 (0:00:00.028) 0:00:28.747 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:37:32 +0000 (0:00:01.691) 0:00:30.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 : Print network provider] ********************* task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:37:33 +0000 (0:00:01.377) 0:00:31.816 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:37:33 +0000 (0:00:00.044) 0:00:31.861 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:37:33 +0000 (0:00:00.029) 0:00:31.891 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:37:33 +0000 (0:00:00.037) 0:00:31.928 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:37:33 +0000 (0:00:00.073) 0:00:32.002 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:37:33 +0000 (0:00:00.028) 0:00:32.031 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:37:33 +0000 (0:00:00.026) 0:00:32.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:37:33 +0000 (0:00:00.036) 0:00:32.094 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:37:33 +0000 (0:00:00.029) 0:00:32.124 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:37:33 +0000 (0:00:00.026) 0:00:32.150 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:37:34 +0000 (0:00:00.397) 0:00:32.547 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11175amy2bj_y/tmp3oyojr81" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:37:34 +0000 (0:00:00.320) 0:00:32.868 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:37:34 +0000 (0:00:00.451) 0:00:33.320 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:37:34 +0000 (0:00:00.029) 0:00:33.349 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:37:35 +0000 (0:00:00.031) 0:00:33.380 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:37:35 +0000 (0:00:00.034) 0:00:33.415 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:37:35 +0000 (0:00:00.041) 0:00:33.456 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:198 Thursday 30 November 2023 18:37:35 +0000 (0:00:00.209) 0:00:33.666 ***** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003170", "end": "2023-11-30 18:37:35.494871", "rc": 0, "start": "2023-11-30 18:37:35.491701" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp-mangleid-segmentation: on tx-tcp6-segmentation: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-gre-csum-segmentation: on tx-ipxip4-segmentation: on tx-ipxip6-segmentation: on tx-udp_tnl-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-tunnel-remcsum-segmentation: off [fixed] tx-sctp-segmentation: on tx-esp-segmentation: off [fixed] tx-udp-segmentation: on tx-gso-list: on rx-udp-gro-forwarding: off rx-gro-list: off tls-hw-rx-offload: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] esp-hw-offload: off [fixed] esp-tx-csum-hw-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] tls-hw-tx-offload: off [fixed] rx-gro-hw: off [fixed] tls-hw-record: off [fixed] TASK [ASSERT: The profile does not change the ethtool features] **************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:203 Thursday 30 November 2023 18:37:35 +0000 (0:00:00.217) 0:00:33.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:37:35 +0000 (0:00:00.027) 0:00:33.910 ***** included: /WORKDIR/git-code_refactorqi17efad/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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:37:35 +0000 (0:00:00.049) 0:00:33.960 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:37:35 +0000 (0:00:00.062) 0:00:34.022 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:37:35 +0000 (0:00:00.028) 0:00:34.051 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:37:35 +0000 (0:00:00.027) 0:00:34.078 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:37:37 +0000 (0:00:01.724) 0:00:35.803 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:37:38 +0000 (0:00:01.367) 0:00:37.170 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:37:38 +0000 (0:00:00.034) 0:00:37.204 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:37:38 +0000 (0:00:00.028) 0:00:37.232 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:37:38 +0000 (0:00:00.027) 0:00:37.260 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:37:38 +0000 (0:00:00.056) 0:00:37.316 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:37:38 +0000 (0:00:00.028) 0:00:37.345 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:37:39 +0000 (0:00:00.028) 0:00:37.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:37:39 +0000 (0:00:00.036) 0:00:37.410 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:37:39 +0000 (0:00:00.041) 0:00:37.451 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:37:39 +0000 (0:00:00.036) 0:00:37.488 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:37:39 +0000 (0:00:00.377) 0:00:37.865 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11175amy2bj_y/tmpgwsab_si" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:37:39 +0000 (0:00:00.329) 0:00:38.195 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active) [004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:37:40 +0000 (0:00:00.504) 0:00:38.700 ***** 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:37:40 +0000 (0:00:00.027) 0:00:38.728 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:37:40 +0000 (0:00:00.029) 0:00:38.757 ***** 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", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)\n[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down 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-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:37:40 +0000 (0:00:00.028) 0:00:38.785 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:37:40 +0000 (0:00:00.029) 0:00:38.815 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:223 Thursday 30 November 2023 18:37:40 +0000 (0:00:00.208) 0:00:39.024 ***** included: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:37:40 +0000 (0:00:00.053) 0:00:39.077 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:37:40 +0000 (0:00:00.025) 0:00:39.103 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:37:40 +0000 (0:00:00.026) 0:00:39.129 ***** included: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:37:40 +0000 (0:00:00.046) 0:00:39.175 ***** included: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:37:40 +0000 (0:00:00.046) 0:00:39.222 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003425", "end": "2023-11-30 18:37:41.048711", "rc": 0, "start": "2023-11-30 18:37:41.045286" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:37:41 +0000 (0:00:00.246) 0:00:39.468 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:37:41 +0000 (0:00:00.030) 0:00:39.499 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:37:41 +0000 (0:00:00.030) 0:00:39.530 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 30 November 2023 18:37:44 +0000 (0:00:03.030) 0:00:42.560 ***** 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-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 30 November 2023 18:37:44 +0000 (0:00:00.045) 0:00:42.605 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 30 November 2023 18:37:44 +0000 (0:00:00.043) 0:00:42.649 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.012603", "end": "2023-11-30 18:37:44.491068", "rc": 0, "start": "2023-11-30 18:37:44.478465" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 30 November 2023 18:37:44 +0000 (0:00:00.241) 0:00:42.891 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 30 November 2023 18:37:44 +0000 (0:00:00.059) 0:00:42.951 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:37:44 +0000 (0:00:00.030) 0:00:42.982 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 30 November 2023 18:37:44 +0000 (0:00:00.032) 0:00:43.014 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=108 changed=5 unreachable=0 failed=0 skipped=85 rescued=1 ignored=0 Thursday 30 November 2023 18:37:44 +0000 (0:00:00.011) 0:00:43.026 ***** =============================================================================== Install iproute --------------------------------------------------------- 3.32s /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 3.11s /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:26 Install iproute --------------------------------------------------------- 3.03s /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.80s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.55s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.38s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.07s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 0.95s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gathering Facts --------------------------------------------------------- 0.81s /WORKDIR/git-code_refactorqi17efad/tests/tests_ethtool_features_initscripts.yml:4 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.68s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:113 Create veth interface testnic1 ------------------------------------------ 0.65s /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-code_refactorqi17efad/tests/playbooks/tests_ethtool_features.yml:3 linux-system-roles.network : Configure networking connection profiles --- 0.51s /WORKDIR/git-code_refactorqi17efad/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---