Please gzip the firmware/fwts_desktop_diagnosis_results.log attachment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
High
|
Sylvain Pineau |
Bug Description
The job mentioned above produces a huge attachment. In a real-world submission it resulted in a 5MB xml file (usually submissions are around 1MB). Of this, 4.3 MB were from this attachment.
The job definition is as follows:
plugin: attachment
estimated_duration: 0.5
id: firmware/
command:
[ -e ${PLAINBOX_
_description: Attaches the FWTS desktop diagnosis results log to the submission
_summary: Attach FWTS desktop diagnosis log to submission
a possibility would be
plugin: attachment
estimated_duration: 0.5
id: firmware/
command:
[ -e ${PLAINBOX_
_description: Attaches the FWTS desktop diagnosis results log to the submission
_summary: Attach FWTS desktop diagnosis log to submission
In this case, the attachment was reduced to about 400KB so it's much more manageable (though still quite big).
Related branches
- Sylvain Pineau (community): Approve
-
Diff: 11 lines (+1/-1)1 file modifiedproviders/plainbox-provider-checkbox/jobs/firmware.txt.in (+1/-1)
Changed in plainbox-provider-checkbox: | |
milestone: | none → 0.21 |
importance: | Undecided → Medium |
status: | New → Triaged |
importance: | Medium → High |
Changed in plainbox-provider-checkbox: | |
assignee: | nobody → Sylvain Pineau (sylvain-pineau) |
status: | Triaged → In Progress |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
Note: Needless to base64 the command as all binary attachments are already converted to base64 by plainbox during xml export.