foxinsocks test extension missing from tarball

Bug #742488 reported by Soren Hansen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Soren Hansen

Bug Description

Tests run from the tarball file like so:

======================================================================
ERROR: test_get_by_alias (nova.tests.api.openstack.test_extensions.ExtensionControllerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/nova-2011.2~bzr886/nova/tests/api/openstack/test_extensions.py", line 94, in test_get_by_alias
    response = request.get_response(ext_midware)
  File "/usr/lib/pymodules/python2.6/webob/request.py", line 939, in get_response
    application, catch_exc_info=False)
  File "/usr/lib/pymodules/python2.6/webob/request.py", line 908, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/pymodules/python2.6/webob/dec.py", line 159, in __call__
    return resp(environ, start_response)
  File "/usr/lib/pymodules/python2.6/routes/middleware.py", line 131, in __call__
    response = self.app(environ, start_response)
  File "/usr/lib/pymodules/python2.6/webob/dec.py", line 159, in __call__
    return resp(environ, start_response)
  File "/usr/lib/pymodules/python2.6/webob/dec.py", line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/pymodules/python2.6/webob/dec.py", line 208, in call_func
    return self.func(req, *args, **kwargs)
  File "/build/buildd/nova-2011.2~bzr886/nova/wsgi.py", line 354, in __call__
    result = method(**arg_dict)
  File "/build/buildd/nova-2011.2~bzr886/nova/api/openstack/extensions.py", line 108, in show
    ext = self.extension_manager.extensions[id]
