Bug 11206

Summary: QA: Validate Reference kit supports integrity protection
Product: [QA/Testing] IoT Reference OS Kit Testing Reporter: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia>
Component: intel-iot-refkit-automated-build-testingAssignee: Francisco Pedraza <francisco.j.pedraza.gonzalez>
Status: RESOLVED FIXED QA Contact: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia>
Severity: enhancement    
Priority: Medium CC: patrick.ohly
Version: 2.3   
Target Milestone: 2.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 11072    
Bug Blocks:    

Description Jair Gonzalez 2017-03-21 23:36:09 UTC
Add a test suite to validate Reference kit supports integrity protection using dm-verity (currently limited to the installer image).
Comment 1 Patrick Ohly 2017-03-31 10:28:42 UTC
We need two kinds of tests: a) enough tests to merge the feature and b) additional feature that can be added later as time permits (open ended).

We agreed to treat this QA work items as a), i.e. they block the feature completion.

I don't know how QA wants to track part b). Filing issues is not particularly useful because of the open scope.

At this point, https://github.com/intel/intel-iot-refkit/pull/97 has one test which covers this functionality, which I consider good enough to close this issue once the PR is merged.
Comment 2 Francisco Pedraza 2017-04-05 19:40:56 UTC
(In reply to comment #1)
> We need two kinds of tests: a) enough tests to merge the feature and b)
> additional feature that can be added later as time permits (open ended).
> 
> We agreed to treat this QA work items as a), i.e. they block the feature
> completion.
> 
> I don't know how QA wants to track part b). Filing issues is not
> particularly useful because of the open scope.
> 
> At this point, https://github.com/intel/intel-iot-refkit/pull/97 has one
> test which covers this functionality, which I consider good enough to close
> this issue once the PR is merged.

Hi Patrick, 
This also can be closed once the patch got acceptance right?
Comment 3 Jair Gonzalez 2017-04-17 21:36:24 UTC
After an agreement with the Refkit team, the progress on the minimal required sanity tests to release a feature will be tracked on the same bug issue used to track the feature's development. Analogous QA bugs like this one may be created if required, and will be used to track the development of more extensive test cases.

According to this, the dependence will be inverted in relation to the feature bug.
Comment 4 Francisco Pedraza 2017-05-23 20:18:45 UTC
Test Cases implemented at: "~/meta-refkit/lib/oeqa/selftest/secureboot.py"