# 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.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] 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-ciljxi7mej/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-ciljxi7mej/tests/tests_ntp_provider6.yml:2 Monday 01 April 2024 12:50:34 +0000 (0:00:00.012) 0:00:00.012 ********** ok: [sut] META: ran handlers TASK [Common test setup tasks] ************************************************* task path: /WORKDIR/git-weekly-ciljxi7mej/tests/tests_ntp_provider6.yml:13 Monday 01 April 2024 12:50:35 +0000 (0:00:01.004) 0:00:01.017 ********** included: /WORKDIR/git-weekly-ciljxi7mej/tests/tasks/setup.yml for sut TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciljxi7mej/tests/tasks/setup.yml:6 Monday 01 April 2024 12:50:35 +0000 (0:00:00.010) 0:00:01.027 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciljxi7mej/tests/tasks/setup.yml:11 Monday 01 April 2024 12:50:35 +0000 (0:00:00.280) 0:00:01.307 ********** ok: [sut] => { "ansible_facts": { "__timesync_is_ostree": false }, "changed": false } TASK [Ensure iproute for gathering default_ipv4 fact] ************************** task path: /WORKDIR/git-weekly-ciljxi7mej/tests/tasks/setup.yml:15 Monday 01 April 2024 12:50:35 +0000 (0:00:00.019) 0:00:01.327 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Ensure ansible_facts used by test] *************************************** task path: /WORKDIR/git-weekly-ciljxi7mej/tests/tasks/setup.yml:22 Monday 01 April 2024 12:50:38 +0000 (0:00:02.717) 0:00:04.044 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug] ******************************************************************* task path: /WORKDIR/git-weekly-ciljxi7mej/tests/tasks/setup.yml:36 Monday 01 April 2024 12:50:38 +0000 (0:00:00.019) 0:00:04.064 ********** ok: [sut] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.8.120" ], "all_ipv6_addresses": [ "fe80::1047:53ff:fed9:27d" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_version": "4.11.amazon", "cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.7.7-100.fc38.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc" }, "date_time": { "date": "2024-04-01", "day": "01", "epoch": "1711975834", "hour": "12", "iso8601": "2024-04-01T12:50:34Z", "iso8601_basic": "20240401T125034872966", "iso8601_basic_short": "20240401T125034", "iso8601_micro": "2024-04-01T12:50:34.872966Z", "minute": "50", "month": "04", "second": "34", "time": "12:50:34", "tz": "UTC", "tz_offset": "+0000", "weekday": "Monday", "weekday_number": "1", "weeknumber": "14", "year": "2024" }, "default_ipv4": { "address": "10.31.8.120", "alias": "eth0", "broadcast": "10.31.11.255", "gateway": "10.31.8.1", "interface": "eth0", "macaddress": "12:47:53:d9:02:7d", "mtu": 1500, "netmask": "255.255.252.0", "network": "10.31.8.0", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda2": [ "7edc224a-9332-4cda-9c64-11dd8d1c6cdc" ] } }, "devices": { "xvda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "xvda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "sectors": "2048", "sectorsize": 512, "size": "1.00 MB", "start": "2048", "uuid": null }, "xvda2": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "7edc224a-9332-4cda-9c64-11dd8d1c6cdc" ] }, "sectors": "524283871", "sectorsize": 512, "size": "250.00 GB", "start": "4096", "uuid": "7edc224a-9332-4cda-9c64-11dd8d1c6cdc" } }, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "support_discard": "0", "vendor": null, "virtual": 1 }, "zram0": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": {}, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "", "sectors": "7618560", "sectorsize": "4096", "size": "3.63 GB", "support_discard": "4096", "vendor": null, "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "38", "distribution_release": "", "distribution_version": "38", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "us-east-1.aws.redhat.com" ] }, "domain": "testing-farm", "effective_group_id": 0, "effective_user_id": 0, "env": { "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "DEBUGINFOD_URLS": "https://debuginfod.fedoraproject.org/ ", "EDITOR": "/usr/bin/vim", "HOME": "/root", "LANG": "en_US.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "MOTD_SHOWN": "pam", "PATH": "/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.29.163.167 54826 22", "SSH_CONNECTION": "10.29.163.167 54826 10.31.8.120 22", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "7", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.31.8.120", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0" }, "ipv6": [ { "address": "fe80::1047:53ff:fed9:27d", "prefix": "64", "scope": "link" } ], "macaddress": "12:47:53:d9:02:7d", "module": "xen_netfront", "mtu": 1500, "pciid": "vif-0", "promisc": false, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "002ded88-c0c5-44e4-9ae5-9ebb73c905d5.testing-farm", "gather_subset": [ "all" ], "hostname": "002ded88-c0c5-44e4-9ae5-9ebb73c905d5", "hostnqn": "", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "6.7.7-100.fc38.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Fri Mar 1 16:51:49 UTC 2024", "lo": { "active": true, "device": "lo", "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "type": "loopback" }, "lsb": {}, "lvm": { "lvs": {}, "pvs": {}, "vgs": {} }, "machine": "x86_64", "machine_id": "e8369cf880a846498ebf47eb6c882858", "memfree_mb": 2604, "memory_mb": { "nocache": { "free": 3401, "used": 319 }, "real": { "free": 2604, "total": 3720, "used": 1116 }, "swap": { "cached": 0, "free": 3719, "total": 3719, "used": 0 } }, "memtotal_mb": 3720, "module_setup": true, "mounts": [ { "block_available": 61288096, "block_size": 4096, "block_total": 64483404, "block_used": 3195308, "device": "/dev/xvda2", "fstype": "ext4", "inode_available": 16304466, "inode_total": 16384000, "inode_used": 79534, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 251036041216, "size_total": 264124022784, "uuid": "7edc224a-9332-4cda-9c64-11dd8d1c6cdc" } ], "nodename": "002ded88-c0c5-44e4-9ae5-9ebb73c905d5.testing-farm", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.7.7-100.fc38.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz" ], "processor_cores": 1, "processor_count": 1, "processor_threads_per_core": 2, "processor_vcpus": 2, "product_name": "HVM domU", "product_serial": "ec2f9475-2c6c-7111-f3b1-766e6f39825e", "product_uuid": "ec2f9475-2c6c-7111-f3b1-766e6f39825e", "product_version": "4.11.amazon", "python": { "executable": "/usr/bin/python", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 8, "minor": 11, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 11, 8, "final", 0 ] }, "python_version": "3.11.8", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAIn4JhDlZfSfXeV4EREn1HkiNX/kydbC4BHqwBf9ktR+3msYRfznIiv2P/kXPEm8rg7MKxdFuW+z82nszMoHz6fhsAVMbUEmxmnoNZJggmxZsrF+vkph5FITeImBX6Z3hZ/HIPAwwJMP0YLqsIgwaeuy6d45gum7CZxy94WQjqTJAAAAFQCxC/yVmmTI/Bxkx1GPy1subErIlQAAAIEAhOU6QjiLB664e5QAWJk3JX3CSInZHT4SRXj55eLrU1KOaBIaWNEnBg1UAQQpJq8ohYd3OhkkFVnD4QvY9gIhUH4XxoabYEfvyVQw1YEmFTSybeWxHWun9XChhTxjHoDU9eiBcH5pJhOFGHpkQe7qaSoj936xB581wqz8E2X6Do8AAACAZqHa3igOvGiOgwUpllbCrn2sCrPV3j4d68KAWzMHHcH9gba7cAG64iug5TkD+RBt6ES/egE0doyS5O75LqFJWLEkTMDUc6jVu4dA4+m+JU6K4boxmgEYLSDS4j2lasjOOT/U5oq3QSlroMlXpiBIK9KAuHSgls0AhTJMWoy1z2I=", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAkIi00+qc9RQErxSm/UDjt8mVpaG+98foAn/HrJKFBjai5R4iV+7hlQzL92ZyyiWy8KzxUVtxbe2vgxNt7S4cU=", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIL6qEupb6L5LcqH5e4ITuQtug2m/K3ok+0hOi3z1pZel", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC5jmyHnT5XRABwl39fs3Y0EveQb3Hx9rvu6FA1jLnc+Ncc3uvUGWcGuXy2lJ0APIsWf8qWQe7OJj+Zcr0sbnHxlaMRb540gaucNkpO9Tu+z03kn7M0PSHfOw6YA3JfxVQUy5vuwIaQV+gpFf1abRqyxpjg+sKVo+jVoO1edIklhc0cTcKqKMC1Ydw+luICX4/7rmsPUz5wTRUJIiQNrsAeIDiLWoUY+gpmYEDI1xiCfFXo/Qo73gshu0NZQ2wb2E8eltg1I8BzXb0fBNWnAWnnJEd037LlL4JfsoD3U0Yi56gnQfEb7tg+NLM9SDxXcOMmi4H2nJzrxAkbsHtngkk7xzcX5yKLUdv6CcojrlklPNTu8zu5II2Au5QL5nl2UPbSrXopbcD1FlG+peGOJoE0NPoDPNAhvkXPBKa7XvaBB/ZyNjuIZPlRuA7SmXmmUMEiIUI+eRoOMokaU4DLRA4DDnmHeONi/iZtq2i/g85Jgcoy30rMpdDKp2fCQUCB7Zk=", "swapfree_mb": 3719, "swaptotal_mb": 3719, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 1221, "user_dir": "/root", "user_gecos": "Super User", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_type": "xen" } META: end_host conditional evaluated to false, continuing execution for sut TASK [Check for availability of both NTP providers] **************************** task path: /WORKDIR/git-weekly-ciljxi7mej/tests/tests_ntp_provider6.yml:22 Monday 01 April 2024 12:50:38 +0000 (0:00:00.031) 0:00:04.095 ********** 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-ciljxi7mej/tests/tests_ntp_provider6.yml:35 Monday 01 April 2024 12:50:43 +0000 (0:00:05.281) 0:00:09.376 ********** 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=8 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=1 Monday 01 April 2024 12:50:43 +0000 (0:00:00.036) 0:00:09.413 ********** =============================================================================== Check for availability of both NTP providers ---------------------------- 5.28s /WORKDIR/git-weekly-ciljxi7mej/tests/tests_ntp_provider6.yml:22 --------------- Ensure iproute for gathering default_ipv4 fact -------------------------- 2.72s /WORKDIR/git-weekly-ciljxi7mej/tests/tasks/setup.yml:15 ----------------------- Gathering Facts --------------------------------------------------------- 1.00s /WORKDIR/git-weekly-ciljxi7mej/tests/tests_ntp_provider6.yml:2 ---------------- Check if system is ostree ----------------------------------------------- 0.28s /WORKDIR/git-weekly-ciljxi7mej/tests/tasks/setup.yml:6 ------------------------ Set the availability of both NTP providers ------------------------------ 0.04s /WORKDIR/git-weekly-ciljxi7mej/tests/tests_ntp_provider6.yml:35 --------------- Debug ------------------------------------------------------------------- 0.03s /WORKDIR/git-weekly-ciljxi7mej/tests/tasks/setup.yml:36 ----------------------- Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-weekly-ciljxi7mej/tests/tasks/setup.yml:11 ----------------------- Ensure ansible_facts used by test --------------------------------------- 0.02s /WORKDIR/git-weekly-ciljxi7mej/tests/tasks/setup.yml:22 ----------------------- Common test setup tasks ------------------------------------------------- 0.01s /WORKDIR/git-weekly-ciljxi7mej/tests/tests_ntp_provider6.yml:13 --------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 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. ---^---^---^---^---^---