KeyError: 'fetch_cmd' in utah client for multi-suite runlist

Bug #1029487 reported by Para Siva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UTAH
Fix Released
High
Joe Talbott

Bug Description

Traceback (most recent call last):
  File "/usr/bin/utah", line 133, in <module>
    main()
  File "/usr/bin/utah", line 116, in main
    runlist=runlist, resume=resume, testdir=testdir)
  File "/usr/lib/python2.7/dist-packages/utah/client/runner.py", line 66, in __init__
    self.process_master_runlist()
  File "/usr/lib/python2.7/dist-packages/utah/client/runner.py", line 228, in process_master_runlist
    fetch_cmd = suite['fetch_cmd']
KeyError: 'fetch_cmd'

occurs when the client is run using the following master.run
---
- name: dns
  fetch_cmd: bzr branch --use-existing-dir lp:~psivaa/+junk/server/ .

- name: lamp
- name: lvm
- name: mail
- name: minivirt
- name: print
- name: smb
- name: ssh
- name: tomcat

The VM is precise-sever-i386

Related branches

Para Siva (psivaa)
tags: added: qa-manual-testing
Revision history for this message
Joe Talbott (joetalbott) wrote :

fix committed in revision 557.

Changed in utah:
status: New → Fix Committed
Revision history for this message
Javier Collado (javier.collado) wrote :

I tested this feature with the new schema and worked fine for me, so setting status to 'Fix Released'.

The master.run file was as follows:

testsuites:
 - name: <suite1>
   fetch_cmd: <fetch_cmd1>
 - name: <suite2>
   fetch_cmd: <fetch_cmd2>

Changed in utah:
importance: Undecided → High
assignee: nobody → Joe Talbott (joetalbott)
status: Fix Committed → Fix Released
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.