# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 05 August 2022 16:16:47 +0000 (0:00:00.546) 0:00:00.546 ********* ok: [sut] TASK [include_tasks] *********************************************************** Friday 05 August 2022 16:16:56 +0000 (0:00:09.426) 0:00:09.972 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Friday 05 August 2022 16:16:57 +0000 (0:00:01.427) 0:00:11.400 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 16:16:58 +0000 (0:00:00.618) 0:00:12.019 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 05 August 2022 16:16:59 +0000 (0:00:01.352) 0:00:13.371 ********* changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.294286", "end": "2022-08-05 16:17:09.879045", "rc": 0, "start": "2022-08-05 16:17:07.584759" } STDOUT: Last metadata expiration check: 0:01:21 ago on Fri Aug 5 16:15:47 2022. epel-release-latest-8.noarch.rpm 730 kB/s | 24 kB 00:00 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: epel-release noarch 8-16.el8 @commandline 24 k Transaction Summary ================================================================================ Install 1 Package Total size: 24 k Installed size: 34 k Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : epel-release-8-16.el8.noarch 1/1 Running scriptlet: epel-release-8-16.el8.noarch 1/1 Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. Verifying : epel-release-8-16.el8.noarch 1/1 Installed: epel-release-8-16.el8.noarch Complete! TASK [Enable EPEL 7] *********************************************************** Friday 05 August 2022 16:17:10 +0000 (0:00:10.881) 0:00:24.253 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 05 August 2022 16:17:12 +0000 (0:00:01.456) 0:00:25.709 ********* changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.558295", "end": "2022-08-05 16:17:14.215556", "rc": 0, "start": "2022-08-05 16:17:13.657261" } TASK [Enable EPEL 6] *********************************************************** Friday 05 August 2022 16:17:14 +0000 (0:00:02.452) 0:00:28.161 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Friday 05 August 2022 16:17:15 +0000 (0:00:01.096) 0:00:29.258 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Test executing the role with default parameters] ************************* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 16:17:17 +0000 (0:00:01.708) 0:00:30.966 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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 05 August 2022 16:17:19 +0000 (0:00:02.265) 0:00:33.232 ********* 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 05 August 2022 16:17:23 +0000 (0:00:03.893) 0:00:37.126 ********* 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 05 August 2022 16:17:33 +0000 (0:00:10.354) 0:00:47.481 ********* 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 05 August 2022 16:17:51 +0000 (0:00:17.965) 0:01:05.446 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 16:17:54 +0000 (0:00:02.273) 0:01:07.720 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 16:17:55 +0000 (0:00:01.195) 0:01:08.915 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 16:17:57 +0000 (0:00:02.331) 0:01:11.247 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 16:18:01 +0000 (0:00:03.380) 0:01:14.627 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 16:18:02 +0000 (0:00:01.226) 0:01:15.854 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 16:18:04 +0000 (0:00:02.442) 0:01:18.297 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 16:18:07 +0000 (0:00:02.223) 0:01:20.521 ********* 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 05 August 2022 16:18:19 +0000 (0:00:12.681) 0:01:33.202 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 16:18:22 +0000 (0:00:02.434) 0:01:35.637 ********* 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 05 August 2022 16:18:23 +0000 (0:00:01.707) 0:01:37.345 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 16:18:25 +0000 (0:00:01.224) 0:01:38.570 ********* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 16:18:38 +0000 (0:00:13.396) 0:01:51.966 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 16:18:39 +0000 (0:00:01.478) 0:01:53.445 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 16:18:41 +0000 (0:00:01.845) 0:01:55.291 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 16:18:44 +0000 (0:00:02.381) 0:01:57.672 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 16:18:46 +0000 (0:00:02.130) 0:01:59.803 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 16:18:54 +0000 (0:00:08.278) 0:02:08.081 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Friday 05 August 2022 16:18:56 +0000 (0:00:02.163) 0:02:10.245 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 16:19:00 +0000 (0:00:03.265) 0:02:13.510 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 05 August 2022 16:19:02 +0000 (0:00:02.776) 0:02:16.287 ********* ok: [sut] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** Friday 05 August 2022 16:19:04 +0000 (0:00:02.085) 0:02:18.372 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 05 August 2022 16:19:06 +0000 (0:00:01.311) 0:02:19.683 ********* changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.543628", "end": "2022-08-05 16:19:09.400581", "rc": 0, "start": "2022-08-05 16:19:07.856953" } TASK [Enable EPEL 6] *********************************************************** Friday 05 August 2022 16:19:10 +0000 (0:00:04.113) 0:02:23.796 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** Friday 05 August 2022 16:19:11 +0000 (0:00:01.376) 0:02:25.173 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=21 changed=3 unreachable=0 failed=0 skipped=17 rescued=0 ignored=0 Friday 05 August 2022 16:19:13 +0000 (0:00:02.095) 0:02:27.268 ********* =============================================================================== linux-system-roles.network : Check which packages are installed -------- 17.97s linux-system-roles.network : Configure networking connection profiles -- 13.40s linux-system-roles.network : Enable and start NetworkManager ----------- 12.68s Create EPEL 8 ---------------------------------------------------------- 10.88s linux-system-roles.network : Check which services are running ---------- 10.35s Gathering Facts --------------------------------------------------------- 9.41s linux-system-roles.network : Re-test connectivity ----------------------- 8.28s Enable EPEL 8 ----------------------------------------------------------- 4.11s linux-system-roles.network : Ensure ansible_facts used by role are present --- 3.89s linux-system-roles.network : Install packages --------------------------- 3.38s Fix CentOS6 Base repo --------------------------------------------------- 3.27s include_tasks ----------------------------------------------------------- 2.78s Enable EPEL 8 ----------------------------------------------------------- 2.45s linux-system-roles.network : Install python3-libnmstate when using network_state variable --- 2.44s linux-system-roles.network : Enable and start wpa_supplicant ------------ 2.43s linux-system-roles.network : Show debug messages for the network_connections --- 2.36s linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8 --- 2.33s linux-system-roles.network : Print network provider --------------------- 2.27s linux-system-roles.network : Ensure ansible_facts used by role ---------- 2.27s linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces --- 2.22s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---