New issue
Advanced search Search tips

Issue 598225 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Apr 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Syzygy binaries not updating with gclient sync

Project Member Reported by noel@chromium.org, Mar 27 2016

Issue description

Running gclient sync from cygwin prompt is reporting the following errors

________ running '/usr/bin/python src/build/get_syzygy_binaries.py --output-dir=src/third_party/syzygy/binaries --revision=83261eadef4d3a6ac2e2b325a39e62c27b283aca --overwrite' in '/cygdrive/c/src/chrome'
INFO:get_syzygy_binaries.py:Installing revision 83261eadef4d Syzygy binaries.
Failure:
---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 240, in serve_client
    request = recv()
RuntimeError: not holding the import lock
---------------------------------------------------------------------------.
Failure:
---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 240, in serve_client
    request = recv()
RuntimeError: not holding the import lock
---------------------------------------------------------------------------.
Failed while running "/usr/bin/python src/build/get_syzygy_binaries.py --output-dir=src/third_party/syzygy/binaries --revision=83261eadef4d3a6ac2e2b325a39e62c27b283aca --overwrite"
Hook '/usr/bin/python src/build/get_syzygy_binaries.py --output-dir=src/third_party/syzygy/binaries --revision=83261eadef4d3a6ac2e2b325a39e62c27b283aca --overwrite' took 29.90 secs
interrupted

and eventually fails. This is a recent change in behavior, it has been working fine for me in this configuration for yonks.
 
Is it failing consistently ? We haven't observed this on the waterfall builders and no one complained on chromium-dev@ , so it's probably something in your environment.

Comment 2 by noel@chromium.org, Mar 29 2016

Yes, failing consistently.  Python version 2.7.10 if that helps.
Cc: chrisha@chromium.org
Chris, any idea ? (it's probably related to cygwin)
Zero idea, never seen this before at all, and I've never tried running under Cygwin. Does this happen on the same machine but *not* under Cygwin?

Comment 5 by noel@chromium.org, Mar 31 2016

From the cygwin prompt, I type

% pwd ; which python ; python --version
/cygdrive/c/src/chrome/src
/usr/bin/python
Python 2.7.10

% cmd.exe
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\src\chrome\src> gclient runhooks

and the syzygy update works fine, because the depot_tools python (2.7.6) is used in this case?  Other options ...

C:\src\chrome\src> which python.exe

/cygdrive/c/python_27_amd64/files/python.exe

required by corp tools (gnubby).  Perhaps it is a case of too many pythons.
Yeah, I don't think that it has anything to do with the Syzygy download script, you should just make sure that you're using the version of Python from depot_tools.

Comment 7 by noel@chromium.org, Apr 5 2016

Status: WontFix (was: Untriaged)
Right, let's fix it that way.  I can 1) downgrade the cygwin python version, or 2) just remove cygwin python completely, so the depot_tools python is used.

Sign in to add a comment