# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_eth_pci_address_match.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 00:27:29 +0000 (0:00:00.031) 0:00:00.031 *********** ok: [sut] TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:27:30 +0000 (0:00:00.951) 0:00:00.983 *********** 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:27:30 +0000 (0:00:00.030) 0:00:01.014 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:27:30 +0000 (0:00:00.043) 0:00:01.057 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 34] ********************************************************** Tuesday 31 May 2022 00:27:30 +0000 (0:00:00.051) 0:00:01.108 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Tuesday 31 May 2022 00:27:30 +0000 (0:00:00.026) 0:00:01.135 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Tuesday 31 May 2022 00:27:30 +0000 (0:00:00.024) 0:00:01.159 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Tuesday 31 May 2022 00:27:30 +0000 (0:00:00.027) 0:00:01.186 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Tuesday 31 May 2022 00:27:30 +0000 (0:00:00.027) 0:00:01.213 *********** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** Tuesday 31 May 2022 00:27:30 +0000 (0:00:00.025) 0:00:01.238 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** Tuesday 31 May 2022 00:27:34 +0000 (0:00:03.695) 0:00:04.934 *********** changed: [sut] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.012053", "end": "2022-05-31 00:27:34.360661", "rc": 0, "start": "2022-05-31 00:27:34.348608" } STDOUT: 1.30.6 PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 00:27:34 +0000 (0:00:00.420) 0:00:05.354 *********** ok: [sut] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 00:27:35 +0000 (0:00:00.598) 0:00:05.952 *********** 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:27:35 +0000 (0:00:00.168) 0:00:06.120 *********** 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:27:36 +0000 (0:00:00.463) 0:00:06.584 *********** 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:27:38 +0000 (0:00:02.573) 0:00:09.158 *********** 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:27:39 +0000 (0:00:01.181) 0:00:10.339 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 00:27:40 +0000 (0:00:00.126) 0:00:10.466 *********** 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:27:40 +0000 (0:00:00.146) 0:00:10.612 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 00:27:40 +0000 (0:00:00.101) 0:00:10.714 *********** 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:27:41 +0000 (0:00:00.842) 0:00:11.556 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 00:27:41 +0000 (0:00:00.091) 0:00:11.648 *********** 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:27:41 +0000 (0:00:00.087) 0:00:11.735 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 00:27:41 +0000 (0:00:00.096) 0:00:11.832 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.3/24" ], "dhcp4": false }, "match": { "path": [ "pci-0001:00:00.0" ] }, "name": "pseudo-pci-test-only", "persistent_state": "present", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'pseudo-pci-test-only': add connection pseudo-pci-test-only, d9b63de0-bf71-4720-b63b-29e7e40ddf2d TASK [linux-system-roles.network : Show stderr messages] *********************** Tuesday 31 May 2022 00:27:42 +0000 (0:00:00.955) 0:00:12.787 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'pseudo-pci-test-only': add connection pseudo-pci-test-only, d9b63de0-bf71-4720-b63b-29e7e40ddf2d" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 00:27:42 +0000 (0:00:00.086) 0:00:12.873 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.3/24" ], "dhcp4": false }, "match": { "path": [ "pci-0001:00:00.0" ] }, "name": "pseudo-pci-test-only", "persistent_state": "present", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'pseudo-pci-test-only': add connection pseudo-pci-test-only, d9b63de0-bf71-4720-b63b-29e7e40ddf2d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'pseudo-pci-test-only': add connection pseudo-pci-test-only, d9b63de0-bf71-4720-b63b-29e7e40ddf2d" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Tuesday 31 May 2022 00:27:42 +0000 (0:00:00.083) 0:00:12.957 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get match.path setting for connection] *********************************** Tuesday 31 May 2022 00:27:43 +0000 (0:00:00.486) 0:00:13.444 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "match.path", "connection", "show", "pseudo-pci-test-only" ], "delta": "0:00:00.107380", "end": "2022-05-31 00:27:42.836798", "rc": 0, "start": "2022-05-31 00:27:42.729418" } STDOUT: match.path: pci-0001:00:00.0 TASK [Assert that the connection profile contains the specified PCI address] *** Tuesday 31 May 2022 00:27:43 +0000 (0:00:00.423) 0:00:13.868 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 00:27:43 +0000 (0:00:00.074) 0:00:13.942 *********** 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:27:43 +0000 (0:00:00.137) 0:00:14.079 *********** 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:27:44 +0000 (0:00:00.511) 0:00:14.591 *********** 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:27:46 +0000 (0:00:02.486) 0:00:17.078 *********** 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:27:47 +0000 (0:00:00.890) 0:00:17.968 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 00:27:47 +0000 (0:00:00.090) 0:00:18.058 *********** 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:27:47 +0000 (0:00:00.129) 0:00:18.188 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 00:27:47 +0000 (0:00:00.084) 0:00:18.272 *********** 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:27:48 +0000 (0:00:00.552) 0:00:18.825 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 00:27:48 +0000 (0:00:00.088) 0:00:18.913 *********** 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:27:48 +0000 (0:00:00.080) 0:00:18.994 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 00:27:48 +0000 (0:00:00.079) 0:00:19.073 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "interface_name": "", "match": { "path": null }, "name": "pseudo-pci-test-only", "state": "down", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:down persistent_state:present, 'pseudo-pci-test-only': update connection pseudo-pci-test-only, d9b63de0-bf71-4720-b63b-29e7e40ddf2d TASK [linux-system-roles.network : Show stderr messages] *********************** Tuesday 31 May 2022 00:27:49 +0000 (0:00:00.646) 0:00:19.720 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'pseudo-pci-test-only': update connection pseudo-pci-test-only, d9b63de0-bf71-4720-b63b-29e7e40ddf2d" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 00:27:49 +0000 (0:00:00.086) 0:00:19.807 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "interface_name": "", "match": { "path": null }, "name": "pseudo-pci-test-only", "state": "down", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'pseudo-pci-test-only': update connection pseudo-pci-test-only, d9b63de0-bf71-4720-b63b-29e7e40ddf2d\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'pseudo-pci-test-only': update connection pseudo-pci-test-only, d9b63de0-bf71-4720-b63b-29e7e40ddf2d" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Tuesday 31 May 2022 00:27:49 +0000 (0:00:00.084) 0:00:19.892 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get match.path setting for connection] *********************************** Tuesday 31 May 2022 00:27:49 +0000 (0:00:00.317) 0:00:20.209 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "match.path", "connection", "show", "pseudo-pci-test-only" ], "delta": "0:00:00.023866", "end": "2022-05-31 00:27:49.516740", "rc": 0, "start": "2022-05-31 00:27:49.492874" } TASK [Assert that the PCI address is removed] ********************************** Tuesday 31 May 2022 00:27:50 +0000 (0:00:00.336) 0:00:20.545 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 00:27:50 +0000 (0:00:00.079) 0:00:20.624 *********** 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:27:50 +0000 (0:00:00.134) 0:00:20.759 *********** 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:27:50 +0000 (0:00:00.517) 0:00:21.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 packages are installed] ********* Tuesday 31 May 2022 00:27:54 +0000 (0:00:03.434) 0:00:24.711 *********** 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:27:55 +0000 (0:00:00.885) 0:00:25.596 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 00:27:55 +0000 (0:00:00.089) 0:00:25.686 *********** 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:27:55 +0000 (0:00:00.134) 0:00:25.820 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 00:27:55 +0000 (0:00:00.088) 0:00:25.908 *********** 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:27:56 +0000 (0:00:00.545) 0:00:26.454 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 00:27:56 +0000 (0:00:00.104) 0:00:26.559 *********** 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:27:56 +0000 (0:00:00.086) 0:00:26.646 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 00:27:56 +0000 (0:00:00.087) 0:00:26.733 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "pseudo-pci-test-only", "persistent_state": "absent", "state": "down" } ], "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:27:57 +0000 (0:00:00.625) 0:00:27.359 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 00:27:57 +0000 (0:00:00.082) 0:00:27.442 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "pseudo-pci-test-only", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Tuesday 31 May 2022 00:27:57 +0000 (0:00:00.092) 0:00:27.534 *********** ok: [sut] => { "changed": false, "ping": "pong" } PLAY RECAP ********************************************************************* sut : ok=41 changed=4 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Tuesday 31 May 2022 00:27:57 +0000 (0:00:00.271) 0:00:27.806 *********** =============================================================================== Install NetworkManager -------------------------------------------------- 3.70s linux-system-roles.network : Check which services are running ----------- 3.43s linux-system-roles.network : Check which services are running ----------- 2.57s linux-system-roles.network : Check which services are running ----------- 2.49s linux-system-roles.network : Check which packages are installed --------- 1.18s linux-system-roles.network : Configure networking connection profiles --- 0.96s Gathering Facts --------------------------------------------------------- 0.95s linux-system-roles.network : Check which packages are installed --------- 0.89s linux-system-roles.network : Check which packages are installed --------- 0.89s linux-system-roles.network : Enable and start NetworkManager ------------ 0.84s linux-system-roles.network : Configure networking connection profiles --- 0.65s linux-system-roles.network : Configure networking connection profiles --- 0.63s Gathering Facts --------------------------------------------------------- 0.60s linux-system-roles.network : Enable and start NetworkManager ------------ 0.55s linux-system-roles.network : Enable and start NetworkManager ------------ 0.55s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.52s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.51s linux-system-roles.network : Re-test connectivity ----------------------- 0.49s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.46s Get match.path setting for connection ----------------------------------- 0.42s ---^---^---^---^---^--- # 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 ---^---^---^---^---^---