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

Bug #1533172 reported by Arun prasath S
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Kilo
Invalid
Undecided
Unassigned

Bug Description

Branch - stable/kilo

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 the above two tests all the other tests are passing .

Error:
##########################################
Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/murano/murano/tests/unit/test_log.py", line 34, in setUp
        facility=self.facility)
      File "murano/openstack/common/log.py", line 480, in __init__
        logging.handlers.SysLogHandler.__init__(self, *args, **kwargs)
      File "/usr/lib/python2.7/logging/handlers.py", line 759, in __init__
        self._connect_unixsocket(address)
      File "/usr/lib/python2.7/logging/handlers.py", line 759, in __init__
        self._connect_unixsocket(address)
      File "/usr/lib/python2.7/logging/handlers.py", line 787, in _connect_unixsocket
        self.socket.connect(address)
      File "/murano/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenio/base.py", line 235, in connect
        while not socket_connect(fd, address):
      File "/murano/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenio/base.py", 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.

description: updated
Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

Hi, can you reproduce this bug on other branches? stable/kilo is currently security supported, so unless this bug blocks the gate It's highly unlikely that it'll be fixed there.

Revision history for this message
Arun prasath S (bingoarunprasath) wrote :

I will try with other branches today and post the results.

Revision history for this message
Arun prasath S (bingoarunprasath) wrote :

I can see the same error with master and stable/liberty branch.

Revision history for this message
Ekaterina Chernova (efedorova) wrote :

the correct command is tox -e py27 (space is missed)

Changed in murano:
status: New → Invalid
no longer affects: murano
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.