ansible-playbook [core 2.17.4] 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-7SV executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.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_provider5.yml ********************************************** 1 plays in /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider5.yml PLAY [Configure NTP with ntp as specified provider] **************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider5.yml:2 Sunday 29 September 2024 01:23:35 -0400 (0:00:00.015) 0:00:00.015 ****** [WARNING]: Platform linux on host managed-node2 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-node2] TASK [Common test setup tasks] ************************************************* task path: /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider5.yml:12 Sunday 29 September 2024 01:23:37 -0400 (0:00:01.291) 0:00:01.307 ****** included: /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml for managed-node2 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Sunday 29 September 2024 01:23:37 -0400 (0:00:00.028) 0:00:01.335 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Sunday 29 September 2024 01:23:37 -0400 (0:00:00.572) 0:00:01.907 ****** ok: [managed-node2] => { "ansible_facts": { "__timesync_is_ostree": false }, "changed": false } TASK [Ensure iproute for gathering default_ipv4 fact] ************************** task path: /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Sunday 29 September 2024 01:23:37 -0400 (0:00:00.025) 0:00:01.933 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Ensure ansible_facts used by test] *************************************** task path: /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Sunday 29 September 2024 01:23:39 -0400 (0:00:01.843) 0:00:03.776 ****** skipping: [managed-node2] => { "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-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Sunday 29 September 2024 01:23:39 -0400 (0:00:00.043) 0:00:03.820 ****** ok: [managed-node2] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.12.45" ], "all_ipv6_addresses": [ "fe80::8ff:c5ff:feda:fc4d" ], "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.10.10-200.fc40.x86_64", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=043ca97e-e9dd-43e0-af21-e3d1e20db391" }, "date_time": { "date": "2024-09-29", "day": "29", "epoch": "1727587417", "epoch_int": "1727587417", "hour": "01", "iso8601": "2024-09-29T05:23:37Z", "iso8601_basic": "20240929T012337157127", "iso8601_basic_short": "20240929T012337", "iso8601_micro": "2024-09-29T05:23:37.157127Z", "minute": "23", "month": "09", "second": "37", "time": "01:23:37", "tz": "EDT", "tz_dst": "EDT", "tz_offset": "-0400", "weekday": "Sunday", "weekday_number": "0", "weeknumber": "39", "year": "2024" }, "default_ipv4": { "address": "10.31.12.45", "alias": "eth0", "broadcast": "10.31.15.255", "gateway": "10.31.12.1", "interface": "eth0", "macaddress": "0a:ff:c5:da:fc:4d", "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": [ "043ca97e-e9dd-43e0-af21-e3d1e20db391" ] } }, "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": [ "043ca97e-e9dd-43e0-af21-e3d1e20db391" ] }, "sectors": "524283871", "sectorsize": 512, "size": "250.00 GB", "start": "4096", "uuid": "043ca97e-e9dd-43e0-af21-e3d1e20db391" } }, "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": "40", "distribution_release": "", "distribution_version": "40", "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.14.72 38412 22", "SSH_CONNECTION": "10.31.14.72 38412 10.31.12.45 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.12" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.31.12.45", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::8ff:c5ff:feda:fc4d", "prefix": "64", "scope": "link" } ], "macaddress": "0a:ff:c5:da:fc:4d", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "managed-node2", "gather_subset": [ "all" ], "hostname": "managed-node2", "hostnqn": "nqn.2014-08.org.nvmexpress:uuid:d5415c36-cd9b-4c4f-95be-3929d2c37184", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "6.10.10-200.fc40.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Thu Sep 12 18:26:09 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.0654296875, "1m": 0.322265625, "5m": 0.169921875 }, "locally_reachable_ips": { "ipv4": [ "10.31.12.45", "127.0.0.0/8", "127.0.0.1" ], "ipv6": [ "::1", "fe80::8ff:c5ff:feda:fc4d" ] }, "lsb": {}, "lvm": { "lvs": {}, "pvs": {}, "vgs": {} }, "machine": "x86_64", "machine_id": "ec25974462d5ad9dad00d28f5a970bdb", "memfree_mb": 3088, "memory_mb": { "nocache": { "free": 3487, "used": 229 }, "real": { "free": 3088, "total": 3716, "used": 628 }, "swap": { "cached": 0, "free": 3715, "total": 3715, "used": 0 } }, "memtotal_mb": 3716, "module_setup": true, "mounts": [ { "block_available": 61361357, "block_size": 4096, "block_total": 64479564, "block_used": 3118207, "device": "/dev/xvda2", "dump": 0, "fstype": "ext4", "inode_available": 16301646, "inode_total": 16384000, "inode_used": 82354, "mount": "/", "options": "rw,seclabel,relatime", "passno": 0, "size_available": 251336118272, "size_total": 264108294144, "uuid": "043ca97e-e9dd-43e0-af21-e3d1e20db391" } ], "nodename": "managed-node2", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.10.10-200.fc40.x86_64", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=043ca97e-e9dd-43e0-af21-e3d1e20db391" }, "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": "ec259744-62d5-ad9d-ad00-d28f5a970bdb", "product_uuid": "ec259744-62d5-ad9d-ad00-d28f5a970bdb", "product_version": "4.11.amazon", "python": { "executable": "/usr/bin/python3.12", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 6, "minor": 12, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 12, 6, "final", 0 ] }, "python_version": "3.12.6", "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": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBH+EpntR9shmDZ5tqlzNRQSC+W9yaSMZaaaYrwTQ6TpQ1bPj8Ag52bMxo8l59Sq0YPkJdaib50YHX5Qo7h1FeM=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIDiou8cuBRu6F970ugaXgILSuzls6weK1imXgx80Xiib", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDd8NjRJWE2ri4yaAIK/mEp3vcESfP6PVNZMnRXY9aBRQ556JeJVSosulBi0ZGrCltNptADCAjpIUubFP6Lcp4v1JryPdNR4H/jqIpcNt/rXF4+6lfjbbhj2jNvu4MFonZsA3EgliFJTRHppNw0UCoQHxat67bmmjzkKzLDkGMc1yAEgS3Z87t4L3n4IbM1kx0yJQhPaD1e/xHNKxdmZ+r0vnbqahe4gzmws4iXX0vilhjB6+qt9VTw40Y/kOsOTsLyfKL/pk+dKFQ/gI/WZNwA/P6hCPi2vfifPxT06ETr4hDEwlSJWj4dieRJ5c7rKQm8XpAYLB22cZbIv8GaT1L5A/JLaQu2DrX6Asdv1w/HBz0isNcFYzVet3J927D01p3S5U+U4PGJW5l//tZqyjI1y24/z3v8C03QVkeBC8PvrP/8vhEOIsJFmC6eWNdeK9xG5ubRk6DihCniXYHLZdOpbACiLTGaSvrNr32YMcrug2mm5cZ47EO5JRVaoQ4jKwE=", "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": 2096, "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-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 Sunday 29 September 2024 01:23:39 -0400 (0:00:00.054) 0:00:03.874 ****** META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Install ntp] ************************************************************* task path: /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider5.yml:21 Sunday 29 September 2024 01:23:39 -0400 (0:00:00.039) 0:00:03.914 ****** fatal: [managed-node2]: 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 ntp package] ********************************************* task path: /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider5.yml:28 Sunday 29 September 2024 01:23:41 -0400 (0:00:01.609) 0:00:05.523 ****** META: ending play PLAY RECAP ********************************************************************* managed-node2 : ok=7 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=1 Sunday 29 September 2024 01:23:41 -0400 (0:00:00.004) 0:00:05.528 ****** =============================================================================== Ensure iproute for gathering default_ipv4 fact -------------------------- 1.84s /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Install ntp ------------------------------------------------------------- 1.61s /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider5.yml:21 Gathering Facts --------------------------------------------------------- 1.29s /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider5.yml:2 Check if system is ostree ----------------------------------------------- 0.57s /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Debug ------------------------------------------------------------------- 0.05s /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Ensure ansible_facts used by test --------------------------------------- 0.04s /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Skip test on ostree systems if unsupported ------------------------------ 0.04s /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 Common test setup tasks ------------------------------------------------- 0.03s /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider5.yml:12 Set flag to indicate system is ostree ----------------------------------- 0.03s /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Skip test if no ntp package --------------------------------------------- 0.00s /tmp/collections-7SV/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider5.yml:28