Project

General

Profile

Actions

action #81256

closed

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

Added by rfan1 almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Target version:
QA (public, currently private due to #173521) - future
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 1 (0 open1 closed)

action #81853: [sle][security][sle15sp3][Feature][Automation]Implement "SWTPM" tests in openQAResolved2021-01-07

Actions
Actions #1

Updated by rfan1 almost 4 years ago

  • Status changed from New to Workable

Manual test passed

Actions #2

Updated by rfan1 almost 4 years ago

  • Assignee set to rfan1
Actions #3

Updated by rfan1 almost 4 years 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

Actions #4

Updated by rfan1 almost 4 years 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)

Actions #5

Updated by rfan1 almost 4 years ago

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

Actions #6

Updated by rfan1 almost 4 years ago

  • Category set to New test
  • Target version set to future
  • Difficulty set to hard
Actions #7

Updated by rfan1 almost 4 years ago

  • Estimated time changed from 40.00 h to 60.00 h
Actions #8

Updated by rfan1 almost 4 years ago

  • Status changed from In Progress to Feedback

openqa run passed

Actions #9

Updated by rfan1 almost 4 years ago

  • Status changed from Feedback to Resolved

both sle and tw passed

Actions

Also available in: Atom PDF