ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles 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_provider3.yml ********************************************** 1 plays in /tmp/collections-y1R/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-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:2 Saturday 02 November 2024 23:05:55 -0400 (0:00:00.041) 0:00:00.041 ***** ok: [managed-node3] TASK [Common test setup tasks] ************************************************* task path: /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:11 Saturday 02 November 2024 23:05:57 -0400 (0:00:01.462) 0:00:01.504 ***** included: /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml for managed-node3 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Saturday 02 November 2024 23:05:57 -0400 (0:00:00.020) 0:00:01.525 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Saturday 02 November 2024 23:05:58 -0400 (0:00:00.650) 0:00:02.176 ***** ok: [managed-node3] => { "ansible_facts": { "__timesync_is_ostree": false }, "changed": false } TASK [Ensure iproute for gathering default_ipv4 fact] ************************** task path: /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Saturday 02 November 2024 23:05:58 -0400 (0:00:00.056) 0:00:02.233 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Ensure ansible_facts used by test] *************************************** task path: /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Saturday 02 November 2024 23:06:01 -0400 (0:00:03.093) 0:00:05.326 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug] ******************************************************************* task path: /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Saturday 02 November 2024 23:06:01 -0400 (0:00:00.043) 0:00:05.370 ***** ok: [managed-node3] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.15.224" ], "all_ipv6_addresses": [ "fe80::8ff:f2ff:fe88:9527" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_version": "4.11.amazon", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2" }, "date_time": { "date": "2024-11-02", "day": "02", "epoch": "1730603157", "hour": "23", "iso8601": "2024-11-03T03:05:57Z", "iso8601_basic": "20241102T230557090942", "iso8601_basic_short": "20241102T230557", "iso8601_micro": "2024-11-03T03:05:57.090942Z", "minute": "05", "month": "11", "second": "57", "time": "23:05:57", "tz": "EDT", "tz_offset": "-0400", "weekday": "Saturday", "weekday_number": "6", "weeknumber": "44", "year": "2024" }, "default_ipv4": { "address": "10.31.15.224", "alias": "eth0", "broadcast": "10.31.15.255", "gateway": "10.31.12.1", "interface": "eth0", "macaddress": "0a:ff:f2:88:95:27", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.12.0", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda1": [ "fe591198-9082-4b15-9b62-e83518524cd2" ] } }, "devices": { "xvda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "xvda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "fe591198-9082-4b15-9b62-e83518524cd2" ] }, "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "start": "2048", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2" } }, "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 } }, "discovered_interpreter_python": "/usr/libexec/platform-python", "distribution": "CentOS", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "8", "distribution_release": "NA", "distribution_version": "8", "dns": { "nameservers": [ "10.29.169.13", "10.29.170.12", "10.2.32.1" ], "search": [ "us-east-1.aws.redhat.com" ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "BASH_FUNC_which%%": "() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\n}", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "HOME": "/root", "LANG": "en_US.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "PATH": "/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": "2", "SSH_CLIENT": "10.31.40.244 37246 22", "SSH_CONNECTION": "10.31.40.244 37246 10.31.15.224 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "6", "_": "/usr/libexec/platform-python", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "off [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "off [fixed]", "netns_local": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_gro_list": "off", "rx_udp_gro_forwarding": "off", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_sctp": "off [fixed]", "tx_checksumming": "on", "tx_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_nocache_copy": "off", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp_segmentation": "on", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "vlan_challenged": "off [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "10.31.15.224", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0" }, "ipv6": [ { "address": "fe80::8ff:f2ff:fe88:9527", "prefix": "64", "scope": "link" } ], "macaddress": "0a:ff:f2:88:95:27", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "timestamping": [], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "managed-node3", "gather_subset": [ "all" ], "hostname": "managed-node3", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "4.18.0-553.5.1.el8.x86_64", "kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "lo": { "active": true, "device": "lo", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "on [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "on [fixed]", "netns_local": "on [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_gro_list": "off", "rx_udp_gro_forwarding": "off", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "tx_checksumming": "on", "tx_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "on", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "on [fixed]", "tx_nocache_copy": "off [fixed]", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tx_sctp_segmentation": "on", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp_segmentation": "on", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "vlan_challenged": "on [fixed]" }, "hw_timestamp_filters": [], "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, "timestamping": [], "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "beb7c00c829a4c2d81174b94b68ca7f3", "memfree_mb": 2780, "memory_mb": { "nocache": { "free": 3319, "used": 220 }, "real": { "free": 2780, "total": 3539, "used": 759 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3539, "module_setup": true, "mounts": [ { "block_available": 64347423, "block_size": 4096, "block_total": 65533179, "block_used": 1185756, "device": "/dev/xvda1", "fstype": "xfs", "inode_available": 130996222, "inode_total": 131071472, "inode_used": 75250, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 263567044608, "size_total": 268423901184, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2" } ], "nodename": "managed-node3", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2" }, "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": "ec2e742a-f770-7eab-368b-6dc465c95a96", "product_uuid": "ec2e742a-f770-7eab-368b-6dc465c95a96", "product_version": "4.11.amazon", "python": { "executable": "/usr/libexec/platform-python", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 8, "minor": 6, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 6, 8, "final", 0 ] }, "python_version": "3.6.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": "AAAAB3NzaC1kc3MAAACBALnmuHL88EF8LGGBY4I4vYcrFPfvHWLGwPMEGQFvpORPK3LECVj7ed2f8bZ9OSThLCle/hWQNJE3n1dG6XUKzxsxbYGdonwCIwWGt3go1PKX0zi3p2WDUUDrE07lNV6x3adrb+KaSctLGaeAd4ZjtsFkByAfY1unveeugMTq0RdxAAAAFQCyoORNIc/zq/dwfhEyzHUajU2wEwAAAIB4FSt2+VuMlNyTBvhgLM1WdsXdnxGTQvWSumEjNby/hDl3RFNIoknXcEN3dj5JfB5Rr3MjYRDy+hwfzuvqrJkWcMXicfqEVKJk2jsLnFNqoDCQAeBlgia9vuRlINBmqp8/O7HzLNZ9hEVoJCBU/+4aONgzgiBus9mIi/9SHU21FQAAAIEAhWUIqaorWdzbSyC/niN9kixsX6NGZ11EoTzJobgqCbEU8oAJarygD7H7Z/xlsx+DUyR2s1zr/QXlb00IKPGqngioa9BcbLQfaFkXWZy/DPiED1l8FHxNX5kgcITzfqcZrzk4VG9BDDtNgVx7xGtdeZ+yJw/Vjnc7EroVi1YdDVE=", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLLqgXwv5/+S7zmyT+quBDaNrWJAVFC2AABIsZOVBjBAZPNphOrsATL4GAwe2FsslPDqhoYWjZmWQ9LUdBSMu/c=", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIIBQTs2iu2VmGmFYAfSXn1esfVtOQpO6KHvyBSclvO5u", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDScku/iUhOG65WdUHQjucKZyKrZuBWDjPS7ixWQp5e4YiJFA8f8ysEFGabOhKpqVVn6//MH8eTdl5Q72yD/cSDouAvveIkYSwU4xuOMaOS7UiWYIaQHlb1WvGXDVUdyIP45KwjKU85s3cS0cqNbxgXGDHv7hjagCIjhF2U3jqR7fzfWPfvyMs4zmjMFj8tPeH029GURvHorlpfg7i8RCI7pyO8lIt0ZEBEQ7mtS4oQgLWJ/la+NFG53Ntr8nw9lZiPJexbTmDm2zGt6FhoWmkFvnsA/pFQv8t7gfg1ldEF0eaL6SjPeEB5pwtwVFDh+MK4a5LlwnuJEqdZLVYF4mRvmAb1kod/x5vyQ7KEz61k56zXJKqZGEQFJIPVjHNg4MuJbtG9yY9yNBubtHfbwXndoMjgC89LiJ2RLdoF/B7jRKxjJg21mNgY6CKM7hxbctXc4ZXQLyGNA38zyolSBOx/hxllf0siehMHK8fn/fP+UXwDomuYpj6XDabUikCZwuk=", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 412, "user_dir": "/root", "user_gecos": "root", "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 managed-node3 TASK [Remove chrony] *********************************************************** task path: /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:20 Saturday 02 November 2024 23:06:01 -0400 (0:00:00.065) 0:00:05.435 ***** changed: [managed-node3] => { "changed": true, "rc": 0, "results": [ "Removed: chrony-4.5-1.el8.x86_64" ] } TASK [Install ntp] ************************************************************* task path: /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:25 Saturday 02 November 2024 23:06:05 -0400 (0:00:03.846) 0:00:09.282 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "failures": [ "No package ntp available." ], "rc": 1, "results": [] } MSG: Failed to install some of the specified packages ...ignoring META: ending play PLAY RECAP ********************************************************************* managed-node3 : ok=8 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=1 Saturday 02 November 2024 23:06:08 -0400 (0:00:02.928) 0:00:12.211 ***** =============================================================================== Remove chrony ----------------------------------------------------------- 3.85s /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:20 Ensure iproute for gathering default_ipv4 fact -------------------------- 3.09s /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Install ntp ------------------------------------------------------------- 2.93s /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:25 Gathering Facts --------------------------------------------------------- 1.46s /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:2 Check if system is ostree ----------------------------------------------- 0.65s /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Debug ------------------------------------------------------------------- 0.07s /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Set flag to indicate system is ostree ----------------------------------- 0.06s /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Ensure ansible_facts used by test --------------------------------------- 0.04s /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Common test setup tasks ------------------------------------------------- 0.02s /tmp/collections-y1R/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:11