Merge ~pieq/bugit/+git/qabro:fix-1816437-fwts-logs into bugit:master
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Pierre Equoy | ||||||||
Approved revision: | 8d1cb78f71bef16e1510c665fbe5e64e4803fda9 | ||||||||
Merged at revision: | a913710ecdf5f2fc1a8541ec885c6dcd027625a8 | ||||||||
Proposed branch: | ~pieq/bugit/+git/qabro:fix-1816437-fwts-logs | ||||||||
Merge into: | bugit:master | ||||||||
Diff against target: |
158 lines (+46/-60) 2 files modified
qabro/bug_assistant.py (+46/-35) snap/snapcraft.yaml (+0/-25) |
||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Maciej Kisielewski (community) | Approve | ||
Pierre Equoy | Needs Resubmitting | ||
Review via email:
|
Description of the change
Handles LP issues #1807359 and #1816437. In a nutshell:
- don't run FWTS from qabro anymore
- only rely on FWTS logs generated by Checkbox (from the latest active session)
- remove FWTS binaries from qabro snap
See commit messages for more explanation.
Tested as follow:
0. In a 18.04.3 LXC container, install Checkbox from PPA, as well as checkbox-snappy from Snap store.
1. Build qabro snap from this branch (run `snapcraft` from within the git repo), copy the generated snap to the container and install it:
(inside container) $ sudo snap install qabro_0.
2. Run checkbox-cli (Checkbox from PPA isntall), select 18.04 cert tests, and run tests from the Firmware category. This will create a Checkbox session in ~/.cache/
3. Run qabro (while pointing at Staging Launchpad to avoid spamming the real Launchpad):
$ APPORT_
4. Enter title, select "qabro" for project, then "Firmware" for category, and press Alt+Enter to submit the bug.
5. Check that qabro output contains the following:
Uploading attachment fwts_desktop_
Uploading attachment fwts_uefirtvari
6. Check that the generated LP issue contains the two above logs as attachments
7. Repeat steps 2~6 using checkbox-
8. Run checkbox-cli again, but this time only run tests that do not contain FWTS jobs (you can for instance run the 18.04 cert test plan and deselect everything before starting the test).
9. Repeat step 3~4, and check that qabro output contains the following:
No FWTS logs found in Checkbox session!
This is expected since the last active Checkbox session found has not run FWTS-related jobs.
Some improvement suggestions below.
Landable as is. +1