# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_ethtool_features.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* Friday 05 August 2022 17:20:16 +0000 (0:00:00.045) 0:00:00.045 ********* ok: [sut] TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:20:18 +0000 (0:00:02.406) 0:00:02.451 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Friday 05 August 2022 17:20:18 +0000 (0:00:00.107) 0:00:02.558 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:20:19 +0000 (0:00:00.089) 0:00:02.648 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 05 August 2022 17:20:19 +0000 (0:00:00.108) 0:00:02.756 ********* changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.497078", "end": "2022-08-05 17:20:22.742059", "rc": 0, "start": "2022-08-05 17:20:20.244981" } STDOUT: Last metadata expiration check: 0:00:36 ago on Fri Aug 5 17:19:45 2022. epel-release-latest-8.noarch.rpm 617 kB/s | 24 kB 00:00 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: epel-release noarch 8-16.el8 @commandline 24 k Transaction Summary ================================================================================ Install 1 Package Total size: 24 k Installed size: 34 k Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : epel-release-8-16.el8.noarch 1/1 Running scriptlet: epel-release-8-16.el8.noarch 1/1 Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. Verifying : epel-release-8-16.el8.noarch 1/1 Installed: epel-release-8-16.el8.noarch Complete! TASK [Enable EPEL 7] *********************************************************** Friday 05 August 2022 17:20:22 +0000 (0:00:03.654) 0:00:06.410 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 05 August 2022 17:20:22 +0000 (0:00:00.108) 0:00:06.519 ********* changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.594960", "end": "2022-08-05 17:20:23.932653", "rc": 0, "start": "2022-08-05 17:20:23.337693" } TASK [Enable EPEL 6] *********************************************************** Friday 05 August 2022 17:20:24 +0000 (0:00:01.105) 0:00:07.625 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Friday 05 August 2022 17:20:24 +0000 (0:00:00.173) 0:00:07.799 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** Friday 05 August 2022 17:20:24 +0000 (0:00:00.148) 0:00:07.947 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** Friday 05 August 2022 17:20:34 +0000 (0:00:10.494) 0:00:18.442 ********* changed: [sut] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.015128", "end": "2022-08-05 17:20:35.167556", "rc": 0, "start": "2022-08-05 17:20:35.152428" } STDOUT: 1.39.10 PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 05 August 2022 17:20:35 +0000 (0:00:00.546) 0:00:18.997 ********* ok: [sut] TASK [Show playbook name] ****************************************************** Friday 05 August 2022 17:20:36 +0000 (0:00:01.058) 0:00:20.055 ********* ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_features.yml TASK [INIT: Ethtool feeatures tests] ******************************************* Friday 05 August 2022 17:20:36 +0000 (0:00:00.153) 0:00:20.208 ********* ok: [sut] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:20:36 +0000 (0:00:00.146) 0:00:20.355 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:20:36 +0000 (0:00:00.172) 0:00:20.527 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 05 August 2022 17:20:37 +0000 (0:00:00.300) 0:00:20.827 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.005199", "end": "2022-08-05 17:20:38.172278", "rc": 0, "start": "2022-08-05 17:20:38.167079" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Friday 05 August 2022 17:20:38 +0000 (0:00:01.135) 0:00:21.963 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 05 August 2022 17:20:39 +0000 (0:00:00.683) 0:00:22.646 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:20:39 +0000 (0:00:00.628) 0:00:23.275 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Friday 05 August 2022 17:20:40 +0000 (0:00:00.554) 0:00:23.829 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Friday 05 August 2022 17:20:40 +0000 (0:00:00.555) 0:00:24.384 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:20:41 +0000 (0:00:00.862) 0:00:25.247 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:20:42 +0000 (0:00:00.898) 0:00:26.146 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 05 August 2022 17:20:43 +0000 (0:00:00.871) 0:00:27.018 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.005244", "end": "2022-08-05 17:20:44.043577", "rc": 0, "start": "2022-08-05 17:20:44.038333" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Friday 05 August 2022 17:20:44 +0000 (0:00:00.806) 0:00:27.825 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 05 August 2022 17:20:44 +0000 (0:00:00.610) 0:00:28.435 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Friday 05 August 2022 17:20:45 +0000 (0:00:00.604) 0:00:29.040 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Friday 05 August 2022 17:20:48 +0000 (0:00:03.028) 0:00:32.068 ********* changed: [sut] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.054188", "end": "2022-08-05 17:20:49.461880", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-05 17:20:49.407692" } changed: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.011114", "end": "2022-08-05 17:20:50.159083", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-05 17:20:50.147969" } changed: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.011168", "end": "2022-08-05 17:20:50.963209", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-05 17:20:50.952041" } TASK [Set up veth as managed by NetworkManager] ******************************** Friday 05 August 2022 17:20:51 +0000 (0:00:02.794) 0:00:34.862 ********* changed: [sut] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.088419", "end": "2022-08-05 17:20:52.306204", "rc": 0, "start": "2022-08-05 17:20:52.217785" } TASK [Delete veth interface testnic1] ****************************************** Friday 05 August 2022 17:20:52 +0000 (0:00:01.384) 0:00:36.247 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** Friday 05 August 2022 17:20:53 +0000 (0:00:00.502) 0:00:36.749 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Friday 05 August 2022 17:20:53 +0000 (0:00:00.531) 0:00:37.280 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Friday 05 August 2022 17:20:53 +0000 (0:00:00.346) 0:00:37.627 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Friday 05 August 2022 17:20:54 +0000 (0:00:00.519) 0:00:38.146 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:20:54 +0000 (0:00:00.296) 0:00:38.443 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:20:55 +0000 (0:00:00.630) 0:00:39.073 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** Friday 05 August 2022 17:20:56 +0000 (0:00:00.867) 0:00:39.941 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659720049.4499147, "block_size": 4096, "blocks": 0, "ctime": 1659720049.4499147, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22088, "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": 1659720049.4499147, "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 interface testnic1 is present] ******************************* Friday 05 August 2022 17:20:59 +0000 (0:00:03.439) 0:00:43.380 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** Friday 05 August 2022 17:21:01 +0000 (0:00:01.657) 0:00:45.038 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can create a profile without changing the ethtool features.] ***** Friday 05 August 2022 17:21:04 +0000 (0:00:03.421) 0:00:48.460 ********* ok: [sut] => {} MSG: ################################################## TASK [Get current device features] ********************************************* Friday 05 August 2022 17:21:05 +0000 (0:00:00.824) 0:00:49.284 ********* changed: [sut] => { "changed": true, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.004697", "end": "2022-08-05 17:21:06.454637", "rc": 0, "start": "2022-08-05 17:21:06.449940" } 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] ********** Friday 05 August 2022 17:21:06 +0000 (0:00:01.170) 0:00:50.454 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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] *** Friday 05 August 2022 17:21:08 +0000 (0:00:01.733) 0:00:52.187 ********* 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 services are running] *********** Friday 05 August 2022 17:21:10 +0000 (0:00:02.034) 0:00:54.222 ********* 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] ********* Friday 05 August 2022 17:21:17 +0000 (0:00:07.366) 0:01:01.640 ********* 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] ********************* Friday 05 August 2022 17:21:30 +0000 (0:00:12.322) 0:01:13.963 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 17:21:31 +0000 (0:00:01.398) 0:01:15.361 ********* 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] *** Friday 05 August 2022 17:21:33 +0000 (0:00:02.027) 0:01:17.389 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 17:21:35 +0000 (0:00:01.817) 0:01:19.206 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 17:21:38 +0000 (0:00:03.132) 0:01:22.339 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 17:21:41 +0000 (0:00:02.315) 0:01:24.654 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 17:21:43 +0000 (0:00:02.691) 0:01:27.346 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 17:21:46 +0000 (0:00:02.451) 0:01:29.797 ********* 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 : Enable and start wpa_supplicant] ************ Friday 05 August 2022 17:21:58 +0000 (0:00:12.049) 0:01:41.846 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 17:22:01 +0000 (0:00:03.482) 0:01:45.329 ********* 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 : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 17:22:04 +0000 (0:00:02.559) 0:01:47.889 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 17:22:06 +0000 (0:00:02.711) 0:01:50.600 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 17:22:18 +0000 (0:00:11.159) 0:02:01.759 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 17:22:19 +0000 (0:00:00.920) 0:02:02.680 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 17:22:21 +0000 (0:00:01.981) 0:02:04.662 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 17:22:23 +0000 (0:00:02.118) 0:02:06.780 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 17:22:25 +0000 (0:00:02.523) 0:02:09.304 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* Friday 05 August 2022 17:22:32 +0000 (0:00:06.573) 0:02:15.877 ********* changed: [sut] => { "changed": true, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.004803", "end": "2022-08-05 17:22:34.296098", "rc": 0, "start": "2022-08-05 17:22:34.291295" } 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] **************** Friday 05 August 2022 17:22:35 +0000 (0:00:03.133) 0:02:19.010 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can disable gro and tx-tcp-segmentation and enable gso.] ********* Friday 05 August 2022 17:22:38 +0000 (0:00:02.721) 0:02:21.732 ********* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 17:22:40 +0000 (0:00:02.248) 0:02:23.980 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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] *** Friday 05 August 2022 17:22:41 +0000 (0:00:01.209) 0:02:25.190 ********* 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 services are running] *********** Friday 05 August 2022 17:22:48 +0000 (0:00:07.131) 0:02:32.387 ********* 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] ********* Friday 05 August 2022 17:22:55 +0000 (0:00:06.874) 0:02:39.262 ********* 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] ********************* Friday 05 August 2022 17:23:04 +0000 (0:00:08.745) 0:02:48.007 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 17:23:06 +0000 (0:00:01.872) 0:02:49.880 ********* 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] *** Friday 05 August 2022 17:23:08 +0000 (0:00:01.870) 0:02:51.750 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 17:23:10 +0000 (0:00:01.976) 0:02:53.727 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 17:23:14 +0000 (0:00:04.324) 0:02:58.051 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 17:23:17 +0000 (0:00:02.796) 0:03:00.847 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 17:23:19 +0000 (0:00:02.538) 0:03:03.386 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 17:23:23 +0000 (0:00:03.441) 0:03:06.827 ********* 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 : Enable and start wpa_supplicant] ************ Friday 05 August 2022 17:23:29 +0000 (0:00:06.549) 0:03:13.377 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 17:23:33 +0000 (0:00:04.119) 0:03:17.496 ********* 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 : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 17:23:36 +0000 (0:00:02.236) 0:03:19.733 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 17:23:37 +0000 (0:00:01.870) 0:03:21.603 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': "nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)", 'success': None} TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 17:23:44 +0000 (0:00:06.230) 0:03:27.834 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 17:23:46 +0000 (0:00:02.057) 0:03:29.892 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 17:23:48 +0000 (0:00:02.641) 0:03:32.533 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 17:23:50 +0000 (0:00:01.673) 0:03:34.207 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 17:23:53 +0000 (0:00:02.491) 0:03:36.698 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* Friday 05 August 2022 17:23:56 +0000 (0:00:03.800) 0:03:40.499 ********* changed: [sut] => { "changed": true, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.004848", "end": "2022-08-05 17:23:59.089978", "rc": 0, "start": "2022-08-05 17:23:59.085130" } 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] *************************************************** Friday 05 August 2022 17:24:00 +0000 (0:00:03.148) 0:03:43.756 ********* 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] ************************************************** Friday 05 August 2022 17:24:05 +0000 (0:00:05.189) 0:03:48.946 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can enable tx_tcp_segmentation (using underscores).] ************* Friday 05 August 2022 17:24:08 +0000 (0:00:02.851) 0:03:51.798 ********* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 17:24:10 +0000 (0:00:02.141) 0:03:53.939 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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] *** Friday 05 August 2022 17:24:12 +0000 (0:00:02.309) 0:03:56.249 ********* 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 services are running] *********** Friday 05 August 2022 17:24:16 +0000 (0:00:04.111) 0:04:00.361 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Friday 05 August 2022 17:24:22 +0000 (0:00:05.499) 0:04:05.860 ********* 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] ********************* Friday 05 August 2022 17:24:28 +0000 (0:00:06.521) 0:04:12.382 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 17:24:30 +0000 (0:00:01.344) 0:04:13.727 ********* 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] *** Friday 05 August 2022 17:24:31 +0000 (0:00:01.674) 0:04:15.401 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 17:24:33 +0000 (0:00:01.607) 0:04:17.009 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 17:24:38 +0000 (0:00:05.072) 0:04:22.081 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 17:24:40 +0000 (0:00:02.266) 0:04:24.348 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 17:24:42 +0000 (0:00:02.226) 0:04:26.575 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 17:24:45 +0000 (0:00:02.852) 0:04:29.427 ********* 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 : Enable and start wpa_supplicant] ************ Friday 05 August 2022 17:24:49 +0000 (0:00:03.789) 0:04:33.217 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 17:24:53 +0000 (0:00:03.617) 0:04:36.835 ********* 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 : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 17:24:54 +0000 (0:00:01.205) 0:04:38.041 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 17:24:56 +0000 (0:00:01.975) 0:04:40.016 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': "nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)", 'success': None} TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 17:25:03 +0000 (0:00:07.224) 0:04:47.241 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 17:25:05 +0000 (0:00:01.787) 0:04:49.029 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 17:25:07 +0000 (0:00:01.879) 0:04:50.908 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 17:25:07 +0000 (0:00:00.364) 0:04:51.273 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 17:25:08 +0000 (0:00:00.359) 0:04:51.632 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* Friday 05 August 2022 17:25:08 +0000 (0:00:00.847) 0:04:52.480 ********* changed: [sut] => { "changed": true, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.004817", "end": "2022-08-05 17:25:09.165843", "rc": 0, "start": "2022-08-05 17:25:09.161026" } 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] *************************************************** Friday 05 August 2022 17:25:09 +0000 (0:00:00.464) 0:04:52.945 ********* 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] ************************************************** Friday 05 August 2022 17:25:09 +0000 (0:00:00.213) 0:04:53.158 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: Change feature with both underscores and dashes.] ****************** Friday 05 August 2022 17:25:09 +0000 (0:00:00.316) 0:04:53.475 ********* ok: [sut] => {} MSG: ################################################## TASK [network_connections] ***************************************************** Friday 05 August 2022 17:25:10 +0000 (0:00:00.200) 0:04:53.676 ********* 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": "nm" } }, "changed": false } STDERR: MSG: fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation' TASK [Show network_connections result] ***************************************** Friday 05 August 2022 17:25:10 +0000 (0:00:00.715) 0:04:54.392 ********* 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": "nm" } }, "changed": false, "failed": true, "msg": "fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation'", "stderr": "\n", "stderr_lines": [ "" ] } } TASK [assert] ****************************************************************** Friday 05 August 2022 17:25:11 +0000 (0:00:00.237) 0:04:54.629 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check failure] *********************************************************** Friday 05 August 2022 17:25:11 +0000 (0:00:00.167) 0:04:54.797 ********* 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": "nm" } }, "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] *************************************** Friday 05 August 2022 17:25:11 +0000 (0:00:00.215) 0:04:55.012 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can reset features to their original value.] ********************* Friday 05 August 2022 17:25:11 +0000 (0:00:00.183) 0:04:55.195 ********* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 17:25:11 +0000 (0:00:00.168) 0:04:55.363 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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] *** Friday 05 August 2022 17:25:11 +0000 (0:00:00.193) 0:04:55.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 : Check which services are running] *********** Friday 05 August 2022 17:25:12 +0000 (0:00:01.005) 0:04:56.563 ********* 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] ********* Friday 05 August 2022 17:25:15 +0000 (0:00:02.380) 0:04:58.944 ********* 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] ********************* Friday 05 August 2022 17:25:17 +0000 (0:00:01.675) 0:05:00.619 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 17:25:17 +0000 (0:00:00.146) 0:05:00.766 ********* 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] *** Friday 05 August 2022 17:25:17 +0000 (0:00:00.160) 0:05:00.927 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 17:25:17 +0000 (0:00:00.112) 0:05:01.039 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 17:25:17 +0000 (0:00:00.144) 0:05:01.184 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 17:25:17 +0000 (0:00:00.077) 0:05:01.261 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 17:25:17 +0000 (0:00:00.127) 0:05:01.388 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 17:25:17 +0000 (0:00:00.104) 0:05:01.493 ********* 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 : Enable and start wpa_supplicant] ************ Friday 05 August 2022 17:25:18 +0000 (0:00:00.599) 0:05:02.093 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 17:25:18 +0000 (0:00:00.104) 0:05:02.197 ********* 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 : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 17:25:18 +0000 (0:00:00.083) 0:05:02.280 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 17:25:18 +0000 (0:00:00.082) 0:05:02.362 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': "nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)", 'success': None} TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 17:25:19 +0000 (0:00:00.685) 0:05:03.048 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 17:25:19 +0000 (0:00:00.079) 0:05:03.127 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 17:25:19 +0000 (0:00:00.101) 0:05:03.229 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 18d2a388-a694-4d25-a0fe-102199bbb56d (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 17:25:19 +0000 (0:00:00.106) 0:05:03.335 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 17:25:19 +0000 (0:00:00.115) 0:05:03.450 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* Friday 05 August 2022 17:25:20 +0000 (0:00:00.378) 0:05:03.829 ********* changed: [sut] => { "changed": true, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.004858", "end": "2022-08-05 17:25:20.459022", "rc": 0, "start": "2022-08-05 17:25:20.454164" } 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] **************** Friday 05 August 2022 17:25:20 +0000 (0:00:00.304) 0:05:04.134 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 17:25:20 +0000 (0:00:00.200) 0:05:04.335 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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] *** Friday 05 August 2022 17:25:20 +0000 (0:00:00.166) 0:05:04.501 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Friday 05 August 2022 17:25:21 +0000 (0:00:00.578) 0:05:05.080 ********* 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] ********* Friday 05 August 2022 17:25:23 +0000 (0:00:02.385) 0:05:07.465 ********* 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] ********************* Friday 05 August 2022 17:25:25 +0000 (0:00:01.668) 0:05:09.133 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 17:25:25 +0000 (0:00:00.234) 0:05:09.368 ********* 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] *** Friday 05 August 2022 17:25:25 +0000 (0:00:00.088) 0:05:09.456 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 17:25:25 +0000 (0:00:00.080) 0:05:09.537 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 17:25:26 +0000 (0:00:00.230) 0:05:09.767 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 17:25:26 +0000 (0:00:00.089) 0:05:09.857 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 17:25:26 +0000 (0:00:00.102) 0:05:09.959 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 17:25:26 +0000 (0:00:00.168) 0:05:10.128 ********* 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 : Enable and start wpa_supplicant] ************ Friday 05 August 2022 17:25:27 +0000 (0:00:00.621) 0:05:10.749 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 17:25:27 +0000 (0:00:00.179) 0:05:10.928 ********* 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 : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 17:25:27 +0000 (0:00:00.168) 0:05:11.097 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 17:25:27 +0000 (0:00:00.124) 0:05:11.221 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 17:25:28 +0000 (0:00:00.785) 0:05:12.006 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 17:25:28 +0000 (0:00:00.122) 0:05:12.128 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 17:25:28 +0000 (0:00:00.131) 0:05:12.260 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 17:25:28 +0000 (0:00:00.205) 0:05:12.466 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 17:25:28 +0000 (0:00:00.074) 0:05:12.540 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:25:29 +0000 (0:00:00.333) 0:05:12.873 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Friday 05 August 2022 17:25:29 +0000 (0:00:00.121) 0:05:12.995 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Friday 05 August 2022 17:25:29 +0000 (0:00:00.066) 0:05:13.062 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:25:29 +0000 (0:00:00.065) 0:05:13.127 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:25:29 +0000 (0:00:00.106) 0:05:13.234 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 05 August 2022 17:25:29 +0000 (0:00:00.114) 0:05:13.348 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.005213", "end": "2022-08-05 17:25:30.000513", "rc": 0, "start": "2022-08-05 17:25:29.995300" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** Friday 05 August 2022 17:25:30 +0000 (0:00:00.325) 0:05:13.673 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 05 August 2022 17:25:30 +0000 (0:00:00.098) 0:05:13.772 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* Friday 05 August 2022 17:25:30 +0000 (0:00:00.102) 0:05:13.874 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Friday 05 August 2022 17:25:32 +0000 (0:00:02.178) 0:05:16.053 ********* 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] ******************************** Friday 05 August 2022 17:25:32 +0000 (0:00:00.132) 0:05:16.186 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** Friday 05 August 2022 17:25:32 +0000 (0:00:00.112) 0:05:16.299 ********* changed: [sut] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.013936", "end": "2022-08-05 17:25:32.968924", "rc": 0, "start": "2022-08-05 17:25:32.954988" } TASK [Create dummy interface testnic1] ***************************************** Friday 05 August 2022 17:25:33 +0000 (0:00:00.370) 0:05:16.669 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Friday 05 August 2022 17:25:33 +0000 (0:00:00.123) 0:05:16.793 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Friday 05 August 2022 17:25:33 +0000 (0:00:00.086) 0:05:16.880 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Friday 05 August 2022 17:25:33 +0000 (0:00:00.155) 0:05:17.035 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=108 changed=16 unreachable=0 failed=0 skipped=73 rescued=1 ignored=0 Friday 05 August 2022 17:25:33 +0000 (0:00:00.273) 0:05:17.308 ********* =============================================================================== linux-system-roles.network : Enable and start NetworkManager ----------- 12.65s linux-system-roles.network : Check which packages are installed -------- 12.32s linux-system-roles.network : Configure networking connection profiles -- 11.84s Install NetworkManager ------------------------------------------------- 10.49s linux-system-roles.network : Check which packages are installed --------- 8.75s linux-system-roles.network : Check which services are running ----------- 7.42s linux-system-roles.network : Configure networking connection profiles --- 7.23s linux-system-roles.network : Ensure ansible_facts used by role are present --- 7.20s linux-system-roles.network : Re-test connectivity ----------------------- 6.95s linux-system-roles.network : Check which services are running ----------- 6.87s linux-system-roles.network : Enable and start NetworkManager ------------ 6.55s linux-system-roles.network : Check which packages are installed --------- 6.52s linux-system-roles.network : Configure networking connection profiles --- 6.23s linux-system-roles.network : Check which services are running ----------- 5.42s Show ethtool_features --------------------------------------------------- 5.19s linux-system-roles.network : Install packages --------------------------- 5.07s linux-system-roles.network : Install packages --------------------------- 4.32s linux-system-roles.network : Ensure ansible_facts used by role are present --- 4.20s linux-system-roles.network : Enable and start wpa_supplicant ------------ 4.12s linux-system-roles.network : Re-test connectivity ----------------------- 3.80s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---