# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.6/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.6.8 (default, Jan 25 2023, 15:03:30) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ntp_provider6.yml ********************************************** 1 plays in /WORKDIR/git-weekly-cilifkjpy7/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-cilifkjpy7/tests/tests_ntp_provider6.yml:2 Sunday 28 May 2023 14:18:39 +0000 (0:00:00.019) 0:00:00.019 ************ ok: [sut] META: ran handlers TASK [Check for availability of both NTP providers] **************************** task path: /WORKDIR/git-weekly-cilifkjpy7/tests/tests_ntp_provider6.yml:17 Sunday 28 May 2023 14:18:40 +0000 (0:00:00.759) 0:00:00.779 ************ 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-cilifkjpy7/tests/tests_ntp_provider6.yml:30 Sunday 28 May 2023 14:18:45 +0000 (0:00:04.927) 0:00:05.707 ************ 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, '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, 'lock_timeout': 30, '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, "autoremove": false, "bugfix": 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" ], "releasever": null, "security": false, "skip_broken": false, "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={'msg': 'Failed to install some of the specified packages', 'failures': ['No package ntp available.'], 'results': [], 'rc': 1, 'failed': True, 'invocation': {'module_args': {'name': ['ntp'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': 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, 'lock_timeout': 30, '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, "autoremove": false, "bugfix": 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" ], "releasever": null, "security": false, "skip_broken": false, "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": [] } } META: ending play PLAY RECAP ********************************************************************* sut : ok=3 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=1 Sunday 28 May 2023 14:18:45 +0000 (0:00:00.058) 0:00:05.765 ************ =============================================================================== Check for availability of both NTP providers ---------------------------- 4.93s /WORKDIR/git-weekly-cilifkjpy7/tests/tests_ntp_provider6.yml:17 --------------- Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-weekly-cilifkjpy7/tests/tests_ntp_provider6.yml:2 ---------------- Set the availability of both NTP providers ------------------------------ 0.06s /WORKDIR/git-weekly-cilifkjpy7/tests/tests_ntp_provider6.yml:30 --------------- ---^---^---^---^---^--- # 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. The next release of cryptography will remove support for Python 3.6. from cryptography.exceptions import InvalidSignature [DEPRECATION WARNING]: Distribution fedora 36 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---