# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.15.0] 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.15/lib/python3.9/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cihqr65n7m/.collection executable location = /opt/ansible-2.15/bin/ansible-playbook python version = 3.9.16 (main, Jan 17 2023, 18:53:15) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)] (/opt/ansible-2.15/bin/python3.9) 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/git-weekly-cihqr65n7m/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/git-weekly-cihqr65n7m/tests/tests_ntp_provider6.yml:2 Monday 28 August 2023 00:13:41 +0000 (0:00:00.017) 0:00:00.017 ********* ok: [sut] TASK [Check for availability of both NTP providers] **************************** task path: /WORKDIR/git-weekly-cihqr65n7m/tests/tests_ntp_provider6.yml:16 Monday 28 August 2023 00:13:42 +0000 (0:00:00.801) 0:00:00.819 ********* 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/git-weekly-cihqr65n7m/tests/tests_ntp_provider6.yml:29 Monday 28 August 2023 00:13:43 +0000 (0:00:01.558) 0:00:02.378 ********* 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, 'use_backend': 'auto', '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, "false_condition": "item.failed", "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, "use_backend": "auto", "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, 'use_backend': 'auto', '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, "use_backend": "auto", "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/git-weekly-cihqr65n7m/tests/tests_ntp_provider6.yml:36 Monday 28 August 2023 00:13:43 +0000 (0:00:00.031) 0:00:02.409 ********* META: ending play PLAY RECAP ********************************************************************* sut : ok=3 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=1 Monday 28 August 2023 00:13:43 +0000 (0:00:00.009) 0:00:02.418 ********* =============================================================================== Check for availability of both NTP providers ---------------------------- 1.56s /WORKDIR/git-weekly-cihqr65n7m/tests/tests_ntp_provider6.yml:16 --------------- Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-weekly-cihqr65n7m/tests/tests_ntp_provider6.yml:2 ---------------- Set the availability of both NTP providers ------------------------------ 0.03s /WORKDIR/git-weekly-cihqr65n7m/tests/tests_ntp_provider6.yml:29 --------------- End test if not both available ------------------------------------------ 0.01s /WORKDIR/git-weekly-cihqr65n7m/tests/tests_ntp_provider6.yml:36 --------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---