action #15700

[LTP][OpenQA] ima,tpm: need TPM

Added by rpalethorpe about 3 years ago. Updated over 1 year ago.

Status:NewStart date:30/12/2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Enhancement to existing tests
Target version:QA - future
Difficulty:
Duration:

Description

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:

  1. Pass-through the host's TPM module to the guest.
  2. Emulate the TPM using https://github.com/PeterHuewe/tpm-emulator either on the guest or host.
  3. 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.


Related issues

Related to openQA Tests - action #15592: [LTP][OpenQA][kernel] LTP Native test runner minor issues Resolved 20/12/2016

History

#1 Updated by rpalethorpe about 3 years ago

  • Related to action #15592: [LTP][OpenQA][kernel] LTP Native test runner minor issues added

#2 Updated by okurz about 3 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: ltp_ima
http://openqa.suse.de/tests/722191

#3 Updated by okurz about 3 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: ltp_ima
http://openqa.suse.de/tests/759403

#4 Updated by okurz about 3 years ago

  • Category set to Enhancement to existing tests
  • Target version set to future

#5 Updated by okurz almost 3 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: ltp_ima
http://openqa.suse.de/tests/795394

#6 Updated by okurz almost 3 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: ltp_ima
http://openqa.suse.de/tests/795394

#7 Updated by okurz almost 3 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: ltp_ima
https://openqa.suse.de/tests/829508

#8 Updated by jtzhao almost 3 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.

https://progress.opensuse.org/issues/18106#note-4

#9 Updated by okurz almost 3 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: ltp_ima
https://openqa.suse.de/tests/873717

#10 Updated by okurz almost 3 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: ltp_ima
https://openqa.suse.de/tests/909607

#11 Updated by okurz almost 3 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: ltp_ima
https://openqa.suse.de/tests/931058

#12 Updated by okurz over 2 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: ltp_ima
https://openqa.suse.de/tests/964401

#13 Updated by okurz over 2 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: ltp_ima
https://openqa.suse.de/tests/999624

#14 Updated by okurz over 2 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: ltp_ima
https://openqa.suse.de/tests/1023561

#15 Updated by okurz over 2 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: ltp_ima
http://openqa.suse.de/tests/1058442

#16 Updated by okurz over 1 year ago

  • Target version changed from future to future

Also available in: Atom PDF