ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpb1gpv9bl executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Tuesday 19 July 2022 20:03:06 +0000 (0:00:00.019) 0:00:00.019 ********** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.264877", "end": "2022-07-19 20:03:05.916785", "rc": 0, "start": "2022-07-19 20:03:05.651908" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 19 July 2022 20:03:07 +0000 (0:00:00.854) 0:00:00.873 ********** =============================================================================== Enable HA repos --------------------------------------------------------- 0.85s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_passphrase_temporary.yml *************************************** 1 plays in /tmp/tmp_on0bpeh/tests/tests_passphrase_temporary.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_on0bpeh/tests/tests_passphrase_temporary.yml:2 Tuesday 19 July 2022 20:03:07 +0000 (0:00:00.012) 0:00:00.885 ********** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp_on0bpeh/tests/tests_passphrase_temporary.yml:16 Tuesday 19 July 2022 20:03:08 +0000 (0:00:01.048) 0:00:01.934 ********** included: /tmp/tmp_on0bpeh/tests/tasks/setup_test.yml for /cache/centos-8.qcow2 TASK [Include general tests variables] ***************************************** task path: /tmp/tmp_on0bpeh/tests/tasks/setup_test.yml:2 Tuesday 19 July 2022 20:03:08 +0000 (0:00:00.045) 0:00:01.979 ********** ok: [/cache/centos-8.qcow2] => { "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": [ "/tmp/tmp_on0bpeh/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp_on0bpeh/tests/tasks/setup_test.yml:5 Tuesday 19 July 2022 20:03:08 +0000 (0:00:00.028) 0:00:02.008 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp_on0bpeh/tests/vars/CentOS_8.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp_on0bpeh/tests/tasks/setup_test.yml:20 Tuesday 19 July 2022 20:03:08 +0000 (0:00:00.037) 0:00:02.045 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-358.el8.x86_64", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=395b9844-e404-4857-afbb-c6edccaf72f3" }, "date_time": { "date": "2022-07-19", "day": "19", "epoch": "1658260986", "epoch_int": "1658260986", "hour": "20", "iso8601": "2022-07-19T20:03:06Z", "iso8601_basic": "20220719T200306679736", "iso8601_basic_short": "20220719T200306", "iso8601_micro": "2022-07-19T20:03:06.679736Z", "minute": "03", "month": "07", "second": "06", "time": "20:03:06", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "29", "year": "2022" }, "default_ipv4": { "address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether" }, "default_ipv6": { "address": "fec0::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "site", "type": "ether" }, "device_links": { "ids": { "sr0": [ "ata-QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ] }, "masters": {}, "uuids": { "sr0": [ "2022-07-19-19-58-46-00" ], "vda1": [ "395b9844-e404-4857-afbb-c6edccaf72f3" ] } }, "devices": { "loop0": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": {}, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "support_discard": "4096", "vendor": null, "virtual": 1 }, "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-07-19-19-58-46-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1 }, "vda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "395b9844-e404-4857-afbb-c6edccaf72f3" ] }, "sectors": "20969439", "sectorsize": 512, "size": "10.00 GB", "start": "2048", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "20971520", "sectorsize": "512", "size": "10.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/libexec/platform-python", "distribution": "CentOS", "distribution_file_parsed": true, "distribution_file_path": "/etc/centos-release", "distribution_file_variety": "CentOS", "distribution_major_version": "8", "distribution_release": "Stream", "distribution_version": "8", "dns": { "nameservers": [ "10.0.2.3" ], "search": [ "virt.pnr.lab.eng.rdu2.redhat.com" ] }, "domain": "virt.pnr.lab.eng.rdu2.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": "en_US.UTF-8", "LC_CTYPE": "C.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "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.2.2 50132 22", "SSH_CONNECTION": "10.0.2.2 50132 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "1", "_": "/usr/libexec/platform-python", "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": "off [requested on]", "highdma": "on [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": "off [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": "on [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "off", "tcp_segmentation_offload": "off", "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": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "tx_checksumming": "off", "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": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_nocache_copy": "off", "tx_scatter_gather": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_tcp6_segmentation": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off [fixed]", "tx_tcp_segmentation": "off [fixed]", "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.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0" }, "ipv6": [ { "address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site" }, { "address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link" } ], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "timestamping": [], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com", "gather_subset": [ "all" ], "hostname": "ibm-p8-kvm-03-guest-02", "hostnqn": "", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "4.18.0-358.el8.x86_64", "kernel_version": "#1 SMP Mon Jan 10 13:11:20 UTC 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": "998b96b6572c4695abe40d4249b41c08", "memfree_mb": 1041, "memory_mb": { "nocache": { "free": 1598, "used": 214 }, "real": { "free": 1041, "total": 1812, "used": 771 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1812, "module_setup": true, "mounts": [ { "block_available": 2220236, "block_size": 4096, "block_total": 2618619, "block_used": 398383, "device": "/dev/vda1", "fstype": "xfs", "inode_available": 5205926, "inode_total": 5242352, "inode_used": 36426, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 9094086656, "size_total": 10725863424, "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" } ], "nodename": "ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-358.el8.x86_64", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=395b9844-e404-4857-afbb-c6edccaf72f3" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "2", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "3", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz" ], "processor_cores": 1, "processor_count": 4, "processor_nproc": 4, "processor_threads_per_core": 1, "processor_vcpus": 4, "product_name": "Standard PC (i440FX + PIIX, 1996)", "product_serial": "NA", "product_uuid": "NA", "product_version": "pc-i440fx-5.2", "python": { "executable": "/usr/libexec/platform-python", "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_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBMBdVct7f3/GxsFBwZEPx9P+jDuAnwlmps06kO/qpRJ4V09lIaQd2sWarIvikBnk/y7R49u9iOV6liYJ8AWbpKQ=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIJ1ltpd2wvXCSBMKdojmnNBS1IqaZSp5I2s7ZadH3IwF", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC+p+G+dWTULnmEDHPyBpA7fNIL1fm/FM8oaCneoQqhj5BUA5Re74Wo6UXdjuQuX4QtIPf0HEge46aN9wjKvE9vqVmWsoJUbEsixXRIzh77+YTtbhzzDHIyt0i6wZnQI9v5bTTmyAenBga8lt5N0YUTEq3nEyYUlskXELPy1s+d3FJirNCf1ydvbTzVuhFUBefnf8804I328Tj+JCqYGCkddLCLw1VeERIJ8+IBl8AhRHykH/CSXTXOtVddR/NM/SBaZ1vHUrp/52skgc3uwnAtB33XAEgnpIyB7yzj8j27KUhmVdn4q93n9y9FloW6AurBojs1TMGAhUJVS7WrsLkOZ2whYEyc1sxzxo+M71Iq9XABXPAb/3Z2W+dDBy+yT4CSjfXHMCErxhfrnjwEh7ahkR72jqpKCn1B//MdZTUACRG2yC0AghIR1jMmzK9MMO6cxmmX5F2lK0V2DYxKgHCngHFdlhwhVtfChMGfHGtOBPW3z0Q6xsqIU3riFtqVdyU=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "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": "QEMU", "uptime_seconds": 257, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "kvm" ], "virtualization_tech_host": [], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmp_on0bpeh/tests/tasks/setup_test.yml:24 Tuesday 19 July 2022 20:03:08 +0000 (0:00:00.042) 0:00:02.087 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp_on0bpeh/tests/tasks/setup_test.yml:28 Tuesday 19 July 2022 20:03:12 +0000 (0:00:04.547) 0:00:06.634 ********** ok: [/cache/centos-8.qcow2 -> localhost] => { "after": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "before": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp_on0bpeh/tests/tasks/setup_test.yml:35 Tuesday 19 July 2022 20:03:13 +0000 (0:00:00.562) 0:00:07.197 ********** TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Tuesday 19 July 2022 20:03:13 +0000 (0:00:00.032) 0:00:07.229 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:03:13 +0000 (0:00:00.026) 0:00:07.255 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Tuesday 19 July 2022 20:03:14 +0000 (0:00:00.596) 0:00:07.852 ********** ok: [/cache/centos-8.qcow2] => { "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] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Tuesday 19 July 2022 20:03:14 +0000 (0:00:00.048) 0:00:07.900 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/centos-8.qcow2 TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Tuesday 19 July 2022 20:03:14 +0000 (0:00:00.029) 0:00:07.930 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Tuesday 19 July 2022 20:03:16 +0000 (0:00:01.886) 0:00:09.816 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Tuesday 19 July 2022 20:03:16 +0000 (0:00:00.036) 0:00:09.853 ********** ok: [/cache/centos-8.qcow2] => { "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": false, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Tuesday 19 July 2022 20:03:16 +0000 (0:00:00.509) 0:00:10.363 ********** skipping: [/cache/centos-8.qcow2] => { "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] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Tuesday 19 July 2022 20:03:16 +0000 (0:00:00.033) 0:00:10.396 ********** ok: [/cache/centos-8.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Tue 2022-07-19 19:59:32 UTC", "ActiveEnterTimestampMonotonic": "43607256", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-19 19:59:32 UTC", "AssertTimestampMonotonic": "43605547", "Backlog": "128", "Before": "shutdown.target multi-user.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": "yes", "ConditionTimestamp": "Tue 2022-07-19 19:59:32 UTC", "ConditionTimestampMonotonic": "43605547", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "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", "InactiveExitTimestamp": "Tue 2022-07-19 19:59:32 UTC", "InactiveExitTimestampMonotonic": "43607256", "InvocationID": "79c07a9b6ee54cd6b42d3facb296c1cd", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "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": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "25", "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]", "StateChangeTimestamp": "Tue 2022-07-19 19:59:32 UTC", "StateChangeTimestampMonotonic": "43607256", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "11149", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Writable": "no" } } META: role_complete for /cache/centos-8.qcow2 TASK [Create device for testing] *********************************************** task path: /tmp/tmp_on0bpeh/tests/tasks/setup_test.yml:39 Tuesday 19 July 2022 20:03:17 +0000 (0:00:00.790) 0:00:11.187 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.003673", "end": "2022-07-19 20:03:16.620036", "rc": 0, "start": "2022-07-19 20:03:16.616363" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp_on0bpeh/tests/tasks/setup_test.yml:43 Tuesday 19 July 2022 20:03:17 +0000 (0:00:00.377) 0:00:11.564 ********** ok: [/cache/centos-8.qcow2] => { "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:00.178275", "end": "2022-07-19 20:03:17.177139", "rc": 0, "start": "2022-07-19 20:03:16.998864" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp_on0bpeh/tests/tasks/setup_test.yml:51 Tuesday 19 July 2022 20:03:18 +0000 (0:00:00.564) 0:00:12.129 ********** ok: [/cache/centos-8.qcow2 -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.003752", "end": "2022-07-19 20:03:18.491958", "rc": 0, "start": "2022-07-19 20:03:18.488206" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmp_on0bpeh/tests/tests_passphrase_temporary.yml:21 Tuesday 19 July 2022 20:03:18 +0000 (0:00:00.201) 0:00:12.330 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:03:18 +0000 (0:00:00.029) 0:00:12.360 ********** included: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:03:18 +0000 (0:00:00.026) 0:00:12.386 ********** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Tuesday 19 July 2022 20:03:19 +0000 (0:00:00.572) 0:00:12.959 ********** ok: [/cache/centos-8.qcow2] => { "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": [ "/tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/vars/CentOS_8.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:03:19 +0000 (0:00:00.039) 0:00:12.998 ********** included: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:03:19 +0000 (0:00:00.034) 0:00:13.033 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:03:21 +0000 (0:00:01.821) 0:00:14.854 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "man:clevis-luks-unlockers(7)", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Tue 2022-07-19 19:59:57 UTC", "StateChangeTimestampMonotonic": "67855393", "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] ***** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:03:21 +0000 (0:00:00.511) 0:00:15.366 ********** ok: [/cache/centos-8.qcow2] => { "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] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:03:22 +0000 (0:00:00.876) 0:00:16.243 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:03:23 +0000 (0:00:00.754) 0:00:16.997 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.8ggfzpe4nbde_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] *********** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:03:23 +0000 (0:00:00.502) 0:00:17.499 ********** skipping: [/cache/centos-8.qcow2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:03:23 +0000 (0:00:00.053) 0:00:17.553 ********** NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:03:37 +0000 (0:00:13.308) 0:00:30.862 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "path": "/tmp/ansible.8ggfzpe4nbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:03:37 +0000 (0:00:00.386) 0:00:31.249 ********** ok: [/cache/centos-8.qcow2] => { "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] ******** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:03:38 +0000 (0:00:00.637) 0:00:31.886 ********** ok: [/cache/centos-8.qcow2] => { "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] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:03:38 +0000 (0:00:00.649) 0:00:32.536 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:03:39 +0000 (0:00:01.116) 0:00:33.653 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.089033", "end": "2022-07-19 20:03:39.158394", "rc": 0, "start": "2022-07-19 20:03:39.069361" } STDERR: /usr/bin/nbde_client-network-flush: line 24: [: 0 0: integer expression expected Setting autoconnect-priority of connection ens3 to zero /usr/bin/nbde_client-network-flush: line 24: [: 0 0: integer expression expected Setting autoconnect-priority of connection ens3 to zero TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:03:40 +0000 (0:00:00.459) 0:00:34.112 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:03:40 +0000 (0:00:00.643) 0:00:34.756 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target systemd-journald.socket system.slice", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "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": "11149", "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" } } META: role_complete for /cache/centos-8.qcow2 TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmp_on0bpeh/tests/tests_passphrase_temporary.yml:25 Tuesday 19 July 2022 20:03:41 +0000 (0:00:00.510) 0:00:35.266 ********** included: /tmp/tmp_on0bpeh/tests/tasks/verify_unlock_device.yml for /cache/centos-8.qcow2 TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmp_on0bpeh/tests/tasks/verify_unlock_device.yml:2 Tuesday 19 July 2022 20:03:41 +0000 (0:00:00.025) 0:00:35.291 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:04.165986", "end": "2022-07-19 20:03:44.878311", "rc": 0, "start": "2022-07-19 20:03:40.712325" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmp_on0bpeh/tests/tasks/verify_unlock_device.yml:10 Tuesday 19 July 2022 20:03:46 +0000 (0:00:04.537) 0:00:39.829 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.067219", "end": "2022-07-19 20:03:45.312892", "rc": 0, "start": "2022-07-19 20:03:45.245673" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmp_on0bpeh/tests/tests_passphrase_temporary.yml:28 Tuesday 19 July 2022 20:03:46 +0000 (0:00:00.429) 0:00:40.259 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Attempt to check whether default passphrase works] *********************** task path: /tmp/tmp_on0bpeh/tests/tests_passphrase_temporary.yml:34 Tuesday 19 July 2022 20:03:46 +0000 (0:00:00.030) 0:00:40.290 ********** included: /tmp/tmp_on0bpeh/tests/tasks/verify_default_passphrase.yml for /cache/centos-8.qcow2 TASK [Verify the default passphrase works] ************************************* task path: /tmp/tmp_on0bpeh/tests/tasks/verify_default_passphrase.yml:2 Tuesday 19 July 2022 20:03:46 +0000 (0:00:00.026) 0:00:40.316 ********** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "echo -n \"test-password-here\" | cryptsetup open --test-passphrase \"/tmp/.nbde_client_dev_test\"\n", "delta": "0:00:01.941737", "end": "2022-07-19 20:03:47.667224", "rc": 2, "start": "2022-07-19 20:03:45.725487" } STDERR: No key available with this passphrase. MSG: non-zero return code ...ignoring TASK [Make sure the default passphrase did not work] *************************** task path: /tmp/tmp_on0bpeh/tests/tests_passphrase_temporary.yml:37 Tuesday 19 July 2022 20:03:48 +0000 (0:00:02.298) 0:00:42.615 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmp_on0bpeh/tests/tests_passphrase_temporary.yml:42 Tuesday 19 July 2022 20:03:48 +0000 (0:00:00.063) 0:00:42.678 ********** included: /tmp/tmp_on0bpeh/tests/tasks/verify_idempotency.yml for /cache/centos-8.qcow2 TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp_on0bpeh/tests/tasks/verify_idempotency.yml:2 Tuesday 19 July 2022 20:03:48 +0000 (0:00:00.027) 0:00:42.705 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:03:48 +0000 (0:00:00.026) 0:00:42.732 ********** included: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:03:48 +0000 (0:00:00.026) 0:00:42.758 ********** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Tuesday 19 July 2022 20:03:49 +0000 (0:00:00.569) 0:00:43.328 ********** ok: [/cache/centos-8.qcow2] => { "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": [ "/tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/vars/CentOS_8.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:03:49 +0000 (0:00:00.038) 0:00:43.367 ********** included: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:03:49 +0000 (0:00:00.031) 0:00:43.398 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:03:51 +0000 (0:00:01.943) 0:00:45.342 ********** ok: [/cache/centos-8.qcow2] => { "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 19:59:57 UTC", "StateChangeTimestampMonotonic": "67855393", "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] ***** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:03:52 +0000 (0:00:00.534) 0:00:45.877 ********** ok: [/cache/centos-8.qcow2] => { "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] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:03:52 +0000 (0:00:00.678) 0:00:46.556 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:03:57 +0000 (0:00:04.854) 0:00:51.410 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:03:57 +0000 (0:00:00.025) 0:00:51.435 ********** skipping: [/cache/centos-8.qcow2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:03:57 +0000 (0:00:00.040) 0:00:51.476 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:03:57 +0000 (0:00:00.022) 0:00:51.498 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:03:57 +0000 (0:00:00.026) 0:00:51.525 ********** ok: [/cache/centos-8.qcow2] => { "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] ******** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:03:58 +0000 (0:00:00.647) 0:00:52.172 ********** ok: [/cache/centos-8.qcow2] => { "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] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:03:58 +0000 (0:00:00.624) 0:00:52.796 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:04:00 +0000 (0:00:01.176) 0:00:53.973 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.093652", "end": "2022-07-19 20:03:59.492579", "rc": 0, "start": "2022-07-19 20:03:59.398927" } STDERR: /usr/bin/nbde_client-network-flush: line 24: [: 0 0: integer expression expected Setting autoconnect-priority of connection ens3 to zero /usr/bin/nbde_client-network-flush: line 24: [: 0 0: integer expression expected Setting autoconnect-priority of connection ens3 to zero TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:04:00 +0000 (0:00:00.470) 0:00:54.444 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:04:01 +0000 (0:00:00.628) 0:00:55.073 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target system.slice basic.target", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "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": "11149", "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" } } META: role_complete for /cache/centos-8.qcow2 TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp_on0bpeh/tests/tasks/verify_idempotency.yml:6 Tuesday 19 July 2022 20:04:01 +0000 (0:00:00.532) 0:00:55.605 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmp_on0bpeh/tests/tests_passphrase_temporary.yml:46 Tuesday 19 July 2022 20:04:01 +0000 (0:00:00.037) 0:00:55.642 ********** included: /tmp/tmp_on0bpeh/tests/tasks/cleanup_test.yml for /cache/centos-8.qcow2 TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmp_on0bpeh/tests/tasks/cleanup_test.yml:2 Tuesday 19 July 2022 20:04:01 +0000 (0:00:00.027) 0:00:55.669 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmp_on0bpeh/tests/tasks/cleanup_test.yml:7 Tuesday 19 July 2022 20:04:02 +0000 (0:00:00.387) 0:00:56.057 ********** changed: [/cache/centos-8.qcow2 -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* task path: /tmp/tmp_on0bpeh/tests/tasks/cleanup_test.yml:13 Tuesday 19 July 2022 20:04:02 +0000 (0:00:00.214) 0:00:56.271 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [linux-system-roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 Tuesday 19 July 2022 20:04:02 +0000 (0:00:00.369) 0:00:56.641 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:24.043760", "end": "2022-07-19 20:04:26.132895", "rc": 0, "start": "2022-07-19 20:04:02.089135" } STDERR: dracut: Executing: /usr/bin/dracut --kver=4.18.0-358.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 'multipath' will not be installed, because command 'multipath' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' 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 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! dracut: memstrack is available dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: modsign *** dracut: *** Including module: rngd *** dracut: *** Including module: i18n *** dracut: *** Including module: network-manager *** dracut: *** Including module: network *** 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: qemu *** dracut: *** Including module: qemu-net *** dracut: *** Including module: lunmask *** dracut: *** Including module: nfs *** dracut: *** Including module: resume *** 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: virtfs *** 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-358.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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-2d-07: caveats check for kernel version "4.18.0-358.el8.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07" to fw_dir variable 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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 intel-06-4e-03: caveat is disabled in configuration dracut: microcode_ctl: kernel version "4.18.0-358.el8.x86_64" failed early load check for "intel-06-4e-03", skipping 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' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 intel-06-4f-01: caveat is disabled in configuration dracut: microcode_ctl: kernel version "4.18.0-358.el8.x86_64" failed early load check for "intel-06-4f-01", skipping 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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-55-04: caveats check for kernel version "4.18.0-358.el8.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04" to fw_dir variable 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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-5e-03: caveats check for kernel version "4.18.0-358.el8.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03" to fw_dir variable 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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-8c-01: caveats check for kernel version "4.18.0-358.el8.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01" to fw_dir variable 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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 intel-06-8e-9e-0x-0xca: caveat is disabled in configuration dracut: microcode_ctl: kernel version "4.18.0-358.el8.x86_64" failed early load check for "intel-06-8e-9e-0x-0xca", skipping 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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-8e-9e-0x-dell: caveats check for kernel version "4.18.0-358.el8.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell" to fw_dir variable dracut: microcode_ctl: final fw_dir: "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell /usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01 /usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03 /usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04 /usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07 /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: Could not find 'strip'. Not stripping the initramfs. dracut: *** Generating early-microcode cpio image *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Store current command line parameters *** dracut: *** Creating image file '/boot/initramfs-4.18.0-358.el8.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-4.18.0-358.el8.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=63 changed=10 unreachable=0 failed=0 skipped=7 rescued=0 ignored=1 Tuesday 19 July 2022 20:04:27 +0000 (0:00:24.455) 0:01:21.097 ********** =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 24.46s /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : Perform clevis operations ------------- 13.31s /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 4.85s /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Install required packages for nbde_client tests ------------------------- 4.55s /tmp/tmp_on0bpeh/tests/tasks/setup_test.yml:24 -------------------------------- Verify we can unlock the device ----------------------------------------- 4.54s /tmp/tmp_on0bpeh/tests/tasks/verify_unlock_device.yml:2 ----------------------- Verify the default passphrase works ------------------------------------- 2.30s /tmp/tmp_on0bpeh/tests/tasks/verify_default_passphrase.yml:2 ------------------ linux-system-roles.nbde_client : Ensure required packages are installed --- 1.94s /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 1.89s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 1.82s /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.18s /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.12s /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp_on0bpeh/tests/tests_passphrase_temporary.yml:2 ----------------------- linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.88s /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Enable HA repos --------------------------------------------------------- 0.85s /cache/centos-8_setup.yml:5 --------------------------------------------------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.79s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 0.75s /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.68s /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.65s /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.65s /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.64s /tmp/tmp_on0bpeh/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpb1gpv9bl executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Tuesday 19 July 2022 20:17:54 +0000 (0:00:00.018) 0:00:00.018 ********** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.205974", "end": "2022-07-19 20:17:54.627287", "rc": 0, "start": "2022-07-19 20:17:54.421313" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 19 July 2022 20:17:55 +0000 (0:00:00.793) 0:00:00.811 ********** =============================================================================== Enable HA repos --------------------------------------------------------- 0.79s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_passphrase_temporary.yml *************************************** 1 plays in /tmp/tmps_13l_o0/tests/nbde_client/tests_passphrase_temporary.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmps_13l_o0/tests/nbde_client/tests_passphrase_temporary.yml:2 Tuesday 19 July 2022 20:17:55 +0000 (0:00:00.020) 0:00:00.831 ********** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmps_13l_o0/tests/nbde_client/tests_passphrase_temporary.yml:16 Tuesday 19 July 2022 20:17:56 +0000 (0:00:01.013) 0:00:01.845 ********** included: /tmp/tmps_13l_o0/tests/nbde_client/tasks/setup_test.yml for /cache/centos-8.qcow2 TASK [Include general tests variables] ***************************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/setup_test.yml:2 Tuesday 19 July 2022 20:17:56 +0000 (0:00:00.027) 0:00:01.873 ********** ok: [/cache/centos-8.qcow2] => { "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": [ "/tmp/tmps_13l_o0/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/setup_test.yml:5 Tuesday 19 July 2022 20:17:56 +0000 (0:00:00.025) 0:00:01.898 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmps_13l_o0/tests/nbde_client/vars/CentOS_8.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/setup_test.yml:18 Tuesday 19 July 2022 20:17:56 +0000 (0:00:00.034) 0:00:01.933 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-358.el8.x86_64", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=395b9844-e404-4857-afbb-c6edccaf72f3" }, "date_time": { "date": "2022-07-19", "day": "19", "epoch": "1658261875", "epoch_int": "1658261875", "hour": "20", "iso8601": "2022-07-19T20:17:55Z", "iso8601_basic": "20220719T201755611973", "iso8601_basic_short": "20220719T201755", "iso8601_micro": "2022-07-19T20:17:55.611973Z", "minute": "17", "month": "07", "second": "55", "time": "20:17:55", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "29", "year": "2022" }, "default_ipv4": { "address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether" }, "default_ipv6": { "address": "fec0::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "site", "type": "ether" }, "device_links": { "ids": { "sr0": [ "ata-QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ] }, "masters": {}, "uuids": { "sr0": [ "2022-07-19-20-13-34-00" ], "vda1": [ "395b9844-e404-4857-afbb-c6edccaf72f3" ] } }, "devices": { "loop0": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": {}, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "support_discard": "4096", "vendor": null, "virtual": 1 }, "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-07-19-20-13-34-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1 }, "vda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "395b9844-e404-4857-afbb-c6edccaf72f3" ] }, "sectors": "20969439", "sectorsize": 512, "size": "10.00 GB", "start": "2048", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "20971520", "sectorsize": "512", "size": "10.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/libexec/platform-python", "distribution": "CentOS", "distribution_file_parsed": true, "distribution_file_path": "/etc/centos-release", "distribution_file_variety": "CentOS", "distribution_major_version": "8", "distribution_release": "Stream", "distribution_version": "8", "dns": { "nameservers": [ "10.0.2.3" ], "search": [ "virt.pnr.lab.eng.rdu2.redhat.com" ] }, "domain": "virt.pnr.lab.eng.rdu2.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": "en_US.UTF-8", "LC_CTYPE": "C.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "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.2.2 49402 22", "SSH_CONNECTION": "10.0.2.2 49402 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "1", "_": "/usr/libexec/platform-python", "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": "off [requested on]", "highdma": "on [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": "off [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": "on [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "off", "tcp_segmentation_offload": "off", "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": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "tx_checksumming": "off", "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": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_nocache_copy": "off", "tx_scatter_gather": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_tcp6_segmentation": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off [fixed]", "tx_tcp_segmentation": "off [fixed]", "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.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0" }, "ipv6": [ { "address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site" }, { "address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link" } ], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "timestamping": [], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com", "gather_subset": [ "all" ], "hostname": "ibm-p8-kvm-03-guest-02", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "4.18.0-358.el8.x86_64", "kernel_version": "#1 SMP Mon Jan 10 13:11:20 UTC 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": "3633c432407a4d8791f0f0b1d715f5f3", "memfree_mb": 1041, "memory_mb": { "nocache": { "free": 1598, "used": 214 }, "real": { "free": 1041, "total": 1812, "used": 771 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1812, "module_setup": true, "mounts": [ { "block_available": 2220228, "block_size": 4096, "block_total": 2618619, "block_used": 398391, "device": "/dev/vda1", "fstype": "xfs", "inode_available": 5205926, "inode_total": 5242352, "inode_used": 36426, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 9094053888, "size_total": 10725863424, "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" } ], "nodename": "ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-358.el8.x86_64", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=395b9844-e404-4857-afbb-c6edccaf72f3" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "2", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "3", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz" ], "processor_cores": 1, "processor_count": 4, "processor_nproc": 4, "processor_threads_per_core": 1, "processor_vcpus": 4, "product_name": "Standard PC (i440FX + PIIX, 1996)", "product_serial": "NA", "product_uuid": "NA", "product_version": "pc-i440fx-5.2", "python": { "executable": "/usr/libexec/platform-python", "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_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFwjyNgzt99mgfOh42wW+QuJhVZktHP5UcAduqMD8ZVaEVdRS15MpZOU7jXbafppSgMQFNcw8YpRu/FK2Bcz3fQ=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIAbyBOmcHhbWRVQuLktIkBPTUVca70HXlBNZOnPG+cJL", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDA2jbhHs45tFkXb/h6AdYbqxsTfg7+sES7cFspmoeeYf/wsgUyznX49RytVS7C6DOPayHmWFXI5DdRBagvhRZNfc8SJ9tvbDN7i466EKC8n2uI7hO+K12o7VSX6Imi2WBeTnv/jgOfun5iMhGs/A2sUQato2e4G9YtptjBIfFNnR4FqWlVD83E9HaRQ9PGMEJ/dvhbauzsyblx0c6/ZyDAEvo0c9Hi7viremuqCHJYHM1ZdCTBBralqY9tbD+zdZoANUG4+1PFGZXtJW6iGa6jwEEXkD/64mst326vKt9hOqqbvhFQnHi1QJZo65w2z52gOVGJvr2OfWbNBiLo5T06wGbF+dlkuJJTE6OoUErXhTbyYh2wYLFbaludmi7pTeQqY21WyjKEFN70euiRW/SafWcaRPeUj9RhhkXfo57te3IBJ4voXJLdHA9NcmRUPZ6/yOI/nA8f2qALud6oeJbA7eLViirr0F3pRjoMZZ2EwkyYOZrLb5YRTsIFPhuYU30=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "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": "QEMU", "uptime_seconds": 257, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "kvm" ], "virtualization_tech_host": [], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/setup_test.yml:22 Tuesday 19 July 2022 20:17:56 +0000 (0:00:00.038) 0:00:01.971 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/setup_test.yml:26 Tuesday 19 July 2022 20:17:58 +0000 (0:00:02.263) 0:00:04.235 ********** ok: [/cache/centos-8.qcow2 -> localhost] => { "after": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "before": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/setup_test.yml:33 Tuesday 19 July 2022 20:17:59 +0000 (0:00:00.532) 0:00:04.767 ********** TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Tuesday 19 July 2022 20:17:59 +0000 (0:00:00.031) 0:00:04.799 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:17:59 +0000 (0:00:00.026) 0:00:04.825 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Tuesday 19 July 2022 20:17:59 +0000 (0:00:00.490) 0:00:05.316 ********** ok: [/cache/centos-8.qcow2] => { "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] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Tuesday 19 July 2022 20:17:59 +0000 (0:00:00.036) 0:00:05.352 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/centos-8.qcow2 TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Tuesday 19 July 2022 20:17:59 +0000 (0:00:00.028) 0:00:05.381 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Tuesday 19 July 2022 20:18:01 +0000 (0:00:01.788) 0:00:07.169 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Tuesday 19 July 2022 20:18:01 +0000 (0:00:00.029) 0:00:07.199 ********** ok: [/cache/centos-8.qcow2] => { "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": false, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Tuesday 19 July 2022 20:18:02 +0000 (0:00:00.483) 0:00:07.683 ********** skipping: [/cache/centos-8.qcow2] => { "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] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Tuesday 19 July 2022 20:18:02 +0000 (0:00:00.031) 0:00:07.714 ********** ok: [/cache/centos-8.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Tue 2022-07-19 20:14:27 UTC", "ActiveEnterTimestampMonotonic": "49519905", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-19 20:14:27 UTC", "AssertTimestampMonotonic": "49518253", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.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": "yes", "ConditionTimestamp": "Tue 2022-07-19 20:14:27 UTC", "ConditionTimestampMonotonic": "49518253", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "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", "InactiveExitTimestamp": "Tue 2022-07-19 20:14:27 UTC", "InactiveExitTimestampMonotonic": "49519905", "InvocationID": "62d5df7ec1934104a0de041a50338ea0", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "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": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "25", "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]", "StateChangeTimestamp": "Tue 2022-07-19 20:14:27 UTC", "StateChangeTimestampMonotonic": "49519905", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "11149", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Writable": "no" } } META: role_complete for /cache/centos-8.qcow2 TASK [Create device for testing] *********************************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/setup_test.yml:37 Tuesday 19 July 2022 20:18:02 +0000 (0:00:00.754) 0:00:08.469 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:01.004699", "end": "2022-07-19 20:18:03.687481", "rc": 0, "start": "2022-07-19 20:18:02.682782" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/setup_test.yml:41 Tuesday 19 July 2022 20:18:04 +0000 (0:00:01.387) 0:00:09.857 ********** ok: [/cache/centos-8.qcow2] => { "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:00.173679", "end": "2022-07-19 20:18:04.234952", "rc": 0, "start": "2022-07-19 20:18:04.061273" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/setup_test.yml:49 Tuesday 19 July 2022 20:18:04 +0000 (0:00:00.555) 0:00:10.412 ********** ok: [/cache/centos-8.qcow2 -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.004377", "end": "2022-07-19 20:18:05.032639", "rc": 0, "start": "2022-07-19 20:18:05.028262" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tests_passphrase_temporary.yml:21 Tuesday 19 July 2022 20:18:05 +0000 (0:00:00.236) 0:00:10.649 ********** TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:18:05 +0000 (0:00:00.038) 0:00:10.687 ********** included: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:18:05 +0000 (0:00:00.031) 0:00:10.719 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Tuesday 19 July 2022 20:18:05 +0000 (0:00:00.539) 0:00:11.258 ********** ok: [/cache/centos-8.qcow2] => { "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": [ "/tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/CentOS_8.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:18:05 +0000 (0:00:00.038) 0:00:11.297 ********** included: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:18:05 +0000 (0:00:00.040) 0:00:11.337 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:18:07 +0000 (0:00:01.849) 0:00:13.186 ********** ok: [/cache/centos-8.qcow2] => { "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 20:14:53 UTC", "StateChangeTimestampMonotonic": "75003061", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:18:08 +0000 (0:00:00.511) 0:00:13.698 ********** ok: [/cache/centos-8.qcow2] => { "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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:18:09 +0000 (0:00:00.902) 0:00:14.600 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:18:09 +0000 (0:00:00.735) 0:00:15.336 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.jlswz0vsnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:18:10 +0000 (0:00:00.509) 0:00:15.845 ********** skipping: [/cache/centos-8.qcow2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:18:10 +0000 (0:00:00.052) 0:00:15.898 ********** NOTIFIED HANDLER fedora.linux_system_roles.nbde_client : nbde_client update initramfs for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:18:19 +0000 (0:00:08.845) 0:00:24.743 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "path": "/tmp/ansible.jlswz0vsnbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:18:19 +0000 (0:00:00.399) 0:00:25.143 ********** ok: [/cache/centos-8.qcow2] => { "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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:18:20 +0000 (0:00:00.621) 0:00:25.764 ********** ok: [/cache/centos-8.qcow2] => { "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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:18:20 +0000 (0:00:00.674) 0:00:26.439 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:18:21 +0000 (0:00:01.132) 0:00:27.571 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.087289", "end": "2022-07-19 20:18:21.835402", "rc": 0, "start": "2022-07-19 20:18:21.748113" } STDERR: /usr/bin/nbde_client-network-flush: line 24: [: 0 0: integer expression expected Setting autoconnect-priority of connection ens3 to zero /usr/bin/nbde_client-network-flush: line 24: [: 0 0: integer expression expected Setting autoconnect-priority of connection ens3 to zero TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:18:22 +0000 (0:00:00.437) 0:00:28.009 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:18:22 +0000 (0:00:00.572) 0:00:28.581 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target system.slice basic.target", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "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": "11149", "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" } } META: role_complete for /cache/centos-8.qcow2 TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmps_13l_o0/tests/nbde_client/tests_passphrase_temporary.yml:25 Tuesday 19 July 2022 20:18:23 +0000 (0:00:00.505) 0:00:29.087 ********** included: /tmp/tmps_13l_o0/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/centos-8.qcow2 TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/verify_unlock_device.yml:2 Tuesday 19 July 2022 20:18:23 +0000 (0:00:00.025) 0:00:29.112 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:03.801734", "end": "2022-07-19 20:18:27.127779", "rc": 0, "start": "2022-07-19 20:18:23.326045" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/verify_unlock_device.yml:10 Tuesday 19 July 2022 20:18:27 +0000 (0:00:04.186) 0:00:33.298 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.060876", "end": "2022-07-19 20:18:27.561036", "rc": 0, "start": "2022-07-19 20:18:27.500160" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmps_13l_o0/tests/nbde_client/tests_passphrase_temporary.yml:28 Tuesday 19 July 2022 20:18:28 +0000 (0:00:00.436) 0:00:33.735 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Attempt to check whether default passphrase works] *********************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tests_passphrase_temporary.yml:34 Tuesday 19 July 2022 20:18:28 +0000 (0:00:00.059) 0:00:33.795 ********** included: /tmp/tmps_13l_o0/tests/nbde_client/tasks/verify_default_passphrase.yml for /cache/centos-8.qcow2 TASK [Verify the default passphrase works] ************************************* task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/verify_default_passphrase.yml:2 Tuesday 19 July 2022 20:18:28 +0000 (0:00:00.025) 0:00:33.821 ********** fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false, "cmd": "echo -n \"test-password-here\" | cryptsetup open --test-passphrase \"/tmp/.nbde_client_dev_test\"\n", "delta": "0:00:01.773783", "end": "2022-07-19 20:18:29.792867", "rc": 2, "start": "2022-07-19 20:18:28.019084" } STDERR: No key available with this passphrase. MSG: non-zero return code ...ignoring TASK [Make sure the default passphrase did not work] *************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tests_passphrase_temporary.yml:37 Tuesday 19 July 2022 20:18:30 +0000 (0:00:02.140) 0:00:35.962 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tests_passphrase_temporary.yml:42 Tuesday 19 July 2022 20:18:30 +0000 (0:00:00.030) 0:00:35.993 ********** included: /tmp/tmps_13l_o0/tests/nbde_client/tasks/verify_idempotency.yml for /cache/centos-8.qcow2 TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/verify_idempotency.yml:2 Tuesday 19 July 2022 20:18:30 +0000 (0:00:00.025) 0:00:36.018 ********** TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:18:30 +0000 (0:00:00.024) 0:00:36.043 ********** included: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:18:30 +0000 (0:00:00.025) 0:00:36.069 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Tuesday 19 July 2022 20:18:31 +0000 (0:00:00.548) 0:00:36.617 ********** ok: [/cache/centos-8.qcow2] => { "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": [ "/tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/CentOS_8.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:18:31 +0000 (0:00:00.069) 0:00:36.687 ********** included: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:18:31 +0000 (0:00:00.037) 0:00:36.725 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:18:32 +0000 (0:00:01.824) 0:00:38.549 ********** ok: [/cache/centos-8.qcow2] => { "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 20:14:53 UTC", "StateChangeTimestampMonotonic": "75003061", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:18:33 +0000 (0:00:00.490) 0:00:39.040 ********** ok: [/cache/centos-8.qcow2] => { "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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:18:34 +0000 (0:00:00.634) 0:00:39.674 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:18:38 +0000 (0:00:04.511) 0:00:44.186 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:18:38 +0000 (0:00:00.026) 0:00:44.213 ********** skipping: [/cache/centos-8.qcow2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:18:38 +0000 (0:00:00.043) 0:00:44.256 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:18:38 +0000 (0:00:00.026) 0:00:44.282 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:18:38 +0000 (0:00:00.025) 0:00:44.308 ********** ok: [/cache/centos-8.qcow2] => { "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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:18:39 +0000 (0:00:00.640) 0:00:44.948 ********** ok: [/cache/centos-8.qcow2] => { "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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:18:39 +0000 (0:00:00.617) 0:00:45.566 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:18:41 +0000 (0:00:01.114) 0:00:46.680 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.086755", "end": "2022-07-19 20:18:40.947099", "rc": 0, "start": "2022-07-19 20:18:40.860344" } STDERR: /usr/bin/nbde_client-network-flush: line 24: [: 0 0: integer expression expected Setting autoconnect-priority of connection ens3 to zero /usr/bin/nbde_client-network-flush: line 24: [: 0 0: integer expression expected Setting autoconnect-priority of connection ens3 to zero TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:18:41 +0000 (0:00:00.439) 0:00:47.120 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:18:42 +0000 (0:00:00.571) 0:00:47.691 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "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": "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "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": "11149", "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" } } META: role_complete for /cache/centos-8.qcow2 TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/verify_idempotency.yml:6 Tuesday 19 July 2022 20:18:42 +0000 (0:00:00.496) 0:00:48.188 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmps_13l_o0/tests/nbde_client/tests_passphrase_temporary.yml:46 Tuesday 19 July 2022 20:18:42 +0000 (0:00:00.033) 0:00:48.221 ********** included: /tmp/tmps_13l_o0/tests/nbde_client/tasks/cleanup_test.yml for /cache/centos-8.qcow2 TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/cleanup_test.yml:2 Tuesday 19 July 2022 20:18:42 +0000 (0:00:00.027) 0:00:48.248 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/cleanup_test.yml:7 Tuesday 19 July 2022 20:18:43 +0000 (0:00:00.359) 0:00:48.607 ********** changed: [/cache/centos-8.qcow2 -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* task path: /tmp/tmps_13l_o0/tests/nbde_client/tasks/cleanup_test.yml:13 Tuesday 19 July 2022 20:18:43 +0000 (0:00:00.199) 0:00:48.807 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Tuesday 19 July 2022 20:18:43 +0000 (0:00:00.369) 0:00:49.177 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:24.165614", "end": "2022-07-19 20:19:07.550519", "rc": 0, "start": "2022-07-19 20:18:43.384905" } STDERR: dracut: Executing: /usr/bin/dracut --kver=4.18.0-358.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 'multipath' will not be installed, because command 'multipath' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' 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 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! dracut: memstrack is available dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: modsign *** dracut: *** Including module: rngd *** dracut: *** Including module: i18n *** dracut: *** Including module: network-manager *** dracut: *** Including module: network *** 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: qemu *** dracut: *** Including module: qemu-net *** dracut: *** Including module: lunmask *** dracut: *** Including module: nfs *** dracut: *** Including module: resume *** 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: virtfs *** 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-358.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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-2d-07: caveats check for kernel version "4.18.0-358.el8.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07" to fw_dir variable 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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 intel-06-4e-03: caveat is disabled in configuration dracut: microcode_ctl: kernel version "4.18.0-358.el8.x86_64" failed early load check for "intel-06-4e-03", skipping 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' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 intel-06-4f-01: caveat is disabled in configuration dracut: microcode_ctl: kernel version "4.18.0-358.el8.x86_64" failed early load check for "intel-06-4f-01", skipping 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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-55-04: caveats check for kernel version "4.18.0-358.el8.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04" to fw_dir variable 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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-5e-03: caveats check for kernel version "4.18.0-358.el8.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03" to fw_dir variable 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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-8c-01: caveats check for kernel version "4.18.0-358.el8.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01" to fw_dir variable 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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 intel-06-8e-9e-0x-0xca: caveat is disabled in configuration dracut: microcode_ctl: kernel version "4.18.0-358.el8.x86_64" failed early load check for "intel-06-8e-9e-0x-0xca", skipping 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 '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-8e-9e-0x-dell: caveats check for kernel version "4.18.0-358.el8.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell" to fw_dir variable dracut: microcode_ctl: final fw_dir: "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell /usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01 /usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03 /usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04 /usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07 /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: Could not find 'strip'. Not stripping the initramfs. dracut: *** Generating early-microcode cpio image *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Store current command line parameters *** dracut: *** Creating image file '/boot/initramfs-4.18.0-358.el8.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-4.18.0-358.el8.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=63 changed=10 unreachable=0 failed=0 skipped=7 rescued=0 ignored=1 Tuesday 19 July 2022 20:19:08 +0000 (0:00:24.557) 0:01:13.735 ********** =============================================================================== fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 24.56s /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 8.85s /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 4.51s /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Verify we can unlock the device ----------------------------------------- 4.19s /tmp/tmps_13l_o0/tests/nbde_client/tasks/verify_unlock_device.yml:2 ----------- Install required packages for nbde_client tests ------------------------- 2.26s /tmp/tmps_13l_o0/tests/nbde_client/tasks/setup_test.yml:22 -------------------- Verify the default passphrase works ------------------------------------- 2.14s /tmp/tmps_13l_o0/tests/nbde_client/tasks/verify_default_passphrase.yml:2 ------ fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 1.85s /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 1.82s /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 1.79s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Create device for testing ----------------------------------------------- 1.39s /tmp/tmps_13l_o0/tests/nbde_client/tasks/setup_test.yml:37 -------------------- fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.13s /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.11s /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmps_13l_o0/tests/nbde_client/tests_passphrase_temporary.yml:2 ----------- fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.90s /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Enable HA repos --------------------------------------------------------- 0.79s /cache/centos-8_setup.yml:5 --------------------------------------------------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.75s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.74s /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.67s /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.64s /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.63s /tmp/tmpb1gpv9bl/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12