[2] per discussions in IRC, trusty gets this failure. follow-on work in a separate branch, I guess. :(
test_util.TestEC2Util.test_wb_ec2_describe_volumes_without_attached_instances
===============================================================================
[ERROR]
Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/dist-packages/mocker.py", line 146, in test_method_wrapper
result = test_method()
File "/home/dpb/src/canonical/juju/charms/blockstoragebroker/bsb-ec2-support/hooks/test_util.py", line 1332, in test_wb_ec2_describe_volumes_with_attac
hed_instances
self.storage._ec2_describe_volumes(), expected)
File "/home/dpb/src/canonical/juju/charms/blockstoragebroker/bsb-ec2-support/hooks/util.py", line 250, in _ec2_describe_volumes
command = describevolumes.DescribeVolumes()
File "/usr/lib/python2.7/dist-packages/euca2ools/commands/euca/__init__.py", line 213, in __init__
AWSQueryRequest.__init__(self, **kwargs)
File "/usr/lib/python2.7/dist-packages/requestbuilder/request.py", line 88, in __init__
BaseCommand.__init__(self, **kwargs)
File "/usr/lib/python2.7/dist-packages/requestbuilder/command.py", line 98, in __init__
self._post_init()
File "/usr/lib/python2.7/dist-packages/requestbuilder/request.py", line 94, in _post_init
BaseCommand._post_init(self)
File "/usr/lib/python2.7/dist-packages/requestbuilder/command.py", line 107, in _post_init
self.configure()
File "/usr/lib/python2.7/dist-packages/requestbuilder/request.py", line 107, in configure
self.service.configure()
File "/usr/lib/python2.7/dist-packages/euca2ools/commands/euca/__init__.py", line 199, in configure
self.validate_config()
File "/usr/lib/python2.7/dist-packages/requestbuilder/service.py", line 154, in validate_config
raise ServiceInitError(msg)
requestbuilder.exceptions.ServiceInitError: No ec2 endpoint to connect to was given. ec2 endpoints may be specified in a config file with "ec2-url".
test_util.TestEC2Util.test_wb_ec2_describe_volumes_with_attached_instances
-------------------------------------------------------------------------------
Ran 77 tests in 0.205s
[2] per discussions in IRC, trusty gets this failure. follow-on work in a separate branch, I guess. :(
test_util. TestEC2Util. test_wb_ ec2_describe_ volumes_ without_ attached_ instances ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == python2. 7/unittest/ case.py" , line 331, in run python2. 7/dist- packages/ mocker. py", line 146, in test_method_wrapper dpb/src/ canonical/ juju/charms/ blockstoragebro ker/bsb- ec2-support/ hooks/test_ util.py" , line 1332, in test_wb_ ec2_describe_ volumes_ with_attac storage. _ec2_describe_ volumes( ), expected) dpb/src/ canonical/ juju/charms/ blockstoragebro ker/bsb- ec2-support/ hooks/util. py", line 250, in _ec2_describe_ volumes .DescribeVolume s() python2. 7/dist- packages/ euca2ools/ commands/ euca/__ init__. py", line 213, in __init__ uest.__ init__( self, **kwargs) python2. 7/dist- packages/ requestbuilder/ request. py", line 88, in __init__ .__init_ _(self, **kwargs) python2. 7/dist- packages/ requestbuilder/ command. py", line 98, in __init__ _post_init( ) python2. 7/dist- packages/ requestbuilder/ request. py", line 94, in _post_init ._post_ init(self) python2. 7/dist- packages/ requestbuilder/ command. py", line 107, in _post_init configure( ) python2. 7/dist- packages/ requestbuilder/ request. py", line 107, in configure service. configure( ) python2. 7/dist- packages/ euca2ools/ commands/ euca/__ init__. py", line 199, in configure validate_ config( ) python2. 7/dist- packages/ requestbuilder/ service. py", line 154, in validate_config r(msg) exceptions. ServiceInitErro r: No ec2 endpoint to connect to was given. ec2 endpoints may be specified in a config file with "ec2-url".
=======
[ERROR]
Traceback (most recent call last):
File "/usr/lib/
testMethod()
File "/usr/lib/
result = test_method()
File "/home/
hed_instances
self.
File "/home/
command = describevolumes
File "/usr/lib/
AWSQueryReq
File "/usr/lib/
BaseCommand
File "/usr/lib/
self.
File "/usr/lib/
BaseCommand
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise ServiceInitErro
requestbuilder.
test_util. TestEC2Util. test_wb_ ec2_describe_ volumes_ with_attached_ instances ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
-------
Ran 77 tests in 0.205s
FAILED (errors=4, successes=73)
make: *** [test] Error 1