Submitting a multinode job which only has one device in the device_group will cause error when submit the result bundle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Scheduler (deprecated) |
Fix Released
|
Medium
|
Neil Williams |
Bug Description
root@master [rc=0]# <LAVA_DISPATCHE
<LAVA_
<LAVA_
<LAVA_
<LAVA_
<LAVA_
<LAVA_
<LAVA_
<LAVA_
<LAVA_
<LAVA_
<LAVA_
<LAVA_
<LAVA_
<LAVA_
<LAVA_
Related branches
- Senthil Kumaran S: Approve
-
Diff: 21 lines (+3/-1)1 file modifiedlava_scheduler_app/utils.py (+3/-1)
Changed in lava-scheduler: | |
status: | New → In Progress |
summary: |
- Submti the multinode job which only has one device in the device_group + Submitting a multinode job which only has one device in the device_group will cause error when submit the result bundle |
Changed in lava-scheduler: | |
status: | In Progress → Fix Committed |
Changed in lava-scheduler: | |
status: | Fix Committed → Fix Released |
On Wed, 11 Sep 2013 18:13:59 -0000
Launchpad Bug Tracker <email address hidden> wrote:
> Submti the multinode job which only has one device in the /bugs.launchpad .net/bugs/ 1224033 You received this bug
> device_group will cause error when submit the result bundle
> https:/
> notification because you are a bug assignee.
There are two options here:
0: Automatically convert the JSON to traditional singlenode format by
dropping device_group, count and role and promoting device_type and
tags to replace it.
1: Refuse such submissions as invalid JSON.
The problem with 0: is that the tests within the job may well be
expecting MultiNode behaviour. The most likely cause of the JSON
structure described is editing a working MultiNode JSON file to change
the devices involved from two different types to just one type, without
changing the count.
I'll initially investigate option 1:.
--
Neil Williams www.linux. codehelp. co.uk/
=============
http://