[LTP][OpenQA] ima,tpm: need TPM
These tests require a Trusted Platform Module which is not currently available inside our SUT's VM. At a cursory glance, there are a few options for solving this, including, but probably not limited to:
- Pass-through the host's TPM module to the guest.
- Emulate the TPM using https://github.com/PeterHuewe/tpm-emulator either on the guest or host.
- Wait for QEMU TPM device emulation.
In the case of option 1 we need to use the Linux vTPM proxy driver to ensure the guest doesn't take exclusive control of the TPM. This requires reconfiguring the host/worker's kernel to build the vtpmx module.
The second seems quite flexible, although we will need to package the emulator to run it on workers. There also appears to be an emulator built into QEMU in the works which would be easiest to configure.
#8 Updated by jtzhao over 4 years ago
Removing tpm2.0-tools from the dependency list since it blocked KOTD ltp tests on SLE12 and SLE12 SP1.
According to rpalethorpe, none of the TPM tests work so far, so we can just remove it for now. If someone need it, he/she will have to install it by himself/herself.