merged submissions do not show the correct information (testplan_id, custom_joblist, rejected-jobs)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Next Generation Checkbox (CLI) |
Expired
|
Low
|
Pierre Equoy |
Bug Description
checkbox-ng: 1.6.0
1. run checkbox-cli, select a test plan (e.g. 18.04 certification), select/deselect a few jobs in there, run the session
→ A session archive ~/.local/
2. run:
cd ~/.local/
checkbox-cli merge-submissions -o merged.tar.xz submission_
→ a merged.tar.xz archive is generated
3. Compare the submission.json from both merged.tar.xz and submission_
Expected result: both files are identical.
Actual results:
- testplan_id is missing in merged.tar.xz
- custom_joblist is set to "true" in submission_
- rejected-jobs contains a list of jobs that have been deselected in submission_
description: | updated |
Changed in checkbox-ng: | |
assignee: | nobody → Pierre Equoy (pieq) |
Changed in checkbox-ng: | |
status: | New → Triaged |
importance: | Undecided → Low |
I've investigated this a bit while working on a webapp that makes use of parts of the code used by merge_submissio ns.py, and I came to the conclusion that the following is needed:
blob = {'description': self.description,
I'll try to propose a patch for this soonish.