ansible-playbook [core 2.17.6] 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/collections-xAh executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 13.3.1 20240913 (Red Hat 13.3.1-3)] (/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/collections-xAh/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/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:2 Saturday 30 November 2024 22:25:10 -0500 (0:00:00.034) 0:00:00.034 ***** [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/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:11 Saturday 30 November 2024 22:25:11 -0500 (0:00:01.392) 0:00:01.427 ***** included: /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml for managed-node1 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Saturday 30 November 2024 22:25:11 -0500 (0:00:00.021) 0:00:01.449 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Saturday 30 November 2024 22:25:12 -0500 (0:00:00.564) 0:00:02.013 ***** ok: [managed-node1] => { "ansible_facts": { "__timesync_is_ostree": false }, "changed": false } TASK [Ensure iproute for gathering default_ipv4 fact] ************************** task path: /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Saturday 30 November 2024 22:25:12 -0500 (0:00:00.029) 0:00:02.042 ***** 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-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Saturday 30 November 2024 22:25:14 -0500 (0:00:01.911) 0:00:03.954 ***** 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-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Saturday 30 November 2024 22:25:14 -0500 (0:00:00.064) 0:00:04.018 ***** ok: [managed-node1] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.45.200" ], "all_ipv6_addresses": [ "fe80::bae7:7978:81d:c05a" ], "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.11.7-100.fc39.x86_64", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c" }, "date_time": { "date": "2024-11-30", "day": "30", "epoch": "1733023511", "epoch_int": "1733023511", "hour": "22", "iso8601": "2024-12-01T03:25:11Z", "iso8601_basic": "20241130T222511086153", "iso8601_basic_short": "20241130T222511", "iso8601_micro": "2024-12-01T03:25:11.086153Z", "minute": "25", "month": "11", "second": "11", "time": "22:25:11", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500", "weekday": "Saturday", "weekday_number": "6", "weeknumber": "48", "year": "2024" }, "default_ipv4": { "address": "10.31.45.200", "alias": "eth0", "broadcast": "10.31.47.255", "gateway": "10.31.44.1", "interface": "eth0", "macaddress": "02:ff:9a:84:63:6d", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.44.0", "prefix": "22", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda2": [ "58743121-55c2-4c9f-b063-104c2b6f313c" ] } }, "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": [ "58743121-55c2-4c9f-b063-104c2b6f313c" ] }, "sectors": "524283871", "sectorsize": 512, "size": "250.00 GB", "start": "4096", "uuid": "58743121-55c2-4c9f-b063-104c2b6f313c" } }, "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": "7610368", "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": "", "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.46.254 35770 22", "SSH_CONNECTION": "10.31.46.254 35770 10.31.45.200 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.45.200", "broadcast": "10.31.47.255", "netmask": "255.255.252.0", "network": "10.31.44.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::bae7:7978:81d:c05a", "prefix": "64", "scope": "link" } ], "macaddress": "02:ff:9a:84:63:6d", "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": "", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "6.11.7-100.fc39.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Fri Nov 8 19:07:28 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.16064453125, "1m": 0.521484375, "5m": 0.3427734375 }, "locally_reachable_ips": { "ipv4": [ "10.31.45.200", "127.0.0.0/8", "127.0.0.1" ], "ipv6": [ "::1", "fe80::bae7:7978:81d:c05a" ] }, "lsb": {}, "lvm": { "lvs": {}, "pvs": {}, "vgs": {} }, "machine": "x86_64", "machine_id": "ec2d72ae6f9ffced12b266387dbd4079", "memfree_mb": 2966, "memory_mb": { "nocache": { "free": 3497, "used": 219 }, "real": { "free": 2966, "total": 3716, "used": 750 }, "swap": { "cached": 0, "free": 3715, "total": 3715, "used": 0 } }, "memtotal_mb": 3716, "module_setup": true, "mounts": [ { "block_available": 61317834, "block_size": 4096, "block_total": 64479564, "block_used": 3161730, "device": "/dev/xvda2", "dump": 0, "fstype": "ext4", "inode_available": 16303364, "inode_total": 16384000, "inode_used": 80636, "mount": "/", "options": "rw,seclabel,relatime", "passno": 0, "size_available": 251157848064, "size_total": 264108294144, "uuid": "58743121-55c2-4c9f-b063-104c2b6f313c" } ], "nodename": "managed-node1", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.11.7-100.fc39.x86_64", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c" }, "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": "ec2d72ae-6f9f-fced-12b2-66387dbd4079", "product_uuid": "ec2d72ae-6f9f-fced-12b2-66387dbd4079", "product_version": "4.11.amazon", "python": { "executable": "/usr/bin/python3.12", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 7, "minor": 12, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 12, 7, "final", 0 ] }, "python_version": "3.12.7", "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": "AAAAB3NzaC1kc3MAAACBAKd6t7WHtwtQN5zs19WAjWkuw88N1nYo8+WfHMDvlNFgFDtWl4Hg14cQXuob6117Bm4ypTgLoLrLBMQO20QDimqvtvVUpFKVZPovE0L8+nI+9/hH14hZ/T9EeRaPQAGeNT+gzdwckIV19ZY5v2TgThYcwrgD3tCAk80sEgun+wvLAAAAFQCK+kHdlzRCidGj0EjG3Xi2QZ5TiQAAAIEAna1ugx6sMFRBScXRlFEi0w+jLZnmL9Fo0PvRasDWXx+YNDAmSgcMN8juMNoch4JbuUP3sAG1wKmwCoGTJOstaX7VQSBpmTedoUqCAEdHsBGUWFX0qrZHVyhVnw97OHp529n6kCYINcJxV+yQYEjilOEvOBWxN+NCAAhV1aodhgYAAACAdExjTSJIW0iwp/AR6JX964ZMCXhTVpX7fcUCNna5vyhn3QWSaM7cPPppls3JV8TcrTAKWk2TyQYFww42j8ifjD4lzOKm5MQzm5IBozaNxOIyGNVvwidCENvODtEdW+DeaVbIhybIrRJFmokLMNea754a5R/1QmmeSVwAR/uBayI=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBMyZvEMQzI8+twn/cIO6hBuyl6g9Xhitl1dULwgNprNl9nHMAT8kstW/5U3Dyx2NZGMx0TmKle6IlE9oKQ21OS4=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIH6sh3UtvU9un1mkq83IWM5veQ6o0ugDll4kQwU+GmIG", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCRj7M5phLctSRFHPNUIRmzkLXHqsILRCY+uQabgNXljBStdQG3U+v6KzXLlES2G30BhlrKQAw34TvaqoTxaj5CLLvuk6SVYzqkzTVaMx90h+Gvt+AvAQaZV9mbvAl9cGmoutIjWxyiYwqxmu3bYjpijthMq6zbx5z1PoeT0E5pUxEBuJ+ZMqlp8HxAsPrwjMixA05JWhTYVUf0MBrMWEWW1qQjx+6rcyijEO6j/Vm0eIDWMinSrCDsE3pZVxox/uoWf896q/9wVlkOat2NMsp4JkTLWjMDra2/hqi9mlDKL/FwxWk05uvCLY3h5SOQZ2RMrp5WHxQ46vDJXkokLAnpTWv86tgGE1zS+OUCYmwPfoTZZA9bFG3AC6KWX5PhhVXpW/LQjQRcEeAHkxdlOjeKKxj2g13fwACqX/TTZMoOfs85CTDNMs8HJFNu7W4hXX3p3qNzYnH/IyJiE+bCJODyw/N+zVM8//+Y6DsnjOwlrbv1og7AA6BzvC8651wgUbc=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 3715, "swaptotal_mb": 3715, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 387, "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-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 Saturday 30 November 2024 22:25:14 -0500 (0:00:00.062) 0:00:04.081 ***** 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/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:20 Saturday 30 November 2024 22:25:14 -0500 (0:00:00.044) 0:00:04.125 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Removed: chrony-4.6.1-1.fc39.x86_64" ] } TASK [Install ntp] ************************************************************* task path: /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:25 Saturday 30 November 2024 22:25:16 -0500 (0:00:02.466) 0:00:06.591 ***** 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/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:32 Saturday 30 November 2024 22:25:18 -0500 (0:00:02.169) 0:00:08.761 ***** META: ending play PLAY RECAP ********************************************************************* managed-node1 : ok=8 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=1 Saturday 30 November 2024 22:25:18 -0500 (0:00:00.007) 0:00:08.769 ***** =============================================================================== Remove chrony ----------------------------------------------------------- 2.47s /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:20 Install ntp ------------------------------------------------------------- 2.17s /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:25 Ensure iproute for gathering default_ipv4 fact -------------------------- 1.91s /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Gathering Facts --------------------------------------------------------- 1.39s /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:2 Check if system is ostree ----------------------------------------------- 0.56s /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Ensure ansible_facts used by test --------------------------------------- 0.06s /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Debug ------------------------------------------------------------------- 0.06s /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Skip test on ostree systems if unsupported ------------------------------ 0.04s /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 Set flag to indicate system is ostree ----------------------------------- 0.03s /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Common test setup tasks ------------------------------------------------- 0.02s /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:11 Skip test if no package ------------------------------------------------- 0.01s /tmp/collections-xAh/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:32