Merge ~pieq/bugit/+git/qabro:more-logs-in-reports into bugit:master
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Pierre Equoy | ||||
Approved revision: | 9f3de5b81b1726d0499c90db55b7c30fe80bf81f | ||||
Merged at revision: | 8718393b29a183ceb4edbc6046866b08a468b28d | ||||
Proposed branch: | ~pieq/bugit/+git/qabro:more-logs-in-reports | ||||
Merge into: | bugit:master | ||||
Diff against target: |
517 lines (+161/-109) 6 files modified
dev/null (+0/-9) patches/sosreport-env-path-snap.patch (+22/-0) qabro/__init__.py (+14/-7) qabro/bug_assistant.py (+39/-36) qabro/ui.py (+33/-37) snap/snapcraft.yaml (+53/-20) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Maciej Kisielewski | Pending | ||
OEM Services QA | Pending | ||
Review via email: mp+358000@code.launchpad.net |
Description of the change
The major change of this is made by commit e09dc48 and allows sosreport to run commands like lspci, gather the output and store it in the archive sent to Launchpad.
It was a massive headache and it's still far from being the best solution, but it's already a big improvement over current version of qabro snap.
To test:
1. Generate a snap:
$ snapcraft clean && snapcraft
2. If using core < 2.36, activate snap layouts "experimental" feature:
$ sudo snap set core experimental.
(snap layouts are experimental until snapd 2.36)
3. Install qabro:
$ sudo snap install qabro_0.
4. Launch qabro and use the staging Launchpad instance for testing:
$ APPORT_
The generated report should include things like the correct output for pci and usb plugins (i.e. stuff in sos_commands/pci/ and sos_commands/usb/ should not be empty!)
I tested it on:
- 18.04
- UC16
- UC18
Lots of good stuff, the patch for sosreport is an excellent workaround to get lspci data.*
and 2.36 is in stable now.
+1