# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Tuesday 19 July 2022 15:59:22 +0000 (0:00:00.029) 0:00:00.029 ********** ok: [sut] TASK [Set up test environment] ************************************************* Tuesday 19 July 2022 15:59:23 +0000 (0:00:00.829) 0:00:00.858 ********** included: /WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/tasks/setup_test.yml for sut TASK [Include general tests variables] ***************************************** Tuesday 19 July 2022 15:59:23 +0000 (0:00:00.062) 0:00:00.921 ********** ok: [sut] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test", "nbde_client_test_encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "nbde_client_test_pass": "test-password-here", "nbde_client_test_roles_dir": "/tmp/.nbde_client_dev_roles" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** Tuesday 19 July 2022 15:59:23 +0000 (0:00:00.029) 0:00:00.950 ********** ok: [sut] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/vars/RedHat_8.yml" ], "changed": false } TASK [Print all available facts] *********************************************** Tuesday 19 July 2022 15:59:23 +0000 (0:00:00.063) 0:00:01.013 ********** ok: [sut] => { "ansible_facts": { "all_ipv4_addresses": [ "10.31.10.134" ], "all_ipv6_addresses": [ "fe80::f288:d1f:9f18:4b2d" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_version": "4.11.amazon", "cmdline": { "BOOT_IMAGE": "(hd0,gpt3)/boot/vmlinuz-4.18.0-408.el8.x86_64", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "no_timer_check": true, "root": "UUID=b35cba72-2f90-499f-a752-370ae6eb3e34" }, "date_time": { "date": "2022-07-19", "day": "19", "epoch": "1658246363", "hour": "15", "iso8601": "2022-07-19T15:59:23Z", "iso8601_basic": "20220719T155923258690", "iso8601_basic_short": "20220719T155923", "iso8601_micro": "2022-07-19T15:59:23.258690Z", "minute": "59", "month": "07", "second": "23", "time": "15:59:23", "tz": "UTC", "tz_offset": "+0000", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "29", "year": "2022" }, "default_ipv4": { "address": "10.31.10.134", "alias": "eth0", "broadcast": "10.31.11.255", "gateway": "10.31.8.1", "interface": "eth0", "macaddress": "12:fb:cd:b4:c4:8f", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.8.0", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": { "xvda3": [ "root" ] }, "masters": {}, "uuids": { "xvda2": [ "7B77-95E7" ], "xvda3": [ "b35cba72-2f90-499f-a752-370ae6eb3e34" ] } }, "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": [ "7B77-95E7" ] }, "sectors": "204800", "sectorsize": 512, "size": "100.00 MB", "start": "4096", "uuid": "7B77-95E7" }, "xvda3": { "holders": [], "links": { "ids": [], "labels": [ "root" ], "masters": [], "uuids": [ "b35cba72-2f90-499f-a752-370ae6eb3e34" ] }, "sectors": "524079071", "sectorsize": 512, "size": "249.90 GB", "start": "208896", "uuid": "b35cba72-2f90-499f-a752-370ae6eb3e34" } }, "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 } }, "distribution": "RedHat", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_search_string": "Red Hat", "distribution_file_variety": "RedHat", "distribution_major_version": "8", "distribution_release": "Ootpa", "distribution_version": "8.7", "dns": { "nameservers": [ "10.29.169.13", "10.29.170.12", "10.2.32.1" ], "search": [ "us-east-1.aws.redhat.com" ] }, "domain": "ec2.internal", "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", "HOME": "/root", "LANG": "C", "LC_ALL": "C", "LC_NUMERIC": "C", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "PATH": "/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": "2", "SSH_CLIENT": "10.29.163.178 39914 22", "SSH_CONNECTION": "10.29.163.178 39914 10.31.10.134 22", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "6", "_": "/usr/bin/python3", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "off [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "off [fixed]", "netns_local": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_gro_list": "off", "rx_udp_gro_forwarding": "off", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_sctp": "off [fixed]", "tx_checksumming": "on", "tx_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_nocache_copy": "off", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp_segmentation": "on", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "vlan_challenged": "off [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "10.31.10.134", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0" }, "ipv6": [ { "address": "fe80::f288:d1f:9f18:4b2d", "prefix": "64", "scope": "link" } ], "macaddress": "12:fb:cd:b4:c4:8f", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "timestamping": [], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "ip-10-31-10-134.ec2.internal", "gather_subset": [ "all" ], "hostname": "ip-10-31-10-134", "hostnqn": "", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "4.18.0-408.el8.x86_64", "kernel_version": "#1 SMP Wed Jul 6 23:55:36 EDT 2022", "lo": { "active": true, "device": "lo", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "on [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "on [fixed]", "netns_local": "on [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_gro_list": "off", "rx_udp_gro_forwarding": "off", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "tx_checksumming": "on", "tx_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "on", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "on [fixed]", "tx_nocache_copy": "off [fixed]", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tx_sctp_segmentation": "on", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp_segmentation": "on", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "vlan_challenged": "on [fixed]" }, "hw_timestamp_filters": [], "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, "timestamping": [], "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "8cf3be57d8084779b740666e245ed8da", "memfree_mb": 2870, "memory_mb": { "nocache": { "free": 3360, "used": 213 }, "real": { "free": 2870, "total": 3573, "used": 703 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3573, "module_setup": true, "mounts": [ { "block_available": 64481128, "block_size": 4096, "block_total": 65507323, "block_used": 1026195, "device": "/dev/xvda3", "fstype": "xfs", "inode_available": 130950578, "inode_total": 131019760, "inode_used": 69182, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 264114700288, "size_total": 268317995008, "uuid": "b35cba72-2f90-499f-a752-370ae6eb3e34" }, { "block_available": 48122, "block_size": 2048, "block_total": 51091, "block_used": 2969, "device": "/dev/xvda2", "fstype": "vfat", "inode_available": 0, "inode_total": 0, "inode_used": 0, "mount": "/boot/efi", "options": "rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro", "size_available": 98553856, "size_total": 104634368, "uuid": "7B77-95E7" } ], "nodename": "ip-10-31-10-134.us-east-1.aws.redhat.com", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt3)/boot/vmlinuz-4.18.0-408.el8.x86_64", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "auto", "net.ifnames": "0", "no_timer_check": true, "root": "UUID=b35cba72-2f90-499f-a752-370ae6eb3e34" }, "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_threads_per_core": 2, "processor_vcpus": 2, "product_name": "HVM domU", "product_serial": "ec29c311-e25c-ee13-b41c-1de5b1e415c0", "product_uuid": "ec29c311-e25c-ee13-b41c-1de5b1e415c0", "product_version": "4.11.amazon", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 8, "minor": 6, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 6, 8, "final", 0 ] }, "python_version": "3.6.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": "AAAAB3NzaC1kc3MAAACBAKGfMabEw8mCFdGRzToEm7Lfx8LWNNf1nxprY9/jemfIRHAvhzBGWkx615tgZsUS+o0d90cKo+TExubNUPM0MkVpmeggeJBdzP3hWFwibTWrV3CpY+xhl2Tg2qVSF+z7VeDrRWNIY8BXhMYFcxJChu3vcTP11U8WZkI26OhYiUh3AAAAFQCbKv3sYqpAXsz+9+uQdm1y3VWH3QAAAIAj8Un3Y6eb2tx7cD4eqH0OwNu+jHrVPy1L8X//hjUXgisGEyevSbbdsS72dlOBjND2nyLA4jrbTSjvyoY7r8e8NEfrWQ6MJcsGUxH+hFa2kCABJyVuo8Eo5XuCj2rmmpuWxcT/qmbfeJSGgaEtk02H+jycUmRA3wEWCCDrLZDk7AAAAIBARitzgxihszBKHY3CCupDeNu3mgTuCvvXNjc1XtznvUo6EmbJ6PkzARATfDIyETWcKiDoPftqm88sYON6NsouWGG/vGGXBffE7yNfqA9vc7AF1NoXJE11q/BHr4Yp+65cHklGH4yZnv91yj0RiQdYdM0DQ+guzNFXYegbfawa+w==", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLUoCY6xS/My2pxkI31tutRIDpZ7PDfDTnU6+f0xVfkT6DDhVZZOj3XzlC2s52ILZsEWAES0ogsz8wYhUwi6OJY=", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIFCcD4UIWxyxLDmglz8aKbGWrJCxnC23m3gIRBQvq89S", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCbRVOA9UIAbMKHrK56B45gvIVCCwrwIHNP5J8j/7eIgzMVAD5Yv5I4mTdEvPH1wIgN1dlLLTsOvLECi7Ogm2h2ehDzP8DOb3L3AH9C6Ea58z8NXCrm4jce4jrgc5bg9lFSya4j3+9mQ2YAsZViGshoRXKtX8hCWunIjlLr/gKkZzmY9We66RtcsN5Z6lpRMH0G2BMIBZ1SNXbgM4iREzxVdzZh2Ud16gnllOqxNY7gVybQhCWJ0hpqAOMjUIXhkr1VyvJXwxapSqKvphJS4+XRgBpqgD9OwZZuifou059BUOznODRHQNp3L5LaUVFZRG3XPzyMdnBkYMSa4ax3rmmDFf4UW5VGodd7C/y5zxKhbk433+D4JzB19aIfGsWKOoibn6VdgPaMcAgkXhA8aL3rm4UfAWejYTr7B74vuQkMpC5EdWGtosSQ9lEZ4XGf346tfjrzht1q/jWU+D/FOhePkvQRGddKQmwns6/G7Pt9Ab3Z7aNz9n5Vq3AV4TSnACs=", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 451, "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_type": "xen" } } TASK [Install required packages for nbde_client tests] ************************* Tuesday 19 July 2022 15:59:23 +0000 (0:00:00.112) 0:00:01.126 ********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-2.3.7-2.el8.x86_64" ] } TASK [Clone nbde_server role for the tests] ************************************ Tuesday 19 July 2022 15:59:26 +0000 (0:00:02.882) 0:00:04.009 ********** ok: [sut -> localhost] => { "after": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "before": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** Tuesday 19 July 2022 15:59:27 +0000 (0:00:00.588) 0:00:04.597 ********** TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** Tuesday 19 July 2022 15:59:27 +0000 (0:00:00.070) 0:00:04.668 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** Tuesday 19 July 2022 15:59:27 +0000 (0:00:00.075) 0:00:04.744 ********** ok: [sut] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** Tuesday 19 July 2022 15:59:27 +0000 (0:00:00.393) 0:00:05.137 ********** ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] *** Tuesday 19 July 2022 15:59:27 +0000 (0:00:00.050) 0:00:05.187 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** Tuesday 19 July 2022 15:59:27 +0000 (0:00:00.049) 0:00:05.237 ********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: jose-10-2.el8.x86_64", "Installed: tang-7-6.el8.x86_64", "Installed: libjose-10-2.el8.x86_64", "Installed: http-parser-2.8.0-9.el8.x86_64" ] } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** Tuesday 19 July 2022 15:59:31 +0000 (0:00:04.262) 0:00:09.499 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** Tuesday 19 July 2022 15:59:32 +0000 (0:00:00.033) 0:00:09.533 ********** changed: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** Tuesday 19 July 2022 15:59:32 +0000 (0:00:00.382) 0:00:09.915 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** Tuesday 19 July 2022 15:59:32 +0000 (0:00:00.036) 0:00:09.952 ********** changed: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22628", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Writable": "no" } } TASK [Create device for testing] *********************************************** Tuesday 19 July 2022 15:59:33 +0000 (0:00:00.843) 0:00:10.796 ********** ok: [sut] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:01.006931", "end": "2022-07-19 15:59:34.620180", "rc": 0, "start": "2022-07-19 15:59:33.613249" } TASK [Format test device as LUKS] ********************************************** Tuesday 19 July 2022 15:59:34 +0000 (0:00:01.362) 0:00:12.158 ********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; echo -n test-password-here | cryptsetup luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 --batch-mode --force-password /tmp/.nbde_client_dev_test", "delta": "0:00:01.050249", "end": "2022-07-19 15:59:35.906325", "rc": 0, "start": "2022-07-19 15:59:34.856076" } TASK [Create key file for test device] ***************************************** Tuesday 19 July 2022 15:59:35 +0000 (0:00:01.289) 0:00:13.447 ********** ok: [sut -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.004928", "end": "2022-07-19 15:59:36.137636", "rc": 0, "start": "2022-07-19 15:59:36.132708" } TASK [Use nbde_client role] **************************************************** Tuesday 19 July 2022 15:59:36 +0000 (0:00:00.229) 0:00:13.677 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* Tuesday 19 July 2022 15:59:36 +0000 (0:00:00.049) 0:00:13.726 ********** included: /WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** Tuesday 19 July 2022 15:59:36 +0000 (0:00:00.070) 0:00:13.796 ********** ok: [sut] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** Tuesday 19 July 2022 15:59:36 +0000 (0:00:00.391) 0:00:14.188 ********** ok: [sut] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/roles/linux-system-roles.nbde_client/vars/RedHat_8.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** Tuesday 19 July 2022 15:59:36 +0000 (0:00:00.051) 0:00:14.239 ********** included: /WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for sut TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** Tuesday 19 July 2022 15:59:36 +0000 (0:00:00.056) 0:00:14.296 ********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libluksmeta-9-4.el8.x86_64", "Installed: tpm2-tools-4.1.1-5.el8.x86_64", "Installed: luksmeta-9-4.el8.x86_64", "Installed: jq-1.6-3.el8.x86_64", "Installed: clevis-15-8.el8.x86_64", "Installed: clevis-dracut-15-8.el8.x86_64", "Installed: clevis-luks-15-8.el8.x86_64", "Installed: clevis-systemd-15-8.el8.x86_64", "Installed: oniguruma-6.8.2-2.el8.x86_64" ] } TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* Tuesday 19 July 2022 15:59:42 +0000 (0:00:05.783) 0:00:20.079 ********** changed: [sut] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "man:clevis-luks-unlockers(7)", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestampMonotonic": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** Tuesday 19 July 2022 15:59:43 +0000 (0:00:00.609) 0:00:20.689 ********** changed: [sut] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1658246383.242489-5205-214067241413495/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** Tuesday 19 July 2022 15:59:44 +0000 (0:00:00.962) 0:00:21.651 ********** changed: [sut] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** Tuesday 19 July 2022 15:59:44 +0000 (0:00:00.581) 0:00:22.233 ********** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.5eaq6tgbnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** Tuesday 19 July 2022 15:59:45 +0000 (0:00:00.375) 0:00:22.608 ********** skipping: [sut] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** Tuesday 19 July 2022 15:59:45 +0000 (0:00:00.073) 0:00:22.682 ********** changed: [sut] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** Tuesday 19 July 2022 15:59:54 +0000 (0:00:09.672) 0:00:32.355 ********** changed: [sut] => { "changed": true, "path": "/tmp/ansible.5eaq6tgbnbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* Tuesday 19 July 2022 15:59:55 +0000 (0:00:00.389) 0:00:32.744 ********** changed: [sut] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1658246395.2998114-5274-149655572770743/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** Tuesday 19 July 2022 15:59:55 +0000 (0:00:00.673) 0:00:33.418 ********** changed: [sut] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1658246395.973158-5284-175026325224087/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** Tuesday 19 July 2022 15:59:56 +0000 (0:00:00.674) 0:00:34.092 ********** changed: [sut] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** Tuesday 19 July 2022 15:59:57 +0000 (0:00:01.177) 0:00:35.269 ********** ok: [sut] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.116793", "end": "2022-07-19 15:59:58.238531", "rc": 0, "start": "2022-07-19 15:59:58.121738" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** Tuesday 19 July 2022 15:59:58 +0000 (0:00:00.512) 0:00:35.782 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** Tuesday 19 July 2022 15:59:58 +0000 (0:00:00.554) 0:00:36.337 ********** changed: [sut] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Attempt to unlock device] ************************************************ Tuesday 19 July 2022 15:59:59 +0000 (0:00:00.583) 0:00:36.920 ********** included: /WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/tasks/verify_unlock_device.yml for sut TASK [Verify we can unlock the device] ***************************************** Tuesday 19 July 2022 15:59:59 +0000 (0:00:00.042) 0:00:36.963 ********** ok: [sut] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:04.493432", "end": "2022-07-19 16:00:04.155214", "rc": 0, "start": "2022-07-19 15:59:59.661782" } TASK [Close unlocked device] *************************************************** Tuesday 19 July 2022 16:00:04 +0000 (0:00:04.732) 0:00:41.696 ********** ok: [sut] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.029998", "end": "2022-07-19 16:00:04.425793", "rc": 0, "start": "2022-07-19 16:00:04.395795" } TASK [Make sure the attempt to unlock succeeded] ******************************* Tuesday 19 July 2022 16:00:04 +0000 (0:00:00.270) 0:00:41.967 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Attempt to check whether default passphrase works] *********************** Tuesday 19 July 2022 16:00:04 +0000 (0:00:00.042) 0:00:42.010 ********** included: /WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/tasks/verify_default_passphrase.yml for sut TASK [Verify the default passphrase works] ************************************* Tuesday 19 July 2022 16:00:04 +0000 (0:00:00.047) 0:00:42.058 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "echo -n \"test-password-here\" | cryptsetup open --test-passphrase \"/tmp/.nbde_client_dev_test\"\n", "delta": "0:00:02.074487", "end": "2022-07-19 16:00:06.838484", "rc": 2, "start": "2022-07-19 16:00:04.763997" } STDERR: No key available with this passphrase. MSG: non-zero return code ...ignoring TASK [Make sure the default passphrase did not work] *************************** Tuesday 19 July 2022 16:00:06 +0000 (0:00:02.319) 0:00:44.377 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** Tuesday 19 July 2022 16:00:06 +0000 (0:00:00.041) 0:00:44.418 ********** included: /WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/tasks/verify_idempotency.yml for sut TASK [Use nbde_client role - idempotency check] ******************************** Tuesday 19 July 2022 16:00:06 +0000 (0:00:00.052) 0:00:44.471 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* Tuesday 19 July 2022 16:00:07 +0000 (0:00:00.045) 0:00:44.516 ********** included: /WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** Tuesday 19 July 2022 16:00:07 +0000 (0:00:00.046) 0:00:44.562 ********** ok: [sut] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** Tuesday 19 July 2022 16:00:07 +0000 (0:00:00.397) 0:00:44.960 ********** ok: [sut] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/roles/linux-system-roles.nbde_client/vars/RedHat_8.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** Tuesday 19 July 2022 16:00:07 +0000 (0:00:00.059) 0:00:45.019 ********** included: /WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for sut TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** Tuesday 19 July 2022 16:00:07 +0000 (0:00:00.062) 0:00:45.082 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* Tuesday 19 July 2022 16:00:09 +0000 (0:00:01.783) 0:00:46.866 ********** ok: [sut] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "man:clevis-luks-unlockers(7)", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Tue 2022-07-19 15:59:58 UTC", "StateChangeTimestampMonotonic": "487267104", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** Tuesday 19 July 2022 16:00:09 +0000 (0:00:00.402) 0:00:47.268 ********** ok: [sut] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** Tuesday 19 July 2022 16:00:10 +0000 (0:00:00.623) 0:00:47.892 ********** ok: [sut] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** Tuesday 19 July 2022 16:00:16 +0000 (0:00:05.888) 0:00:53.781 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** Tuesday 19 July 2022 16:00:16 +0000 (0:00:00.038) 0:00:53.819 ********** skipping: [sut] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** Tuesday 19 July 2022 16:00:16 +0000 (0:00:00.052) 0:00:53.871 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** Tuesday 19 July 2022 16:00:16 +0000 (0:00:00.037) 0:00:53.909 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* Tuesday 19 July 2022 16:00:16 +0000 (0:00:00.038) 0:00:53.948 ********** ok: [sut] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** Tuesday 19 July 2022 16:00:17 +0000 (0:00:00.593) 0:00:54.541 ********** ok: [sut] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** Tuesday 19 July 2022 16:00:17 +0000 (0:00:00.610) 0:00:55.152 ********** ok: [sut] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** Tuesday 19 July 2022 16:00:18 +0000 (0:00:01.010) 0:00:56.162 ********** ok: [sut] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.064840", "end": "2022-07-19 16:00:18.960358", "rc": 0, "start": "2022-07-19 16:00:18.895518" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** Tuesday 19 July 2022 16:00:19 +0000 (0:00:00.343) 0:00:56.506 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** Tuesday 19 July 2022 16:00:19 +0000 (0:00:00.556) 0:00:57.062 ********** ok: [sut] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Verify idempotency of clevis operations] ********************************* Tuesday 19 July 2022 16:00:19 +0000 (0:00:00.394) 0:00:57.457 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** Tuesday 19 July 2022 16:00:19 +0000 (0:00:00.040) 0:00:57.498 ********** included: /WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/tasks/cleanup_test.yml for sut TASK [Clean up dummy testing device] ******************************************* Tuesday 19 July 2022 16:00:20 +0000 (0:00:00.045) 0:00:57.543 ********** changed: [sut] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* Tuesday 19 July 2022 16:00:20 +0000 (0:00:00.246) 0:00:57.789 ********** changed: [sut -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* Tuesday 19 July 2022 16:00:20 +0000 (0:00:00.230) 0:00:58.020 ********** ok: [sut] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [linux-system-roles.nbde_client : nbde_client update initramfs] *** Tuesday 19 July 2022 16:00:20 +0000 (0:00:00.232) 0:00:58.253 ********** changed: [sut] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:33.503823", "end": "2022-07-19 16:00:54.477981", "rc": 0, "start": "2022-07-19 16:00:20.974158" } STDERR: dracut: Executing: /usr/bin/dracut --kver=4.18.0-408.el8.x86_64 -fv dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut: dracut module 'ifcfg' will not be installed, because it's in the list to be omitted! dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found! dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: memstrack is available dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found! dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: nss-softokn *** dracut: *** Including module: rngd *** dracut: *** Including module: i18n *** dracut: *** Including module: network-manager *** dracut: *** Including module: network *** dracut: *** Including module: drm *** dracut: *** Including module: plymouth *** dracut: *** Including module: clevis *** dracut: *** Including module: clevis-pin-null *** dracut: *** Including module: clevis-pin-sss *** dracut: *** Including module: clevis-pin-tang *** dracut: *** Including module: clevis-pin-tpm2 *** dracut: *** Including module: nbde_client *** dracut: *** Including module: prefixdevname *** dracut: *** Including module: crypt *** dracut: *** Including module: dm *** dracut: Skipping udev rule: 64-device-mapper.rules dracut: Skipping udev rule: 60-persistent-storage-dm.rules dracut: Skipping udev rule: 55-dm.rules dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-modules-extra *** dracut: *** Including module: kernel-network-modules *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: terminfo *** dracut: *** Including module: udev-rules *** dracut: Skipping udev rule: 91-permissions.rules dracut: Skipping udev rule: 80-drivers-modprobe.rules dracut: *** Including module: biosdevname *** dracut: *** Including module: dracut-systemd *** dracut: *** Including module: usrmount *** dracut: *** Including module: base *** dracut: *** Including module: fs-lib *** dracut: *** Including module: memstrack *** dracut: *** Including module: microcode_ctl-fw_dir_override *** dracut: microcode_ctl module: mangling fw_dir dracut: microcode_ctl: reset fw_dir to "/lib/firmware/updates /lib/firmware" dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel"... intel: model '', path ' intel-ucode/*', kvers '' dracut: microcode_ctl: intel: caveats check for kernel version "4.18.0-408.el8.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel" to fw_dir variable dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07"... intel-06-2d-07: model 'GenuineIntel 06-2d-07', path ' intel-ucode/06-2d-07', kvers '' Current CPU model 'GenuineIntel 06-3e-04' doesn't match configuration CPU model 'GenuineIntel 06-2d-07', skipping dracut: microcode_ctl: configuration "intel-06-2d-07" is ignored dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4e-03"... intel-06-4e-03: model 'GenuineIntel 06-4e-03', path ' intel-ucode/06-4e-03', kvers '' Current CPU model 'GenuineIntel 06-3e-04' doesn't match configuration CPU model 'GenuineIntel 06-4e-03', skipping dracut: microcode_ctl: configuration "intel-06-4e-03" is ignored dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01"... intel-06-4f-01: model 'GenuineIntel 06-4f-01', path ' intel-ucode/06-4f-01', kvers ' 4.17.0 3.10.0-894 3.10.0-862.6.1 3.10.0-693.35.1 3.10.0-514.52.1 3.10.0-327.70.1 2.6.32-754.1.1 2.6.32-573.58.1 2.6.32-504.71.1 2.6.32-431.90.1 2.6.32-358.90.1' Current CPU model 'GenuineIntel 06-3e-04' doesn't match configuration CPU model 'GenuineIntel 06-4f-01', skipping dracut: microcode_ctl: configuration "intel-06-4f-01" is ignored dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04"... intel-06-55-04: model 'GenuineIntel 06-55-04', path ' intel-ucode/06-55-04', kvers '' Current CPU model 'GenuineIntel 06-3e-04' doesn't match configuration CPU model 'GenuineIntel 06-55-04', skipping dracut: microcode_ctl: configuration "intel-06-55-04" is ignored dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03"... intel-06-5e-03: model 'GenuineIntel 06-5e-03', path ' intel-ucode/06-5e-03', kvers '' Current CPU model 'GenuineIntel 06-3e-04' doesn't match configuration CPU model 'GenuineIntel 06-5e-03', skipping dracut: microcode_ctl: configuration "intel-06-5e-03" is ignored dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01"... intel-06-8c-01: model 'GenuineIntel 06-8c-01', path ' intel-ucode/06-8c-01', kvers '' Current CPU model 'GenuineIntel 06-3e-04' doesn't match configuration CPU model 'GenuineIntel 06-8c-01', skipping dracut: microcode_ctl: configuration "intel-06-8c-01" is ignored dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-0xca"... intel-06-8e-9e-0x-0xca: model '', path ' intel-ucode/*', kvers '' No matching microcode files in ' intel-ucode/*' for CPU model 'GenuineIntel 06-3e-04', skipping dracut: microcode_ctl: configuration "intel-06-8e-9e-0x-0xca" is ignored dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell"... intel-06-8e-9e-0x-dell: model '', path ' intel-ucode/*', kvers '' No matching microcode files in ' intel-ucode/*' for CPU model 'GenuineIntel 06-3e-04', skipping dracut: microcode_ctl: configuration "intel-06-8e-9e-0x-dell" is ignored dracut: microcode_ctl: final fw_dir: "/usr/share/microcode_ctl/ucode_with_caveats/intel /lib/firmware/updates /lib/firmware" dracut: *** Including module: shutdown *** dracut: *** Including modules done *** dracut: *** Installing kernel module dependencies *** dracut: *** Installing kernel module dependencies done *** dracut: *** Resolving executable dependencies *** dracut: *** Resolving executable dependencies done*** dracut: *** Hardlinking files *** dracut: *** Hardlinking files done *** dracut: *** Generating early-microcode cpio image *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Store current command line parameters *** dracut: *** Stripping files *** dracut: *** Stripping files done *** dracut: *** Creating image file '/boot/initramfs-4.18.0-408.el8.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-4.18.0-408.el8.x86_64.img' done *** PLAY RECAP ********************************************************************* sut : ok=62 changed=18 unreachable=0 failed=0 skipped=7 rescued=0 ignored=1 Tuesday 19 July 2022 16:00:54 +0000 (0:00:33.755) 0:01:32.008 ********** =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 33.76s linux-system-roles.nbde_client : Perform clevis operations -------------- 9.67s linux-system-roles.nbde_client : Check whether devices are at the desired state --- 5.89s linux-system-roles.nbde_client : Ensure required packages are installed --- 5.78s Verify we can unlock the device ----------------------------------------- 4.73s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 4.26s Install required packages for nbde_client tests ------------------------- 2.88s Verify the default passphrase works ------------------------------------- 2.32s linux-system-roles.nbde_client : Ensure required packages are installed --- 1.78s Create device for testing ----------------------------------------------- 1.36s Format test device as LUKS ---------------------------------------------- 1.29s linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.18s linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.01s linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.96s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.84s Gathering Facts --------------------------------------------------------- 0.83s linux-system-roles.nbde_client : Deploy network flushing service -------- 0.67s linux-system-roles.nbde_client : Deploy network flushing script --------- 0.67s linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.62s linux-system-roles.nbde_client : Deploy network flushing service -------- 0.61s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---