Murano test_log.SysLogHandlersTestCase.test_rfc_format fails with socket.error: [Errno 2] ENOENT error

asked 2016-01-12 05:52:49 -0600

Running the tests inside a Docker container.

Commands -

tox -epy27 -- '(test_log.SysLogHandlersTestCase.test_rfc_format)'
tox -epy27 -- '(test_log.SysLogHandlersTestCase.test_standard_format)'

Except these two all the other tests are passing .


Captured traceback:
    Traceback (most recent call last):
      File "/murano/murano/tests/unit/", line 34, in setUp
      File "murano/openstack/common/", line 480, in __init__
        logging.handlers.SysLogHandler.__init__(self, *args, **kwargs)
      File "/usr/lib/python2.7/logging/", line 759, in __init__
      File "/usr/lib/python2.7/logging/", line 759, in __init__                                                                                                         
      File "/usr/lib/python2.7/logging/", line 787, in _connect_unixsocket
      File "/murano/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenio/", line 235, in connect
        while not socket_connect(fd, address):
      File "/murano/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenio/", line 37, in socket_connect
        raise socket.error(err, errno.errorcode[err])
    socket.error: [Errno 2] ENOENT

Please let me know if I can collect more details for this. From the error and a quick look at the code, I believe it is creating some kind of socket file inside /dev/log , but I am not very sure about it and need assistance in fixing it.

edit retag flag offensive close merge delete