Additional properties are not allowed ('run_as' was unexpected)

Bug #1177787 reported by Paul Larson
14
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

Paul Larson (pwlars)
Changed in utah:
importance: Undecided → Critical
Changed in utah:
status: New → Triaged
Revision history for this message
Javier Collado (javier.collado) wrote :

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.

Changed in utah:
assignee: nobody → Javier Collado (javier.collado)
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.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.