# 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_use_existing_binding.yml *************************************** 1 plays in /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tests_use_existing_binding.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tests_use_existing_binding.yml:2 Wednesday 30 November 2022 01:12:51 +0000 (0:00:00.015) 0:00:00.015 **** ok: [sut] META: ran handlers TASK [Set up test environment] ************************************************* task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tests_use_existing_binding.yml:7 Wednesday 30 November 2022 01:12:52 +0000 (0:00:01.086) 0:00:01.102 **** 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 01:12:52 +0000 (0:00:00.033) 0:00:01.135 **** 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 01:12:53 +0000 (0:00:00.025) 0:00:01.161 **** 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 01:12:53 +0000 (0:00:00.477) 0:00:01.639 **** 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 01:12:53 +0000 (0:00:00.040) 0:00:01.679 **** ok: [sut] => { "ansible_facts": { "all_ipv4_addresses": [ "10.31.11.190" ], "all_ipv6_addresses": [ "fe80::1075:e6ff:fecb:a5cf" ], "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": "1669770773", "epoch_int": "1669770773", "hour": "01", "iso8601": "2022-11-30T01:12:53Z", "iso8601_basic": "20221130T011253429129", "iso8601_basic_short": "20221130T011253", "iso8601_micro": "2022-11-30T01:12:53.429129Z", "minute": "12", "month": "11", "second": "53", "time": "01:12:53", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Wednesday", "weekday_number": "3", "weeknumber": "48", "year": "2022" }, "default_ipv4": { "address": "10.31.11.190", "alias": "eth0", "broadcast": "10.31.11.255", "gateway": "10.31.8.1", "interface": "eth0", "macaddress": "12:75:e6:cb:a5:cf", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.8.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 49816 22", "SSH_CONNECTION": "10.29.163.178 49816 10.31.11.190 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.11.190", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::1075:e6ff:fecb:a5cf", "prefix": "64", "scope": "link" } ], "macaddress": "12:75:e6:cb:a5:cf", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "ip-10-31-11-190.us-east-1.aws.redhat.com", "gather_subset": [ "min" ], "hostname": "ip-10-31-11-190", "hostnqn": "", "interfaces": [ "eth0", "lo" ], "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": "e77131ec7a0a4254b25cdbfbb1f11dca", "memfree_mb": 2767, "memory_mb": { "nocache": { "free": 3506, "used": 221 }, "real": { "free": 2767, "total": 3727, "used": 960 }, "swap": { "cached": 0, "free": 3726, "total": 3726, "used": 0 } }, "memtotal_mb": 3727, "module_setup": true, "mounts": [ { "block_available": 61298976, "block_size": 4096, "block_total": 64483660, "block_used": 3184684, "device": "/dev/xvda1", "fstype": "ext4", "inode_available": 16309431, "inode_total": 16384000, "inode_used": 74569, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 251080605696, "size_total": 264125071360, "uuid": "bc5e106c-8e82-4162-abfd-ee515dd9a9af" } ], "nodename": "ip-10-31-11-190.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": "ec24d5e4-c8d3-283f-f335-ab01be59bd91", "product_uuid": "ec24d5e4-c8d3-283f-f335-ab01be59bd91", "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": "AAAAB3NzaC1kc3MAAACBAIVgyh/X89Y0FGAh6LYAFajmEp1OgjUnhN8cuGlFNxb/x523ad82OUi1OtUuF5y6viNGLEf9vjTKNJJyNbYt1XoAyFkPSHhPfuYeS3BrC5IbcJ1eKRea2BdOQCumBsyDDpYZlyt4DMWhfH23Vz8ge8LOZxgDf6VYiYH173CjUJCfAAAAFQD7OB75uQP391wYLhpIX3C0R6AAVQAAAIBUmNG2VwzgIQze5bccy/XF5/IHFe6MiFwh38y4m5hU2I8sO4oCXMQpxgQk5wDGDbYsWY9+iFB2SCb5CsjbS+QM8IWadvjPjhf33omx+rBWu9kNtQYumPbVu3Uf9mVvmq6GHfPEXwlubx8roXDMG5SM5LhdZDE8YUBReG9yp4xsdwAAAIA8Mgygrrja1q2Xv/9RZZSeljaejf6C5HqJPPvOuspIrtPQ2t3meJvc0dW1P8dtEPDfFGeedljFEQTP/w1ReWysRHKH+Ie46gGhvSQ41eKN8Jmzuu1j92QbRDkwLq0Mw60LxCc89CFU1qIHZXz5q0fT6P2a/2bfhyT1KHrh3MGqlA==", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKBFMax7TDJK18ds3hV6K2ToQ1pktyCQg0dMWxtY2DLvfgZ2UgGI7N3er4c9BSKdipWznXKNegeVFzfURfdPzo4=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIJTOiH+XRqhxvGhj3hZl+riOcX23VpCCJZbq/SsE5S8z", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCwgcKOVXilpyCLUvgN/kQ0gwsDbp2YlKwyqqazx18RT0nTMgFYr8Zp/iS4AGOiyPbxJsy0ihs5exblSTtrH6TfMeabRe7InNOauHFhqUbfmjHJ0rf9N/6fVxmiJPBfcLg3lkhX27PC6j/VKpyx3/hvFj1Rt9Zluz4JGfkFApcn+AYu/CyHHMqWDb6JSf/CbcJvGXG4/fh4CVzDZ0GgW8sSj0Zu2fZgfELAmBKVIrtLTbUgC0o3vpdkF1nyJ77IFNVw0a4B996BQF+mmK2snfeuSCtKYyh2T5CiJtIv/7zoNntCAtkEpkC24PFnFiUxOg/6eKy/q1qjRvOqSoI3sWxrt6av5OH8qWgWYOm+zIRru6JpJuYNFN+glu0NQAnzqQVAroxy2XP55EynPmPCAb6IGPJAegndU4+FlGGwnTVSdWquEMTkTl2n0/F3SuxMb+4Amt0qeABuYCoADrguRarkFCWVCaIXwPngms4Rx5vF+86djZ8OTzF1gMVqzKQqvik=", "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": 965, "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 01:12:53 +0000 (0:00:00.041) 0:00:01.721 **** 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 01:12:57 +0000 (0:00:04.422) 0:00:06.143 **** ok: [sut -> localhost] => { "changed": false, "gid": 1001, "group": "jenkins", "mode": "0700", "owner": "jenkins", "path": "/tmp/lsr_nbde_client_x0y0xeix", "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 01:12:58 +0000 (0:00:00.389) 0:00:06.532 **** ok: [sut] => { "ansible_facts": { "nbde_client_test_encryption_key_dest": "/tmp/encryption_key", "nbde_client_test_encryption_key_src": "/tmp/lsr_nbde_client_x0y0xeix/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 01:12:58 +0000 (0:00:00.027) 0:00:06.560 **** TASK [Clean up test environment] *********************************************** task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tests_use_existing_binding.yml:50 Wednesday 30 November 2022 01:12:58 +0000 (0:00:00.032) 0:00:06.592 **** included: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/cleanup_test.yml for sut TASK [Clean up dummy testing device] ******************************************* task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/cleanup_test.yml:2 Wednesday 30 November 2022 01:12:58 +0000 (0:00:00.033) 0:00:06.625 **** ok: [sut] => { "changed": false, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up test dir on controller] ***************************************** task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/cleanup_test.yml:7 Wednesday 30 November 2022 01:12:58 +0000 (0:00:00.462) 0:00:07.087 **** changed: [sut -> localhost] => { "changed": true, "path": "/tmp/lsr_nbde_client_x0y0xeix", "state": "absent" } TASK [Clean up test encryption key on managed host] **************************** task path: /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/cleanup_test.yml:13 Wednesday 30 November 2022 01:12:59 +0000 (0:00:00.234) 0:00:07.322 **** ok: [sut] => { "changed": false, "path": "/tmp/encryption_key", "state": "absent" } to retry, use: --limit @/tmp/tests_use_existing_binding.retry PLAY RECAP ********************************************************************* sut : ok=13 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 30 November 2022 01:12:59 +0000 (0:00:00.269) 0:00:07.591 **** =============================================================================== Install required packages for nbde_client tests ------------------------- 4.42s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:33 Gathering Facts --------------------------------------------------------- 1.09s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tests_use_existing_binding.yml:2 Ensure Ansible facts required by tests ---------------------------------- 0.48s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:5 Clean up dummy testing device ------------------------------------------- 0.46s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/cleanup_test.yml:2 Create temp dir for test on controller ---------------------------------- 0.39s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:37 Clean up test encryption key on managed host ---------------------------- 0.27s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/cleanup_test.yml:13 Clean up test dir on controller ----------------------------------------- 0.23s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/cleanup_test.yml:7 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.03s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tests_use_existing_binding.yml:7 Clean up test environment ----------------------------------------------- 0.03s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tests_use_existing_binding.yml:50 Deploy NBDE server for testing ------------------------------------------ 0.03s /WORKDIR/dist-git-nbde_client-use-fedora-nbde_server-sluisdym/tests/tasks/setup_test.yml:52 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 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 ---^---^---^---^---^---