# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [sut] TASK [Set up test environment] ************************************************* included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/tasks/setup_test.yml for sut TASK [Include general tests variables] ***************************************** 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-GqtFvs/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** ok: [sut] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/vars/RedHat_8.yml" ], "changed": false } TASK [Print all available facts] *********************************************** ok: [sut] => { "ansible_facts": { "all_ipv4_addresses": [ "10.29.162.59" ], "all_ipv6_addresses": [ "fe80::1065:7ff:fedd:dabd" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_version": "4.2.amazon", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-348.el8.x86_64", "console": "ttyS0,115200", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=571b0072-1776-4234-8e47-7b898f4cba21" }, "date_time": { "date": "2022-05-17", "day": "17", "epoch": "1652798866", "hour": "14", "iso8601": "2022-05-17T14:47:46Z", "iso8601_basic": "20220517T144746136114", "iso8601_basic_short": "20220517T144746", "iso8601_micro": "2022-05-17T14:47:46.136114Z", "minute": "47", "month": "05", "second": "46", "time": "14:47:46", "tz": "UTC", "tz_offset": "+0000", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "20", "year": "2022" }, "default_ipv4": { "address": "10.29.162.59", "alias": "eth0", "broadcast": "10.29.162.127", "gateway": "10.29.162.1", "interface": "eth0", "macaddress": "12:65:07:dd:da:bd", "mtu": 9001, "netmask": "255.255.255.128", "network": "10.29.162.0", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda1": [ "571b0072-1776-4234-8e47-7b898f4cba21" ] } }, "devices": { "xvda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "xvda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "571b0072-1776-4234-8e47-7b898f4cba21" ] }, "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "start": "2048", "uuid": "571b0072-1776-4234-8e47-7b898f4cba21" } }, "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.5", "dns": { "nameservers": [ "10.29.162.2" ], "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", "HOME": "/root", "LANG": "C.utf8", "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.0.12.143 34220 22", "SSH_CONNECTION": "10.0.12.143 34220 10.29.162.59 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": "off [requested 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": "off [requested 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.29.162.59", "broadcast": "10.29.162.127", "netmask": "255.255.255.128", "network": "10.29.162.0" }, "ipv6": [ { "address": "fe80::1065:7ff:fedd:dabd", "prefix": "64", "scope": "link" } ], "macaddress": "12:65:07:dd:da:bd", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "timestamping": [], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "ip-10-29-162-59.us-east-1.aws.redhat.com", "gather_subset": [ "all" ], "hostname": "ip-10-29-162-59", "hostnqn": "", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "4.18.0-348.el8.x86_64", "kernel_version": "#1 SMP Mon Oct 4 12:17:22 EDT 2021", "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": "c4fd7260414a4e418ca92c171d184f6f", "memfree_mb": 2868, "memory_mb": { "nocache": { "free": 3356, "used": 222 }, "real": { "free": 2868, "total": 3578, "used": 710 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3578, "module_setup": true, "mounts": [ { "block_available": 64460381, "block_size": 4096, "block_total": 65533179, "block_used": 1072798, "device": "/dev/xvda1", "fstype": "xfs", "inode_available": 131000501, "inode_total": 131071472, "inode_used": 70971, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 264029720576, "size_total": 268423901184, "uuid": "571b0072-1776-4234-8e47-7b898f4cba21" } ], "nodename": "ip-10-29-162-59.us-east-1.aws.redhat.com", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-348.el8.x86_64", "console": [ "tty0", "ttyS0,115200" ], "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=571b0072-1776-4234-8e47-7b898f4cba21" }, "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": "ec22b9e2-5d22-f023-bfc0-11da4b663cad", "product_uuid": "ec22b9e2-5d22-f023-bfc0-11da4b663cad", "product_version": "4.2.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": "AAAAB3NzaC1kc3MAAACBAJ3T7GSGzWijTb9iqyW3u33HrwsIhqZTHFWhpaCzNj+yJ4LwuRqcKorJFfZGOqkm4Ex9WXSFq7UIUX81i/07bYOdqQBMuazj5j0xytYSwjdE9SptJZECva9D0gLI7BOLZ7Yov99a1Rphw6z3Gz5jF/ZZKW1CsD7tEZGUQct2RjxTAAAAFQDGN9NYbLvSu2kqdAYAhuSvG8qQyQAAAIBsVMJFyuD/YODHkGAaA6ZqTdCG5zR/0RezpHgehWMFLD+1+LyJl44NEOavVsH3OixPoTANY1zuwNea7hWjVeih0JWlMJwCmTyuVPvnDmYQAotR4ieqMOXDQI0p/ObSVLZMubwt0RduNf6q1rJx/t6atvlxrxRCZC42sGEzYDUllgAAAIBDrzwCnQsFVqVzIbDQj5wvClz+wwD2KANg3Qkd7Z9DmNZTbL6vPcnrBHt3k3wadMDktQa5+ptj2spRLzId85GKn3jGWpSFWpYS1+L2bqNXvLug/QTs4XKUUKnYFgYpMnM6BHY1ymANGvsIblFPOw/C+s/p575V8SWzljREcIVJZA==", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBM/QGipO9HXUVp8WBcPVml9jqvujtt4GFyVDFiSafIm0mbwFlNkiQJ/OTXHj7mf/2KEVGm7ZQUcLXeGT+nhhGHc=", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIDaJNt7Qh3CXInt8nCf6SBCMRRaeG+w7lY7NgGkTPsSm", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCpfDFCwZqQ6mkViCl4DeVoZAHpFk9rGGdaeUvesgNMvG1F/Rgz8xjA1IabRvqFqyivc1QqjhRT4KMYoLeXtZT5oha6Yzz/NnpnVxVycPiMEycMuJA6kWQiBPmQGFZ6/TR9vhWXJfXftn7AXPKXu6sc3qs7kVsgCTMj0XX8N/jYx5jWZrN32Aap7rcHZCfu80vHnkDFC33QW17JMu8eIe+rFjDMzI7ti41t1XD8t6zsb5c2eXTWfR4FBCN0posKbcbOifcxRw+UtglaENkSlNl9osqvIKrR/hgH4VLKKKHtkgg3KtWfXDNivlq9jibpLYQ9bIesT+Jzxku4dxfiROI00YgKTBM/gpyRSqW9+Z9D6LXmfcfWYQDG5RfWOOfxsUjravOleiEGk16JT17x1GdoG/H0sGWz+r0Zh+5/9WnD/BgzWZ6/LjqP5D5ULEDAZIVr15Qa367ph7K6YjHxAbDSAcR3Hob+udcIlDGRSH65e4X3LfO2tpp6zPRx7klAWks=", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [ "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", "cap_checkpoint_restore+ep" ], "system_capabilities_enforced": "True", "system_vendor": "Xen", "uptime_seconds": 361, "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] ************************* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-2.3.3-4.el8.x86_64" ] } TASK [Clone nbde_server role for the tests] ************************************ ok: [sut -> localhost] => { "after": "158931d658cf73167b3c883e89def8a1ebdb8d18", "before": "158931d658cf73167b3c883e89def8a1ebdb8d18", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** 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] *** ok: [sut] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** 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] *** 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] *** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: http-parser-2.8.0-9.el8.x86_64", "Installed: jose-10-2.el8.x86_64", "Installed: tang-7-6.el8.x86_64", "Installed: libjose-10-2.el8.x86_64" ] } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** 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] *** 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] *** 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] *** 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": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "shutdown.target sockets.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": "14166", "LimitNPROCSoft": "14166", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14166", "LimitSIGPENDINGSoft": "14166", "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": "sysinit.target system.slice", "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": "22665", "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] *********************************************** ok: [sut] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.005493", "end": "2022-05-17 14:47:57.826081", "rc": 0, "start": "2022-05-17 14:47:57.820588" } TASK [Format test device as LUKS] ********************************************** 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.333874", "end": "2022-05-17 14:47:59.410389", "rc": 0, "start": "2022-05-17 14:47:58.076515" } TASK [Create key file for test device] ***************************************** ok: [sut -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.012712", "end": "2022-05-17 14:48:00.117709", "rc": 0, "start": "2022-05-17 14:48:00.104997" } TASK [Use nbde_client role] **************************************************** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/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] ****** ok: [sut] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** 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-GqtFvs/tests/roles/linux-system-roles.nbde_client/vars/RedHat_8.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for sut TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: luksmeta-9-4.el8.x86_64", "Installed: tpm2-tools-4.1.1-5.el8.x86_64", "Installed: clevis-15-1.el8.x86_64", "Installed: clevis-dracut-15-1.el8.x86_64", "Installed: clevis-luks-15-1.el8.x86_64", "Installed: clevis-systemd-15-1.el8.x86_64", "Installed: nmap-ncat-2:7.70-6.el8.x86_64", "Installed: jq-1.5-12.el8.x86_64", "Installed: oniguruma-6.8.2-2.el8.x86_64", "Installed: libluksmeta-9-4.el8.x86_64" ] } TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* 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] ***** 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-1652798887.804002-11865-244436279148912/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** changed: [sut] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": false, "servers": [], "slot": 1, "state": "absent", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.f5e_ip19nbde_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] *********** changed: [sut] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": true, "checksum": "ddcbbd80371add8b55e5288b1278a7ead06c422e", "dest": "/tmp/ansible.f5e_ip19nbde_client_encryption_keys/.nbde_client_dev_encryption_key", "gid": 0, "group": "root", "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "servers": [ "http://localhost" ] }, "md5sum": "7e9df3be3334c1e2e9aa64d831cdb03d", "mode": "0400", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 18, "src": "/root/.ansible/tmp/ansible-tmp-1652798890.0056891-11890-263664854615997/source", "state": "file", "uid": 0 } ok: [sut] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": false, "checksum": "ddcbbd80371add8b55e5288b1278a7ead06c422e", "dest": "/tmp/ansible.f5e_ip19nbde_client_encryption_keys/.nbde_client_dev_encryption_key", "gid": 0, "group": "root", "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" }, "mode": "0400", "owner": "root", "path": "/tmp/ansible.f5e_ip19nbde_client_encryption_keys/.nbde_client_dev_encryption_key", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 18, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** changed: [sut] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_key": "/tmp/ansible.f5e_ip19nbde_client_encryption_keys/.nbde_client_dev_encryption_key", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "encryption_key": "/tmp/ansible.f5e_ip19nbde_client_encryption_keys/.nbde_client_dev_encryption_key", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": false, "servers": [], "slot": 1, "state": "absent", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** changed: [sut] => { "changed": true, "path": "/tmp/ansible.f5e_ip19nbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* 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-1652798898.6932037-11935-158242568167845/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** 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-1652798899.4989274-11945-347979826654/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** changed: [sut] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** ok: [sut] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.087135", "end": "2022-05-17 14:48:21.833081", "rc": 0, "start": "2022-05-17 14:48:21.745946" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** changed: [sut] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice basic.target 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": "14166", "LimitNPROCSoft": "14166", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14166", "LimitSIGPENDINGSoft": "14166", "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": "22665", "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] ************************************************ included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/tasks/verify_unlock_device.yml for sut TASK [Verify we can unlock the device] ***************************************** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:00.076226", "end": "2022-05-17 14:48:23.410584", "rc": 1, "start": "2022-05-17 14:48:23.334358" } STDERR: /tmp/.nbde_client_dev_test could not be opened. MSG: non-zero return code ...ignoring TASK [Close unlocked device] *************************************************** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.012532", "end": "2022-05-17 14:48:23.665199", "rc": 4, "start": "2022-05-17 14:48:23.652667" } STDERR: Device nbde_client_unlocked is not active. MSG: non-zero return code ...ignoring TASK [Make sure the attempt to unlock failed] ********************************** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency when trying to only unbind] *************************** included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/tasks/verify_idempotency.yml for sut TASK [Use nbde_client role - idempotency check] ******************************** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/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] ****** ok: [sut] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** 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-GqtFvs/tests/roles/linux-system-roles.nbde_client/vars/RedHat_8.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for sut TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* 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": "cryptsetup-pre.target clevis-luks-askpass.service", "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-05-17 14:48:22 UTC", "StateChangeTimestampMonotonic": "397689584", "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] ***** 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] *** ok: [sut] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": false, "servers": [], "slot": 1, "state": "absent", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** skipping: [sut] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* 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] ******** 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] *** ok: [sut] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** ok: [sut] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.044288", "end": "2022-05-17 14:48:30.534523", "rc": 0, "start": "2022-05-17 14:48:30.490235" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** ok: [sut] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target basic.target 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": "14166", "LimitNPROCSoft": "14166", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14166", "LimitSIGPENDINGSoft": "14166", "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": "22665", "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] ********************************* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/tasks/cleanup_test.yml for sut TASK [Clean up dummy testing device] ******************************************* changed: [sut] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* changed: [sut -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* ok: [sut] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [linux-system-roles.nbde_client : nbde_client update initramfs] *** changed: [sut] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:28.739412", "end": "2022-05-17 14:49:01.367969", "rc": 0, "start": "2022-05-17 14:48:32.628557" } STDERR: dracut: Executing: /usr/bin/dracut --kver=4.18.0-348.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-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-348.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-348.el8.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-4.18.0-348.el8.x86_64.img' done *** PLAY RECAP ********************************************************************* sut : ok=60 changed=19 unreachable=0 failed=0 skipped=6 rescued=0 ignored=2 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---