# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Tuesday 19 July 2022 16:09:10 +0000 (0:00:00.030) 0:00:00.030 ********** ok: [sut] TASK [Set up test environment] ************************************************* Tuesday 19 July 2022 16:09:11 +0000 (0:00:00.884) 0:00:00.915 ********** included: /WORKDIR/dist-git-nbde_client-master-PaRNfn/tests/tasks/setup_test.yml for sut TASK [Include general tests variables] ***************************************** Tuesday 19 July 2022 16:09:11 +0000 (0:00:00.062) 0:00:00.978 ********** 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 16:09:11 +0000 (0:00:00.028) 0:00:01.007 ********** 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 16:09:11 +0000 (0:00:00.062) 0:00:01.069 ********** ok: [sut] => { "ansible_facts": { "all_ipv4_addresses": [ "10.31.9.71" ], "all_ipv6_addresses": [ "fe80::f288:d1f:9f18:4b2d" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_version": "4.2.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": "1658246951", "hour": "16", "iso8601": "2022-07-19T16:09:11Z", "iso8601_basic": "20220719T160911025156", "iso8601_basic_short": "20220719T160911", "iso8601_micro": "2022-07-19T16:09:11.025156Z", "minute": "09", "month": "07", "second": "11", "time": "16:09:11", "tz": "UTC", "tz_offset": "+0000", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "29", "year": "2022" }, "default_ipv4": { "address": "10.31.9.71", "alias": "eth0", "broadcast": "10.31.11.255", "gateway": "10.31.8.1", "interface": "eth0", "macaddress": "12:c6:d6:e8:d3:75", "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.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.29.163.178 54988 22", "SSH_CONNECTION": "10.29.163.178 54988 10.31.9.71 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.31.9.71", "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:c6:d6:e8:d3:75", "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-9-71.ec2.internal", "gather_subset": [ "all" ], "hostname": "ip-10-31-9-71", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "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": 2872, "memory_mb": { "nocache": { "free": 3362, "used": 211 }, "real": { "free": 2872, "total": 3573, "used": 701 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3573, "module_setup": true, "mounts": [ { "block_available": 64481190, "block_size": 4096, "block_total": 65507323, "block_used": 1026133, "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": 264114954240, "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-9-71.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": "ec2ea3c2-9da9-eb0a-9b18-4045961cd0d2", "product_uuid": "ec2ea3c2-9da9-eb0a-9b18-4045961cd0d2", "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": "AAAAB3NzaC1kc3MAAACBANaaqt3hkY7JQFz56sIXBwhGTGVJ2um1L0j1AS3tRjO5iLZB+sA2Qdu5HmNOtGUG58++IdeBLhLWz1AwW5XRt9vsLUhoUp+rYIk954YULzLkc6R2TIfMdxOL6bSvHieu7QQhfKydIzQhnqhHlMJ0gi1zfINQy9UNMYGZ5SUswzUnAAAAFQCUOL2EXF2zfnBRvb4b8gjh6ovWUwAAAIEAkPa64FARCb5W/owL0kZxtSJZ30r5nxDOIJl8VO+2hHUvZLUUxUq4ejyVeAyiKfY86j44UccdfWzhEFC/ikTH+uqYgUHg88B6KkSm9Cj7vQ/ljeackYta0cmFibgZycD1tB1TdUL64SuLWsh7RqDtbd5Sei6htshF5sp4EIpKG4IAAACAHczo4HLsjFECXZ1uKHrCiALNGdO3wBnXhfZ4E/i9h4mWTmqz+9ugQ5bhfNjsvuP/sB4Luau3YQr7T8juHljvyqXc6yOQsmkultX6q1qoXSXX3e8VhB2T7hjEUQ9qZyrDdC3v3ngkMcCcMdNZsX9Nes1i7kh3Oh2TM+JBCKR7hbE=", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ09NpiQcm3d8lxq4llXiku3392vTQbr46hq7OyGSoXKFD0/O16rqh9th1nXsyuW7eZ8PjBYpnB5Falg9fbooQg=", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIAAbCc6DhkMgJ6sdSgNXKIo5TLBpZxKKkj5TIawo97lh", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDVoouXHZHfVXN0Zl/AMvdhj1qm5arekWs24gEToZj+6BcBzbtGWkSd8P7w8iRmbdaBeDTiHxYB5S7pgCU8ijSX9RGfP4qDYu/+bqBhZ33NB8YQyQMyZbpheESsN/2DHTaGbbhTA96mg3XbumHXu3u9nlTbWZLUNCBJ+7yYgJAL09GasqXEACDKhPbkztokpyUmkx35iuQ5DDd/kDKpMg1+lc6rS4zJ9DGuMuoTwbDc/ef8Mt7p4wbo451MYSANOZbOPDCV6ASbuR14TWpMu6/F6ZptyntswLOVd625X0ewIWYFamELkMPQtrh7Hf9ChdbrYsUJYKrUJwSWvBEKl0w31pGBPycWiwFWTK/Jg84W5TH3+7B0t1s+kykdphLoYXUH1UwmBfIsS1Sn3m05IR5rYL2mrviLtYg4hEHG7LrGK5tXcgU7g0NXDh+fbq0DIfdcGEpBUniQnvG4cJt267teReaCSRRNjs8NapzedQUzbYfADV2bum6XDkgHYZd5j+s=", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 453, "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 16:09:11 +0000 (0:00:00.113) 0:00:01.183 ********** 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 16:09:14 +0000 (0:00:03.030) 0:00:04.213 ********** ok: [sut -> localhost] => { "after": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "before": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** Tuesday 19 July 2022 16:09:15 +0000 (0:00:00.677) 0:00:04.891 ********** TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** Tuesday 19 July 2022 16:09:15 +0000 (0:00:00.093) 0:00:04.984 ********** 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 16:09:15 +0000 (0:00:00.078) 0:00:05.063 ********** ok: [sut] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** Tuesday 19 July 2022 16:09:15 +0000 (0:00:00.416) 0:00:05.479 ********** 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 16:09:15 +0000 (0:00:00.059) 0:00:05.539 ********** 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 16:09:15 +0000 (0:00:00.061) 0:00:05.600 ********** 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 16:09:20 +0000 (0:00:04.794) 0:00:10.394 ********** 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 16:09:20 +0000 (0:00:00.035) 0:00:10.429 ********** 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 16:09:21 +0000 (0:00:00.433) 0:00:10.863 ********** 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 16:09:21 +0000 (0:00:00.035) 0:00:10.898 ********** 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 16:09:22 +0000 (0:00:00.948) 0:00:11.846 ********** ok: [sut] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:01.007246", "end": "2022-07-19 16:09:23.541867", "rc": 0, "start": "2022-07-19 16:09:22.534621" } TASK [Format test device as LUKS] ********************************************** Tuesday 19 July 2022 16:09:23 +0000 (0:00:01.380) 0:00:13.226 ********** 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.411444", "end": "2022-07-19 16:09:25.203477", "rc": 0, "start": "2022-07-19 16:09:23.792033" } TASK [Create key file for test device] ***************************************** Tuesday 19 July 2022 16:09:25 +0000 (0:00:01.668) 0:00:14.895 ********** ok: [sut -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.004915", "end": "2022-07-19 16:09:25.446192", "rc": 0, "start": "2022-07-19 16:09:25.441277" } TASK [Use nbde_client role] **************************************************** Tuesday 19 July 2022 16:09:25 +0000 (0:00:00.237) 0:00:15.132 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* Tuesday 19 July 2022 16:09:25 +0000 (0:00:00.049) 0:00:15.181 ********** 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:09:25 +0000 (0:00:00.078) 0:00:15.260 ********** ok: [sut] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** Tuesday 19 July 2022 16:09:26 +0000 (0:00:00.423) 0:00:15.684 ********** 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:09:26 +0000 (0:00:00.052) 0:00:15.737 ********** 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:09:26 +0000 (0:00:00.057) 0:00:15.794 ********** 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 16:09:32 +0000 (0:00:06.357) 0:00:22.152 ********** 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": "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", "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 16:09:33 +0000 (0:00:00.742) 0:00:22.894 ********** 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-1658246973.3059647-8101-67646742092195/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** Tuesday 19 July 2022 16:09:34 +0000 (0:00:00.997) 0:00:23.891 ********** 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 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** Tuesday 19 July 2022 16:09:34 +0000 (0:00:00.608) 0:00:24.500 ********** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.wdseu0cvnbde_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 16:09:35 +0000 (0:00:00.389) 0:00:24.890 ********** changed: [sut] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": true, "checksum": "ddcbbd80371add8b55e5288b1278a7ead06c422e", "dest": "/tmp/ansible.wdseu0cvnbde_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-1658246975.3255699-8117-125994346730228/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** Tuesday 19 July 2022 16:09:35 +0000 (0:00:00.745) 0:00:25.636 ********** changed: [sut] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_key": "/tmp/ansible.wdseu0cvnbde_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 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** Tuesday 19 July 2022 16:09:42 +0000 (0:00:06.686) 0:00:32.323 ********** changed: [sut] => { "changed": true, "path": "/tmp/ansible.wdseu0cvnbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* Tuesday 19 July 2022 16:09:43 +0000 (0:00:00.411) 0:00:32.734 ********** 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-1658246983.1486795-8157-66426056603937/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** Tuesday 19 July 2022 16:09:43 +0000 (0:00:00.730) 0:00:33.465 ********** 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-1658246983.8803933-8167-37755942669792/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** Tuesday 19 July 2022 16:09:44 +0000 (0:00:00.727) 0:00:34.192 ********** 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 16:09:45 +0000 (0:00:01.292) 0:00:35.485 ********** ok: [sut] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.146574", "end": "2022-07-19 16:09:46.359126", "rc": 0, "start": "2022-07-19 16:09:46.212552" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** Tuesday 19 July 2022 16:09:46 +0000 (0:00:00.564) 0:00:36.050 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** Tuesday 19 July 2022 16:09:46 +0000 (0:00:00.601) 0:00:36.651 ********** 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": "system.slice sysinit.target", "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 16:09:47 +0000 (0:00:00.660) 0:00:37.312 ********** 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 16:09:47 +0000 (0:00:00.043) 0:00:37.355 ********** ok: [sut] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:04.729646", "end": "2022-07-19 16:09:52.651014", "rc": 0, "start": "2022-07-19 16:09:47.921368" } TASK [Close unlocked device] *************************************************** Tuesday 19 July 2022 16:09:52 +0000 (0:00:04.987) 0:00:42.343 ********** ok: [sut] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.033553", "end": "2022-07-19 16:09:52.938359", "rc": 0, "start": "2022-07-19 16:09:52.904806" } TASK [Make sure the attempt to unlock succeeded] ******************************* Tuesday 19 July 2022 16:09:52 +0000 (0:00:00.278) 0:00:42.622 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** Tuesday 19 July 2022 16:09:53 +0000 (0:00:00.040) 0:00:42.663 ********** 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:09:53 +0000 (0:00:00.043) 0:00:42.706 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* Tuesday 19 July 2022 16:09:53 +0000 (0:00:00.041) 0:00:42.748 ********** 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:09:53 +0000 (0:00:00.042) 0:00:42.790 ********** ok: [sut] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** Tuesday 19 July 2022 16:09:53 +0000 (0:00:00.411) 0:00:43.201 ********** 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:09:53 +0000 (0:00:00.055) 0:00:43.257 ********** 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:09:53 +0000 (0:00:00.057) 0:00:43.315 ********** 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:09:55 +0000 (0:00:01.845) 0:00:45.160 ********** 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-07-19 16:09:46 UTC", "StateChangeTimestampMonotonic": "489030991", "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:09:55 +0000 (0:00:00.402) 0:00:45.563 ********** 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:09:56 +0000 (0:00:00.642) 0:00:46.205 ********** 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": [ "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:09:59 +0000 (0:00:02.747) 0:00:48.953 ********** 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:09:59 +0000 (0:00:00.037) 0:00:48.991 ********** 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", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** Tuesday 19 July 2022 16:09:59 +0000 (0:00:00.050) 0:00:49.042 ********** 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:09:59 +0000 (0:00:00.045) 0:00:49.088 ********** 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:09:59 +0000 (0:00:00.038) 0:00:49.127 ********** 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:10:00 +0000 (0:00:00.631) 0:00:49.758 ********** 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:10:00 +0000 (0:00:00.646) 0:00:50.405 ********** 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:10:01 +0000 (0:00:01.121) 0:00:51.527 ********** ok: [sut] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.075880", "end": "2022-07-19 16:10:02.210781", "rc": 0, "start": "2022-07-19 16:10:02.134901" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** Tuesday 19 July 2022 16:10:02 +0000 (0:00:00.378) 0:00:51.906 ********** ok: [sut] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** Tuesday 19 July 2022 16:10:02 +0000 (0:00:00.622) 0:00:52.528 ********** ok: [sut] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target systemd-journald.socket basic.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": "enabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Verify idempotency of clevis operations] ********************************* Tuesday 19 July 2022 16:10:03 +0000 (0:00:00.417) 0:00:52.945 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** Tuesday 19 July 2022 16:10:03 +0000 (0:00:00.043) 0:00:52.989 ********** 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:10:03 +0000 (0:00:00.049) 0:00:53.038 ********** changed: [sut] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* Tuesday 19 July 2022 16:10:03 +0000 (0:00:00.266) 0:00:53.305 ********** 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:10:03 +0000 (0:00:00.244) 0:00:53.549 ********** 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:10:04 +0000 (0:00:00.252) 0:00:53.801 ********** changed: [sut] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:35.615363", "end": "2022-07-19 16:10:40.006387", "rc": 0, "start": "2022-07-19 16:10:04.391024" } 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=60 changed=19 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Tuesday 19 July 2022 16:10:40 +0000 (0:00:35.881) 0:01:29.683 ********** =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 35.88s linux-system-roles.nbde_client : Perform clevis operations -------------- 6.69s linux-system-roles.nbde_client : Ensure required packages are installed --- 6.36s Verify we can unlock the device ----------------------------------------- 4.99s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 4.79s Install required packages for nbde_client tests ------------------------- 3.03s linux-system-roles.nbde_client : Check whether devices are at the desired state --- 2.75s linux-system-roles.nbde_client : Ensure required packages are installed --- 1.85s Format test device as LUKS ---------------------------------------------- 1.67s Create device for testing ----------------------------------------------- 1.38s linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.29s linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.12s linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 1.00s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.95s Gathering Facts --------------------------------------------------------- 0.89s linux-system-roles.nbde_client : Ensure we transfer key files ----------- 0.75s linux-system-roles.nbde_client : Enable clevis askpass unit ------------- 0.74s linux-system-roles.nbde_client : Deploy network flushing script --------- 0.73s linux-system-roles.nbde_client : Deploy network flushing service -------- 0.73s Clone nbde_server role for the tests ------------------------------------ 0.68s ---^---^---^---^---^--- # 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 ---^---^---^---^---^---