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

Issue 612173 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

gclient sync fails with os.rename

Project Member Reported by majidvp@chromium.org, May 16 2016

Issue description

OS: Windows 10

gclient sync is failing when reaching "SPIRV-Tools" with the following error. I tried commenting out SPRIV-Tools from DEPS and it now fails on 'flatbuffers' with the same error.



$ gclient sync
Syncing projects:  60% (45/75) src/third_party/glslang/src

src/third_party/SPIRV-Tools/src (ERROR)
----------------------------------------
[0:00:00] Started.
[0:00:00]

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git /cygdrive/c/chromium5/src/third_party/SPIRV-Tools/_gclient_src_kxfwJq' in '/cygdrive/c/chromium5'
[0:00:00] Cloning into '/cygdrive/c/chromium5/src/third_party/SPIRV-Tools/_gclient_src_kxfwJq'...
[0:00:01] remote: Counting objects: 1
[0:00:01] remote: Counting objects: 4, done
[0:00:01] remote: Finding sources:  25% (1/4)
[0:00:01] remote: Finding sources: 100% (4/4)
[0:00:01] Receiving objects:   0% (1/4241)
[0:00:01] Receiving objects:  10% (425/4241)
[0:00:01] Receiving objects: 100% (4241/4241)
[0:00:01] Resolving deltas:   0% (0/3228)
[0:00:01] Resolving deltas:  10% (333/3228)
[0:00:01] Resolving deltas: 100% (3228/3228)
[0:00:02] remote: Total 4241 (delta 3228), reused 4241 (delta 3228)
[0:00:02] Checking connectivity... done.
Traceback (most recent call last):
  File "/cygdrive/c/depot_tools/gclient_scm.py", line 953, in _Clone
    os.path.join(self.checkout_path, '.git'))
  File "/cygdrive/c/depot_tools/gclient_utils.py", line 158, in safe_rename
    os.rename(old, new)
OSError: [Errno 2] No such file or directory
----------------------------------------
Traceback (most recent call last):
  File "/cygdrive/c/depot_tools/gclient.py", line 2346, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/cygdrive/c/depot_tools/gclient.py", line 2332, in main
    return dispatcher.execute(OptionParser(), argv)
  File "/cygdrive/c/depot_tools/subcommand.py", line 252, in execute
    return command(parser, args[1:])
  File "/cygdrive/c/depot_tools/gclient.py", line 2086, in CMDsync
    ret = client.RunOnDeps('update', args)
  File "/cygdrive/c/depot_tools/gclient.py", line 1537, in RunOnDeps
    work_queue.flush(revision_overrides, command, args, options=self._options)
  File "/cygdrive/c/depot_tools/gclient_utils.py", line 1024, in run
    self.item.run(*self.args, **self.kwargs)
  File "/cygdrive/c/depot_tools/gclient.py", line 845, in run
    file_list)
  File "/cygdrive/c/depot_tools/gclient_scm.py", line 166, in RunCommand
    return getattr(self, command)(options, args, file_list)
  File "/cygdrive/c/depot_tools/gclient_scm.py", line 439, in update
    self._Clone(revision, url, options)
  File "/cygdrive/c/depot_tools/gclient_scm.py", line 953, in _Clone
    os.path.join(self.checkout_path, '.git'))
  File "/cygdrive/c/depot_tools/gclient_utils.py", line 158, in safe_rename
    os.rename(old, new)
OSError: [Errno 2] No such file or directory

 
If it helps I am syncing from 386985 to 393832.
Owner: majidvp@chromium.org
Status: Assigned (was: Untriaged)
Have you had the same issue lately? Did you try to delete the current checkout and re-fetch?
Owner: benhenry@chromium.org
I have not worked on windows build recently so I have not been in a situation to notice it. I don't recall how I fixed it now. Feel free to close.
Status: Fixed (was: Assigned)
I'm happy to find some help if you see this again. Sorry it lingered for so long.

Sign in to add a comment