# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.13.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.13/lib/python3.8/site-packages/ansible ansible collection location = /WORKDIR/dist-git-timesync-fix-jinja-formatting-9t3ysrxz/.collection executable location = /opt/ansible-2.13/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ntp_provider6.yml ********************************************** 1 plays in /WORKDIR/dist-git-timesync-fix-jinja-formatting-9t3ysrxz/tests/tests_ntp_provider6.yml PLAY [Configure NTP with OS release non-default provider and then change it to the default provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-timesync-fix-jinja-formatting-9t3ysrxz/tests/tests_ntp_provider6.yml:2 Tuesday 31 January 2023 02:44:11 +0000 (0:00:00.212) 0:00:00.212 ******* ok: [sut] META: ran handlers TASK [Check for availability of both NTP providers] **************************** task path: /WORKDIR/dist-git-timesync-fix-jinja-formatting-9t3ysrxz/tests/tests_ntp_provider6.yml:16 Tuesday 31 January 2023 02:44:18 +0000 (0:00:07.572) 0:00:07.785 ******* ok: [sut] => (item=chrony) => { "ansible_loop_var": "item", "changed": false, "item": "chrony", "rc": 0, "results": [] } MSG: Nothing to do failed: [sut] (item=ntp) => { "ansible_loop_var": "item", "changed": false, "failures": [ "No package ntp available." ], "item": "ntp", "rc": 1, "results": [] } MSG: Failed to install some of the specified packages ...ignoring TASK [Set the availability of both NTP providers] ****************************** task path: /WORKDIR/dist-git-timesync-fix-jinja-formatting-9t3ysrxz/tests/tests_ntp_provider6.yml:29 Tuesday 31 January 2023 02:44:26 +0000 (0:00:08.030) 0:00:15.816 ******* skipping: [sut] => (item={'msg': 'Nothing to do', 'changed': False, 'results': [], 'rc': 0, 'invocation': {'module_args': {'name': ['chrony'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'cacheonly': False, 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 'download_only': False, 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 'skip_broken': False, 'update_cache': False, 'update_only': False, 'validate_certs': True, 'sslverify': True, 'lock_timeout': 30, 'allowerasing': False, 'nobest': False, 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': None}}, 'failed': False, 'item': 'chrony', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "chrony" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "validate_certs": true } }, "item": "chrony", "msg": "Nothing to do", "rc": 0, "results": [] }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'failures': ['No package ntp available.'], 'results': [], 'rc': 1, 'failed': True, 'msg': 'Failed to install some of the specified packages', 'invocation': {'module_args': {'name': ['ntp'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'cacheonly': False, 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 'download_only': False, 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 'skip_broken': False, 'update_cache': False, 'update_only': False, 'validate_certs': True, 'sslverify': True, 'lock_timeout': 30, 'allowerasing': False, 'nobest': False, 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': None}}, 'changed': False, 'item': 'ntp', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "both_avail": false }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": true, "failures": [ "No package ntp available." ], "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "ntp" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "validate_certs": true } }, "item": "ntp", "msg": "Failed to install some of the specified packages", "rc": 1, "results": [] } } TASK [End test if not both available] ****************************************** task path: /WORKDIR/dist-git-timesync-fix-jinja-formatting-9t3ysrxz/tests/tests_ntp_provider6.yml:36 Tuesday 31 January 2023 02:44:27 +0000 (0:00:00.400) 0:00:16.217 ******* META: ending play PLAY RECAP ********************************************************************* sut : ok=3 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=1 Tuesday 31 January 2023 02:44:27 +0000 (0:00:00.091) 0:00:16.308 ******* =============================================================================== Check for availability of both NTP providers ---------------------------- 8.03s /WORKDIR/dist-git-timesync-fix-jinja-formatting-9t3ysrxz/tests/tests_ntp_provider6.yml:16 Gathering Facts --------------------------------------------------------- 7.57s /WORKDIR/dist-git-timesync-fix-jinja-formatting-9t3ysrxz/tests/tests_ntp_provider6.yml:2 Set the availability of both NTP providers ------------------------------ 0.40s /WORKDIR/dist-git-timesync-fix-jinja-formatting-9t3ysrxz/tests/tests_ntp_provider6.yml:29 End test if not both available ------------------------------------------ 0.09s /WORKDIR/dist-git-timesync-fix-jinja-formatting-9t3ysrxz/tests/tests_ntp_provider6.yml:36 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---