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-MGB executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 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/collections-MGB/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-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:2 Sunday 06 October 2024 01:40:39 -0400 (0:00:00.027) 0:00:00.027 ******** [WARNING]: Platform linux on host managed-node3 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-node3] TASK [Common test setup tasks] ************************************************* task path: /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:11 Sunday 06 October 2024 01:40:41 -0400 (0:00:01.693) 0:00:01.720 ******** included: /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml for managed-node3 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Sunday 06 October 2024 01:40:41 -0400 (0:00:00.053) 0:00:01.773 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Sunday 06 October 2024 01:40:42 -0400 (0:00:01.010) 0:00:02.784 ******** ok: [managed-node3] => { "ansible_facts": { "__timesync_is_ostree": false }, "changed": false } TASK [Ensure iproute for gathering default_ipv4 fact] ************************** task path: /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Sunday 06 October 2024 01:40:42 -0400 (0:00:00.046) 0:00:02.830 ******** 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-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Sunday 06 October 2024 01:40:45 -0400 (0:00:02.523) 0:00:05.354 ******** skipping: [managed-node3] => { "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-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Sunday 06 October 2024 01:40:45 -0400 (0:00:00.063) 0:00:05.417 ******** ok: [managed-node3] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.42.178" ], "all_ipv6_addresses": [ "fe80::5cbe:fcac:30ee:5a40" ], "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.11-100.fc39.x86_64", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16" }, "date_time": { "date": "2024-10-06", "day": "06", "epoch": "1728193241", "epoch_int": "1728193241", "hour": "01", "iso8601": "2024-10-06T05:40:41Z", "iso8601_basic": "20241006T014041261298", "iso8601_basic_short": "20241006T014041", "iso8601_micro": "2024-10-06T05:40:41.261298Z", "minute": "40", "month": "10", "second": "41", "time": "01:40:41", "tz": "EDT", "tz_dst": "EDT", "tz_offset": "-0400", "weekday": "Sunday", "weekday_number": "0", "weeknumber": "40", "year": "2024" }, "default_ipv4": { "address": "10.31.42.178", "alias": "eth0", "broadcast": "10.31.43.255", "gateway": "10.31.40.1", "interface": "eth0", "macaddress": "0e:42:52:5b:fd:6d", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.40.0", "prefix": "22", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda2": [ "a2990adb-e793-435e-abe0-3d2d32e3af16" ] } }, "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": [ "a2990adb-e793-435e-abe0-3d2d32e3af16" ] }, "sectors": "524283871", "sectorsize": 512, "size": "250.00 GB", "start": "4096", "uuid": "a2990adb-e793-435e-abe0-3d2d32e3af16" } }, "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": "", "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.10.229 52258 22", "SSH_CONNECTION": "10.31.10.229 52258 10.31.42.178 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.42.178", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::5cbe:fcac:30ee:5a40", "prefix": "64", "scope": "link" } ], "macaddress": "0e:42:52:5b:fd:6d", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "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": "6.10.11-100.fc39.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Wed Sep 18 21:08:06 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.10302734375, "1m": 0.7158203125, "5m": 0.2744140625 }, "locally_reachable_ips": { "ipv4": [ "10.31.42.178", "127.0.0.0/8", "127.0.0.1" ], "ipv6": [ "::1", "fe80::5cbe:fcac:30ee:5a40" ] }, "lsb": {}, "lvm": { "lvs": {}, "pvs": {}, "vgs": {} }, "machine": "x86_64", "machine_id": "ec21f2527966f586d4ae60ded895ed34", "memfree_mb": 2870, "memory_mb": { "nocache": { "free": 3473, "used": 244 }, "real": { "free": 2870, "total": 3717, "used": 847 }, "swap": { "cached": 0, "free": 3716, "total": 3716, "used": 0 } }, "memtotal_mb": 3717, "module_setup": true, "mounts": [ { "block_available": 61319805, "block_size": 4096, "block_total": 64479564, "block_used": 3159759, "device": "/dev/xvda2", "dump": 0, "fstype": "ext4", "inode_available": 16302380, "inode_total": 16384000, "inode_used": 81620, "mount": "/", "options": "rw,seclabel,relatime", "passno": 0, "size_available": 251165921280, "size_total": 264108294144, "uuid": "a2990adb-e793-435e-abe0-3d2d32e3af16" } ], "nodename": "managed-node3", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.10.11-100.fc39.x86_64", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16" }, "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": "ec21f252-7966-f586-d4ae-60ded895ed34", "product_uuid": "ec21f252-7966-f586-d4ae-60ded895ed34", "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_dsa_public": "AAAAB3NzaC1kc3MAAACBALcXfw8dIEpzW6TRI0vNvziOxm8eqrApBpzB5cwHmoLgNm2ERlyadGekhRFAY9iNMb3y9E+DXA2zUafp00Wqb7nRs8pjZOu0k6Stn8fCPbZx08sshcyRSvumuhnpYb7nwYaLIIUxrx/lFGW4Tqj+wOeK/oZFQiUtzlgjCgOA5N8lAAAAFQCsS8tlIGh3SDO9X6bECfSwrM5J9wAAAIBO1pZR18wXlFo1uHLzM/VRH4yFSEaM91zrDRZbMJ2kcTDaRNblYGg78gVonE7xw4MvJZkRc08Mv/IeMVZJwQZbzNNyHVCTGrXMsrr7VrnqZaY1vpBo1TYeBObHH8tDDJyFMpgXstRQdBLirvcv3/2YWm6cGb2vLUdQh7GZo7wC3AAAAIAffUek86DHY/tEu3un88nvE6ouQo4UwvrVhPqPokf3qrix0DFP24uV2zlcXy5xfL2y5ZBdqy+m4oPOHTEV6AeAeNhRGg6clGVP69iKpEURIWo4ZOSuzK1uEsw3juZ39zMbzdFpNwX0FP5/pTkmDzMl6/ujQdJoMlXblQk1p8ilcQ==", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOYgo7/eUTapL4HQCaj1U0I5iPngc039CYsm+0XK+a3SvZwl2ihjcY4iRX9hDYx4jWvL73j2edM+R1iDWHAUFjk=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIMG7JWr3ufq5t0MShfIgstnrd0Mqe/mGH82Cu9jd201j", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCPWmluErov+YTZHrF9hk6k320mbiBfsVNaCVxXnhBDQDP2CBUcl/Mcll35FCuKJaG1ww2/dHWC6jqudBpaKNVlBttXJ+sEpllWLNdCdT0uY4lYJf856zzbNfTB3XAiRc1VOpovW6Y8waawm5DNWaqLcAXdKT53/kh3aQK9gNFPjZr+sOXND4/5mQPANfjaXfLX8cyIybTyfjJ5njRqpLYKaoJkv8VOoz/bVxM9WXwbRdW22ZFEtVn+yyE/Nc/hLftsEJ67BRRUOAz9QExrdYfa4PxxEInlBMQMa0BrCJ1yRJ3/d0JwjbmOPu0i7t7Sb98+yD2wVUniRjR9i1Z0xzdOUI4YBgeHt9ut1i58u1oOisFQQDlQJJqKWqKduxQL5lxk4DbOfgceo+ahj8JpWdnsfCvCAXPLtA6eyyV4BFSaPaN86ELBYju5uGTbUGQPK4gDSAFaAF0y9tfCyxwhgwNXOtLSZTZ/OAtKQUTEjHxak4OF4sN0mWyWy8RK0yeBwOM=", "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": 1221, "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-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 Sunday 06 October 2024 01:40:45 -0400 (0:00:00.051) 0:00:05.469 ******** META: end_host conditional evaluated to False, continuing execution for managed-node3 skipping: [managed-node3] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node3" } MSG: end_host conditional evaluated to false, continuing execution for managed-node3 TASK [Remove chrony] *********************************************************** task path: /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:20 Sunday 06 October 2024 01:40:45 -0400 (0:00:00.034) 0:00:05.503 ******** changed: [managed-node3] => { "changed": true, "rc": 0, "results": [ "Removed: chrony-4.5-1.fc39.x86_64" ] } TASK [Install ntp] ************************************************************* task path: /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:25 Sunday 06 October 2024 01:40:47 -0400 (0:00:02.597) 0:00:08.101 ******** fatal: [managed-node3]: 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-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:32 Sunday 06 October 2024 01:40:49 -0400 (0:00:02.058) 0:00:10.160 ******** META: ending play PLAY RECAP ********************************************************************* managed-node3 : ok=8 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=1 Sunday 06 October 2024 01:40:49 -0400 (0:00:00.005) 0:00:10.165 ******** =============================================================================== Remove chrony ----------------------------------------------------------- 2.60s /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:20 Ensure iproute for gathering default_ipv4 fact -------------------------- 2.52s /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Install ntp ------------------------------------------------------------- 2.06s /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:25 Gathering Facts --------------------------------------------------------- 1.69s /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:2 Check if system is ostree ----------------------------------------------- 1.01s /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Ensure ansible_facts used by test --------------------------------------- 0.06s /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Common test setup tasks ------------------------------------------------- 0.05s /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:11 Debug ------------------------------------------------------------------- 0.05s /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Set flag to indicate system is ostree ----------------------------------- 0.05s /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Skip test on ostree systems if unsupported ------------------------------ 0.03s /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 Skip test if no package ------------------------------------------------- 0.01s /tmp/collections-MGB/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider3.yml:32