# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_infiniband.yml' with nm as provider] ******* TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 17:25:20 +0000 (0:00:00.029) 0:00:00.029 ************ ok: [sut] TASK [include_tasks] *********************************************************** Friday 27 May 2022 17:25:20 +0000 (0:00:00.940) 0:00:00.969 ************ 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:25:20 +0000 (0:00:00.034) 0:00:01.004 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 17:25:21 +0000 (0:00:00.052) 0:00:01.056 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 27 May 2022 17:25:21 +0000 (0:00:00.093) 0:00:01.150 ************ changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.293555", "end": "2022-05-27 17:25:23.260168", "rc": 0, "start": "2022-05-27 17:25:20.966613" } 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:14 ago on Fri May 27 17:25:07 2022. epel-release-latest-8.noarch.rpm 720 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:25:23 +0000 (0:00:02.684) 0:00:03.834 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 27 May 2022 17:25:23 +0000 (0:00:00.059) 0:00:03.894 ************ changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.517777", "end": "2022-05-27 17:25:24.145586", "rc": 0, "start": "2022-05-27 17:25:23.627809" } 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:25:24 +0000 (0:00:00.818) 0:00:04.712 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Friday 27 May 2022 17:25:24 +0000 (0:00:00.073) 0:00:04.786 ************ ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 17:25:24 +0000 (0:00:00.070) 0:00:04.857 ************ ok: [sut] TASK [TEST Configuring infiniband devices] ************************************* Friday 27 May 2022 17:25:25 +0000 (0:00:00.655) 0:00:05.513 ************ ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 17:25:25 +0000 (0:00:00.046) 0:00:05.559 ************ 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:25:25 +0000 (0:00:00.182) 0:00:05.741 ************ 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:25:26 +0000 (0:00:00.436) 0:00:06.177 ************ 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:25:28 +0000 (0:00:02.006) 0:00:08.184 ************ 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:25:30 +0000 (0:00:02.149) 0:00:10.333 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 17:25:30 +0000 (0:00:00.164) 0:00:10.498 ************ 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:25:30 +0000 (0:00:00.170) 0:00:10.669 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 17:25:30 +0000 (0:00:00.094) 0:00:10.763 ************ 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:25:31 +0000 (0:00:00.939) 0:00:11.703 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 17:25:31 +0000 (0:00:00.089) 0:00:11.793 ************ 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:25:31 +0000 (0:00:00.083) 0:00:11.876 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 17:25:31 +0000 (0:00:00.086) 0:00:11.963 ************ fatal: [sut]: FAILED! => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "interface_name": "ib0", "name": "ib0", "type": "infiniband" }, { "autoconnect": true, "infiniband": { "p_key": 10, "transport_mode": "datagram" }, "ip": { "address": [ "198.51.100.133/30", "2001:db8::2/32" ], "auto6": false, "dhcp4": false }, "name": "ib0-10", "parent": "ib0", "state": "up", "type": "infiniband" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [001] #0, state:None persistent_state:present, 'ib0': profile specifies interface_name 'ib0' but no such infiniband interface exists MSG: error: profile specifies interface_name 'ib0' but no such infiniband interface exists TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 17:25:32 +0000 (0:00:00.718) 0:00:12.682 ************ 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:25:32 +0000 (0:00:00.150) 0:00:12.832 ************ 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:25:33 +0000 (0:00:00.511) 0:00:13.343 ************ 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:25:35 +0000 (0:00:01.738) 0:00:15.082 ************ 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:25:36 +0000 (0:00:01.566) 0:00:16.649 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 17:25:36 +0000 (0:00:00.120) 0:00:16.769 ************ 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:25:36 +0000 (0:00:00.204) 0:00:16.974 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 17:25:37 +0000 (0:00:00.092) 0:00:17.066 ************ 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:25:37 +0000 (0:00:00.516) 0:00:17.582 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 17:25:37 +0000 (0:00:00.091) 0:00:17.674 ************ 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:25:37 +0000 (0:00:00.080) 0:00:17.754 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 17:25:37 +0000 (0:00:00.216) 0:00:17.971 ************ ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ib0", "persistent_state": "absent", "state": "down" }, { "name": "ib0-10", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'ib0': no connection matches 'ib0' to delete [004] #1, state:down persistent_state:absent, 'ib0-10': no connection matches 'ib0-10' to delete TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 17:25:38 +0000 (0:00:00.639) 0:00:18.611 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'ib0': no connection matches 'ib0' to delete", "[004] #1, state:down persistent_state:absent, 'ib0-10': no connection matches 'ib0-10' to delete" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 17:25:38 +0000 (0:00:00.115) 0:00:18.726 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ib0", "persistent_state": "absent", "state": "down" }, { "name": "ib0-10", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'ib0': no connection matches 'ib0' to delete\n[004] #1, state:down persistent_state:absent, 'ib0-10': no connection matches 'ib0-10' to delete\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'ib0': no connection matches 'ib0' to delete", "[004] #1, state:down persistent_state:absent, 'ib0-10': no connection matches 'ib0-10' to delete" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 17:25:38 +0000 (0:00:00.096) 0:00:18.822 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [command] ***************************************************************** Friday 27 May 2022 17:25:39 +0000 (0:00:00.444) 0:00:19.266 ************ fatal: [sut]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "ib0.000a" ], "delta": "0:00:00.008700", "end": "2022-05-27 17:25:38.988318", "rc": 1, "start": "2022-05-27 17:25:38.979618" } STDERR: Cannot find device "ib0.000a" MSG: non-zero return code ...ignoring to retry, use: --limit @/tmp/tests_infiniband_nm.retry PLAY RECAP ********************************************************************* sut : ok=25 changed=3 unreachable=0 failed=1 skipped=13 rescued=0 ignored=1 Friday 27 May 2022 17:25:39 +0000 (0:00:00.280) 0:00:19.547 ************ =============================================================================== Create EPEL 8 ----------------------------------------------------------- 2.68s linux-system-roles.network : Check which packages are installed --------- 2.15s linux-system-roles.network : Check which services are running ----------- 2.01s linux-system-roles.network : Check which services are running ----------- 1.74s linux-system-roles.network : Check which packages are installed --------- 1.57s Gathering Facts --------------------------------------------------------- 0.94s linux-system-roles.network : Enable and start NetworkManager ------------ 0.94s Enable EPEL 8 ----------------------------------------------------------- 0.82s linux-system-roles.network : Configure networking connection profiles --- 0.72s Gathering Facts --------------------------------------------------------- 0.66s linux-system-roles.network : Configure networking connection profiles --- 0.64s linux-system-roles.network : Enable and start NetworkManager ------------ 0.52s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.51s linux-system-roles.network : Re-test connectivity ----------------------- 0.44s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.44s command ----------------------------------------------------------------- 0.28s linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.22s linux-system-roles.network : Install packages --------------------------- 0.20s linux-system-roles.network : Ensure ansible_facts used by role ---------- 0.18s linux-system-roles.network : Install packages --------------------------- 0.17s ---^---^---^---^---^--- # 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 [WARNING]: [001] #0, state:None persistent_state:present, 'ib0': profile specifies interface_name 'ib0' but no such infiniband interface exists ---^---^---^---^---^---