Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so dont bother with any of their useless mail servers here and just use oauth login instead. Thank the nice Russians for causing that. :)
Paste
Pasted as Python by Wayne ( 15 years ago )
======================================================================
ERROR: test_lockout (nova.tests.test_middleware.LockoutTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/openstack/nova/nova/tests/test_middleware.py", line 65, in test_lockout
self.assertTrue(self._is_locked_out('test'))
File "/root/openstack/nova/nova/tests/test_middleware.py", line 61, in _is_locked_out
return (req.get_response(self.lockout).status_int == 403)
File "/usr/lib/pymodules/python2.6/webob/request.py", line 918, in get_response
application, catch_exc_info=False)
File "/usr/lib/pymodules/python2.6/webob/request.py", line 886, 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/webob/exc.py", line 248, in __call__
return self.generate_response(environ, start_response)
File "/usr/lib/pymodules/python2.6/webob/exc.py", line 239, in generate_response
content_type=content_type
File "/usr/lib/pymodules/python2.6/webob/response.py", line 94, in __init__
"You cannot set the body to a unicode value without a charset")
TypeError: You cannot set the body to a unicode value without a charset
-------------------- >> begin captured logging << --------------------
2011-02-28 16:32:54,230 WARNING nova.api [-] Access key test has had 5 failed authentications and will be locked out for 15 minutes.
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_multiple_keys (nova.tests.test_middleware.LockoutTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/openstack/nova/nova/tests/test_middleware.py", line 75, in test_multiple_keys
self.assertTrue(self._is_locked_out('test1'))
File "/root/openstack/nova/nova/tests/test_middleware.py", line 61, in _is_locked_out
return (req.get_response(self.lockout).status_int == 403)
File "/usr/lib/pymodules/python2.6/webob/request.py", line 918, in get_response
application, catch_exc_info=False)
File "/usr/lib/pymodules/python2.6/webob/request.py", line 886, 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/webob/exc.py", line 248, in __call__
return self.generate_response(environ, start_response)
File "/usr/lib/pymodules/python2.6/webob/exc.py", line 239, in generate_response
content_type=content_type
File "/usr/lib/pymodules/python2.6/webob/response.py", line 94, in __init__
"You cannot set the body to a unicode value without a charset")
TypeError: You cannot set the body to a unicode value without a charset
-------------------- >> begin captured logging << --------------------
2011-02-28 16:32:54,236 WARNING nova.api [-] Access key test1 has had 5 failed authentications and will be locked out for 15 minutes.
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_timeout (nova.tests.test_middleware.LockoutTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/openstack/nova/nova/tests/test_middleware.py", line 69, in test_timeout
self.assertTrue(self._is_locked_out('test'))
File "/root/openstack/nova/nova/tests/test_middleware.py", line 61, in _is_locked_out
return (req.get_response(self.lockout).status_int == 403)
File "/usr/lib/pymodules/python2.6/webob/request.py", line 918, in get_response
application, catch_exc_info=False)
File "/usr/lib/pymodules/python2.6/webob/request.py", line 886, 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/webob/exc.py", line 248, in __call__
return self.generate_response(environ, start_response)
File "/usr/lib/pymodules/python2.6/webob/exc.py", line 239, in generate_response
content_type=content_type
File "/usr/lib/pymodules/python2.6/webob/response.py", line 94, in __init__
"You cannot set the body to a unicode value without a charset")
TypeError: You cannot set the body to a unicode value without a charset
-------------------- >> begin captured logging << --------------------
2011-02-28 16:32:54,243 WARNING nova.api [-] Access key test has had 5 failed authentications and will be locked out for 15 minutes.
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 338 tests in 84.712s
FAILED (errors=3)
Revise this Paste