test suite cannot run without an ssh key

Bug #813112 reported by Clint Byrum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Low
Clint Byrum

Bug Description

When running the ensemble test suite in a clean chroot build environment this failure occurrs:

[FAIL]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/trial/unittest.py", line 402, in _eb
    raise self.failureException(output)
twisted.trial.unittest.FailTest:
Expected: (<class 'ensemble.errors.EnvironmentNotFound'>,)
Got:
[Failure instance: Traceback: <type 'exceptions.LookupError'>: SSH authorized/public key not found.
/«BUILDDIR»/ensemble-0.5+bzr277/ensemble/providers/ec2/tests/test_launch.py:253:test_launch_with_no_ensemble_s3_state
/«BUILDDIR»/ensemble-0.5+bzr277/ensemble/providers/ec2/__init__.py:109:start_machine
/«BUILDDIR»/ensemble-0.5+bzr277/ensemble/providers/ec2/launch.py:36:run
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1141:unwindGenerator
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1020:_inlineCallbacks
/«BUILDDIR»/ensemble-0.5+bzr277/ensemble/providers/ec2/launch.py:205:launch
/«BUILDDIR»/ensemble-0.5+bzr277/ensemble/providers/common.py:76:get_user_authorized_keys
]

The test should handle this error.

Related branches

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

This also happens for the same reason:

ensemble.providers.ec2.tests.test_launch.EC2MachineLaunchTest.test_launch_with_no_ensemble_s3_state
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/trial/unittest.py", line 402, in _eb
    raise self.failureException(output)
twisted.trial.unittest.FailTest:
Expected: (<class 'ensemble.errors.EnvironmentNotFound'>,)
Got:
[Failure instance: Traceback: <type 'exceptions.LookupError'>: SSH authorized/public key not found.
/«BUILDDIR»/ensemble-0.5+bzr277/ensemble/providers/ec2/tests/test_launch.py:268:test_launch_with_no_ensemble_zookeeper_hosts
/«BUILDDIR»/ensemble-0.5+bzr277/ensemble/providers/ec2/__init__.py:109:start_machine
/«BUILDDIR»/ensemble-0.5+bzr277/ensemble/providers/ec2/launch.py:36:run
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1141:unwindGenerator
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1020:_inlineCallbacks
/«BUILDDIR»/ensemble-0.5+bzr277/ensemble/providers/ec2/launch.py:205:launch
/«BUILDDIR»/ensemble-0.5+bzr277/ensemble/providers/common.py:76:get_user_authorized_keys
]

Changed in ensemble:
importance: Undecided → Low
Changed in ensemble:
milestone: none → eureka
status: New → In Progress
assignee: nobody → Clint Byrum (clint-fewbar)
Changed in juju:
status: In Progress → 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.