canonical / canonical/checkbox

Add a mechanism to skip some tests that are not supported on firmware TPM

Open
#2,137 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
52
Forks
81
Avg merge
2d 17h
Merged PRs (30d)
69

Description

### Enhancement Proposal

There are some machines only have a firmware TPM, so some of the TPM-related test which are listed below will fail.
Could we consider adding either a resource job or a manifest to skip those tests that are not supported?

submission reference [here](https://certification.canonical.com/hardware/202004-27817/submission/453271/test-results/fail/)
`clevis-encrypt-tpm2/detect-ecc-capabilities`
`clevis-encrypt-tpm2/detect-rsa-capabilities`

Contributor guide

Open the contributing guide

Research direction

Start by inspecting how Checkbox represents resource jobs or manifests, then trace the entries for clevis-encrypt-tpm2/detect-ecc-capabilities and detect-rsa-capabilities. The change is done when firmware TPM systems can skip these unsupported tests while supported TPM systems continue to run them.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.