Additional properties are not allowed ('run_as' was unexpected)
Bug #1177787 reported by
Paul Larson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UTAH |
Fix Released
|
Critical
|
Javier Collado |
Bug Description
The smoke test jobs are now failing because they happen to use run_as. Though it's probably not needed except for clarity in these jobs, it did expose a problem in the latest version of utah released yesterday, that run_as moved to overrides, which would break any jobs that used it before.
This needs to be transitioned better if it really needs to move.
Related branches
lp://qastaging/~javier.collado/utah/bug1177787
- Andy Doan (community): Approve
-
Diff: 74 lines (+35/-2)3 files modifieddebian/changelog (+6/-0)
utah/client/tests/test_testsuite.py (+22/-0)
utah/client/testsuite.py (+7/-2)
- Javier Collado (community): Approve
-
Diff: 84 lines (+38/-2) (has conflicts)3 files modifieddebian/changelog (+9/-0)
utah/client/tests/test_testsuite.py (+22/-0)
utah/client/testsuite.py (+7/-2)
Changed in utah: | |
importance: | Undecided → Critical |
Changed in utah: | |
status: | New → Triaged |
Changed in utah: | |
milestone: | none → 0.12.1 |
status: | Triaged → Fix Committed |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The reason for this is that the fields that override a test case value in a
test suite runlist are now expected to be under the overrides field when that
wasn't needed in the past.
For example, one of the broken runlists is as follows:
- test: test_root_mount
run_as: root
- test: test_lvs
run_as: root
- test: test_vgs
run_as: root
and what would be expected now is:
- test: test_root_mount
overrides:
run_as: root
- test: test_lvs
overrides:
run_as: root
- test: test_vgs
overrides:
run_as: root
To avoid users having to update their runlists, the schema will be updated to
accept the old version as well.