various failures when run on 14.04 host and grouper target

Bug #1249112 reported by Jamie Strandboge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UTAH
New
Undecided
Andy Doan

Bug Description

Trying to run the security tests from doanac's dynamic-security branch on a 14.04 host with grouper target, I see the following:

$ scripts/jenkins.sh -Q -s 015d18848e400c00 -a security
...
Traceback (most recent call last):
  File "/usr/bin/utah", line 176, in <module>
    main()
  File "/usr/bin/utah", line 156, in main
    testdir=testdir, output=args.output)
  File "/usr/lib/python2.7/dist-packages/utah/client/runner.py", line 210, in __init__
    self.process_master_runlist(resume=resume)
  File "/usr/lib/python2.7/dist-packages/utah/client/runner.py", line 494, in process_master_runlist
    data = self._fetch_and_parse(runlist)
  File "/usr/lib/python2.7/dist-packages/utah/client/runner.py", line 445, in _fetch_and_parse
    if data['battery_measurements']:
KeyError: 'battery_measurements'

Apparently this is not a problem on a 13.10 host.

I had to fix a few things in order to get it to work. Attached is a preliminary patch. I have no idea how correct it is overall, but it allowed the tests to complete.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Changed in utah:
assignee: nobody → Paul Larson (pwlars)
summary: - various failures when run on 14.04 host
+ various failures when run on 14.04 host and grouper target
Andy Doan (doanac)
Changed in utah:
assignee: Paul Larson (pwlars) → Andy Doan (doanac)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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