# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cipiq_kf9w/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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_provider6.yml ********************************************** 1 plays in /WORKDIR/git-weekly-cipiq_kf9w/tests/tests_ntp_provider6.yml PLAY [Configure NTP with OS release non-default provider and then change it to the default provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cipiq_kf9w/tests/tests_ntp_provider6.yml:2 Sunday 07 July 2024 11:09:29 +0000 (0:00:00.012) 0:00:00.012 *********** ok: [sut] TASK [Common test setup tasks] ************************************************* task path: /WORKDIR/git-weekly-cipiq_kf9w/tests/tests_ntp_provider6.yml:12 Sunday 07 July 2024 11:09:32 +0000 (0:00:02.309) 0:00:02.321 *********** included: /WORKDIR/git-weekly-cipiq_kf9w/tests/tasks/setup.yml for sut TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cipiq_kf9w/tests/tasks/setup.yml:6 Sunday 07 July 2024 11:09:32 +0000 (0:00:00.010) 0:00:02.331 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cipiq_kf9w/tests/tasks/setup.yml:11 Sunday 07 July 2024 11:09:32 +0000 (0:00:00.272) 0:00:02.603 *********** ok: [sut] => { "ansible_facts": { "__timesync_is_ostree": false }, "changed": false } TASK [Ensure iproute for gathering default_ipv4 fact] ************************** task path: /WORKDIR/git-weekly-cipiq_kf9w/tests/tasks/setup.yml:15 Sunday 07 July 2024 11:09:32 +0000 (0:00:00.013) 0:00:02.616 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Ensure ansible_facts used by test] *************************************** task path: /WORKDIR/git-weekly-cipiq_kf9w/tests/tasks/setup.yml:21 Sunday 07 July 2024 11:09:33 +0000 (0:00:01.474) 0:00:04.090 *********** skipping: [sut] => { "changed": false, "false_condition": "__required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [Debug] ******************************************************************* task path: /WORKDIR/git-weekly-cipiq_kf9w/tests/tasks/setup.yml:34 Sunday 07 July 2024 11:09:34 +0000 (0:00:00.017) 0:00:04.108 *********** ok: [sut] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.45.93" ], "all_ipv6_addresses": [ "fe80::a6:a5ff:fe4f:4fcd" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_vendor": "Xen", "bios_version": "4.2.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.4-200.fc40.x86_64", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=d41e114e-2033-4553-824b-87c952ea3ae7" }, "date_time": { "date": "2024-07-07", "day": "07", "epoch": "1720350572", "epoch_int": "1720350572", "hour": "11", "iso8601": "2024-07-07T11:09:32Z", "iso8601_basic": "20240707T110932163152", "iso8601_basic_short": "20240707T110932", "iso8601_micro": "2024-07-07T11:09:32.163152Z", "minute": "09", "month": "07", "second": "32", "time": "11:09:32", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Sunday", "weekday_number": "0", "weeknumber": "27", "year": "2024" }, "default_ipv4": { "address": "10.31.45.93", "alias": "eth0", "broadcast": "10.31.47.255", "gateway": "10.31.44.1", "interface": "eth0", "macaddress": "02:a6:a5:4f:4f:cd", "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": [ "d41e114e-2033-4553-824b-87c952ea3ae7" ] } }, "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": [ "d41e114e-2033-4553-824b-87c952ea3ae7" ] }, "sectors": "524283871", "sectorsize": 512, "size": "250.00 GB", "start": "4096", "uuid": "d41e114e-2033-4553-824b-87c952ea3ae7" } }, "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", "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": "testing-farm", "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", "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.29.163.169 52852 22", "SSH_CONNECTION": "10.29.163.169 52852 10.31.45.93 22", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "6", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.31.45.93", "broadcast": "10.31.47.255", "netmask": "255.255.252.0", "network": "10.31.44.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::a6:a5ff:fe4f:4fcd", "prefix": "64", "scope": "link" } ], "macaddress": "02:a6:a5:4f:4f:cd", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "d418b1ba-6104-457f-875d-0fbc9181e17f.testing-farm", "gather_subset": [ "all" ], "hostname": "d418b1ba-6104-457f-875d-0fbc9181e17f", "hostnqn": "nqn.2014-08.org.nvmexpress:uuid:cf6ca2d9-b1a0-481b-8fc2-909b42c2d74c", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "6.9.4-200.fc40.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Wed Jun 12 13:33:34 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.302734375, "1m": 0.72314453125, "5m": 0.580078125 }, "locally_reachable_ips": { "ipv4": [ "10.31.45.93", "127.0.0.0/8", "127.0.0.1" ], "ipv6": [ "::1", "fe80::a6:a5ff:fe4f:4fcd" ] }, "lsb": {}, "lvm": { "lvs": {}, "pvs": {}, "vgs": {} }, "machine": "x86_64", "machine_id": "ec221e1a90d7627646c0b7ec44217def", "memfree_mb": 2943, "memory_mb": { "nocache": { "free": 3430, "used": 287 }, "real": { "free": 2943, "total": 3717, "used": 774 }, "swap": { "cached": 0, "free": 3716, "total": 3716, "used": 0 } }, "memtotal_mb": 3717, "module_setup": true, "mounts": [ { "block_available": 61353641, "block_size": 4096, "block_total": 64483404, "block_used": 3129763, "device": "/dev/xvda2", "fstype": "ext4", "inode_available": 16303661, "inode_total": 16384000, "inode_used": 80339, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 251304513536, "size_total": 264124022784, "uuid": "d41e114e-2033-4553-824b-87c952ea3ae7" } ], "nodename": "d418b1ba-6104-457f-875d-0fbc9181e17f.testing-farm", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.9.4-200.fc40.x86_64", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=d41e114e-2033-4553-824b-87c952ea3ae7" }, "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": "ec221e1a-90d7-6276-46c0-b7ec44217def", "product_uuid": "ec221e1a-90d7-6276-46c0-b7ec44217def", "product_version": "4.2.amazon", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 3, "minor": 12, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 12, 3, "final", 0 ] }, "python_version": "3.12.3", "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": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEFl0IxI/sAK3JRCkjCQgDZ2jHENMI9vkg1FXvIiH1o0wG2lz58AjxhOmYAkiNYw0F0Kz4ZEsTLugD9pKThA/Ps=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIIi5fYxLo0N4JAkrTsjMThc+93E/wgb2GBCcshVdojJ8", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCqJTnGG4eRYryg4En3PygMDxJfsg/pkLRN3igEqBbfEe5FU+2kphuxithzKy+BSR60TWoeeue96MF1HDhqawsg6KQn+X8k+H/o6eRT/4Np8r/Bul70Ti+Hw6hc3iD7NYd1q2RA6ihmKLLukSHCkMVCVzgxdZ485/z3a1UNLQUuBDFOJP9ZTqcE4gHYAswTFo9JYILKIENTPrNEP3bZyca4gPYewkJa/1cr6LyEibF7FxWP5wuqNSPZ28dZAoTXwZsq+QuN5/1fDO01YUfNUjBazhAghYd55ltb9DTPfhzR70P8DipGn3ma4dNG4Cjnf0wLEcNuaOwPqGER25R0BIj08GuJgpWU7bbO42FLq436o5vzvzqBnMGlJP2KwBPqlr45u9Nr4rj31lWlYoZ2MLfYuEQivu6GMccuqTqRukitZOWCzbZwVvxqN0Xb0BLE/I8sjEWPKOK0c5Pj3jFn9MW/ff6zTDeT30ofDzvRsU0DsxfneVV/+lVHUOysimYIa2k=", "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": 601, "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: /WORKDIR/git-weekly-cipiq_kf9w/tests/tasks/setup.yml:38 Sunday 07 July 2024 11:09:34 +0000 (0:00:00.017) 0:00:04.126 *********** META: end_host conditional evaluated to False, continuing execution for sut skipping: [sut] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for sut" } MSG: end_host conditional evaluated to false, continuing execution for sut TASK [Check for availability of both NTP providers] **************************** task path: /WORKDIR/git-weekly-cipiq_kf9w/tests/tests_ntp_provider6.yml:21 Sunday 07 July 2024 11:09:34 +0000 (0:00:00.011) 0:00:04.138 *********** changed: [sut] => (item=chrony) => { "ansible_loop_var": "item", "changed": true, "item": "chrony", "rc": 0, "results": [ "Installed: chrony-4.5-3.fc40.x86_64" ] } failed: [sut] (item=ntp) => { "ansible_loop_var": "item", "changed": false, "failures": [ "No package ntp available." ], "item": "ntp", "rc": 1, "results": [] } MSG: Failed to install some of the specified packages ...ignoring TASK [Set the availability of both NTP providers] ****************************** task path: /WORKDIR/git-weekly-cipiq_kf9w/tests/tests_ntp_provider6.yml:34 Sunday 07 July 2024 11:09:38 +0000 (0:00:04.695) 0:00:08.833 *********** skipping: [sut] => (item={'msg': '', 'changed': True, 'results': ['Installed: chrony-4.5-3.fc40.x86_64'], 'rc': 0, 'invocation': {'module_args': {'name': ['chrony'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'cacheonly': False, 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 'download_only': False, 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 'skip_broken': False, 'update_cache': False, 'update_only': False, 'validate_certs': True, 'sslverify': True, 'lock_timeout': 30, 'allowerasing': False, 'nobest': False, 'use_backend': 'auto', 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': None}}, 'failed': False, 'item': 'chrony', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.failed", "item": { "ansible_loop_var": "item", "changed": true, "failed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "chrony" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "item": "chrony", "msg": "", "rc": 0, "results": [ "Installed: chrony-4.5-3.fc40.x86_64" ] }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'failures': ['No package ntp available.'], 'results': [], 'rc': 1, 'failed': True, 'msg': 'Failed to install some of the specified packages', 'invocation': {'module_args': {'name': ['ntp'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'cacheonly': False, 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 'download_only': False, 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 'skip_broken': False, 'update_cache': False, 'update_only': False, 'validate_certs': True, 'sslverify': True, 'lock_timeout': 30, 'allowerasing': False, 'nobest': False, 'use_backend': 'auto', 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': None}}, 'changed': False, 'item': 'ntp', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "both_avail": false }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": true, "failures": [ "No package ntp available." ], "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "ntp" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "item": "ntp", "msg": "Failed to install some of the specified packages", "rc": 1, "results": [] } } TASK [End test if not both available] ****************************************** task path: /WORKDIR/git-weekly-cipiq_kf9w/tests/tests_ntp_provider6.yml:41 Sunday 07 July 2024 11:09:38 +0000 (0:00:00.016) 0:00:08.849 *********** META: ending play PLAY RECAP ********************************************************************* sut : ok=8 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=1 Sunday 07 July 2024 11:09:38 +0000 (0:00:00.003) 0:00:08.853 *********** =============================================================================== Check for availability of both NTP providers ---------------------------- 4.70s /WORKDIR/git-weekly-cipiq_kf9w/tests/tests_ntp_provider6.yml:21 --------------- Gathering Facts --------------------------------------------------------- 2.31s /WORKDIR/git-weekly-cipiq_kf9w/tests/tests_ntp_provider6.yml:2 ---------------- Ensure iproute for gathering default_ipv4 fact -------------------------- 1.47s /WORKDIR/git-weekly-cipiq_kf9w/tests/tasks/setup.yml:15 ----------------------- Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-weekly-cipiq_kf9w/tests/tasks/setup.yml:6 ------------------------ Debug ------------------------------------------------------------------- 0.02s /WORKDIR/git-weekly-cipiq_kf9w/tests/tasks/setup.yml:34 ----------------------- Ensure ansible_facts used by test --------------------------------------- 0.02s /WORKDIR/git-weekly-cipiq_kf9w/tests/tasks/setup.yml:21 ----------------------- Set the availability of both NTP providers ------------------------------ 0.02s /WORKDIR/git-weekly-cipiq_kf9w/tests/tests_ntp_provider6.yml:34 --------------- Set flag to indicate system is ostree ----------------------------------- 0.01s /WORKDIR/git-weekly-cipiq_kf9w/tests/tasks/setup.yml:11 ----------------------- Skip test on ostree systems if unsupported ------------------------------ 0.01s /WORKDIR/git-weekly-cipiq_kf9w/tests/tasks/setup.yml:38 ----------------------- Common test setup tasks ------------------------------------------------- 0.01s /WORKDIR/git-weekly-cipiq_kf9w/tests/tests_ntp_provider6.yml:12 --------------- End test if not both available ------------------------------------------ 0.00s /WORKDIR/git-weekly-cipiq_kf9w/tests/tests_ntp_provider6.yml:41 --------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---