Project

General

Profile

action #81256

[sle][security][sle15sp3][Feature][Automation]Implement "SWTPM" tests in openQA

Added by rfan1 10 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Target version:
Start date:
2021-01-07
Due date:
% Done:

100%

Estimated time:
60.00 h (Total: 120.00 h)
Difficulty:
hard

Description

QA: Ship the "swtpm" software TPM emulator for QEMU

            Key: SLE-17076
            URL: https://jira.suse.com/browse/SLE-17076
        Project: SLE
     Issue Type: Team Task
       Reporter: Marcus Meissner
       Priority: Should Have

I should try to implement it in openQA, however, the tests should be run at nested virtualization. I did the manual test and no issue seen. need some effort to automate it since we have to start a L2 guest.


Subtasks

action #81853: [sle][security][sle15sp3][Feature][Automation]Implement "SWTPM" tests in openQAResolved

History

#1 Updated by rfan1 10 months ago

  • Status changed from New to Workable

Manual test passed

#2 Updated by rfan1 10 months ago

  • Assignee set to rfan1

#3 Updated by rfan1 10 months ago

  • Status changed from Workable to In Progress
  • % Done changed from 0 to 20

Tests are in progress (development job group)

https://openqa.suse.de/tests/5243440#details

#4 Updated by rfan1 10 months ago

  • Subject changed from [sle][security][sle15sp3] Implement "SWTPM" tests in openQA to [sle][security][sle15sp3][Feature][Automation]Implement "SWTPM" tests in openQA

The tests are run in nested virtualization mode, so there are some tips here:
QEMUCPU=host (if you don't define this, L2 VM will not be booted up due to kvm module loading issue)
QEMURAM=8192 (You should make sure you have enough free memory to boot up the L2 guests)
QEMU_MAX_MIGRATION_TIME=500 (with bigger memory, need longer time to migrate)

#5 Updated by rfan1 10 months ago

Corresponding manual test steps, please refer to
https://bugzilla.suse.com/tr_show_case.cgi?case_id=1768671

#6 Updated by rfan1 10 months ago

  • Category set to New test
  • Target version set to future
  • Difficulty set to hard

#7 Updated by rfan1 10 months ago

  • Estimated time changed from 40.00 h to 60.00 h

#8 Updated by rfan1 8 months ago

  • Status changed from In Progress to Feedback

openqa run passed

#9 Updated by rfan1 8 months ago

  • Status changed from Feedback to Resolved

both sle and tw passed

Also available in: Atom PDF