# 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] ********************************************************* Tuesday 31 May 2022 00:41:42 +0000 (0:00:00.032) 0:00:00.032 *********** ok: [sut] TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:41:43 +0000 (0:00:00.866) 0:00:00.898 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Tuesday 31 May 2022 00:41:43 +0000 (0:00:00.032) 0:00:00.930 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:41:43 +0000 (0:00:00.044) 0:00:00.975 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 34] ********************************************************** Tuesday 31 May 2022 00:41:43 +0000 (0:00:00.049) 0:00:01.024 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Tuesday 31 May 2022 00:41:43 +0000 (0:00:00.027) 0:00:01.052 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Tuesday 31 May 2022 00:41:43 +0000 (0:00:00.026) 0:00:01.079 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Tuesday 31 May 2022 00:41:43 +0000 (0:00:00.027) 0:00:01.107 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Tuesday 31 May 2022 00:41:43 +0000 (0:00:00.023) 0:00:01.131 *********** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** Tuesday 31 May 2022 00:41:43 +0000 (0:00:00.023) 0:00:01.154 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** Tuesday 31 May 2022 00:41:46 +0000 (0:00:02.979) 0:00:04.133 *********** changed: [sut] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.008955", "end": "2022-05-31 00:41:46.635296", "rc": 0, "start": "2022-05-31 00:41:46.626341" } STDOUT: 1.30.6 PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 00:41:47 +0000 (0:00:00.402) 0:00:04.536 *********** ok: [sut] TASK [Show playbook name] ****************************************************** Tuesday 31 May 2022 00:41:47 +0000 (0:00:00.552) 0:00:05.088 *********** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** Tuesday 31 May 2022 00:41:47 +0000 (0:00:00.034) 0:00:05.122 *********** ok: [sut] => {} MSG: ################################################## TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:41:47 +0000 (0:00:00.031) 0:00:05.154 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 00:41:47 +0000 (0:00:00.039) 0:00:05.194 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Tuesday 31 May 2022 00:41:47 +0000 (0:00:00.039) 0:00:05.233 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003551", "end": "2022-05-31 00:41:47.589666", "rc": 0, "start": "2022-05-31 00:41:47.586115" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Tuesday 31 May 2022 00:41:48 +0000 (0:00:00.247) 0:00:05.480 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Tuesday 31 May 2022 00:41:48 +0000 (0:00:00.035) 0:00:05.516 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:41:48 +0000 (0:00:00.035) 0:00:05.552 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Tuesday 31 May 2022 00:41:48 +0000 (0:00:00.052) 0:00:05.604 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Tuesday 31 May 2022 00:41:48 +0000 (0:00:00.031) 0:00:05.636 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** Tuesday 31 May 2022 00:41:48 +0000 (0:00:00.030) 0:00:05.667 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 00:41:48 +0000 (0:00:00.040) 0:00:05.707 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Tuesday 31 May 2022 00:41:48 +0000 (0:00:00.038) 0:00:05.746 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003415", "end": "2022-05-31 00:41:48.100814", "rc": 0, "start": "2022-05-31 00:41:48.097399" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Tuesday 31 May 2022 00:41:48 +0000 (0:00:00.245) 0:00:05.991 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Tuesday 31 May 2022 00:41:48 +0000 (0:00:00.037) 0:00:06.029 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Tuesday 31 May 2022 00:41:48 +0000 (0:00:00.034) 0:00:06.063 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Tuesday 31 May 2022 00:41:51 +0000 (0:00:02.850) 0:00:08.914 *********** 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.097947", "end": "2022-05-31 00:41:51.389565", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-05-31 00:41:51.291618" } changed: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004051", "end": "2022-05-31 00:41:51.651967", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-05-31 00:41:51.647916" } changed: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.006400", "end": "2022-05-31 00:41:51.890383", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-05-31 00:41:51.883983" } TASK [Set up veth as managed by NetworkManager] ******************************** Tuesday 31 May 2022 00:41:52 +0000 (0:00:00.875) 0:00:09.789 *********** changed: [sut] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.090762", "end": "2022-05-31 00:41:52.243496", "rc": 0, "start": "2022-05-31 00:41:52.152734" } TASK [Delete veth interface testnic1] ****************************************** Tuesday 31 May 2022 00:41:52 +0000 (0:00:00.348) 0:00:10.138 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** Tuesday 31 May 2022 00:41:52 +0000 (0:00:00.032) 0:00:10.171 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Tuesday 31 May 2022 00:41:52 +0000 (0:00:00.036) 0:00:10.207 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Tuesday 31 May 2022 00:41:52 +0000 (0:00:00.036) 0:00:10.243 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Tuesday 31 May 2022 00:41:53 +0000 (0:00:00.033) 0:00:10.277 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:41:53 +0000 (0:00:00.030) 0:00:10.308 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/assert_device_present.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 00:41:53 +0000 (0:00:00.044) 0:00:10.352 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** Tuesday 31 May 2022 00:41:53 +0000 (0:00:00.041) 0:00:10.394 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1653957711.3830826, "block_size": 4096, "blocks": 0, "ctime": 1653957711.3830826, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24697, "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": 1653957711.3830826, "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] ******************************* Tuesday 31 May 2022 00:41:53 +0000 (0:00:00.386) 0:00:10.780 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** Tuesday 31 May 2022 00:41:53 +0000 (0:00:00.038) 0:00:10.819 *********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: ethtool-2:5.17-1.fc34.x86_64" ] } TASK [TEST: I can create a profile without any coalescing option.] ************* Tuesday 31 May 2022 00:41:57 +0000 (0:00:04.223) 0:00:15.043 *********** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 00:41:57 +0000 (0:00:00.043) 0:00:15.086 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Tuesday 31 May 2022 00:41:58 +0000 (0:00:00.189) 0:00:15.276 *********** 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] *********** Tuesday 31 May 2022 00:41:58 +0000 (0:00:00.467) 0:00:15.743 *********** 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] ********* Tuesday 31 May 2022 00:42:00 +0000 (0:00:02.139) 0:00:17.882 *********** 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] ********************* Tuesday 31 May 2022 00:42:01 +0000 (0:00:01.184) 0:00:19.067 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 00:42:01 +0000 (0:00:00.092) 0:00:19.160 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Tuesday 31 May 2022 00:42:02 +0000 (0:00:00.151) 0:00:19.311 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 00:42:02 +0000 (0:00:00.121) 0:00:19.433 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Tuesday 31 May 2022 00:42:03 +0000 (0:00:00.845) 0:00:20.278 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 00:42:03 +0000 (0:00:00.110) 0:00:20.388 *********** 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] *** Tuesday 31 May 2022 00:42:03 +0000 (0:00:00.109) 0:00:20.498 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 00:42:03 +0000 (0:00:00.093) 0:00:20.591 *********** 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, a3041187-c1a6-4cff-b0ab-b83176618ab8 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8 (not-active) TASK [linux-system-roles.network : Show stderr messages] *********************** Tuesday 31 May 2022 00:42:04 +0000 (0:00:01.086) 0:00:21.677 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 00:42:04 +0000 (0:00:00.100) 0:00:21.778 *********** 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, a3041187-c1a6-4cff-b0ab-b83176618ab8\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Tuesday 31 May 2022 00:42:04 +0000 (0:00:00.139) 0:00:21.917 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** Tuesday 31 May 2022 00:42:05 +0000 (0:00:00.400) 0:00:22.317 *********** changed: [sut] => { "changed": true, "cmd": [ "nmcli", "-g", "ethtool.coalesce-rx-frames", "c", "show", "testnic1" ], "delta": "0:00:00.021034", "end": "2022-05-31 00:42:04.696994", "rc": 0, "start": "2022-05-31 00:42:04.675960" } TASK [ASSERT: The profile does not contain coalescing options] ***************** Tuesday 31 May 2022 00:42:05 +0000 (0:00:00.322) 0:00:22.640 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get profile's coalescing options] **************************************** Tuesday 31 May 2022 00:42:05 +0000 (0:00:00.078) 0:00:22.718 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain coalescing options] ***************** Tuesday 31 May 2022 00:42:05 +0000 (0:00:00.068) 0:00:22.786 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can set rx-frames.] ********************************************** Tuesday 31 May 2022 00:42:05 +0000 (0:00:00.068) 0:00:22.855 *********** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 00:42:05 +0000 (0:00:00.077) 0:00:22.933 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Tuesday 31 May 2022 00:42:05 +0000 (0:00:00.132) 0:00:23.065 *********** 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] *********** Tuesday 31 May 2022 00:42:06 +0000 (0:00:00.476) 0:00:23.541 *********** 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] ********* Tuesday 31 May 2022 00:42:08 +0000 (0:00:01.981) 0:00:25.523 *********** 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] ********************* Tuesday 31 May 2022 00:42:09 +0000 (0:00:00.826) 0:00:26.350 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 00:42:09 +0000 (0:00:00.081) 0:00:26.431 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Tuesday 31 May 2022 00:42:09 +0000 (0:00:00.131) 0:00:26.563 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 00:42:09 +0000 (0:00:00.088) 0:00:26.652 *********** 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] ************ Tuesday 31 May 2022 00:42:09 +0000 (0:00:00.521) 0:00:27.173 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 00:42:10 +0000 (0:00:00.093) 0:00:27.267 *********** 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] *** Tuesday 31 May 2022 00:42:10 +0000 (0:00:00.081) 0:00:27.349 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 00:42:10 +0000 (0:00:00.126) 0:00:27.475 *********** 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, a3041187-c1a6-4cff-b0ab-b83176618ab8 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8 (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] *********************** Tuesday 31 May 2022 00:42:10 +0000 (0:00:00.597) 0:00:28.073 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8 (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] ************************ Tuesday 31 May 2022 00:42:10 +0000 (0:00:00.101) 0:00:28.175 *********** 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, a3041187-c1a6-4cff-b0ab-b83176618ab8\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8 (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, a3041187-c1a6-4cff-b0ab-b83176618ab8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8 (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] *********************** Tuesday 31 May 2022 00:42:11 +0000 (0:00:00.089) 0:00:28.264 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** Tuesday 31 May 2022 00:42:11 +0000 (0:00:00.292) 0:00:28.556 *********** changed: [sut] => { "changed": true, "cmd": [ "nmcli", "-g", "ethtool.coalesce-rx-frames", "c", "show", "testnic1" ], "delta": "0:00:00.020724", "end": "2022-05-31 00:42:10.933699", "rc": 0, "start": "2022-05-31 00:42:10.912975" } STDOUT: 128 TASK [Assert coalesce options set in profile] ********************************** Tuesday 31 May 2022 00:42:11 +0000 (0:00:00.311) 0:00:28.868 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get profile's coalescing options] **************************************** Tuesday 31 May 2022 00:42:11 +0000 (0:00:00.081) 0:00:28.949 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert coalesce options set in profile] ********************************** Tuesday 31 May 2022 00:42:11 +0000 (0:00:00.071) 0:00:29.021 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can clear coalescing options] ************************************ Tuesday 31 May 2022 00:42:11 +0000 (0:00:00.070) 0:00:29.091 *********** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 00:42:11 +0000 (0:00:00.075) 0:00:29.167 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Tuesday 31 May 2022 00:42:12 +0000 (0:00:00.144) 0:00:29.311 *********** 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] *********** Tuesday 31 May 2022 00:42:12 +0000 (0:00:00.490) 0:00:29.802 *********** 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] ********* Tuesday 31 May 2022 00:42:14 +0000 (0:00:02.050) 0:00:31.852 *********** 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] ********************* Tuesday 31 May 2022 00:42:15 +0000 (0:00:00.854) 0:00:32.707 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 00:42:15 +0000 (0:00:00.092) 0:00:32.800 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Tuesday 31 May 2022 00:42:15 +0000 (0:00:00.140) 0:00:32.940 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 00:42:15 +0000 (0:00:00.098) 0:00:33.039 *********** 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] ************ Tuesday 31 May 2022 00:42:16 +0000 (0:00:00.519) 0:00:33.558 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 00:42:16 +0000 (0:00:00.100) 0:00:33.659 *********** 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] *** Tuesday 31 May 2022 00:42:16 +0000 (0:00:00.089) 0:00:33.749 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 00:42:16 +0000 (0:00:00.087) 0:00:33.836 *********** 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, a3041187-c1a6-4cff-b0ab-b83176618ab8 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8 (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] *********************** Tuesday 31 May 2022 00:42:17 +0000 (0:00:00.600) 0:00:34.437 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8 (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] ************************ Tuesday 31 May 2022 00:42:17 +0000 (0:00:00.098) 0:00:34.535 *********** 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, a3041187-c1a6-4cff-b0ab-b83176618ab8\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8 (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, a3041187-c1a6-4cff-b0ab-b83176618ab8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, a3041187-c1a6-4cff-b0ab-b83176618ab8 (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] *********************** Tuesday 31 May 2022 00:42:17 +0000 (0:00:00.095) 0:00:34.630 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** Tuesday 31 May 2022 00:42:17 +0000 (0:00:00.299) 0:00:34.930 *********** changed: [sut] => { "changed": true, "cmd": [ "nmcli", "-g", "ethtool.coalesce-rx-frames", "c", "show", "testnic1" ], "delta": "0:00:00.020994", "end": "2022-05-31 00:42:17.308418", "rc": 0, "start": "2022-05-31 00:42:17.287424" } TASK [ASSERT: The profile does reset coalescing options] *********************** Tuesday 31 May 2022 00:42:17 +0000 (0:00:00.312) 0:00:35.243 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get profile's coalescing options] **************************************** Tuesday 31 May 2022 00:42:18 +0000 (0:00:00.081) 0:00:35.325 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset coalescing options] *********************** Tuesday 31 May 2022 00:42:18 +0000 (0:00:00.079) 0:00:35.404 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 00:42:18 +0000 (0:00:00.072) 0:00:35.477 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Tuesday 31 May 2022 00:42:18 +0000 (0:00:00.182) 0:00:35.659 *********** 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] *********** Tuesday 31 May 2022 00:42:18 +0000 (0:00:00.477) 0:00:36.136 *********** 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] ********* Tuesday 31 May 2022 00:42:20 +0000 (0:00:01.964) 0:00:38.101 *********** 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] ********************* Tuesday 31 May 2022 00:42:21 +0000 (0:00:00.864) 0:00:38.966 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 00:42:21 +0000 (0:00:00.087) 0:00:39.054 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Tuesday 31 May 2022 00:42:21 +0000 (0:00:00.199) 0:00:39.253 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 00:42:22 +0000 (0:00:00.092) 0:00:39.346 *********** 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] ************ Tuesday 31 May 2022 00:42:22 +0000 (0:00:00.515) 0:00:39.862 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 00:42:22 +0000 (0:00:00.097) 0:00:39.960 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Tuesday 31 May 2022 00:42:22 +0000 (0:00:00.083) 0:00:40.043 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 00:42:22 +0000 (0:00:00.089) 0:00:40.133 *********** 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] *********************** Tuesday 31 May 2022 00:42:23 +0000 (0:00:00.557) 0:00:40.690 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 00:42:23 +0000 (0:00:00.089) 0:00:40.780 *********** 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] *********************** Tuesday 31 May 2022 00:42:23 +0000 (0:00:00.102) 0:00:40.882 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:42:23 +0000 (0:00:00.296) 0:00:41.179 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Tuesday 31 May 2022 00:42:24 +0000 (0:00:00.129) 0:00:41.308 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Tuesday 31 May 2022 00:42:24 +0000 (0:00:00.069) 0:00:41.378 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** Tuesday 31 May 2022 00:42:24 +0000 (0:00:00.113) 0:00:41.491 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 00:42:24 +0000 (0:00:00.121) 0:00:41.613 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Tuesday 31 May 2022 00:42:24 +0000 (0:00:00.119) 0:00:41.733 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003688", "end": "2022-05-31 00:42:24.091123", "rc": 0, "start": "2022-05-31 00:42:24.087435" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** Tuesday 31 May 2022 00:42:24 +0000 (0:00:00.296) 0:00:42.029 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Tuesday 31 May 2022 00:42:24 +0000 (0:00:00.080) 0:00:42.110 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* Tuesday 31 May 2022 00:42:24 +0000 (0:00:00.077) 0:00:42.187 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Tuesday 31 May 2022 00:42:27 +0000 (0:00:02.845) 0:00:45.033 *********** 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] ******************************** Tuesday 31 May 2022 00:42:27 +0000 (0:00:00.115) 0:00:45.149 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** Tuesday 31 May 2022 00:42:27 +0000 (0:00:00.074) 0:00:45.224 *********** changed: [sut] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.014226", "end": "2022-05-31 00:42:27.596954", "rc": 0, "start": "2022-05-31 00:42:27.582728" } TASK [Create dummy interface testnic1] ***************************************** Tuesday 31 May 2022 00:42:28 +0000 (0:00:00.320) 0:00:45.545 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Tuesday 31 May 2022 00:42:28 +0000 (0:00:00.072) 0:00:45.618 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Tuesday 31 May 2022 00:42:28 +0000 (0:00:00.078) 0:00:45.696 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Tuesday 31 May 2022 00:42:28 +0000 (0:00:00.073) 0:00:45.770 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=85 changed=12 unreachable=0 failed=0 skipped=46 rescued=0 ignored=0 Tuesday 31 May 2022 00:42:28 +0000 (0:00:00.030) 0:00:45.800 *********** =============================================================================== Install ethtool (test dependency) --------------------------------------- 4.22s Install NetworkManager -------------------------------------------------- 2.98s Install iproute --------------------------------------------------------- 2.85s Install iproute --------------------------------------------------------- 2.85s linux-system-roles.network : Check which services are running ----------- 2.14s linux-system-roles.network : Check which services are running ----------- 2.05s linux-system-roles.network : Check which services are running ----------- 1.98s linux-system-roles.network : Check which services are running ----------- 1.96s linux-system-roles.network : Check which packages are installed --------- 1.18s Create veth interface testnic1 ------------------------------------------ 0.88s Gathering Facts --------------------------------------------------------- 0.87s linux-system-roles.network : Check which packages are installed --------- 0.86s linux-system-roles.network : Check which packages are installed --------- 0.85s linux-system-roles.network : Check which packages are installed --------- 0.83s linux-system-roles.network : Configure networking connection profiles --- 0.60s linux-system-roles.network : Configure networking connection profiles --- 0.60s linux-system-roles.network : Configure networking connection profiles --- 0.56s Gathering Facts --------------------------------------------------------- 0.55s linux-system-roles.network : Enable and start NetworkManager ------------ 0.52s linux-system-roles.network : Enable and start NetworkManager ------------ 0.52s ---^---^---^---^---^--- # 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 ---^---^---^---^---^---