uuid generation is unreliable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Dispatcher |
Won't Fix
|
Critical
|
Unassigned | ||
Obsolete LAVA Test |
Won't Fix
|
Critical
|
Zygmunt Krynicki |
Bug Description
lava-test fails to complete for beagle board hwpack. Here is the traceback of the error:
Cause
A test with UUID 2600f98a-
Deserialization failure traceback
Traceback (most recent call last):
File "/srv/lava/
File "/srv/lava/
File "/srv/lava/
File "/srv/lava/
File "/srv/lava/
The above error shows that the tests are failing because of duplicate uuid.
The uuid are not part of the json file the is submitted for test, hence it must be something which the lava assigns automatically.
This is blocking the beagle board testing for quite sometime now and needs to be fixed ASAP.
Related branches
- Paul Larson (community): Approve
-
Diff: 86 lines (+28/-4)3 files modifieddoc/changes.rst (+4/-0)
lava_test/commands.py (+20/-2)
lava_test/core/artifacts.py (+4/-2)
- Andy Doan (community): Approve
-
Diff: 48 lines (+14/-5)2 files modifieddoc/changes.rst (+5/-0)
lava_dispatcher/actions/lava-test.py (+9/-5)
Changed in lava-test: | |
status: | Confirmed → Fix Committed |
Changed in lava-test: | |
status: | Fix Committed → Fix Released |
Changed in lava-dispatcher: | |
milestone: | 2012.03 → 2012.04 |
Changed in lava-dispatcher: | |
milestone: | 2012.04 → 2012.05 |
summary: |
- uuid genration is unreliable + uuid generation is unreliable |
Changed in lava-dispatcher: | |
status: | Confirmed → In Progress |
Changed in lava-dispatcher: | |
milestone: | 2012.05 → 2012.06 |
Changed in lava-dispatcher: | |
assignee: | Zygmunt Krynicki (zkrynicki) → nobody |
status: | In Progress → New |
milestone: | 2012.06 → none |
Changed in lava-test: | |
status: | Fix Released → Won't Fix |
Changed in lava-dispatcher: | |
status: | New → Won't Fix |
I think we need to change how uuids are generated when the dispatcher is used. IMHO we should return to uuid1() - based on MAC and current time and pass the UUID to the lava-test invocation.