# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_ethtool_coalesce.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 17:03:56 +0000 (0:00:00.032) 0:00:00.032 ************ ok: [sut] TASK [include_tasks] *********************************************************** Friday 27 May 2022 17:03:57 +0000 (0:00:00.936) 0:00:00.968 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Friday 27 May 2022 17:03:57 +0000 (0:00:00.049) 0:00:01.017 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 17:03:57 +0000 (0:00:00.051) 0:00:01.069 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 27 May 2022 17:03:57 +0000 (0:00:00.074) 0:00:01.143 ************ changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.645539", "end": "2022-05-27 17:03:59.921944", "rc": 0, "start": "2022-05-27 17:03:57.276405" } STDOUT: Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Last metadata expiration check: 0:00:15 ago on Fri May 27 17:03:43 2022. epel-release-latest-8.noarch.rpm 171 kB/s | 23 kB 00:00 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: epel-release noarch 8-15.el8 @commandline 23 k Transaction Summary ================================================================================ Install 1 Package Total size: 23 k Installed size: 32 k Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : epel-release-8-15.el8.noarch 1/1 Running scriptlet: epel-release-8-15.el8.noarch 1/1 Verifying : epel-release-8-15.el8.noarch 1/1 Installed products updated. Installed: epel-release-8-15.el8.noarch Complete! TASK [Enable EPEL 7] *********************************************************** Friday 27 May 2022 17:04:00 +0000 (0:00:03.064) 0:00:04.207 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 27 May 2022 17:04:00 +0000 (0:00:00.042) 0:00:04.250 ************ changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.592769", "end": "2022-05-27 17:04:00.853442", "rc": 0, "start": "2022-05-27 17:04:00.260673" } STDOUT: Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. TASK [Enable EPEL 6] *********************************************************** Friday 27 May 2022 17:04:01 +0000 (0:00:00.897) 0:00:05.147 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Friday 27 May 2022 17:04:01 +0000 (0:00:00.052) 0:00:05.200 ************ ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** Friday 27 May 2022 17:04:01 +0000 (0:00:00.030) 0:00:05.231 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** Friday 27 May 2022 17:04:11 +0000 (0:00:10.495) 0:00:15.726 ************ changed: [sut] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.014459", "end": "2022-05-27 17:04:11.738047", "rc": 0, "start": "2022-05-27 17:04:11.723588" } STDOUT: 1.32.10 PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 17:04:12 +0000 (0:00:00.309) 0:00:16.035 ************ ok: [sut] TASK [Show playbook name] ****************************************************** Friday 27 May 2022 17:04:12 +0000 (0:00:00.620) 0:00:16.656 ************ ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** Friday 27 May 2022 17:04:12 +0000 (0:00:00.037) 0:00:16.694 ************ ok: [sut] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** Friday 27 May 2022 17:04:12 +0000 (0:00:00.042) 0:00:16.736 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 17:04:13 +0000 (0:00:00.056) 0:00:16.793 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 27 May 2022 17:04:13 +0000 (0:00:00.049) 0:00:16.842 ************ ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003740", "end": "2022-05-27 17:04:12.821668", "rc": 0, "start": "2022-05-27 17:04:12.817928" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Friday 27 May 2022 17:04:13 +0000 (0:00:00.266) 0:00:17.109 ************ ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 27 May 2022 17:04:13 +0000 (0:00:00.042) 0:00:17.151 ************ ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** Friday 27 May 2022 17:04:13 +0000 (0:00:00.039) 0:00:17.191 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Friday 27 May 2022 17:04:13 +0000 (0:00:00.076) 0:00:17.268 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Friday 27 May 2022 17:04:13 +0000 (0:00:00.044) 0:00:17.313 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** Friday 27 May 2022 17:04:13 +0000 (0:00:00.049) 0:00:17.362 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 17:04:13 +0000 (0:00:00.056) 0:00:17.418 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 27 May 2022 17:04:13 +0000 (0:00:00.046) 0:00:17.465 ************ ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003714", "end": "2022-05-27 17:04:13.448678", "rc": 0, "start": "2022-05-27 17:04:13.444964" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Friday 27 May 2022 17:04:13 +0000 (0:00:00.270) 0:00:17.736 ************ ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 27 May 2022 17:04:14 +0000 (0:00:00.062) 0:00:17.798 ************ ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Friday 27 May 2022 17:04:14 +0000 (0:00:00.075) 0:00:17.874 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Friday 27 May 2022 17:04:16 +0000 (0:00:01.984) 0:00:19.859 ************ 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.067171", "end": "2022-05-27 17:04:15.917649", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-05-27 17:04:15.850478" } changed: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004674", "end": "2022-05-27 17:04:16.184415", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-05-27 17:04:16.179741" } changed: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004363", "end": "2022-05-27 17:04:16.440356", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-05-27 17:04:16.435993" } TASK [Set up veth as managed by NetworkManager] ******************************** Friday 27 May 2022 17:04:16 +0000 (0:00:00.869) 0:00:20.728 ************ changed: [sut] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.084925", "end": "2022-05-27 17:04:16.798540", "rc": 0, "start": "2022-05-27 17:04:16.713615" } TASK [Delete veth interface testnic1] ****************************************** Friday 27 May 2022 17:04:17 +0000 (0:00:00.358) 0:00:21.087 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** Friday 27 May 2022 17:04:17 +0000 (0:00:00.037) 0:00:21.124 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Friday 27 May 2022 17:04:17 +0000 (0:00:00.038) 0:00:21.162 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Friday 27 May 2022 17:04:17 +0000 (0:00:00.046) 0:00:21.209 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Friday 27 May 2022 17:04:17 +0000 (0:00:00.038) 0:00:21.247 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 17:04:17 +0000 (0:00:00.041) 0:00:21.288 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/assert_device_present.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 17:04:17 +0000 (0:00:00.047) 0:00:21.336 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** Friday 27 May 2022 17:04:17 +0000 (0:00:00.058) 0:00:21.395 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1653671055.910503, "block_size": 4096, "blocks": 0, "ctime": 1653671055.910503, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21346, "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": 1653671055.910503, "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 27 May 2022 17:04:18 +0000 (0:00:00.431) 0:00:21.827 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** Friday 27 May 2022 17:04:18 +0000 (0:00:00.040) 0:00:21.867 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can create a profile without any coalescing option.] ************* Friday 27 May 2022 17:04:20 +0000 (0:00:02.038) 0:00:23.906 ************ ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 17:04:20 +0000 (0:00:00.060) 0:00:23.967 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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 27 May 2022 17:04:20 +0000 (0:00:00.181) 0:00:24.148 ************ 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 27 May 2022 17:04:20 +0000 (0:00:00.458) 0:00:24.607 ************ 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 27 May 2022 17:04:22 +0000 (0:00:02.043) 0:00:26.650 ************ 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 27 May 2022 17:04:24 +0000 (0:00:01.909) 0:00:28.559 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 17:04:24 +0000 (0:00:00.107) 0:00:28.666 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 17:04:25 +0000 (0:00:00.160) 0:00:28.827 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 17:04:25 +0000 (0:00:00.148) 0:00:28.976 ************ 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 27 May 2022 17:04:26 +0000 (0:00:00.826) 0:00:29.803 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 17:04:26 +0000 (0:00:00.108) 0:00:29.911 ************ skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Friday 27 May 2022 17:04:26 +0000 (0:00:00.101) 0:00:30.012 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 17:04:26 +0000 (0:00:00.105) 0:00:30.117 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "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, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 (not-active) TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 17:04:27 +0000 (0:00:00.854) 0:00:30.972 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 17:04:27 +0000 (0:00:00.104) 0:00:31.077 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "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, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 17:04:27 +0000 (0:00:00.150) 0:00:31.227 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** Friday 27 May 2022 17:04:27 +0000 (0:00:00.424) 0:00:31.652 ************ changed: [sut] => { "changed": true, "cmd": [ "nmcli", "-g", "ethtool.coalesce-rx-frames", "c", "show", "testnic1" ], "delta": "0:00:00.024078", "end": "2022-05-27 17:04:27.658821", "rc": 0, "start": "2022-05-27 17:04:27.634743" } TASK [ASSERT: The profile does not contain coalescing options] ***************** Friday 27 May 2022 17:04:28 +0000 (0:00:00.340) 0:00:31.992 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get profile's coalescing options] **************************************** Friday 27 May 2022 17:04:28 +0000 (0:00:00.091) 0:00:32.083 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain coalescing options] ***************** Friday 27 May 2022 17:04:28 +0000 (0:00:00.086) 0:00:32.170 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can set rx-frames.] ********************************************** Friday 27 May 2022 17:04:28 +0000 (0:00:00.082) 0:00:32.253 ************ ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 17:04:28 +0000 (0:00:00.082) 0:00:32.335 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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 27 May 2022 17:04:28 +0000 (0:00:00.157) 0:00:32.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 : Check which services are running] *********** Friday 27 May 2022 17:04:29 +0000 (0:00:00.497) 0:00:32.991 ************ 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 27 May 2022 17:04:31 +0000 (0:00:01.886) 0:00:34.877 ************ 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 27 May 2022 17:04:32 +0000 (0:00:01.555) 0:00:36.433 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 17:04:32 +0000 (0:00:00.095) 0:00:36.529 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 17:04:32 +0000 (0:00:00.149) 0:00:36.678 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 17:04:33 +0000 (0:00:00.110) 0:00:36.789 ************ 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 27 May 2022 17:04:33 +0000 (0:00:00.525) 0:00:37.314 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 17:04:33 +0000 (0:00:00.167) 0:00:37.481 ************ 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 27 May 2022 17:04:33 +0000 (0:00:00.103) 0:00:37.584 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 17:04:33 +0000 (0:00:00.094) 0:00:37.679 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 (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 stderr messages] *********************** Friday 27 May 2022 17:04:34 +0000 (0:00:00.625) 0:00:38.305 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 (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] ************************ Friday 27 May 2022 17:04:34 +0000 (0:00:00.130) 0:00:38.436 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 (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, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 (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 : Re-test connectivity] *********************** Friday 27 May 2022 17:04:34 +0000 (0:00:00.124) 0:00:38.560 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** Friday 27 May 2022 17:04:35 +0000 (0:00:00.312) 0:00:38.873 ************ changed: [sut] => { "changed": true, "cmd": [ "nmcli", "-g", "ethtool.coalesce-rx-frames", "c", "show", "testnic1" ], "delta": "0:00:00.031623", "end": "2022-05-27 17:04:34.881587", "rc": 0, "start": "2022-05-27 17:04:34.849964" } STDOUT: 128 TASK [Assert coalesce options set in profile] ********************************** Friday 27 May 2022 17:04:35 +0000 (0:00:00.347) 0:00:39.220 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get profile's coalescing options] **************************************** Friday 27 May 2022 17:04:35 +0000 (0:00:00.100) 0:00:39.321 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert coalesce options set in profile] ********************************** Friday 27 May 2022 17:04:35 +0000 (0:00:00.085) 0:00:39.407 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can clear coalescing options] ************************************ Friday 27 May 2022 17:04:35 +0000 (0:00:00.096) 0:00:39.504 ************ ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 17:04:35 +0000 (0:00:00.109) 0:00:39.613 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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 27 May 2022 17:04:36 +0000 (0:00:00.182) 0:00:39.796 ************ 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 27 May 2022 17:04:36 +0000 (0:00:00.621) 0:00:40.418 ************ 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 27 May 2022 17:04:38 +0000 (0:00:01.885) 0:00:42.304 ************ 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 27 May 2022 17:04:40 +0000 (0:00:01.598) 0:00:43.902 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 17:04:40 +0000 (0:00:00.146) 0:00:44.048 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 17:04:40 +0000 (0:00:00.162) 0:00:44.210 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 17:04:40 +0000 (0:00:00.112) 0:00:44.323 ************ 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 27 May 2022 17:04:41 +0000 (0:00:00.554) 0:00:44.877 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 17:04:41 +0000 (0:00:00.132) 0:00:45.010 ************ 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 27 May 2022 17:04:41 +0000 (0:00:00.134) 0:00:45.144 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 17:04:41 +0000 (0:00:00.103) 0:00:45.248 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "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, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 (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 stderr messages] *********************** Friday 27 May 2022 17:04:42 +0000 (0:00:00.662) 0:00:45.910 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 (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] ************************ Friday 27 May 2022 17:04:42 +0000 (0:00:00.105) 0:00:46.016 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "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, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 (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, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 41ed1c4a-4244-4290-b2cc-bd49ea9f3aa1 (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 : Re-test connectivity] *********************** Friday 27 May 2022 17:04:42 +0000 (0:00:00.109) 0:00:46.126 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** Friday 27 May 2022 17:04:42 +0000 (0:00:00.321) 0:00:46.447 ************ changed: [sut] => { "changed": true, "cmd": [ "nmcli", "-g", "ethtool.coalesce-rx-frames", "c", "show", "testnic1" ], "delta": "0:00:00.023354", "end": "2022-05-27 17:04:42.456298", "rc": 0, "start": "2022-05-27 17:04:42.432944" } TASK [ASSERT: The profile does reset coalescing options] *********************** Friday 27 May 2022 17:04:43 +0000 (0:00:00.393) 0:00:46.840 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get profile's coalescing options] **************************************** Friday 27 May 2022 17:04:43 +0000 (0:00:00.103) 0:00:46.943 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset coalescing options] *********************** Friday 27 May 2022 17:04:43 +0000 (0:00:00.087) 0:00:47.031 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 17:04:43 +0000 (0:00:00.086) 0:00:47.117 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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 27 May 2022 17:04:43 +0000 (0:00:00.154) 0:00:47.271 ************ 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 27 May 2022 17:04:44 +0000 (0:00:00.497) 0:00:47.769 ************ 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 27 May 2022 17:04:45 +0000 (0:00:01.922) 0:00:49.691 ************ 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 27 May 2022 17:04:47 +0000 (0:00:01.619) 0:00:51.310 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 17:04:47 +0000 (0:00:00.106) 0:00:51.417 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 17:04:47 +0000 (0:00:00.172) 0:00:51.589 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 17:04:47 +0000 (0:00:00.130) 0:00:51.719 ************ 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 27 May 2022 17:04:48 +0000 (0:00:00.553) 0:00:52.272 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 17:04:48 +0000 (0:00:00.114) 0:00:52.387 ************ 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 27 May 2022 17:04:48 +0000 (0:00:00.122) 0:00:52.510 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 17:04:48 +0000 (0:00:00.096) 0:00:52.607 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 17:04:49 +0000 (0:00:00.725) 0:00:53.332 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 17:04:49 +0000 (0:00:00.112) 0:00:53.445 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 17:04:49 +0000 (0:00:00.144) 0:00:53.589 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 17:04:50 +0000 (0:00:00.317) 0:00:53.907 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Friday 27 May 2022 17:04:50 +0000 (0:00:00.163) 0:00:54.070 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Friday 27 May 2022 17:04:50 +0000 (0:00:00.089) 0:00:54.159 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** Friday 27 May 2022 17:04:50 +0000 (0:00:00.102) 0:00:54.261 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 17:04:50 +0000 (0:00:00.167) 0:00:54.428 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 27 May 2022 17:04:50 +0000 (0:00:00.154) 0:00:54.583 ************ ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003818", "end": "2022-05-27 17:04:50.586230", "rc": 0, "start": "2022-05-27 17:04:50.582412" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** Friday 27 May 2022 17:04:51 +0000 (0:00:00.344) 0:00:54.928 ************ ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 27 May 2022 17:04:51 +0000 (0:00:00.113) 0:00:55.041 ************ ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* Friday 27 May 2022 17:04:51 +0000 (0:00:00.085) 0:00:55.127 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Friday 27 May 2022 17:04:53 +0000 (0:00:01.921) 0:00:57.048 ************ 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 27 May 2022 17:04:53 +0000 (0:00:00.127) 0:00:57.176 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** Friday 27 May 2022 17:04:53 +0000 (0:00:00.104) 0:00:57.280 ************ changed: [sut] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.013227", "end": "2022-05-27 17:04:53.271322", "rc": 0, "start": "2022-05-27 17:04:53.258095" } TASK [Create dummy interface testnic1] ***************************************** Friday 27 May 2022 17:04:53 +0000 (0:00:00.337) 0:00:57.618 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Friday 27 May 2022 17:04:53 +0000 (0:00:00.086) 0:00:57.705 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Friday 27 May 2022 17:04:54 +0000 (0:00:00.086) 0:00:57.791 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Friday 27 May 2022 17:04:54 +0000 (0:00:00.088) 0:00:57.880 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=87 changed=13 unreachable=0 failed=0 skipped=44 rescued=0 ignored=0 Friday 27 May 2022 17:04:54 +0000 (0:00:00.069) 0:00:57.950 ************ =============================================================================== Install NetworkManager ------------------------------------------------- 10.50s Create EPEL 8 ----------------------------------------------------------- 3.06s linux-system-roles.network : Check which services are running ----------- 2.04s Install ethtool (test dependency) --------------------------------------- 2.04s Install iproute --------------------------------------------------------- 1.98s linux-system-roles.network : Check which services are running ----------- 1.92s Install iproute --------------------------------------------------------- 1.92s linux-system-roles.network : Check which packages are installed --------- 1.91s linux-system-roles.network : Check which services are running ----------- 1.89s linux-system-roles.network : Check which services are running ----------- 1.89s linux-system-roles.network : Check which packages are installed --------- 1.62s linux-system-roles.network : Check which packages are installed --------- 1.60s linux-system-roles.network : Check which packages are installed --------- 1.56s Gathering Facts --------------------------------------------------------- 0.94s Enable EPEL 8 ----------------------------------------------------------- 0.90s Create veth interface testnic1 ------------------------------------------ 0.87s linux-system-roles.network : Configure networking connection profiles --- 0.73s linux-system-roles.network : Configure networking connection profiles --- 0.66s linux-system-roles.network : Configure networking connection profiles --- 0.63s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.62s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---