# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.13.6] 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.13/lib/python3.8/site-packages/ansible ansible collection location = /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/.collection executable location = /opt/ansible-2.13/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] 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_bind_high_availability.yml ************************************* 1 plays in /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tests_bind_high_availability.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tests_bind_high_availability.yml:2 Wednesday 30 November 2022 00:25:40 +0000 (0:00:00.016) 0:00:00.016 **** ok: [sut] META: ran handlers TASK [Set up test environment] ************************************************* task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tests_bind_high_availability.yml:13 Wednesday 30 November 2022 00:25:41 +0000 (0:00:01.051) 0:00:01.068 **** included: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml for sut TASK [Include general tests variables] ***************************************** task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:2 Wednesday 30 November 2022 00:25:41 +0000 (0:00:00.038) 0:00:01.106 **** ok: [sut] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test", "nbde_client_test_pass": "test-password-here" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/vars/main.yml" ], "changed": false } TASK [Ensure Ansible facts required by tests] ********************************** task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:5 Wednesday 30 November 2022 00:25:41 +0000 (0:00:00.027) 0:00:01.133 **** ok: [sut] TASK [Set version specific variables] ****************************************** task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:16 Wednesday 30 November 2022 00:25:41 +0000 (0:00:00.447) 0:00:01.581 **** ok: [sut] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:29 Wednesday 30 November 2022 00:25:41 +0000 (0:00:00.043) 0:00:01.625 **** ok: [sut] => { "ansible_facts": { "all_ipv4_addresses": [ "10.31.13.4" ], "all_ipv6_addresses": [ "fe80::847:53ff:fe97:6fc5" ], "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,msdos1)/boot/vmlinuz-6.0.8-100.fc35.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=bc5e106c-8e82-4162-abfd-ee515dd9a9af" }, "date_time": { "date": "2022-11-30", "day": "30", "epoch": "1669767941", "epoch_int": "1669767941", "hour": "00", "iso8601": "2022-11-30T00:25:41Z", "iso8601_basic": "20221130T002541872034", "iso8601_basic_short": "20221130T002541", "iso8601_micro": "2022-11-30T00:25:41.872034Z", "minute": "25", "month": "11", "second": "41", "time": "00:25:41", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Wednesday", "weekday_number": "3", "weeknumber": "48", "year": "2022" }, "default_ipv4": { "address": "10.31.13.4", "alias": "eth0", "broadcast": "10.31.15.255", "gateway": "10.31.12.1", "interface": "eth0", "macaddress": "0a:47:53:97:6f:c5", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda1": [ "bc5e106c-8e82-4162-abfd-ee515dd9a9af" ] } }, "devices": { "xvda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "xvda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "bc5e106c-8e82-4162-abfd-ee515dd9a9af" ] }, "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "start": "2048", "uuid": "bc5e106c-8e82-4162-abfd-ee515dd9a9af" } }, "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": "7632896", "sectorsize": "4096", "size": "3.64 GB", "support_discard": "4096", "vendor": null, "virtual": 1 } }, "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "35", "distribution_release": "", "distribution_version": "35", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "us-east-1.aws.redhat.com" ] }, "domain": "us-east-1.aws.redhat.com", "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.fedoraproject.org/ ", "HOME": "/root", "LANG": "C.utf8", "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.178 41436 22", "SSH_CONNECTION": "10.29.163.178 41436 10.31.13.4 22", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "6", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.31.13.4", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::847:53ff:fe97:6fc5", "prefix": "64", "scope": "link" } ], "macaddress": "0a:47:53:97:6f:c5", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "ip-10-31-13-4.us-east-1.aws.redhat.com", "gather_subset": [ "min" ], "hostname": "ip-10-31-13-4", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "6.0.8-100.fc35.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Fri Nov 11 15:25:15 UTC 2022", "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" }, "lsb": {}, "machine": "x86_64", "machine_id": "6e9580d7b06340fa8bc5044d505b2297", "memfree_mb": 2747, "memory_mb": { "nocache": { "free": 3486, "used": 241 }, "real": { "free": 2747, "total": 3727, "used": 980 }, "swap": { "cached": 0, "free": 3726, "total": 3726, "used": 0 } }, "memtotal_mb": 3727, "module_setup": true, "mounts": [ { "block_available": 61298897, "block_size": 4096, "block_total": 64483660, "block_used": 3184763, "device": "/dev/xvda1", "fstype": "ext4", "inode_available": 16309349, "inode_total": 16384000, "inode_used": 74651, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 251080282112, "size_total": 264125071360, "uuid": "bc5e106c-8e82-4162-abfd-ee515dd9a9af" } ], "nodename": "ip-10-31-13-4.us-east-1.aws.redhat.com", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-6.0.8-100.fc35.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=bc5e106c-8e82-4162-abfd-ee515dd9a9af" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz" ], "processor_cores": 1, "processor_count": 1, "processor_nproc": 2, "processor_threads_per_core": 2, "processor_vcpus": 2, "product_name": "HVM domU", "product_serial": "ec2f70a5-34dd-b115-2831-0ba2cdcc8855", "product_uuid": "ec2f70a5-34dd-b115-2831-0ba2cdcc8855", "product_version": "4.2.amazon", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 8, "minor": 10, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 10, 8, "final", 0 ] }, "python_version": "3.10.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": "AAAAB3NzaC1kc3MAAACBAID9fLHwBEXSgf9TfJpPFGUvnZvpt9k4/7qTTkZuA/17uIgJMXv4+M9+fEheyg7l2XAKi36s2KJZSKCmkpTiL88yP0WP6o1NYhEbnqiN//jFTfVUOUCkppKG9rbkHq50scwkNcWR/EVsk7C3Qjmhy3aE37tovstfCpHyakitWS1jAAAAFQDA0mn0DqgUKCRDkQPqmE7nl+hPPQAAAIASbmTRQaO5SCwvFESz73/jXn3k2aj9D7CqSJIw7SmA6ssiMmRGOEGyQsf3rwxFMqnJuQqCqEq3a70WDd7/+1QhETmmruRsdgpHx8sta17JAXjYldTVjRDNq2OGQE3KAH8Pu8dDQO7XBENSuHD7VMG1ano4Vw7YhbP6del/A3GkAwAAAIBv8atoM+hneZpNK/0ngyNRvd7+fFyCm8Y6kFmaByJT/saR+w25XsApDen1tkJYHe0W+7d/V2GMDuSJHH7SUbDFzTL5QWGgUkkCFdUxLqT964CcXdb/OdydeWmRTDPRoifb3wFSoV73uVVlIi9PoRM7QFB5E9AfeiGLdBh9NjEEIA==", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAoV9G8nQa0w7KgVKOjDKT+30DvvN+DWbNMXa8L3seeHmEx+20YP61H/bUKepdxOjNeWOv13hSZZcr7re6Fu71Q=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIFnI5z2lxP3V6vWzkv7kaJ+53yWtu2ddlPhdLgfDawTR", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDXgFvgyrWjX236Xy70sYbzM/vN7N6X3g+H4Y4kvKb/z+VTiCKM6KPUl8yiu9q5PqlmhSAqE+tEpWFGgXhSHIr82eHYp7o4VIKHwVKWwgrfrzuyzi2Gap4uD/AxqX12NTkesk7lUjFtnrmK9crRkbiVk6PyXEIymekXAEc34lOoYo3NyT7Q48tQimWtn5Sb8ssGeVQm2LpnDIAiCKy7wujV04hEDCeSdgnqd9NgM89VrE8SVKGQKSw7fsCxbaZV7eQkpnD509fcyUCaYHToDJhyt7Hv/06Fy81Dt6GAXp9SQxESUrPQYCVohN1Mhl0/WiK5D0wSyOdZVQblMHl0bj6Gmc0HQJGBnOicbNU+3no/LLmICXujN9s33lKzGv2S/+OhZOLOwMsXhZ+QsL+mFyNd2vcMQS9DU2fez2KwaZhL5u4mGYg86hdzxIEcXDq0VqNZmJinct64hMm2XMwKUfTIpR4ehRot6a4QiT2cCzZYl7bYHGnQJxwMHEbZhCIBuRk=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 3726, "swaptotal_mb": 3726, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 877, "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_tech_guest": [ "xen" ], "virtualization_tech_host": [], "virtualization_type": "xen" } } TASK [Install required packages for nbde_client tests] ************************* task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:33 Wednesday 30 November 2022 00:25:42 +0000 (0:00:00.044) 0:00:01.670 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-2.4.3-1.fc35.x86_64" ] } TASK [Create temp dir for test on controller] ********************************** task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:37 Wednesday 30 November 2022 00:25:46 +0000 (0:00:04.364) 0:00:06.034 **** ok: [sut -> localhost] => { "changed": false, "gid": 1001, "group": "jenkins", "mode": "0700", "owner": "jenkins", "path": "/tmp/lsr_nbde_client_aooexvo_", "size": 6, "state": "directory", "uid": 1000090000 } TASK [Set nbde_client_test_encryption_key_src, dest, roles dir] **************** task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:45 Wednesday 30 November 2022 00:25:46 +0000 (0:00:00.368) 0:00:06.403 **** ok: [sut] => { "ansible_facts": { "nbde_client_test_encryption_key_dest": "/tmp/encryption_key", "nbde_client_test_encryption_key_src": "/tmp/lsr_nbde_client_aooexvo_/encryption_key" }, "changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:52 Wednesday 30 November 2022 00:25:46 +0000 (0:00:00.030) 0:00:06.433 **** to retry, use: --limit @/tmp/tests_bind_high_availability.retry PLAY RECAP ********************************************************************* sut : ok=9 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 30 November 2022 00:25:46 +0000 (0:00:00.029) 0:00:06.463 **** =============================================================================== Install required packages for nbde_client tests ------------------------- 4.36s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:33 Gathering Facts --------------------------------------------------------- 1.05s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tests_bind_high_availability.yml:2 Ensure Ansible facts required by tests ---------------------------------- 0.45s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:5 Create temp dir for test on controller ---------------------------------- 0.37s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:37 Print all available facts ----------------------------------------------- 0.04s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:29 Set version specific variables ------------------------------------------ 0.04s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:16 Set up test environment ------------------------------------------------- 0.04s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tests_bind_high_availability.yml:13 Set nbde_client_test_encryption_key_src, dest, roles dir ---------------- 0.03s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:45 Deploy NBDE server for testing ------------------------------------------ 0.03s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:52 Include general tests variables ----------------------------------------- 0.03s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:2 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ERROR! the role 'fedora.linux_system_roles.nbde_server' was not found in /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/roles:/home/jenkins/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests The error appears to be in '/WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml': line 54, column 11, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: include_role: name: fedora.linux_system_roles.nbde_server ^ here ---^---^---^---^---^---