[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.TYpqkaPQkD executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) 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_provider3.yml ********************************************** 1 plays in /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml PLAY [Configure NTP with ntp as current provider] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:2 Tuesday 06 August 2024 13:56:54 -0400 (0:00:00.016) 0:00:00.016 ******** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:11 Tuesday 06 August 2024 13:56:59 -0400 (0:00:04.684) 0:00:04.701 ******** included: /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml for managed_node1 TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Tuesday 06 August 2024 13:56:59 -0400 (0:00:00.022) 0:00:04.723 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Tuesday 06 August 2024 13:56:59 -0400 (0:00:00.487) 0:00:05.211 ******** ok: [managed_node1] => { "ansible_facts": { "__timesync_is_ostree": false }, "changed": false } TASK [Ensure iproute for gathering default_ipv4 fact] ************************** task path: /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Tuesday 06 August 2024 13:56:59 -0400 (0:00:00.024) 0:00:05.236 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Ensure ansible_facts used by test] *************************************** task path: /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Tuesday 06 August 2024 13:57:42 -0400 (0:00:42.952) 0:00:48.188 ******** 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/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Tuesday 06 August 2024 13:57:42 -0400 (0:00:00.038) 0:00:48.227 ******** ok: [managed_node1] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.10.245" ], "all_ipv6_addresses": [ "fe80::928b:fde5:9779:d0cc" ], "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.9.12-100.fc39.x86_64", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65" }, "date_time": { "date": "2024-08-06", "day": "06", "epoch": "1722967018", "epoch_int": "1722967018", "hour": "13", "iso8601": "2024-08-06T17:56:58Z", "iso8601_basic": "20240806T135658368418", "iso8601_basic_short": "20240806T135658", "iso8601_micro": "2024-08-06T17:56:58.368418Z", "minute": "56", "month": "08", "second": "58", "time": "13:56:58", "tz": "EDT", "tz_dst": "EDT", "tz_offset": "-0400", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "32", "year": "2024" }, "default_ipv4": { "address": "10.31.10.245", "alias": "eth0", "broadcast": "10.31.11.255", "gateway": "10.31.8.1", "interface": "eth0", "macaddress": "12:b3:04:a4:07:27", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.8.0", "prefix": "22", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda2": [ "5826c510-ca74-4e1c-b86e-a672d5da7a65" ] } }, "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": [ "5826c510-ca74-4e1c-b86e-a672d5da7a65" ] }, "sectors": "524283871", "sectorsize": 512, "size": "250.00 GB", "start": "4096", "uuid": "5826c510-ca74-4e1c-b86e-a672d5da7a65" } }, "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": "7612416", "sectorsize": "4096", "size": "3.63 GB", "support_discard": "4096", "vendor": null, "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python3.12", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "39", "distribution_release": "", "distribution_version": "39", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "us-east-1.aws.redhat.com" ] }, "domain": "us-east-1.aws.redhat.com", "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/nano", "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.43.185 42118 22", "SSH_CONNECTION": "10.31.43.185 42118 10.31.10.245 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "5", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3.12" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.31.10.245", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::928b:fde5:9779:d0cc", "prefix": "64", "scope": "link" } ], "macaddress": "12:b3:04:a4:07:27", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "ip-10-31-10-245.us-east-1.aws.redhat.com", "gather_subset": [ "all" ], "hostname": "ip-10-31-10-245", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "6.9.12-100.fc39.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Sat Jul 27 16:09:11 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.1357421875, "1m": 0.13720703125, "5m": 0.28125 }, "locally_reachable_ips": { "ipv4": [ "10.31.10.245", "127.0.0.0/8", "127.0.0.1" ], "ipv6": [ "::1", "fe80::928b:fde5:9779:d0cc" ] }, "lsb": {}, "lvm": { "lvs": {}, "pvs": {}, "vgs": {} }, "machine": "x86_64", "machine_id": "ec2e4376954c75fab1c8d3fcfd4381dc", "memfree_mb": 3307, "memory_mb": { "nocache": { "free": 3536, "used": 181 }, "real": { "free": 3307, "total": 3717, "used": 410 }, "swap": { "cached": 0, "free": 3716, "total": 3716, "used": 0 } }, "memtotal_mb": 3717, "module_setup": true, "mounts": [ { "block_available": 61408050, "block_size": 4096, "block_total": 64483404, "block_used": 3075354, "device": "/dev/xvda2", "dump": 0, "fstype": "ext4", "inode_available": 16304314, "inode_total": 16384000, "inode_used": 79686, "mount": "/", "options": "rw,seclabel,relatime", "passno": 0, "size_available": 251527372800, "size_total": 264124022784, "uuid": "5826c510-ca74-4e1c-b86e-a672d5da7a65" } ], "nodename": "ip-10-31-10-245.us-east-1.aws.redhat.com", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.9.12-100.fc39.x86_64", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65" }, "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": "ec2e4376-954c-75fa-b1c8-d3fcfd4381dc", "product_uuid": "ec2e4376-954c-75fa-b1c8-d3fcfd4381dc", "product_version": "4.11.amazon", "python": { "executable": "/usr/bin/python3.12", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 4, "minor": 12, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 12, 4, "final", 0 ] }, "python_version": "3.12.4", "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": "AAAAB3NzaC1kc3MAAACBAMEtfUZqdBCO/jl0i27zJb+BNTssdTOotYYlYl5e1u14XoEe1b8KOeF0ScaLelEkSTBgTdMjXmgXS++35OQ373nvDalJJccbcVWHtpo3TH2Hd7FqNr8diUwtUYhyiR5B8x//dEe4iWYkqO370iGmZ/gGEu/W3kqsZR3drjdNM3hXAAAAFQCnsL7pCzTfvINVCR4v+Nd2SjEzvQAAAIEAtsfUzb9zvtbw8AdsjwueNSyhlidb3yV+37R7CZmIXO1A/hKmGkLWlYwEow71OmNE5l8HImudFww/96lBdtHr2gP1cBTiptwL6Xl5eVliz8HyvyZTRxt9Lp4X1JTDzeAz23WSDveYfdkexXk+91gt616fF0xAOYVv929sL22D0u0AAACBAJEk5yJgaDU6TVs/iQNsWRHN5s2F8taw+hauI07+eDcSFnUa/HFHd6nLYLT7Hm8kuqL+ONXJAkFjVWjENuZb4lW0OmGY6v1s5gHlbLLp25f3J61+fX+dXWeV8IArcMpWPMRZUleSjZl5uhLRZug/C2mAybglwM6ZWdnCuEz4wHtj", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBMfaMXk3srKPFwDv4KCBbld2vinO8rRQiypTjvO4rJU0FThNEnMgsRRgDeDVTuiLkhBT0DeslEHs2+/nu7euVlw=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIOyeusjYMA48LzJ4D/VAMy3ir+XG8PqO6yFXERNMxxt6", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCwOZMRxlDRcjRgE3xPWFqfswntJ5qbnI1WJ/4wjaAaJ7o77dsO5CxRELMHh4ZEfbUCnWv55WOOsaL92nDaWECCNR0Lm4fs11B5077fUXO3p787+FUmdoLMI75H9Fezoc0/ZU/PJFKfQnvpJL/ENVXXDiSj+c/2t6YnehLJ+887xzHHOeJRLGFhFVb/J3ifncEsMXTi2+upiHbXNw+TDrjNyIg1EXVNX9sSbVPLEI+9qH7cUaPoXOdQrb1sZqfIFGepKbaNgzupI1SX/5PBBH/lK+poxHoL2IgACYPoSC3gaJFn+KjgjO3Ju60q36MWDhcWFzmEeerDTlw9yF5p44VklGqCgr1qkPElSNM7yFHOGFJ9fp9/Nq06DXEZpv0a3KW4o2tpvfiHIPKiHwUCwYW8hIGLkLzItJIdxe5NXYQJZ5XemuMCd1KvjDsb22hQC1o1DYQQUcI4vr/S7RMyObPpbg16LG/JwC8nMpWQ0kkOwKU0JlcJR8gkyaHZ2GtDDYU=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 3716, "swaptotal_mb": 3716, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 223, "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/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 Tuesday 06 August 2024 13:57:42 -0400 (0:00:00.039) 0:00:48.266 ******** 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 [Remove chrony] *********************************************************** task path: /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:20 Tuesday 06 August 2024 13:57:42 -0400 (0:00:00.026) 0:00:48.293 ******** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Removed: chrony-4.5-1.fc39.x86_64" ] } TASK [Install ntp] ************************************************************* task path: /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:25 Tuesday 06 August 2024 13:57:52 -0400 (0:00:09.841) 0:00:58.134 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "failures": [ "No package ntp available." ], "rc": 1, "results": [] } MSG: Failed to install some of the specified packages ...ignoring TASK [Skip test if no package] ************************************************* task path: /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:32 Tuesday 06 August 2024 13:57:54 -0400 (0:00:01.810) 0:00:59.945 ******** META: ending play PLAY RECAP ********************************************************************* managed_node1 : ok=8 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=1 Tuesday 06 August 2024 13:57:54 -0400 (0:00:00.004) 0:00:59.950 ******** =============================================================================== Ensure iproute for gathering default_ipv4 fact ------------------------- 42.95s /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Remove chrony ----------------------------------------------------------- 9.84s /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:20 Gathering Facts --------------------------------------------------------- 4.68s /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:2 Install ntp ------------------------------------------------------------- 1.81s /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:25 Check if system is ostree ----------------------------------------------- 0.49s /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Debug ------------------------------------------------------------------- 0.04s /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Ensure ansible_facts used by test --------------------------------------- 0.04s /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Skip test on ostree systems if unsupported ------------------------------ 0.03s /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 Set flag to indicate system is ostree ----------------------------------- 0.02s /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Common test setup tasks ------------------------------------------------- 0.02s /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:11 Skip test if no package ------------------------------------------------- 0.00s /tmp/tmp.TYpqkaPQkD/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:32