Multinode action ordering needs to be retained
Bug #1213944 reported by
Neil Williams
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Scheduler (deprecated) |
Fix Released
|
Critical
|
Senthil Kumaran S |
Bug Description
When parsing a MultiNode JSON file, the various actions need to be assigned to the devices according to the role. This is working, unfortunately, the ordering of the actions is not being retained.
Boards are failing because the lava_test_shell action *precedes* the deploy_linaro_image action.
The original ordering of deploy_ , boot_ (if used), lava_test & submit_results needs to be imposed on the JSON being sent to each of the dispatchers when a MultiNode job is parsed.
Related branches
lp:~stylesen/lava-scheduler/retain-multinode-action-ordering
- Neil Williams: Approve
-
Diff: 66 lines (+19/-30)1 file modifiedlava_scheduler_app/utils.py (+19/-30)
Changed in lava-scheduler: | |
assignee: | nobody → Senthil Kumaran S (stylesen) |
Changed in lava-scheduler: | |
importance: | Undecided → Critical |
status: | New → In Progress |
Changed in lava-scheduler: | |
status: | In Progress → Fix Committed |
Changed in lava-scheduler: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Probably why this wasn't found was that if the deploy_ clause does have a role, the ordering is correct. Only if the deploy_* clause has no role (and therefore needs to be copied to each device) does the problem occur.
Working: multinode. validation. linaro. org/scheduler/ job/2344/ definition
http://
Broken: multinode. validation. linaro. org/scheduler/ job/2333/ definition
http://