# 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] ********************************************************* Friday 27 May 2022 16:45:37 +0000 (0:00:00.028) 0:00:00.028 ************ ok: [sut] TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:45:38 +0000 (0:00:00.856) 0:00:00.884 ************ 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 16:45:38 +0000 (0:00:00.030) 0:00:00.914 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:45:38 +0000 (0:00:00.048) 0:00:00.962 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 27 May 2022 16:45:38 +0000 (0:00:00.051) 0:00:01.014 ************ changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.437022", "end": "2022-05-27 16:45:40.750700", "rc": 0, "start": "2022-05-27 16:45:38.313678" } 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:13 ago on Fri May 27 16:45:26 2022. epel-release-latest-8.noarch.rpm 705 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 16:45:41 +0000 (0:00:02.788) 0:00:03.802 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 27 May 2022 16:45:41 +0000 (0:00:00.032) 0:00:03.834 ************ changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.538298", "end": "2022-05-27 16:45:41.570890", "rc": 0, "start": "2022-05-27 16:45:41.032592" } 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 16:45:42 +0000 (0:00:00.787) 0:00:04.622 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Friday 27 May 2022 16:45:42 +0000 (0:00:00.028) 0:00:04.650 ************ ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** Friday 27 May 2022 16:45:42 +0000 (0:00:00.023) 0:00:04.674 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** Friday 27 May 2022 16:45:51 +0000 (0:00:09.423) 0:00:14.097 ************ changed: [sut] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.013818", "end": "2022-05-27 16:45:51.311270", "rc": 0, "start": "2022-05-27 16:45:51.297452" } STDOUT: 1.32.10 PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 16:45:51 +0000 (0:00:00.271) 0:00:14.369 ************ ok: [sut] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 16:45:52 +0000 (0:00:00.590) 0:00:14.960 ************ 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 16:45:52 +0000 (0:00:00.160) 0:00:15.121 ************ 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 16:45:53 +0000 (0:00:00.418) 0:00:15.539 ************ 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 16:45:54 +0000 (0:00:01.798) 0:00:17.338 ************ 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 16:45:56 +0000 (0:00:01.809) 0:00:19.147 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 16:45:56 +0000 (0:00:00.120) 0:00:19.267 ************ 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 16:45:56 +0000 (0:00:00.145) 0:00:19.413 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 16:45:56 +0000 (0:00:00.092) 0:00:19.505 ************ 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 16:45:57 +0000 (0:00:00.744) 0:00:20.249 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 16:45:57 +0000 (0:00:00.103) 0:00:20.353 ************ 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 16:45:57 +0000 (0:00:00.093) 0:00:20.446 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 16:45:58 +0000 (0:00:00.084) 0:00:20.531 ************ 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, 4d1031d7-bd45-48a9-9468-02d46ccc59c8 TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 16:45:58 +0000 (0:00:00.729) 0:00:21.261 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'pseudo-pci-test-only': add connection pseudo-pci-test-only, 4d1031d7-bd45-48a9-9468-02d46ccc59c8" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 16:45:58 +0000 (0:00:00.089) 0:00:21.351 ************ 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, 4d1031d7-bd45-48a9-9468-02d46ccc59c8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'pseudo-pci-test-only': add connection pseudo-pci-test-only, 4d1031d7-bd45-48a9-9468-02d46ccc59c8" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 16:45:58 +0000 (0:00:00.087) 0:00:21.438 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get match.path setting for connection] *********************************** Friday 27 May 2022 16:45:59 +0000 (0:00:00.436) 0:00:21.875 ************ ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "match.path", "connection", "show", "pseudo-pci-test-only" ], "delta": "0:00:00.109640", "end": "2022-05-27 16:45:59.186099", "rc": 0, "start": "2022-05-27 16:45:59.076459" } STDOUT: match.path: pci-0001:00:00.0 TASK [Assert that the connection profile contains the specified PCI address] *** Friday 27 May 2022 16:45:59 +0000 (0:00:00.404) 0:00:22.280 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 16:45:59 +0000 (0:00:00.081) 0:00:22.361 ************ 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 16:45:59 +0000 (0:00:00.143) 0:00:22.505 ************ 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 16:46:00 +0000 (0:00:00.486) 0:00:22.992 ************ 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 16:46:02 +0000 (0:00:01.809) 0:00:24.801 ************ 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 16:46:03 +0000 (0:00:01.548) 0:00:26.350 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 16:46:03 +0000 (0:00:00.093) 0:00:26.443 ************ 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 16:46:04 +0000 (0:00:00.147) 0:00:26.590 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 16:46:04 +0000 (0:00:00.097) 0:00:26.687 ************ 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 16:46:04 +0000 (0:00:00.511) 0:00:27.198 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 16:46:04 +0000 (0:00:00.100) 0:00:27.299 ************ 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 16:46:04 +0000 (0:00:00.087) 0:00:27.386 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 16:46:04 +0000 (0:00:00.092) 0:00:27.478 ************ 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, 4d1031d7-bd45-48a9-9468-02d46ccc59c8 TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 16:46:05 +0000 (0:00:00.551) 0:00:28.030 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'pseudo-pci-test-only': update connection pseudo-pci-test-only, 4d1031d7-bd45-48a9-9468-02d46ccc59c8" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 16:46:05 +0000 (0:00:00.131) 0:00:28.162 ************ 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, 4d1031d7-bd45-48a9-9468-02d46ccc59c8\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'pseudo-pci-test-only': update connection pseudo-pci-test-only, 4d1031d7-bd45-48a9-9468-02d46ccc59c8" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 16:46:05 +0000 (0:00:00.092) 0:00:28.255 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get match.path setting for connection] *********************************** Friday 27 May 2022 16:46:06 +0000 (0:00:00.303) 0:00:28.558 ************ ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "match.path", "connection", "show", "pseudo-pci-test-only" ], "delta": "0:00:00.020134", "end": "2022-05-27 16:46:05.782555", "rc": 0, "start": "2022-05-27 16:46:05.762421" } TASK [Assert that the PCI address is removed] ********************************** Friday 27 May 2022 16:46:06 +0000 (0:00:00.322) 0:00:28.881 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 16:46:06 +0000 (0:00:00.083) 0:00:28.964 ************ 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 16:46:06 +0000 (0:00:00.148) 0:00:29.113 ************ 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 16:46:07 +0000 (0:00:00.481) 0:00:29.595 ************ 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 16:46:08 +0000 (0:00:01.765) 0:00:31.361 ************ ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Friday 27 May 2022 16:46:10 +0000 (0:00:01.499) 0:00:32.860 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 16:46:10 +0000 (0:00:00.095) 0:00:32.955 ************ 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 16:46:10 +0000 (0:00:00.142) 0:00:33.097 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 16:46:10 +0000 (0:00:00.094) 0:00:33.191 ************ 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 16:46:11 +0000 (0:00:00.518) 0:00:33.710 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 16:46:11 +0000 (0:00:00.101) 0:00:33.812 ************ 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 16:46:11 +0000 (0:00:00.090) 0:00:33.902 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 16:46:11 +0000 (0:00:00.094) 0:00:33.996 ************ 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] *********************** Friday 27 May 2022 16:46:12 +0000 (0:00:00.613) 0:00:34.610 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 16:46:12 +0000 (0:00:00.090) 0:00:34.701 ************ 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] *********************** Friday 27 May 2022 16:46:12 +0000 (0:00:00.095) 0:00:34.796 ************ ok: [sut] => { "changed": false, "ping": "pong" } PLAY RECAP ********************************************************************* sut : ok=43 changed=6 unreachable=0 failed=0 skipped=18 rescued=0 ignored=0 Friday 27 May 2022 16:46:12 +0000 (0:00:00.246) 0:00:35.043 ************ =============================================================================== Install NetworkManager -------------------------------------------------- 9.42s Create EPEL 8 ----------------------------------------------------------- 2.79s linux-system-roles.network : Check which packages are installed --------- 1.81s linux-system-roles.network : Check which services are running ----------- 1.81s linux-system-roles.network : Check which services are running ----------- 1.80s linux-system-roles.network : Check which services are running ----------- 1.77s linux-system-roles.network : Check which packages are installed --------- 1.55s linux-system-roles.network : Check which packages are installed --------- 1.50s Gathering Facts --------------------------------------------------------- 0.86s Enable EPEL 8 ----------------------------------------------------------- 0.79s linux-system-roles.network : Enable and start NetworkManager ------------ 0.74s linux-system-roles.network : Configure networking connection profiles --- 0.73s linux-system-roles.network : Configure networking connection profiles --- 0.61s Gathering Facts --------------------------------------------------------- 0.59s linux-system-roles.network : Configure networking connection profiles --- 0.55s linux-system-roles.network : Enable and start NetworkManager ------------ 0.52s linux-system-roles.network : Enable and start NetworkManager ------------ 0.51s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.49s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.48s linux-system-roles.network : Re-test connectivity ----------------------- 0.44s ---^---^---^---^---^--- # 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 ---^---^---^---^---^---