fwts jobs run out of order
Bug #1308106 reported by
Jeff Lane
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Next Generation Checkbox (CLI) |
Fix Released
|
High
|
Zygmunt Krynicki |
Bug Description
just ran c-c-s via checkbox-ng on a server and discovered that the fwts_results.log attachment job runs before fwts_test actually runs.
So the attachment job fails because it's trying to attach a nonexistent log.
I have a feeling THIS is why we see so many blank log attachments lately.
It was running in this order:
fwts_results.log
fwts_test
Related branches
lp://qastaging/~zyga/checkbox/fix-1308106
- Sylvain Pineau (community): Approve
-
Diff: 18 lines (+7/-1)1 file modifiedcheckbox-ng/checkbox_ng/commands/cli.py (+7/-1)
Changed in checkbox-ng: | |
milestone: | none → 0.4 |
assignee: | nobody → Sylvain Pineau (sylvain-pineau) |
Changed in checkbox-ng: | |
status: | Triaged → In Progress |
Changed in checkbox-ng: | |
assignee: | Sylvain Pineau (sylvain-pineau) → Zygmunt Krynicki (zkrynicki) |
tags: | added: 14-04-blocker |
Changed in checkbox-ng: | |
status: | In Progress → Fix Committed |
Changed in checkbox-ng: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Jeff,
I assume you were using server- full-14. 04.whitelist? It has this (which looks correct):
__miscellanea__ fwts_test fwts_results. log ipmi_test
miscellanea/
miscellanea/
miscellanea/
I also looked at the code and it *is* using select_jobs which should honor whitelist ordering.
However when doing the actual run, the tests seem to be reordered, in the selection list I see them as:
miscellanea/ fwts_results. log fwts_test
miscellanea/
indeed, when they run, they do so in the order I showed, which is incorrect and not what the whitelist specifies.
My package versions are:
Desired= Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ======= ======= ======= -====== ======= ======= -====== ======= ======= -====== ======= ======= ======= ======= ======= ======= ======= ======= ====== bzr2922+ pkg2 all toolkit for software and hardware integration testing insecure- policy <none> <none> (no description available) provider- certification 0.1~dev+ bzr2922+ pkg8 all Server Certification provider- checkbox 0.5~dev+ bzr2922+ pkg2 amd64 CheckBox provider for PlainBox provider- resource- gene 0.4~dev+ bzr2922+ pkg5 amd64 CheckBox generic resource jobs provider secure- policy 0.6~dev+ bzr2922+ pkg2 all policykit policy required to use plainbox (secure version) checkbox- support 0.2-1 all collection of Python modules used by PlainBox providers bzr2922+ pkg2 all toolkit for software and hardware testing (python3 module)
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
un checkbox <none> <none> (no description available)
ii checkbox-ng 0.3-2 all PlainBox based test runner
ii plainbox 0.6~dev+
un plainbox-
ii plainbox-
ii plainbox-
ii plainbox-
ii plainbox-
ii python3-checkbox-ng 0.3-2 all PlainBox based test runner (Python 3 library)
ii python3-
ii python3-plainbox 0.6~dev+