S3 signature unit tests do not run standalone

Bug #1120896 reported by Nathanael Burton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Undecided
Nathanael Burton

Bug Description

When running the full suite of run_tests.sh the test_contrib_s3_core tests run fine, however when run standalone the tests fail:

mathrock@devstack:~/devel/openstack/keystone$ ./run_tests.sh test_contrib_s3_core
test_bad_signature (test_contrib_s3_core.S3ContribCore) ... ERROR
test_good_signature (test_contrib_s3_core.S3ContribCore) ... ERROR

======================================================================
ERROR: test_bad_signature (test_contrib_s3_core.S3ContribCore)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mathrock/devel/openstack/keystone/tests/test_contrib_s3_core.py", line 27, in setUp
    self.controller = S3Controller()
  File "/opt/stack/keystone/keystone/common/dependency.py", line 51, in wrapper
    raise UnresolvableDependencyException(dependency)
UnresolvableDependencyException: Unregistered dependency: ec2_api

======================================================================
ERROR: test_good_signature (test_contrib_s3_core.S3ContribCore)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mathrock/devel/openstack/keystone/tests/test_contrib_s3_core.py", line 27, in setUp
    self.controller = S3Controller()
  File "/opt/stack/keystone/keystone/common/dependency.py", line 51, in wrapper
    raise UnresolvableDependencyException(dependency)
UnresolvableDependencyException: Unregistered dependency: ec2_api

----------------------------------------------------------------------
Ran 2 tests in 0.006s

FAILED (errors=2)

Tags: s3 test
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/21594

Changed in keystone:
assignee: nobody → mathrock (mathrock)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/21594
Committed: http://github.com/openstack/keystone/commit/94017094dd64b7ea960d7b4ba16604761b61b8ba
Submitter: Jenkins
Branch: master

commit 94017094dd64b7ea960d7b4ba16604761b61b8ba
Author: mathrock <email address hidden>
Date: Sun Feb 10 01:06:29 2013 -0500

    Fix test_contrib_s3_core unit test

    When running the full suite of run_tests.sh the test_contrib_s3_core tests run
    fine, however when run standalone the tests fail

    Change-Id: I287d05aaab40f441dca9fdca0a5dc6bee1fd073d
    Fixes: bug #1120896

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: grizzly-3 → 2013.1
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.