# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 05 August 2022 16:06:39 +0000 (0:00:00.172) 0:00:00.172 ********* ok: [sut] TASK [include_tasks] *********************************************************** Friday 05 August 2022 16:06:44 +0000 (0:00:05.686) 0:00:05.859 ********* 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:06:45 +0000 (0:00:00.438) 0:00:06.298 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 16:06:45 +0000 (0:00:00.276) 0:00:06.574 ********* 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:06:46 +0000 (0:00:00.936) 0:00:07.510 ********* changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.324841", "end": "2022-08-05 16:06:51.244685", "rc": 0, "start": "2022-08-05 16:06:48.919844" } STDOUT: Last metadata expiration check: 0:00:56 ago on Fri Aug 5 16:05:53 2022. epel-release-latest-8.noarch.rpm 721 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:06:51 +0000 (0:00:05.163) 0:00:12.674 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 05 August 2022 16:06:52 +0000 (0:00:00.589) 0:00:13.264 ********* changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.551666", "end": "2022-08-05 16:06:53.881063", "rc": 0, "start": "2022-08-05 16:06:53.329397" } TASK [Enable EPEL 6] *********************************************************** Friday 05 August 2022 16:06:54 +0000 (0:00:02.071) 0:00:15.335 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Friday 05 August 2022 16:06:55 +0000 (0:00:01.118) 0:00:16.453 ********* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "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:06:58 +0000 (0:00:02.985) 0:00:19.439 ********* 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:06:59 +0000 (0:00:01.092) 0:00:20.531 ********* 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:07:02 +0000 (0:00:03.477) 0:00:24.008 ********* 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:07:09 +0000 (0:00:06.752) 0:00:30.761 ********* 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:07:29 +0000 (0:00:19.403) 0:00:50.164 ********* ok: [sut] => {} MSG: Using network provider: initscripts 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:07:31 +0000 (0:00:02.091) 0:00:52.256 ********* 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:07:32 +0000 (0:00:01.203) 0:00:53.459 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 16:07:33 +0000 (0:00:00.746) 0:00:54.206 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.15-1.el8.x86_64", "Installed: network-scripts-team-1.31-2.el8.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 16:07:55 +0000 (0:00:22.532) 0:01:16.738 ********* 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:07:57 +0000 (0:00:01.442) 0:01:18.181 ********* 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:07:58 +0000 (0:00:01.016) 0:01:19.198 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 16:08:00 +0000 (0:00:02.070) 0:01:21.268 ********* 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 : Enable and start wpa_supplicant] ************ Friday 05 August 2022 16:08:01 +0000 (0:00:01.744) 0:01:23.013 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 16:08:03 +0000 (0:00:01.702) 0:01:24.715 ********* changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 16:08:14 +0000 (0:00:11.134) 0:01:35.850 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1552210_8pe94/tmp9wt_j5yg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 16:08:21 +0000 (0:00:06.796) 0:01:42.646 ********* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 16:08:31 +0000 (0:00:10.116) 0:01:52.763 ********* 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:08:32 +0000 (0:00:01.005) 0:01:53.769 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 16:08:34 +0000 (0:00:01.756) 0:01:55.525 ********* 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": "initscripts" } }, "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:08:36 +0000 (0:00:02.106) 0:01:57.631 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 16:08:37 +0000 (0:00:01.466) 0:01:59.098 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 16:08:44 +0000 (0:00:06.594) 0:02:05.693 ********* 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:08:46 +0000 (0:00:01.955) 0:02:07.649 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 16:08:48 +0000 (0:00:01.683) 0:02:09.332 ********* 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:08:49 +0000 (0:00:01.089) 0:02:10.422 ********* 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:08:51 +0000 (0:00:02.385) 0:02:12.808 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 05 August 2022 16:08:52 +0000 (0:00:00.938) 0:02:13.746 ********* changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.543201", "end": "2022-08-05 16:08:54.493170", "rc": 0, "start": "2022-08-05 16:08:53.949969" } TASK [Enable EPEL 6] *********************************************************** Friday 05 August 2022 16:08:55 +0000 (0:00:02.785) 0:02:16.531 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** Friday 05 August 2022 16:08:57 +0000 (0:00:02.393) 0:02:18.925 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=23 changed=5 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 Friday 05 August 2022 16:09:00 +0000 (0:00:02.967) 0:02:21.892 ********* =============================================================================== linux-system-roles.network : Install packages -------------------------- 22.53s linux-system-roles.network : Check which packages are installed -------- 19.40s linux-system-roles.network : Enable network service -------------------- 11.13s linux-system-roles.network : Configure networking connection profiles -- 10.12s linux-system-roles.network : Ensure initscripts network file dependency is present --- 6.80s linux-system-roles.network : Check which services are running ----------- 6.75s linux-system-roles.network : Re-test connectivity ----------------------- 6.59s Gathering Facts --------------------------------------------------------- 5.69s Create EPEL 8 ----------------------------------------------------------- 5.16s linux-system-roles.network : Ensure ansible_facts used by role are present --- 3.48s Set network provider to 'initscripts' ----------------------------------- 2.99s Test warning and info logs ---------------------------------------------- 2.97s Enable EPEL 8 ----------------------------------------------------------- 2.79s Enable EPEL 6 ----------------------------------------------------------- 2.39s Create EPEL 8 ----------------------------------------------------------- 2.39s linux-system-roles.network : Show debug messages for the network_connections --- 2.11s linux-system-roles.network : Print network provider --------------------- 2.09s Enable EPEL 8 ----------------------------------------------------------- 2.07s linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces --- 2.07s include_tasks ----------------------------------------------------------- 1.96s ---^---^---^---^---^--- # 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. ---^---^---^---^---^---