ansible-playbook [core 2.17.7] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.13/site-packages/ansible ansible collection location = /tmp/collections-nVc executable location = /usr/local/bin/ansible-playbook python version = 3.13.0 (main, Oct 8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.13) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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 /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/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: /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:2 Saturday 28 December 2024 22:11:15 -0500 (0:00:00.008) 0:00:00.008 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Common test setup tasks] ************************************************* task path: /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:12 Saturday 28 December 2024 22:11:17 -0500 (0:00:01.308) 0:00:01.317 ***** included: /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml for managed-node1 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Saturday 28 December 2024 22:11:17 -0500 (0:00:00.018) 0:00:01.335 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Saturday 28 December 2024 22:11:17 -0500 (0:00:00.471) 0:00:01.807 ***** ok: [managed-node1] => { "ansible_facts": { "__timesync_is_ostree": false }, "changed": false } TASK [Ensure iproute for gathering default_ipv4 fact] ************************** task path: /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Saturday 28 December 2024 22:11:17 -0500 (0:00:00.024) 0:00:01.831 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Ensure ansible_facts used by test] *************************************** task path: /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Saturday 28 December 2024 22:11:18 -0500 (0:00:01.309) 0:00:03.141 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [Debug] ******************************************************************* task path: /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Saturday 28 December 2024 22:11:18 -0500 (0:00:00.029) 0:00:03.170 ***** ok: [managed-node1] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.14.66" ], "all_ipv6_addresses": [ "fe80::8ff:dcff:fe6d:7b03" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_vendor": "Xen", "bios_version": "4.11.amazon", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "Xen", "chassis_version": "NA", "cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.12.4-200.fc41.x86_64", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4" }, "date_time": { "date": "2024-12-28", "day": "28", "epoch": "1735441876", "epoch_int": "1735441876", "hour": "22", "iso8601": "2024-12-29T03:11:16Z", "iso8601_basic": "20241228T221116714847", "iso8601_basic_short": "20241228T221116", "iso8601_micro": "2024-12-29T03:11:16.714847Z", "minute": "11", "month": "12", "second": "16", "time": "22:11:16", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500", "weekday": "Saturday", "weekday_number": "6", "weeknumber": "52", "year": "2024" }, "default_ipv4": { "address": "10.31.14.66", "alias": "eth0", "broadcast": "10.31.15.255", "gateway": "10.31.12.1", "interface": "eth0", "macaddress": "0a:ff:dc:6d:7b:03", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda2": [ "66a9de68-b537-4835-a273-01e7feb468b4" ] } }, "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": [ "66a9de68-b537-4835-a273-01e7feb468b4" ] }, "sectors": "524283871", "sectorsize": 512, "size": "250.00 GB", "start": "4096", "uuid": "66a9de68-b537-4835-a273-01e7feb468b4" } }, "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": "512", "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": "7604224", "sectorsize": "4096", "size": "3.63 GB", "support_discard": "4096", "vendor": null, "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python3", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "41", "distribution_release": "", "distribution_version": "41", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "us-east-1.aws.redhat.com" ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "DEBUGINFOD_IMA_CERT_PATH": "/etc/keys/ima:", "DEBUGINFOD_URLS": "https://debuginfod.fedoraproject.org/ ", "EDITOR": "/usr/bin/vim", "GPG_TTY": "/dev/pts/0", "HOME": "/root", "LANG": "en_US.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "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.31.14.54 56420 22", "SSH_CONNECTION": "10.31.14.54 56420 10.31.14.66 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "6", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.31.14.66", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::8ff:dcff:fe6d:7b03", "prefix": "64", "scope": "link" } ], "macaddress": "0a:ff:dc:6d:7b:03", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "managed-node1", "gather_subset": [ "all" ], "hostname": "managed-node1", "hostnqn": "nqn.2014-08.org.nvmexpress:uuid:48711198-f077-4367-996e-c67579ba5011", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "6.12.4-200.fc41.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Mon Dec 9 20:01:35 UTC 2024", "lo": { "active": true, "device": "lo", "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "prefix": "8" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "type": "loopback" }, "loadavg": { "15m": 0.06787109375, "1m": 0.673828125, "5m": 0.20361328125 }, "locally_reachable_ips": { "ipv4": [ "10.31.14.66", "127.0.0.0/8", "127.0.0.1" ], "ipv6": [ "::1", "fe80::8ff:dcff:fe6d:7b03" ] }, "lsb": {}, "lvm": { "lvs": {}, "pvs": {}, "vgs": {} }, "machine": "x86_64", "machine_id": "ec22ebc350123a646583fcd15711f589", "memfree_mb": 3176, "memory_mb": { "nocache": { "free": 3501, "used": 212 }, "real": { "free": 3176, "total": 3713, "used": 537 }, "swap": { "cached": 0, "free": 3712, "total": 3712, "used": 0 } }, "memtotal_mb": 3713, "module_setup": true, "mounts": [ { "block_available": 61371051, "block_size": 4096, "block_total": 64479564, "block_used": 3108513, "device": "/dev/xvda2", "dump": 0, "fstype": "ext4", "inode_available": 16302843, "inode_total": 16384000, "inode_used": 81157, "mount": "/", "options": "rw,seclabel,relatime", "passno": 0, "size_available": 251375824896, "size_total": 264108294144, "uuid": "66a9de68-b537-4835-a273-01e7feb468b4" } ], "nodename": "managed-node1", "os_family": "RedHat", "pkg_mgr": "dnf5", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.12.4-200.fc41.x86_64", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4" }, "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_nproc": 2, "processor_threads_per_core": 2, "processor_vcpus": 2, "product_name": "HVM domU", "product_serial": "ec22ebc3-5012-3a64-6583-fcd15711f589", "product_uuid": "ec22ebc3-5012-3a64-6583-fcd15711f589", "product_version": "4.11.amazon", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 0, "minor": 13, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 13, 0, "final", 0 ] }, "python_version": "3.13.0", "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_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNumkMWFdIkNMkMabA2WtRy8NRR16cJatmUeZGSwLKS9nlczfUBQ6fS8ir6bVyjAqUqsiPhh6kgzovNup41yfhk=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIN+YvtmClK9hMPN7q+oQTCNWP88IL/7TEMK2vQTGXG0J", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDPirIBUw5ce6Hzhwag+W5WAZ4/i3wOSceAGD1DUoDETj5UxnQrwwtvz77ZpvJNKUlG4ie7LTBvZv2cKgXRCJUXJvIU9/EVkCx1vJNf5+OIWvTtfk+czVz+v6IJv+tDUxXrVNmgIx4aHJdcR+JNimUPI6vsiNAxqgpLcMRSSo8oWr5efyUtFNKneJ4FbI0zo4RiKB7NClE66sv+VhhF9V5EKrCrfVmECw2wbGOxhV4y4SQjHRzMFfNuMk3CIVjA1OMI7EksHENEXzP4z9Fnl2vficDoW5a9e6OyVS6sB9lnWp5fs7pLGNuzyCvHxjd+V7EfqLyzw4+upI44Qjy7uh3gnFwxlnoNHs0vR9TAfLzxnaNActaO2rAYDQ1vOS/p9aPU3G/dYf80tCNdf2qjbKO41bPnY11F5KJ2tk8JhDWgVNE2HJPquSY7n7akYgu/H6OFSLbvQ1mdWoQvG0aGWi69ofOtQglBYdGRjieqwDcY63lO46r/PwAdge6JEGTGgck=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 3712, "swaptotal_mb": 3712, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 758, "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_tech_guest": [ "xen" ], "virtualization_tech_host": [], "virtualization_type": "xen" } TASK [Skip test on ostree systems if unsupported] ****************************** task path: /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 Saturday 28 December 2024 22:11:19 -0500 (0:00:00.028) 0:00:03.199 ***** META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Check for availability of both NTP providers] **************************** task path: /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:21 Saturday 28 December 2024 22:11:19 -0500 (0:00:00.018) 0:00:03.217 ***** ok: [managed-node1] => (item=chrony) => { "ansible_loop_var": "item", "changed": false, "item": "chrony", "rc": 0, "results": [] } MSG: Nothing to do failed: [managed-node1] (item=ntp) => { "ansible_loop_var": "item", "changed": false, "failures": [ "No package ntp available." ], "item": "ntp", "rc": 1 } MSG: Failed to install some of the specified packages ...ignoring TASK [Set the availability of both NTP providers] ****************************** task path: /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:34 Saturday 28 December 2024 22:11:21 -0500 (0:00:02.414) 0:00:05.632 ***** skipping: [managed-node1] => (item={'results': [], 'changed': False, 'msg': 'Nothing to do', 'rc': 0, 'invocation': {'module_args': {'name': ['chrony'], 'state': 'present', 'allow_downgrade': False, 'allowerasing': 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, 'best': None, 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'nobest': 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, "best": null, "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": null, "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: [managed-node1] => (item={'failures': ['No package ntp available.'], 'rc': 1, 'failed': True, 'msg': 'Failed to install some of the specified packages', 'invocation': {'module_args': {'name': ['ntp'], 'state': 'present', 'allow_downgrade': False, 'allowerasing': 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, 'best': None, 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'nobest': 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, "best": null, "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": null, "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 } } TASK [End test if not both available] ****************************************** task path: /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:41 Saturday 28 December 2024 22:11:21 -0500 (0:00:00.054) 0:00:05.686 ***** META: ending play PLAY RECAP ********************************************************************* managed-node1 : ok=8 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=1 TASKS RECAP ******************************************************************** Saturday 28 December 2024 22:11:21 -0500 (0:00:00.008) 0:00:05.694 ***** =============================================================================== Check for availability of both NTP providers ---------------------------- 2.41s /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:21 Ensure iproute for gathering default_ipv4 fact -------------------------- 1.31s /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Gathering Facts --------------------------------------------------------- 1.31s /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:2 Check if system is ostree ----------------------------------------------- 0.47s /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Set the availability of both NTP providers ------------------------------ 0.05s /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:34 Ensure ansible_facts used by test --------------------------------------- 0.03s /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Debug ------------------------------------------------------------------- 0.03s /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Set flag to indicate system is ostree ----------------------------------- 0.02s /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Common test setup tasks ------------------------------------------------- 0.02s /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:12 Skip test on ostree systems if unsupported ------------------------------ 0.02s /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 End test if not both available ------------------------------------------ 0.01s /tmp/collections-nVc/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:41