gclient sync can't pull a new tree on windows

82 views
Skip to first unread message

Jered

unread,
Mar 8, 2013, 5:55:38 PM3/8/13
to chromi...@chromium.org
gclient sync in a new tree on Windows has been hung for hours on:
"Syncing projects:  95% (107/112) src/third_party/WebKit/Source"
I don't think it's actually doing anything.

I downloaded and installed a new depot_tools zip this morning and followed the public wiki instructions.
What can I do to help diagnose this? My .gclient:
solutions = [
  { "name"        : "src",
    "url"         : "https://src.chromium.org/chrome/trunk/src",
    "deps_file"   : "DEPS",
    "managed"     : True,
    "custom_deps" : {
      "src/third_party/WebKit/LayoutTests": None,
      "src/content/test/data/layout_tests/LayoutTests": None,
      "src/chrome/tools/test/reference_build/chrome_win": None,
      "src/chrome_frame/tools/test/reference_build/chrome_win": None,
      "src/chrome/tools/test/reference_build/chrome_linux": None,
      "src/chrome/tools/test/reference_build/chrome_mac": None,
      "src/third_party/hunspell_dictionaries": None,
    },
    "safesync_url": "",
  },
]

Scott Graham

unread,
Mar 8, 2013, 5:58:19 PM3/8/13
to je...@chromium.org, chromium-dev
Is it perhaps prompting? Does "svn info" in src/third_party/WebKit/Source" tell you anything?

If there's junk left in there, you could try rmdir /s/q third_party\WebKit\Source && gclient sync again.


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
 
 
 

Jered

unread,
Mar 8, 2013, 6:05:55 PM3/8/13
to chromi...@chromium.org, je...@chromium.org


On Friday, March 8, 2013 2:58:19 PM UTC-8, Scott Graham wrote:
Is it perhaps prompting? Does "svn info" in src/third_party/WebKit/Source" tell you anything?
There's no visible prompt. ^Z doesn't do anything
svn info says something entirely reasonable:

C:\chromiumtrunk\src\third_party\WebKit\Source>svn info
Path: .
Repository UUID: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Revision: 145220
Node Kind: directory
Schedule: normal
Last Changed Author: vse...@chromium.org
Last Changed Rev: 145220
Last Changed Date: 2013-03-08 07:25:04 -0800 (Fri, 08 Mar 2013)
 

If there's junk left in there, you could try rmdir /s/q third_party\WebKit\Source && gclient sync again.
By junk left in there, do you mean unversioned files in WebKit\Source? I don't think there should be, since this is a fresh tree. I will attempt to abort the sync, wipe the directory, and sync again.

Jered

unread,
Mar 8, 2013, 6:14:21 PM3/8/13
to chromi...@chromium.org, je...@chromium.org


On Friday, March 8, 2013 3:05:55 PM UTC-8, Jered wrote:


On Friday, March 8, 2013 2:58:19 PM UTC-8, Scott Graham wrote:
Is it perhaps prompting? Does "svn info" in src/third_party/WebKit/Source" tell you anything?
There's no visible prompt. ^Z doesn't do anything
svn info says something entirely reasonable:

C:\chromiumtrunk\src\third_party\WebKit\Source>svn info
Path: .
Repository UUID: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Revision: 145220
Node Kind: directory
Schedule: normal
Last Changed Author: vse...@chromium.org
Last Changed Rev: 145220
Last Changed Date: 2013-03-08 07:25:04 -0800 (Fri, 08 Mar 2013)
 

If there's junk left in there, you could try rmdir /s/q third_party\WebKit\Source && gclient sync again.
By junk left in there, do you mean unversioned files in WebKit\Source? I don't think there should be, since this is a fresh tree. I will attempt to abort the sync, wipe the directory, and sync again.
^C froze gclient with the message below. I killed the hung python process, did rmdir /s/q src/third_party\WebKit\Source and ran gclient sync again from \chromiumtrunk. It's been hung with no output for about a minute.

Syncing projects:  95% (107/112) src/third_party/WebKit/Source
Allowed parallel jobs: 24
# queued: 0
Ran: src, [[[... a billion directories ...]]], src/third_party/WebKit/Source
Running: 4
Traceback (most recent call last):
  File "C:\depot_tools\\gclient.py", line 1765, in <module>
    sys.exit(Main(sys.argv[1:]))
  File "C:\depot_tools\\gclient.py", line 1754, in Main
    return command(parser, argv[1:])
  File "C:\depot_tools\\gclient.py", line 1526, in CMDsync
    return client.RunOnDeps('update', args)
  File "C:\depot_tools\\gclient.py", line 1112, in RunOnDeps
    work_queue.flush(revision_overrides, command, args, options=self._options)
  File "C:\depot_tools\gclient_utils.py", line 604, in flush
    self.ready_cond.wait(10)
  File "C:\depot_tools\python_bin\lib\threading.py", line 256, in wait
    _sleep(delay)
KeyboardInterrupt

Scott Graham

unread,
Mar 8, 2013, 6:17:37 PM3/8/13
to jered, chromium-dev
Instead of gclient sync, maybe try svn up in WebKit\Source and see if you get more sane output. gclient sync buffers which might be confusing things. e.g. it could be the project after WebKit that's causing problems.

Jered

unread,
Mar 8, 2013, 7:14:36 PM3/8/13
to chromi...@chromium.org, jered
I've been serially running gclient sync, removing the directory where it bombs, and then running it over again. This sort of sucks. :-/

Is there some different more mainstream windows dev setup or am I just really unlucky today?

Scott Graham

unread,
Mar 8, 2013, 7:30:41 PM3/8/13
to je...@chromium.org, chromium-dev
Not that I know of. Perhaps there's been server troubles today, but I haven't noticed anything personally.

Daniel Cheng

unread,
Mar 8, 2013, 7:32:27 PM3/8/13
to Scott Graham, je...@chromium.org, chromium-dev
The first sync of WebKit takes a pretty long time. Are you sure it's not just doing something and taking a really long time to do it?
​Also, I've found that passing gclient sync -f to force updates in the dependencies to be helpful when things got confused.​

Daniel

Isaac Levy

unread,
Mar 9, 2013, 4:06:04 PM3/9/13
to dch...@chromium.org, Scott Graham, je...@chromium.org, chromium-dev
Other gclient debugging steps:

Try "gclient sync -j1 -vvv"
It it looks stalled, sometimes you have to hit enter to see the message (usually svn prompt).
Reply all
Reply to author
Forward
0 new messages