# 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-statrtup_optionsnyder3q3/.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_provider3.yml ********************************************** 1 plays in /WORKDIR/git-statrtup_optionsnyder3q3/tests/tests_ntp_provider3.yml PLAY [Configure NTP with ntp as current provider] ****************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-statrtup_optionsnyder3q3/tests/tests_ntp_provider3.yml:2 Monday 10 June 2024 16:06:04 +0000 (0:00:00.016) 0:00:00.016 *********** ok: [sut] TASK [Common test setup tasks] ************************************************* task path: /WORKDIR/git-statrtup_optionsnyder3q3/tests/tests_ntp_provider3.yml:11 Monday 10 June 2024 16:06:06 +0000 (0:00:02.438) 0:00:02.455 *********** included: /WORKDIR/git-statrtup_optionsnyder3q3/tests/tasks/setup.yml for sut TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-statrtup_optionsnyder3q3/tests/tasks/setup.yml:6 Monday 10 June 2024 16:06:06 +0000 (0:00:00.011) 0:00:02.466 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-statrtup_optionsnyder3q3/tests/tasks/setup.yml:11 Monday 10 June 2024 16:06:06 +0000 (0:00:00.289) 0:00:02.756 *********** ok: [sut] => { "ansible_facts": { "__timesync_is_ostree": false }, "changed": false } TASK [Ensure iproute for gathering default_ipv4 fact] ************************** task path: /WORKDIR/git-statrtup_optionsnyder3q3/tests/tasks/setup.yml:15 Monday 10 June 2024 16:06:06 +0000 (0:00:00.015) 0:00:02.771 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Ensure ansible_facts used by test] *************************************** task path: /WORKDIR/git-statrtup_optionsnyder3q3/tests/tasks/setup.yml:21 Monday 10 June 2024 16:06:08 +0000 (0:00:01.583) 0:00:04.355 *********** 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-statrtup_optionsnyder3q3/tests/tasks/setup.yml:34 Monday 10 June 2024 16:06:08 +0000 (0:00:00.018) 0:00:04.374 *********** ok: [sut] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.42.14" ], "all_ipv6_addresses": [ "fe80::c0e:66ff:fe4f:67b5" ], "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.8.10-300.fc40.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2" }, "date_time": { "date": "2024-06-10", "day": "10", "epoch": "1718035566", "epoch_int": "1718035566", "hour": "16", "iso8601": "2024-06-10T16:06:06Z", "iso8601_basic": "20240610T160606246678", "iso8601_basic_short": "20240610T160606", "iso8601_micro": "2024-06-10T16:06:06.246678Z", "minute": "06", "month": "06", "second": "06", "time": "16:06:06", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Monday", "weekday_number": "1", "weeknumber": "24", "year": "2024" }, "default_ipv4": { "address": "10.31.42.14", "alias": "eth0", "broadcast": "10.31.43.255", "gateway": "10.31.40.1", "interface": "eth0", "macaddress": "0e:0e:66:4f:67:b5", "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": [ "28127951-1377-4935-a615-a8cc433a91f2" ] } }, "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": [ "28127951-1377-4935-a615-a8cc433a91f2" ] }, "sectors": "524283871", "sectorsize": 512, "size": "250.00 GB", "start": "4096", "uuid": "28127951-1377-4935-a615-a8cc433a91f2" } }, "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.174 44414 22", "SSH_CONNECTION": "10.29.163.174 44414 10.31.42.14 22", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "7", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.31.42.14", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::c0e:66ff:fe4f:67b5", "prefix": "64", "scope": "link" } ], "macaddress": "0e:0e:66:4f:67:b5", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "e6d395bb-a9af-41b2-b273-6fad4cdb6672.testing-farm", "gather_subset": [ "all" ], "hostname": "e6d395bb-a9af-41b2-b273-6fad4cdb6672", "hostnqn": "nqn.2014-08.org.nvmexpress:uuid:d7bd6b78-0733-4108-92f8-816ec40eaec8", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "6.8.10-300.fc40.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Fri May 17 21:20:54 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.33935546875, "1m": 0.806640625, "5m": 0.60888671875 }, "locally_reachable_ips": { "ipv4": [ "10.31.42.14", "127.0.0.0/8", "127.0.0.1" ], "ipv6": [ "::1", "fe80::c0e:66ff:fe4f:67b5" ] }, "lsb": {}, "lvm": { "lvs": {}, "pvs": {}, "vgs": {} }, "machine": "x86_64", "machine_id": "ec2f8ed395f80c9a4ba4d3f08322f955", "memfree_mb": 3013, "memory_mb": { "nocache": { "free": 3497, "used": 220 }, "real": { "free": 3013, "total": 3717, "used": 704 }, "swap": { "cached": 0, "free": 3716, "total": 3716, "used": 0 } }, "memtotal_mb": 3717, "module_setup": true, "mounts": [ { "block_available": 61356732, "block_size": 4096, "block_total": 64483404, "block_used": 3126672, "device": "/dev/xvda2", "fstype": "ext4", "inode_available": 16303869, "inode_total": 16384000, "inode_used": 80131, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 251317174272, "size_total": 264124022784, "uuid": "28127951-1377-4935-a615-a8cc433a91f2" } ], "nodename": "e6d395bb-a9af-41b2-b273-6fad4cdb6672.testing-farm", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.8.10-300.fc40.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=28127951-1377-4935-a615-a8cc433a91f2" }, "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": "ec2f8ed3-95f8-0c9a-4ba4-d3f08322f955", "product_uuid": "ec2f8ed3-95f8-0c9a-4ba4-d3f08322f955", "product_version": "4.11.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": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCMDPrD+UZjXE0Z+Ym2N99qaZ5JihRz5Xyj9ixba+KML9YSSG/G46CaLWSRFlfsGSzBQ9KX73NgrG/eihdf8nWM=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIEM/8B3hzvz42Ig+p1y5acOg30nNC8+48pEc610h6uIU", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDKtn9EZdUzUporIZHTs+ofIODhqTx4QVoE+UQp/DpshRjaPERJ1kuAJNJkeT7OwXUzlyrKEgEqQCdI+pWhPvc9CD8bTdxNSUjI1ZSEr2pymWwlNZRib4BQ0f8K0OOojUbWm32ujCNLpP15/7oEZicNugOAfB9FiOnoFptdj23NiHcUpxxw4DdTZuIDdvnyIcxayqXgo6tO1y4l5vnY3ikvo7GHAr5tGzpJumT4AwhoCo1tDrSyP+h8vIyRufAvhuUmZF0z37yZOM9+FgsOX7khhLHLZ4sVeKIbf8Hz2uLo0s9F/aj3UZTTek/xFhxbVjmIRL/BEeaNTaWnb0W8q/aHizgEp191QtTZ/HCrJ2BpQrUUUFGkKq+vGmWgrYJvfpLAPgPOiF3yKeL9EnsrXqpkkefvwKpii7eRZcsQS7b1Y2meYgtKsKyIoPrrUlRxvxkfpzoSfytxv8mFvY15s3Jo8aQmOCeB0xH44pp3tPnN+H6swgOja7OwOhrk8swz+8k=", "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": 673, "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-statrtup_optionsnyder3q3/tests/tasks/setup.yml:38 Monday 10 June 2024 16:06:08 +0000 (0:00:00.019) 0:00:04.394 *********** 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 [Remove chrony] *********************************************************** task path: /WORKDIR/git-statrtup_optionsnyder3q3/tests/tests_ntp_provider3.yml:20 Monday 10 June 2024 16:06:08 +0000 (0:00:00.013) 0:00:04.407 *********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: chrony-4.5-3.fc40.x86_64" ] } TASK [Install ntp] ************************************************************* task path: /WORKDIR/git-statrtup_optionsnyder3q3/tests/tests_ntp_provider3.yml:25 Monday 10 June 2024 16:06:10 +0000 (0:00:02.241) 0:00:06.648 *********** fatal: [sut]: 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: /WORKDIR/git-statrtup_optionsnyder3q3/tests/tests_ntp_provider3.yml:32 Monday 10 June 2024 16:06:12 +0000 (0:00:01.720) 0:00:08.369 *********** META: ending play PLAY RECAP ********************************************************************* sut : ok=8 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=1 Monday 10 June 2024 16:06:12 +0000 (0:00:00.002) 0:00:08.371 *********** =============================================================================== Gathering Facts --------------------------------------------------------- 2.44s /WORKDIR/git-statrtup_optionsnyder3q3/tests/tests_ntp_provider3.yml:2 --------- Remove chrony ----------------------------------------------------------- 2.24s /WORKDIR/git-statrtup_optionsnyder3q3/tests/tests_ntp_provider3.yml:20 -------- Install ntp ------------------------------------------------------------- 1.72s /WORKDIR/git-statrtup_optionsnyder3q3/tests/tests_ntp_provider3.yml:25 -------- Ensure iproute for gathering default_ipv4 fact -------------------------- 1.58s /WORKDIR/git-statrtup_optionsnyder3q3/tests/tasks/setup.yml:15 ---------------- Check if system is ostree ----------------------------------------------- 0.29s /WORKDIR/git-statrtup_optionsnyder3q3/tests/tasks/setup.yml:6 ----------------- Debug ------------------------------------------------------------------- 0.02s /WORKDIR/git-statrtup_optionsnyder3q3/tests/tasks/setup.yml:34 ---------------- Ensure ansible_facts used by test --------------------------------------- 0.02s /WORKDIR/git-statrtup_optionsnyder3q3/tests/tasks/setup.yml:21 ---------------- Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-statrtup_optionsnyder3q3/tests/tasks/setup.yml:11 ---------------- Skip test on ostree systems if unsupported ------------------------------ 0.01s /WORKDIR/git-statrtup_optionsnyder3q3/tests/tasks/setup.yml:38 ---------------- Common test setup tasks ------------------------------------------------- 0.01s /WORKDIR/git-statrtup_optionsnyder3q3/tests/tests_ntp_provider3.yml:11 -------- Skip test if no package ------------------------------------------------- 0.00s /WORKDIR/git-statrtup_optionsnyder3q3/tests/tests_ntp_provider3.yml:32 -------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---