unittests not running on OSX
Bug #974583 reported by
Chmouel Boudjnah
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Maru Newby |
Bug Description
According to termie the unittests are not running on OSX due of Swift requiring /dev/log in virtualenv, this should get fixed. I don't have OSX so it could be hard for me to address.
Changed in keystone: | |
assignee: | nobody → Maru Newby (maru) |
Changed in keystone: | |
milestone: | none → folsom-1 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | folsom-1 → 2012.2 |
To post a comment you must log in.
quite a few of these are output:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= succeeds_ for_user_ role_in_ roles (test_swift_ auth_middleware .TestAuthorize) ------- ------- ------- ------- ------- ------- ------- ------- ------- termie/ p/keystone/ tests/test_ swift_auth_ middleware. py", line 96, in setUp filter_ factory( {})(FakeApp( )) termie/ p/keystone/ keystone/ middleware/ swift_auth. py", line 282, in auth_filter termie/ p/keystone/ keystone/ middleware/ swift_auth. py", line 95, in __init__ get_logger( conf, log_route= 'keystoneauth' ) termie/ p/keystone/ .venv/src/ swift/swift/ common/ utils.py" , line 436, in get_logger address= '/dev/log' , facility=facility) Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python2. 6/logging/ handlers. py", line 705, in __init__ _connect_ unixsocket( address) Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python2. 6/logging/ handlers. py", line 720, in _connect_unixsocket socket. connect( address) termie/ p/keystone/ .venv/lib/ python2. 6/site- packages/ eventlet/ greenio. py", line 167, in connect termie/ p/keystone/ .venv/lib/ python2. 6/site- packages/ eventlet/ greenio. py", line 37, in socket_connect [err])
ERROR: test_authorize_
-------
Traceback (most recent call last):
File "/Users/
self.test_auth = swift_auth.
File "/Users/
return SwiftAuth(app, conf)
File "/Users/
self.logger = swift_utils.
File "/Users/
handler = SysLogHandler(
File "/System/
self.
File "/System/
self.
File "/Users/
while not socket_connect(fd, address):
File "/Users/
raise socket.error(err, errno.errorcode
error: [Errno 2] ENOENT