New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 770836 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

(OS-X) Lucifer unit test failure on pre-upload

Project Member Reported by pho...@chromium.org, Oct 2 2017

Issue description

              /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py:228: error
              ----------------------------- Captured stderr call -----------------------------
              Traceback (most recent call last):
                File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
                  "__main__", fname, loader, pkg_name)
                File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
                  exec code in run_globals
                File "/Volumes/chromeos/chromiumos/src/third_party/autotest/files/venv/lucifer/scripts/test/abort_socket.py", line 36, in <module>
                  sys.exit(main(sys.argv[1:]))
                File "/Volumes/chromeos/chromiumos/src/third_party/autotest/files/venv/lucifer/scripts/test/abort_socket.py", line 30, in main
                  sock.bind(sys.argv[1])
                File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 228, in meth
                  return getattr(self._sock,name)(*args)
              socket.error: AF_UNIX path too long
 
Oh, that's interesting.  It sounds like the temporary directory for testing has a too long path.

You can add a logger.debug to leasing_unittest.py and check what path it is on OSX.

Alternatively, the OSX kernel is compiled with a smaller path limit (or perhaps that's a BSD limitation).
Status: Assigned (was: Untriaged)
Status: Archived (was: Assigned)

Sign in to add a comment