# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file 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_provider6.yml ********************************************** 1 plays in /WORKDIR/git-weekly-cij9ed18ym/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-cij9ed18ym/tests/tests_ntp_provider6.yml:2 Sunday 24 March 2024 03:13:44 +0000 (0:00:00.012) 0:00:00.012 ********** ok: [sut] META: ran handlers TASK [Common test setup tasks] ************************************************* task path: /WORKDIR/git-weekly-cij9ed18ym/tests/tests_ntp_provider6.yml:13 Sunday 24 March 2024 03:13:45 +0000 (0:00:00.966) 0:00:00.978 ********** included: /WORKDIR/git-weekly-cij9ed18ym/tests/tasks/setup.yml for sut TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cij9ed18ym/tests/tasks/setup.yml:6 Sunday 24 March 2024 03:13:45 +0000 (0:00:00.010) 0:00:00.989 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cij9ed18ym/tests/tasks/setup.yml:11 Sunday 24 March 2024 03:13:45 +0000 (0:00:00.274) 0:00:01.263 ********** ok: [sut] => { "ansible_facts": { "__timesync_is_ostree": false }, "changed": false } TASK [Ensure iproute for gathering default_ipv4 fact] ************************** task path: /WORKDIR/git-weekly-cij9ed18ym/tests/tasks/setup.yml:15 Sunday 24 March 2024 03:13:45 +0000 (0:00:00.021) 0:00:01.284 ********** 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-cij9ed18ym/tests/tasks/setup.yml:22 Sunday 24 March 2024 03:13:48 +0000 (0:00:02.583) 0:00:03.868 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug] ******************************************************************* task path: /WORKDIR/git-weekly-cij9ed18ym/tests/tasks/setup.yml:36 Sunday 24 March 2024 03:13:48 +0000 (0:00:00.020) 0:00:03.888 ********** ok: [sut] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.42.34" ], "all_ipv6_addresses": [ "fe80::cfc:40ff:fe2d:894d" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_version": "4.11.amazon", "cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.7.7-100.fc38.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc" }, "date_time": { "date": "2024-03-24", "day": "24", "epoch": "1711250025", "hour": "03", "iso8601": "2024-03-24T03:13:45Z", "iso8601_basic": "20240324T031345095890", "iso8601_basic_short": "20240324T031345", "iso8601_micro": "2024-03-24T03:13:45.095890Z", "minute": "13", "month": "03", "second": "45", "time": "03:13:45", "tz": "UTC", "tz_offset": "+0000", "weekday": "Sunday", "weekday_number": "0", "weeknumber": "12", "year": "2024" }, "default_ipv4": { "address": "10.31.42.34", "alias": "eth0", "broadcast": "10.31.43.255", "gateway": "10.31.40.1", "interface": "eth0", "macaddress": "0e:fc:40:2d:89:4d", "mtu": 1500, "netmask": "255.255.252.0", "network": "10.31.40.0", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda2": [ "7edc224a-9332-4cda-9c64-11dd8d1c6cdc" ] } }, "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": [ "7edc224a-9332-4cda-9c64-11dd8d1c6cdc" ] }, "sectors": "524283871", "sectorsize": 512, "size": "250.00 GB", "start": "4096", "uuid": "7edc224a-9332-4cda-9c64-11dd8d1c6cdc" } }, "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 }, "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": "7618560", "sectorsize": "4096", "size": "3.63 GB", "support_discard": "4096", "vendor": null, "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "38", "distribution_release": "", "distribution_version": "38", "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/vim", "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.175 37466 22", "SSH_CONNECTION": "10.29.163.175 37466 10.31.42.34 22", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "7", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.31.42.34", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0" }, "ipv6": [ { "address": "fe80::cfc:40ff:fe2d:894d", "prefix": "64", "scope": "link" } ], "macaddress": "0e:fc:40:2d:89:4d", "module": "xen_netfront", "mtu": 1500, "pciid": "vif-0", "promisc": false, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "6c164337-d139-449a-a50b-814d7aed930f.testing-farm", "gather_subset": [ "all" ], "hostname": "6c164337-d139-449a-a50b-814d7aed930f", "hostnqn": "", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "6.7.7-100.fc38.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Fri Mar 1 16:51:49 UTC 2024", "lo": { "active": true, "device": "lo", "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, "type": "loopback" }, "lsb": {}, "lvm": { "lvs": {}, "pvs": {}, "vgs": {} }, "machine": "x86_64", "machine_id": "ba0f09a3241a494eb265465a942e114f", "memfree_mb": 2676, "memory_mb": { "nocache": { "free": 3479, "used": 241 }, "real": { "free": 2676, "total": 3720, "used": 1044 }, "swap": { "cached": 0, "free": 3719, "total": 3719, "used": 0 } }, "memtotal_mb": 3720, "module_setup": true, "mounts": [ { "block_available": 61286992, "block_size": 4096, "block_total": 64483404, "block_used": 3196412, "device": "/dev/xvda2", "fstype": "ext4", "inode_available": 16304510, "inode_total": 16384000, "inode_used": 79490, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 251031519232, "size_total": 264124022784, "uuid": "7edc224a-9332-4cda-9c64-11dd8d1c6cdc" } ], "nodename": "6c164337-d139-449a-a50b-814d7aed930f.testing-farm", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.7.7-100.fc38.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc" }, "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": "ec2e2555-b490-a1b0-1747-06b6d8d550ae", "product_uuid": "ec2e2555-b490-a1b0-1747-06b6d8d550ae", "product_version": "4.11.amazon", "python": { "executable": "/usr/bin/python", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 8, "minor": 11, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 11, 8, "final", 0 ] }, "python_version": "3.11.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": "AAAAB3NzaC1kc3MAAACBAJ2iAqDYJ9HCOIRoagVUbdSPqbFEtP+/Mbm0vMx/ihOA+bvQGaZarKgIaznPzxzsY/iatYSlPfD0rEZ14R0ukwIhNZJk8ofzUtcRZcxogJouVrxKwmGIExMX0woX6SsrE3hjxKtr4ucXI2lJ3CpZNfB91aheuJnHPd/czN5KYZ1NAAAAFQCDYmRPsV7qOp6rBWuDpiRubrEj1wAAAIEAhOp/b1cqBj4DWMfH+bTy+53HXsNyWpc1f3fdpZVUvX4L2gyPJxBZOqXXARxkAomfKy81JoyXVxKeIB0hqm4c7aue6k2EZLSuLlOtUul1BtkHfyemW8SAJ3KqfZGty19cduL23KpiK3dcuMa596fY+h2m/P/efH3B2QyWxAVpBrsAAACAGWI33lmF1qYsl3EOCV6e8btXPufIb79kNToukWsp3r4XrYoLUZo2Qzhmgx0DRU31fxxoilaXKfxDchSb6N1gkKVEyoNTkKyS7aac0LzB9hbJPvYICB44tTjJ6hOFqyQhxzqeWn4mUJ1cMbgEq63MII0lfdeUgXHKQd3Tr3Fd2Eg=", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNM9szdBV/7pBKvpfI5FugShpOq8cbUxJj05Efg51q2bMUSsTjNgk+RUG8dQMEdB5jaoDAnf9EC18XzN1gxBMcs=", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIHrZt3WD9fPuAaqYj/kqfyfjE0o+Zo4BTVoodrJwgkIe", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDpvyVckHIuMU7VVLC8LP1gaZUwLq2qyXl3I7V4ztt50UJtWCq5TdEHzc6NlU4mEHzFOejQsFL/3hSnJDVrdV9vs/9VCzDw/o24rTxP8nCiJkkVBws2vGmgOfZLPkdXDyXf+61amT2NRuGGC3an7UzHsWK/oymTMTVWOtpBAipkEZ2GtO+swjxv39lZLckAx8iUve5DPQ7OzQ/1dFVL8VXVI2SndjqASN7koKAX5IKH9d5Sfw1BA7q8Txhmdm6ZnXllQVf6Q7RKHVPNtK1StO8L/6A5SRwdrxVOnXVFKcYrs03iTWeUIqLEDvyIJRvD6xUi0fH1DOiM6AxLdt90z9Ne3/QTcv7N7yWoTDhdLBHFVkKZ+T4V/hW60j1b7Od3usJdgEQTEkePhS+8/hmz50s2wje2pUBZ3+RTJYl61ddhznBXkX1o2lX7hfe9y39xP5bVN55uoVcpaC9xfxpsYR1sXaAi/Pd3BDd987KIU3h0ibq0/1D/79UlKAonF8x3NEU=", "swapfree_mb": 3719, "swaptotal_mb": 3719, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 1560, "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_type": "xen" } META: end_host conditional evaluated to false, continuing execution for sut TASK [Check for availability of both NTP providers] **************************** task path: /WORKDIR/git-weekly-cij9ed18ym/tests/tests_ntp_provider6.yml:22 Sunday 24 March 2024 03:13:48 +0000 (0:00:00.031) 0:00:03.919 ********** changed: [sut] => (item=chrony) => { "ansible_loop_var": "item", "changed": true, "item": "chrony", "rc": 0, "results": [ "Installed: chrony-4.5-1.fc38.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-cij9ed18ym/tests/tests_ntp_provider6.yml:35 Sunday 24 March 2024 03:13:55 +0000 (0:00:06.693) 0:00:10.613 ********** skipping: [sut] => (item={'msg': '', 'changed': True, 'results': ['Installed: chrony-4.5-1.fc38.x86_64'], 'rc': 0, 'invocation': {'module_args': {'name': ['chrony'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': 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, 'lock_timeout': 30, '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, "item": { "ansible_loop_var": "item", "changed": true, "failed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": 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" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "validate_certs": true } }, "item": "chrony", "msg": "", "rc": 0, "results": [ "Installed: chrony-4.5-1.fc38.x86_64" ] }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'msg': 'Failed to install some of the specified packages', 'failures': ['No package ntp available.'], 'results': [], 'rc': 1, 'failed': True, 'invocation': {'module_args': {'name': ['ntp'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': 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, 'lock_timeout': 30, '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, "autoremove": false, "bugfix": 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" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "validate_certs": true } }, "item": "ntp", "msg": "Failed to install some of the specified packages", "rc": 1, "results": [] } } META: ending play PLAY RECAP ********************************************************************* sut : ok=8 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=1 Sunday 24 March 2024 03:13:55 +0000 (0:00:00.022) 0:00:10.635 ********** =============================================================================== Check for availability of both NTP providers ---------------------------- 6.69s /WORKDIR/git-weekly-cij9ed18ym/tests/tests_ntp_provider6.yml:22 --------------- Ensure iproute for gathering default_ipv4 fact -------------------------- 2.58s /WORKDIR/git-weekly-cij9ed18ym/tests/tasks/setup.yml:15 ----------------------- Gathering Facts --------------------------------------------------------- 0.97s /WORKDIR/git-weekly-cij9ed18ym/tests/tests_ntp_provider6.yml:2 ---------------- Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-weekly-cij9ed18ym/tests/tasks/setup.yml:6 ------------------------ Debug ------------------------------------------------------------------- 0.03s /WORKDIR/git-weekly-cij9ed18ym/tests/tasks/setup.yml:36 ----------------------- Set the availability of both NTP providers ------------------------------ 0.02s /WORKDIR/git-weekly-cij9ed18ym/tests/tests_ntp_provider6.yml:35 --------------- Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-weekly-cij9ed18ym/tests/tasks/setup.yml:11 ----------------------- Ensure ansible_facts used by test --------------------------------------- 0.02s /WORKDIR/git-weekly-cij9ed18ym/tests/tasks/setup.yml:22 ----------------------- Common test setup tasks ------------------------------------------------- 0.01s /WORKDIR/git-weekly-cij9ed18ym/tests/tests_ntp_provider6.yml:13 --------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---