KeyError: u'HOME' in ./test_runner/tstrun/run_worker.py

Bug #1331989 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Fix Released
Critical
Vincent Ladeuil

Bug Description

Reported by Celso in asana:

As part of the tasks for anticipating any acceptance issues, I've deployed a complete system and have tried to run a simple ticket (hello) through it.

There is a problem during the image testing step that results in the following traceback:

[2014-06-18 22:09:31,943] image_test:INFO:Setting up the testbed for ticket 4
[2014-06-18 22:09:31,966] image_test:ERROR:The testbed creation for 4 failed
Traceback (most recent call last):
File "./test_runner/tstrun/run_worker.py", line 121, in handle_request
conf = testbed.vms_config_from_auth_config(tb_name, auth_conf)
File "/srv/ci_airline_tr_rabbit_worker/test_runner/tstrun/testbed.py", line 105, in vms_config_from_auth_config
conf = config.VmStack(testbed_name)
File "/usr/lib/python2.7/dist-packages/ucivms/config.py", line 72, in __init__
upath = os.path.join(os.environ['HOME'], 'uci-vms.conf')
File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
raise KeyError(key)
KeyError: u'HOME'

Related branches

Vincent Ladeuil (vila)
Changed in uci-engine:
status: Triaged → In Progress
Vincent Ladeuil (vila)
Changed in uci-engine:
status: In Progress → Fix Committed
Ursula Junque (ursinha)
tags: added: testrunner
Vincent Ladeuil (vila)
Changed in uci-engine:
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.