KeyError: u'FOXNSOX'
-------------------- >> begin captured logging << --------------------
2011-03-25 13:17:59,942 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/pymodules/python2.6/routes/middleware.py:41
2011-03-25 13:17:59,942 AUDIT extensions [-] Initializing extension manager.
2011-03-25 13:17:59,944 DEBUG extensions [-] Extended resource: extensions from (pid=18285) __init__ /build/buildd/nova-2011.2~bzr886/nova/api/openstack/extensions.py:185
2011-03-25 13:17:59,946 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/pymodules/python2.6/routes/middleware.py:41
2011-03-25 13:17:59,947 DEBUG routes.middleware [-] Matched GET /extensions/FOXNSOX from (pid=18285) __call__ /usr/lib/pymodules/python2.6/routes/middleware.py:100
2011-03-25 13:17:59,947 DEBUG routes.middleware [-] Route path: '/extensions/:(id)', defaults: {'action': u'show', 'controller': <nova.api.openstack.extensions.ExtensionController object at 0x9fb4b4c>} from (pid=18285) __call__ /usr/lib/pymodules/python2.6/routes/middleware.py:102
2011-03-25 13:17:59,948 DEBUG routes.middleware [-] Match dict: {'req': <Request at 0x9ed880c GET http://localhost/extensions/FOXNSOX>, 'id': u'FOXNSOX'} from (pid=18285) __call__ /usr/lib/pymodules/python2.6/routes/middleware.py:103
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_get_resources_with_mgr (nova.tests.api.openstack.test_extensions.ResponseExtensionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/nova-2011.2~bzr886/nova/tests/api/openstack/test_extensions.py", line 235, in test_get_resources_with_mgr
    self.assertEqual(test_resp, response_data['flavor']['googoose'])
KeyError: 'googoose'
-------------------- >> begin captured logging << --------------------
2011-03-25 13:18:00,205 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/pymodules/python2.6/routes/middleware.py:41
2011-03-25 13:18:00,222 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/pymodules/python2.6/routes/middleware.py:41
2011-03-25 13:18:00,224 AUDIT extensions [-] Initializing extension manager.
2011-03-25 13:18:00,226 DEBUG extensions [-] Extended resource: extensions from (pid=18285) __init__ /build/buildd/nova-2011.2~bzr886/nova/api/openstack/extensions.py:185
2011-03-25 13:18:00,228 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/pymodules/python2.6/routes/middleware.py:41
2011-03-25 13:18:00,237 DEBUG routes.middleware [-] No route matched for GET /v1.1/flavors/1 from (pid=18285) __call__ /usr/lib/pymodules/python2.6/routes/middleware.py:97
2011-03-25 13:18:00,252 DEBUG routes.middleware [-] Matched GET /flavors/1 from (pid=18285) __call__ /usr/lib/pymodules/python2.6/routes/middleware.py:100
2011-03-25 13:18:00,252 DEBUG routes.middleware [-] Route path: '/flavors/:(id)', defaults: {'action': u'show', 'controller': <nova.api.openstack.flavors.Controller object at 0xa31296c>} from (pid=18285) __call__ /usr/lib/pymodules/python2.6/routes/middleware.py:102
2011-03-25 13:18:00,252 DEBUG routes.middleware [-] Match dict: {'req': <Request at 0x9d2bbec GET http://localhost/v1.1/flavors/1>, 'id': u'1'} from (pid=18285) __call__ /usr/lib/pymodules/python2.6/routes/middleware.py:103
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_extended_action (nova.tests.api.openstack.test_extensions.ActionExtensionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/nova-2011.2~bzr886/nova/tests/api/openstack/test_extensions.py", line 167, in test_extended_action
    self.assertEqual(200, response.status_int)
AssertionError: 200 != 501
-------------------- >> begin captured logging << --------------------
2011-03-25 13:17:59,748 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/pymodules/python2.6/routes/middleware.py:41
2011-03-25 13:17:59,748 AUDIT extensions [-] Initializing extension manager.
2011-03-25 13:17:59,750 DEBUG extensions [-] Extended resource: extensions from (pid=18285) __init__ /build/buildd/nova-2011.2~bzr886/nova/api/openstack/extensions.py:185
2011-03-25 13:17:59,752 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/pymodules/python2.6/routes/middleware.py:41
2011-03-25 13:17:59,768 DEBUG routes.middleware [-] No route matched for POST /servers/1/action from (pid=18285) __call__ /usr/lib/pymodules/python2.6/routes/middleware.py:97
2011-03-25 13:17:59,850 DEBUG routes.middleware [-] Matched POST /servers/1/action from (pid=18285) __call__ /usr/lib/pymodules/python2.6/routes/middleware.py:100
2011-03-25 13:17:59,850 DEBUG routes.middleware [-] Route path: '/servers/:(id)/action', defaults: {'action': u'action', 'controller': <nova.api.openstack.servers.ControllerV11 object at 0x9d3bb8c>} from (pid=18285) __call__ /usr/lib/pymodules/python2.6/routes/middleware.py:102
2011-03-25 13:17:59,850 DEBUG routes.middleware [-] Match dict: {'req': <Request at 0xa0981ec POST http://localhost/servers/1/action>, 'id': u'1'} from (pid=18285) __call__ /usr/lib/pymodules/python2.6/routes/middleware.py:103
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_get_resources (nova.tests.api.openstack.test_extensions.ExtensionManagerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/nova-2011.2~bzr886/nova/tests/api/openstack/test_extensions.py", line 144, in test_get_resources
    self.assertEqual(200, response.status_int)
AssertionError: 200 != 404
-------------------- >> begin captured logging << --------------------
2011-03-25 13:17:59,998 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/pymodules/python2.6/routes/middleware.py:41
2011-03-25 13:17:59,999 AUDIT extensions [-] Initializing extension manager.
2011-03-25 13:18:00,001 DEBUG extensions [-] Extended resource: extensions from (pid=18285) __init__ /build/buildd/nova-2011.2~bzr886/nova/api/openstack/extensions.py:185
2011-03-25 13:18:00,002 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/pymodules/python2.6/routes/middleware.py:41
2011-03-25 13:18:00,004 DEBUG routes.middleware [-] No route matched for GET /foxnsocks from (pid=18285) __call__ /usr/lib/pymodules/python2.6/routes/middleware.py:97
2011-03-25 13:18:00,012 DEBUG routes.middleware [-] No route matched for GET /foxnsocks from (pid=18285) __call__ /usr/lib/pymodules/python2.6/routes/middleware.py:97
--------------------- >> end captured logging << ---------------------

this is becasue the FOXNSOX extension is missing.

Related branches

Soren Hansen (soren)
Changed in nova:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Soren Hansen (soren)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
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.