# 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-test_network_state_fixziufqum1/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-test_network_state_fixziufqum1/tests/tests_ethtool_features_initscripts.yml:4 Monday 27 November 2023 19:26:15 +0000 (0:00:00.027) 0:00:00.027 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/tests_ethtool_features_initscripts.yml:8 Monday 27 November 2023 19:26:16 +0000 (0:00:00.740) 0:00:00.768 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/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-test_network_state_fixziufqum1/tests/tasks/el_repo_setup.yml:3 Monday 27 November 2023 19:26:16 +0000 (0:00:00.023) 0:00:00.791 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/tasks/el_repo_setup.yml:22 Monday 27 November 2023 19:26:16 +0000 (0:00:00.363) 0:00:01.154 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set package manager to use for ostree] *********************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/tasks/el_repo_setup.yml:27 Monday 27 November 2023 19:26:17 +0000 (0:00:00.320) 0:00:01.475 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/tasks/el_repo_setup.yml:34 Monday 27 November 2023 19:26:17 +0000 (0:00:00.026) 0:00:01.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/tasks/el_repo_setup.yml:59 Monday 27 November 2023 19:26:17 +0000 (0:00:00.023) 0:00:01.525 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/tasks/enable_epel.yml:8 Monday 27 November 2023 19:26:17 +0000 (0:00:00.043) 0:00:01.569 ******* 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-test_network_state_fixziufqum1/tests/tasks/enable_epel.yml:24 Monday 27 November 2023 19:26:17 +0000 (0:00:00.290) 0:00:01.859 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/tasks/enable_epel.yml:30 Monday 27 November 2023 19:26:17 +0000 (0:00:00.018) 0:00:01.878 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/tasks/enable_epel.yml:35 Monday 27 November 2023 19:26:17 +0000 (0:00:00.019) 0:00:01.897 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.371582", "end": "2023-11-27 19:26:18.193922", "rc": 0, "start": "2023-11-27 19:26:17.822340" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/tasks/enable_epel.yml:40 Monday 27 November 2023 19:26:18 +0000 (0:00:00.569) 0:00:02.467 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/tests_ethtool_features_initscripts.yml:10 Monday 27 November 2023 19:26:18 +0000 (0:00:00.017) 0:00:02.485 ******* 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-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:3 Monday 27 November 2023 19:26:18 +0000 (0:00:00.016) 0:00:02.502 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:9 Monday 27 November 2023 19:26:18 +0000 (0:00:00.511) 0:00:03.013 ******* ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_features.yml TASK [INIT: Ethtool feeatures tests] ******************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:15 Monday 27 November 2023 19:26:18 +0000 (0:00:00.029) 0:00:03.042 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:18 Monday 27 November 2023 19:26:18 +0000 (0:00:00.028) 0:00:03.071 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 19:26:18 +0000 (0:00:00.058) 0:00:03.129 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 19:26:18 +0000 (0:00:00.037) 0:00:03.166 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003326", "end": "2023-11-27 19:26:19.087272", "rc": 0, "start": "2023-11-27 19:26:19.083946" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 19:26:19 +0000 (0:00:00.206) 0:00:03.372 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 19:26:19 +0000 (0:00:00.035) 0:00:03.408 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:20 Monday 27 November 2023 19:26:19 +0000 (0:00:00.016) 0:00:03.424 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 27 November 2023 19:26:19 +0000 (0:00:00.036) 0:00:03.460 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 27 November 2023 19:26:19 +0000 (0:00:00.023) 0:00:03.484 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 27 November 2023 19:26:19 +0000 (0:00:00.023) 0:00:03.507 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 19:26:19 +0000 (0:00:00.030) 0:00:03.537 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 19:26:19 +0000 (0:00:00.032) 0:00:03.570 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003387", "end": "2023-11-27 19:26:19.503004", "rc": 0, "start": "2023-11-27 19:26:19.499617" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 19:26:19 +0000 (0:00:00.210) 0:00:03.780 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 19:26:19 +0000 (0:00:00.034) 0:00:03.815 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 27 November 2023 19:26:19 +0000 (0:00:00.018) 0:00:03.834 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:22 Monday 27 November 2023 19:26:21 +0000 (0:00:01.815) 0:00:05.649 ******* 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.014124", "end": "2023-11-27 19:26:21.588454", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-11-27 19:26:21.574330" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.007792", "end": "2023-11-27 19:26:21.827269", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-11-27 19:26:21.819477" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.007751", "end": "2023-11-27 19:26:22.016154", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-11-27 19:26:22.008403" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 27 November 2023 19:26:22 +0000 (0:00:00.657) 0:00:06.306 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.023863", "end": "2023-11-27 19:26:22.287641", "rc": 0, "start": "2023-11-27 19:26:22.263778" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 27 November 2023 19:26:22 +0000 (0:00:00.271) 0:00:06.578 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:46 Monday 27 November 2023 19:26:22 +0000 (0:00:00.061) 0:00:06.640 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 27 November 2023 19:26:22 +0000 (0:00:00.021) 0:00:06.662 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:59 Monday 27 November 2023 19:26:22 +0000 (0:00:00.031) 0:00:06.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 27 November 2023 19:26:22 +0000 (0:00:00.026) 0:00:06.720 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:24 Monday 27 November 2023 19:26:22 +0000 (0:00:00.029) 0:00:06.750 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/assert_device_present.yml:3 Monday 27 November 2023 19:26:22 +0000 (0:00:00.036) 0:00:06.786 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 27 November 2023 19:26:22 +0000 (0:00:00.029) 0:00:06.816 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1701113181.5779188, "block_size": 4096, "blocks": 0, "ctime": 1701113181.5779188, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30548, "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": 1701113181.5779188, "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-test_network_state_fixziufqum1/tests/playbooks/tasks/assert_device_present.yml:5 Monday 27 November 2023 19:26:22 +0000 (0:00:00.212) 0:00:07.029 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:26 Monday 27 November 2023 19:26:22 +0000 (0:00:00.030) 0:00:07.060 ******* 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-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:34 Monday 27 November 2023 19:26:24 +0000 (0:00:01.481) 0:00:08.542 ******* ok: [sut] => {} MSG: ################################################## TASK [Get current device features] ********************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:38 Monday 27 November 2023 19:26:24 +0000 (0:00:00.021) 0:00:08.563 ******* ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003357", "end": "2023-11-27 19:26:24.485967", "rc": 0, "start": "2023-11-27 19:26:24.482610" } 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 27 November 2023 19:26:24 +0000 (0:00:00.198) 0:00:08.761 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 27 November 2023 19:26:24 +0000 (0:00:00.120) 0:00:08.881 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:16 Monday 27 November 2023 19:26:24 +0000 (0:00:00.016) 0:00:08.897 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.network : Set package manager to use for ostree] ****** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:21 Monday 27 November 2023 19:26:24 +0000 (0:00:00.193) 0:00:09.091 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 Monday 27 November 2023 19:26:24 +0000 (0:00:00.018) 0:00:09.109 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 Monday 27 November 2023 19:26:26 +0000 (0:00:01.713) 0:00:10.823 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 27 November 2023 19:26:28 +0000 (0:00:01.609) 0:00:12.432 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 27 November 2023 19:26:28 +0000 (0:00:00.058) 0:00:12.491 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 27 November 2023 19:26:28 +0000 (0:00:00.058) 0:00:12.549 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 27 November 2023 19:26:28 +0000 (0:00:00.038) 0:00:12.588 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:38 Monday 27 November 2023 19:26:28 +0000 (0:00:00.094) 0:00:12.683 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:51 Monday 27 November 2023 19:26:28 +0000 (0:00:00.039) 0:00:12.722 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:65 Monday 27 November 2023 19:26:28 +0000 (0:00:00.047) 0:00:12.770 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:79 Monday 27 November 2023 19:26:28 +0000 (0:00:00.056) 0:00:12.826 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 27 November 2023 19:26:28 +0000 (0:00:00.059) 0:00:12.885 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 27 November 2023 19:26:28 +0000 (0:00:00.041) 0:00:12.926 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:107 Monday 27 November 2023 19:26:29 +0000 (0:00:00.669) 0:00:13.596 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11274sqd65yyw/tmp87uzrhl0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 27 November 2023 19:26:29 +0000 (0:00:00.350) 0:00:13.946 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:128 Monday 27 November 2023 19:26:30 +0000 (0:00:00.740) 0:00:14.687 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 27 November 2023 19:26:30 +0000 (0:00:00.041) 0:00:14.728 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:138 Monday 27 November 2023 19:26:30 +0000 (0:00:00.041) 0:00:14.770 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 27 November 2023 19:26:30 +0000 (0:00:00.055) 0:00:14.825 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 27 November 2023 19:26:30 +0000 (0:00:00.043) 0:00:14.869 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:53 Monday 27 November 2023 19:26:30 +0000 (0:00:00.298) 0:00:15.167 ******* ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.002807", "end": "2023-11-27 19:26:31.088162", "rc": 0, "start": "2023-11-27 19:26:31.085355" } 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-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:57 Monday 27 November 2023 19:26:31 +0000 (0:00:00.222) 0:00:15.390 ******* 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-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:63 Monday 27 November 2023 19:26:31 +0000 (0:00:00.035) 0:00:15.425 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 27 November 2023 19:26:31 +0000 (0:00:00.029) 0:00:15.455 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 27 November 2023 19:26:31 +0000 (0:00:00.054) 0:00:15.510 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:16 Monday 27 November 2023 19:26:31 +0000 (0:00:00.040) 0:00:15.550 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.network : Set package manager to use for ostree] ****** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:21 Monday 27 November 2023 19:26:31 +0000 (0:00:00.257) 0:00:15.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 Monday 27 November 2023 19:26:31 +0000 (0:00:00.060) 0:00:15.869 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 Monday 27 November 2023 19:26:33 +0000 (0:00:01.704) 0:00:17.573 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 27 November 2023 19:26:34 +0000 (0:00:01.309) 0:00:18.883 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 27 November 2023 19:26:34 +0000 (0:00:00.037) 0:00:18.920 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 27 November 2023 19:26:34 +0000 (0:00:00.040) 0:00:18.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 27 November 2023 19:26:34 +0000 (0:00:00.036) 0:00:18.997 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:38 Monday 27 November 2023 19:26:34 +0000 (0:00:00.070) 0:00:19.068 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:51 Monday 27 November 2023 19:26:34 +0000 (0:00:00.042) 0:00:19.110 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:65 Monday 27 November 2023 19:26:34 +0000 (0:00:00.056) 0:00:19.166 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:79 Monday 27 November 2023 19:26:34 +0000 (0:00:00.069) 0:00:19.236 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 27 November 2023 19:26:35 +0000 (0:00:00.035) 0:00:19.272 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 27 November 2023 19:26:35 +0000 (0:00:00.045) 0:00:19.317 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:107 Monday 27 November 2023 19:26:35 +0000 (0:00:00.369) 0:00:19.687 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11274sqd65yyw/tmpkq9tpgqy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 27 November 2023 19:26:35 +0000 (0:00:00.330) 0:00:20.017 ******* 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.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:128 Monday 27 November 2023 19:26:36 +0000 (0:00:00.552) 0:00:20.570 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 27 November 2023 19:26:36 +0000 (0:00:00.116) 0:00:20.686 ******* 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.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:138 Monday 27 November 2023 19:26:36 +0000 (0:00:00.071) 0:00:20.758 ******* 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.\\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.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 27 November 2023 19:26:36 +0000 (0:00:00.060) 0:00:20.819 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 27 November 2023 19:26:36 +0000 (0:00:00.047) 0:00:20.866 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:83 Monday 27 November 2023 19:26:36 +0000 (0:00:00.217) 0:00:21.084 ******* ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.002749", "end": "2023-11-27 19:26:37.007482", "rc": 0, "start": "2023-11-27 19:26:37.004733" } 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-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:87 Monday 27 November 2023 19:26:37 +0000 (0:00:00.225) 0:00:21.309 ******* 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-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:90 Monday 27 November 2023 19:26:37 +0000 (0:00:00.039) 0:00:21.348 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can enable tx_tcp_segmentation (using underscores).] ************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:104 Monday 27 November 2023 19:26:37 +0000 (0:00:00.043) 0:00:21.391 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 27 November 2023 19:26:37 +0000 (0:00:00.032) 0:00:21.424 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 27 November 2023 19:26:37 +0000 (0:00:00.060) 0:00:21.485 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:16 Monday 27 November 2023 19:26:37 +0000 (0:00:00.046) 0:00:21.531 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.network : Set package manager to use for ostree] ****** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:21 Monday 27 November 2023 19:26:37 +0000 (0:00:00.237) 0:00:21.769 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 Monday 27 November 2023 19:26:37 +0000 (0:00:00.049) 0:00:21.819 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 Monday 27 November 2023 19:26:39 +0000 (0:00:01.703) 0:00:23.522 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 27 November 2023 19:26:40 +0000 (0:00:01.327) 0:00:24.849 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 27 November 2023 19:26:40 +0000 (0:00:00.061) 0:00:24.911 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 27 November 2023 19:26:40 +0000 (0:00:00.048) 0:00:24.959 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 27 November 2023 19:26:40 +0000 (0:00:00.041) 0:00:25.001 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:38 Monday 27 November 2023 19:26:40 +0000 (0:00:00.139) 0:00:25.140 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:51 Monday 27 November 2023 19:26:40 +0000 (0:00:00.041) 0:00:25.182 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:65 Monday 27 November 2023 19:26:40 +0000 (0:00:00.046) 0:00:25.229 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:79 Monday 27 November 2023 19:26:41 +0000 (0:00:00.044) 0:00:25.273 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 27 November 2023 19:26:41 +0000 (0:00:00.035) 0:00:25.309 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 27 November 2023 19:26:41 +0000 (0:00:00.029) 0:00:25.338 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:107 Monday 27 November 2023 19:26:41 +0000 (0:00:00.383) 0:00:25.722 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11274sqd65yyw/tmpv71e_d1l" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 27 November 2023 19:26:41 +0000 (0:00:00.315) 0:00:26.037 ******* 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.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:128 Monday 27 November 2023 19:26:42 +0000 (0:00:00.435) 0:00:26.473 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 27 November 2023 19:26:42 +0000 (0:00:00.041) 0:00:26.515 ******* 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.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:138 Monday 27 November 2023 19:26:42 +0000 (0:00:00.043) 0:00:26.558 ******* 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.\\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.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 27 November 2023 19:26:42 +0000 (0:00:00.038) 0:00:26.596 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 27 November 2023 19:26:42 +0000 (0:00:00.071) 0:00:26.668 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:122 Monday 27 November 2023 19:26:42 +0000 (0:00:00.225) 0:00:26.893 ******* ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.002900", "end": "2023-11-27 19:26:42.822284", "rc": 0, "start": "2023-11-27 19:26:42.819384" } 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-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:126 Monday 27 November 2023 19:26:42 +0000 (0:00:00.255) 0:00:27.149 ******* 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-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:129 Monday 27 November 2023 19:26:42 +0000 (0:00:00.065) 0:00:27.214 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: Change feature with both underscores and dashes.] ****************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:140 Monday 27 November 2023 19:26:43 +0000 (0:00:00.047) 0:00:27.262 ******* ok: [sut] => {} MSG: ################################################## TASK [Configure ethtool features setting] ************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:144 Monday 27 November 2023 19:26:43 +0000 (0:00:00.042) 0:00:27.304 ******* 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-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:161 Monday 27 November 2023 19:26:43 +0000 (0:00:00.275) 0:00:27.580 ******* 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-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:164 Monday 27 November 2023 19:26:43 +0000 (0:00:00.034) 0:00:27.614 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check failure] *********************************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:174 Monday 27 November 2023 19:26:43 +0000 (0:00:00.034) 0:00:27.649 ******* 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-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:177 Monday 27 November 2023 19:26:43 +0000 (0:00:00.032) 0:00:27.682 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can reset features to their original value.] ********************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:182 Monday 27 November 2023 19:26:43 +0000 (0:00:00.032) 0:00:27.714 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 27 November 2023 19:26:43 +0000 (0:00:00.035) 0:00:27.750 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 27 November 2023 19:26:43 +0000 (0:00:00.060) 0:00:27.811 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:16 Monday 27 November 2023 19:26:43 +0000 (0:00:00.050) 0:00:27.861 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.network : Set package manager to use for ostree] ****** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:21 Monday 27 November 2023 19:26:43 +0000 (0:00:00.229) 0:00:28.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 Monday 27 November 2023 19:26:43 +0000 (0:00:00.059) 0:00:28.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 : Check which packages are installed] ********* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 Monday 27 November 2023 19:26:45 +0000 (0:00:01.650) 0:00:29.801 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 27 November 2023 19:26:46 +0000 (0:00:01.332) 0:00:31.133 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 27 November 2023 19:26:46 +0000 (0:00:00.033) 0:00:31.167 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 27 November 2023 19:26:46 +0000 (0:00:00.034) 0:00:31.202 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 27 November 2023 19:26:46 +0000 (0:00:00.040) 0:00:31.243 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:38 Monday 27 November 2023 19:26:47 +0000 (0:00:00.077) 0:00:31.320 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:51 Monday 27 November 2023 19:26:47 +0000 (0:00:00.043) 0:00:31.364 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:65 Monday 27 November 2023 19:26:47 +0000 (0:00:00.042) 0:00:31.407 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:79 Monday 27 November 2023 19:26:47 +0000 (0:00:00.043) 0:00:31.450 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 27 November 2023 19:26:47 +0000 (0:00:00.037) 0:00:31.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 27 November 2023 19:26:47 +0000 (0:00:00.032) 0:00:31.521 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:107 Monday 27 November 2023 19:26:47 +0000 (0:00:00.374) 0:00:31.895 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11274sqd65yyw/tmpe334z3cz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 27 November 2023 19:26:47 +0000 (0:00:00.320) 0:00:32.215 ******* 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.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:128 Monday 27 November 2023 19:26:48 +0000 (0:00:00.494) 0:00:32.709 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 27 November 2023 19:26:48 +0000 (0:00:00.065) 0:00:32.774 ******* 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.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:138 Monday 27 November 2023 19:26:48 +0000 (0:00:00.124) 0:00:32.899 ******* 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.\\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.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 27 November 2023 19:26:48 +0000 (0:00:00.063) 0:00:32.962 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 27 November 2023 19:26:48 +0000 (0:00:00.050) 0:00:33.012 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:196 Monday 27 November 2023 19:26:49 +0000 (0:00:00.265) 0:00:33.278 ******* ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003090", "end": "2023-11-27 19:26:49.213825", "rc": 0, "start": "2023-11-27 19:26:49.210735" } 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-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:201 Monday 27 November 2023 19:26:49 +0000 (0:00:00.241) 0:00:33.519 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 27 November 2023 19:26:49 +0000 (0:00:00.057) 0:00:33.577 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 27 November 2023 19:26:49 +0000 (0:00:00.086) 0:00:33.663 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:16 Monday 27 November 2023 19:26:49 +0000 (0:00:00.054) 0:00:33.718 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.network : Set package manager to use for ostree] ****** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:21 Monday 27 November 2023 19:26:49 +0000 (0:00:00.334) 0:00:34.052 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 Monday 27 November 2023 19:26:49 +0000 (0:00:00.088) 0:00:34.141 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 Monday 27 November 2023 19:26:51 +0000 (0:00:01.703) 0:00:35.844 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 27 November 2023 19:26:52 +0000 (0:00:01.278) 0:00:37.122 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 27 November 2023 19:26:52 +0000 (0:00:00.037) 0:00:37.160 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 27 November 2023 19:26:52 +0000 (0:00:00.047) 0:00:37.208 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 27 November 2023 19:26:52 +0000 (0:00:00.045) 0:00:37.253 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:38 Monday 27 November 2023 19:26:53 +0000 (0:00:00.087) 0:00:37.341 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:51 Monday 27 November 2023 19:26:53 +0000 (0:00:00.041) 0:00:37.383 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:65 Monday 27 November 2023 19:26:53 +0000 (0:00:00.040) 0:00:37.423 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:79 Monday 27 November 2023 19:26:53 +0000 (0:00:00.064) 0:00:37.488 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 27 November 2023 19:26:53 +0000 (0:00:00.039) 0:00:37.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 27 November 2023 19:26:53 +0000 (0:00:00.029) 0:00:37.557 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:107 Monday 27 November 2023 19:26:53 +0000 (0:00:00.379) 0:00:37.937 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11274sqd65yyw/tmpiwsrvuv4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 27 November 2023 19:26:54 +0000 (0:00:00.323) 0:00:38.261 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:128 Monday 27 November 2023 19:26:54 +0000 (0:00:00.541) 0:00:38.802 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 27 November 2023 19:26:54 +0000 (0:00:00.082) 0:00:38.884 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:138 Monday 27 November 2023 19:26:54 +0000 (0:00:00.057) 0:00:38.942 ******* 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-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 27 November 2023 19:26:54 +0000 (0:00:00.047) 0:00:38.989 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 27 November 2023 19:26:54 +0000 (0:00:00.044) 0:00:39.034 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:221 Monday 27 November 2023 19:26:54 +0000 (0:00:00.198) 0:00:39.232 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 27 November 2023 19:26:55 +0000 (0:00:00.113) 0:00:39.346 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 27 November 2023 19:26:55 +0000 (0:00:00.032) 0:00:39.379 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 27 November 2023 19:26:55 +0000 (0:00:00.033) 0:00:39.413 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 19:26:55 +0000 (0:00:00.062) 0:00:39.476 ******* included: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 19:26:55 +0000 (0:00:00.069) 0:00:39.546 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003389", "end": "2023-11-27 19:26:55.470930", "rc": 0, "start": "2023-11-27 19:26:55.467541" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 19:26:55 +0000 (0:00:00.216) 0:00:39.762 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 19:26:55 +0000 (0:00:00.042) 0:00:39.804 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 27 November 2023 19:26:55 +0000 (0:00:00.036) 0:00:39.841 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:22 Monday 27 November 2023 19:26:56 +0000 (0:00:01.411) 0:00:41.253 ******* 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-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 27 November 2023 19:26:57 +0000 (0:00:00.059) 0:00:41.312 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 27 November 2023 19:26:57 +0000 (0:00:00.086) 0:00:41.398 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.014885", "end": "2023-11-27 19:26:57.348342", "rc": 0, "start": "2023-11-27 19:26:57.333457" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:46 Monday 27 November 2023 19:26:57 +0000 (0:00:00.261) 0:00:41.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 27 November 2023 19:26:57 +0000 (0:00:00.044) 0:00:41.704 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:59 Monday 27 November 2023 19:26:57 +0000 (0:00:00.058) 0:00:41.763 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 27 November 2023 19:26:57 +0000 (0:00:00.058) 0:00:41.821 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=112 changed=5 unreachable=0 failed=0 skipped=81 rescued=1 ignored=0 Monday 27 November 2023 19:26:57 +0000 (0:00:00.018) 0:00:41.839 ******* =============================================================================== Install iproute --------------------------------------------------------- 1.82s /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 linux-system-roles.network : Check which packages are installed --------- 1.61s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 Install ethtool (test dependency) --------------------------------------- 1.48s /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tests_ethtool_features.yml:26 Install iproute --------------------------------------------------------- 1.41s /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 linux-system-roles.network : Check which packages are installed --------- 1.28s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 linux-system-roles.network : Configure networking connection profiles --- 1.23s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Enable network service --------------------- 1.04s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-test_network_state_fixziufqum1/tests/tests_ethtool_features_initscripts.yml:4 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.67s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:107 Create veth interface testnic1 ------------------------------------------ 0.66s /WORKDIR/git-test_network_state_fixziufqum1/tests/playbooks/tasks/manage_test_interface.yml:22 Enable EPEL 8 ----------------------------------------------------------- 0.57s /WORKDIR/git-test_network_state_fixziufqum1/tests/tasks/enable_epel.yml:35 ---- linux-system-roles.network : Re-test connectivity ----------------------- 0.56s /WORKDIR/git-test_network_state_fixziufqum1/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---