gclient syncs failed with '.vpython is a directory' |
||||||
Issue descriptionOn my workstation, gclient syncs started failing with Failed to fetch file gs://chromium-fonts/df8105c58d91885e7cf812488a26cdcb6363f187 for src/third_party/content_shell_fonts/content_shell_test_fonts.tar.gz. [Err: [E2018-01-05T10:30:43.7 95494+01:00 125038 0 annotate.go:242] original error: read /usr/local/google/home/phoglund/.vpython: is a directory [E2018-01-05T10:26:46.495521+01:00 125038 0 annotate.go:242] [E2018-01-05T10:26:46.495533+01:00 125038 0 annotate.go:242] goroutine 1: [E2018-01-05T10:26:46.495547+01:00 125038 0 annotate.go:242] #0 go.chromium.org/luci/vpython/spec/load.go:60 - spec.Load() [E2018-01-05T10:26:46.495557+01:00 125038 0 annotate.go:242] reason: failed to load file from: /usr/local/google/home/phoglund/.vpython [E2018-01-05T10:26:46.495567+01:00 125038 0 annotate.go:242] [E2018-01-05T10:26:46.495578+01:00 125038 0 annotate.go:242] #1 go.chromium.org/luci/vpython/spec/load.go:211 - spec.(*Loader).LoadForScript() [E2018-01-05T10:26:46.495588+01:00 125038 0 annotate.go:242] #2 go.chromium.org/luci/vpython/options.go:137 - vpython.(*Options).ResolveSpec() [E2018-01-05T10:26:46.495597+01:00 125038 0 annotate.go:242] reason: failed to load spec for script: {/usr/local/google/home/phoglund/dev/depot_tools/gsutil.py} [E2018-01-05T10:26:46.495615+01:00 125038 0 annotate.go:242] internal reason: isModule(false) [E2018-01-05T10:26:46.495625+01:00 125038 0 annotate.go:242] [E2018-01-05T10:26:46.495641+01:00 125038 0 annotate.go:242] #3 go.chromium.org/luci/vpython/options.go:86 - vpython.(*Options).resolve() [E2018-01-05T10:26:46.495651+01:00 125038 0 annotate.go:242] reason: failed to resolve Python script [E2018-01-05T10:26:46.495660+01:00 125038 0 annotate.go:242] [E2018-01-05T10:26:46.495670+01:00 125038 0 annotate.go:242] #4 go.chromium.org/luci/vpython/run.go:57 - vpython.Run() [E2018-01-05T10:26:46.495683+01:00 125038 0 annotate.go:242] reason: could not resolve options [E2018-01-05T10:26:46.495692+01:00 125038 0 annotate.go:242] [E2018-01-05T10:26:46.495702+01:00 125038 0 annotate.go:242] #5 go.chromium.org/luci/vpython/application/application.go:266 - application.(*application).mainImpl() [E2018-01-05T10:26:46.495713+01:00 125038 0 annotate.go:242] #6 go.chromium.org/luci/vpython/application/application.go:354 - application.(*Config).Main.func1() [E2018-01-05T10:26:46.495723+01:00 125038 0 annotate.go:242] #7 go.chromium.org/luci/vpython/application/support.go:45 - application.run() [E2018-01-05T10:26:46.495734+01:00 125038 0 annotate.go:242] #8 go.chromium.org/luci/vpython/application/application.go:353 - application.(*Config).Main() [E2018-01-05T10:26:46.495745+01:00 125038 0 annotate.go:242] #9 vpython/main.go:92 - main.mainImpl() [E2018-01-05T10:26:46.495755+01:00 125038 0 annotate.go:242] #10 vpython/main.go:98 - main.main() [E2018-01-05T10:26:46.495764+01:00 125038 0 annotate.go:242] #11 runtime/proc.go:185 - runtime.main() [E2018-01-05T10:26:46.495778+01:00 125038 0 annotate.go:242] #12 runtime/asm_amd64.s:2337 - runtime.goexit() ] 0> Failed to fetch file gs://chromium-fonts/df8105c58d91885e7cf812488a26cdcb6363f187 for src/third_party/content_shell_fonts/content_shell_test_fonts.tar.gz, skipping. [Err: [E2018-01-05T10:26:46.495494+01:00 125038 0 annotate.go:242] original error: read /usr/local/google/home/phoglund/.vpython: is a directory [E2018-01-05T10:26:46.495521+01:00 125038 0 annotate.go:242] [E2018-01-05T10:26:46.495533+01:00 125038 0 annotate.go:242] goroutine 1: [E2018-01-05T10:26:46.495547+01:00 125038 0 annotate.go:242] #0 go.chromium.org/luci/vpython/spec/load.go:60 - spec.Load() [E2018-01-05T10:26:46.495557+01:00 125038 0 annotate.go:242] reason: failed to load file from: /usr/local/google/home/phoglund/.vpython [E2018-01-05T10:26:46.495567+01:00 125038 0 annotate.go:242] [E2018-01-05T10:26:46.495578+01:00 125038 0 annotate.go:242] #1 go.chromium.org/luci/vpython/spec/load.go:211 - spec.(*Loader).LoadForScript() [E2018-01-05T10:26:46.495588+01:00 125038 0 annotate.go:242] #2 go.chromium.org/luci/vpython/options.go:137 - vpython.(*Options).ResolveSpec() [E2018-01-05T10:26:46.495597+01:00 125038 0 annotate.go:242] reason: failed to load spec for script: {/usr/local/google/home/phoglund/dev/depot_tools/gsutil.py} [E2018-01-05T10:26:46.495615+01:00 125038 0 annotate.go:242] internal reason: isModule(false) [E2018-01-05T10:26:46.495625+01:00 125038 0 annotate.go:242] [E2018-01-05T10:26:46.495641+01:00 125038 0 annotate.go:242] #3 go.chromium.org/luci/vpython/options.go:86 - vpython.(*Options).resolve() [E2018-01-05T10:26:46.495651+01:00 125038 0 annotate.go:242] reason: failed to resolve Python script [E2018-01-05T10:26:46.495660+01:00 125038 0 annotate.go:242] [E2018-01-05T10:26:46.495670+01:00 125038 0 annotate.go:242] #4 go.chromium.org/luci/vpython/run.go:57 - vpython.Run() [E2018-01-05T10:26:46.495683+01:00 125038 0 annotate.go:242] reason: could not resolve options [E2018-01-05T10:26:46.495692+01:00 125038 0 annotate.go:242] [E2018-01-05T10:26:46.495702+01:00 125038 0 annotate.go:242] #5 go.chromium.org/luci/vpython/application/application.go:266 - application.(*application).mainImpl() [E2018-01-05T10:26:46.495713+01:00 125038 0 annotate.go:242] #6 go.chromium.org/luci/vpython/application/application.go:354 - application.(*Config).Main.func1() [E2018-01-05T10:26:46.495723+01:00 125038 0 annotate.go:242] #7 go.chromium.org/luci/vpython/application/support.go:45 - application.run() [E2018-01-05T10:26:46.495734+01:00 125038 0 annotate.go:242] #8 go.chromium.org/luci/vpython/application/application.go:353 - application.(*Config).Main() [E2018-01-05T10:26:46.495745+01:00 125038 0 annotate.go:242] #9 vpython/main.go:92 - main.mainImpl() [E2018-01-05T10:26:46.495755+01:00 125038 0 annotate.go:242] #10 vpython/main.go:98 - main.main() [E2018-01-05T10:26:46.495764+01:00 125038 0 annotate.go:242] #11 runtime/proc.go:185 - runtime.main() [E2018-01-05T10:26:46.495778+01:00 125038 0 annotate.go:242] #12 runtime/asm_amd64.s:2337 - runtime.goexit() ] The failure to fetch a file wasn't the real problem; turns out it was the vpython problem. I fixed it with sudo rm -rf ~/.vpython after that it worked.
,
Jan 5 2018
I just had the same issue, thanks for reporting your fix phoglund@! I moved ~/.vpython somewhere else just in case it's important and I need it back (I don't remember ever installing vpython, so I guess it's probably not important though!)
,
Jan 5 2018
Also ran into this, probably worth a note to chromium-dev?
,
Jan 5 2018
this should fix the problem: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/851847
,
Jan 5 2018
Broken by https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/849663 (and corresponding roll into src.git) Fixed by https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/851847 (and corresponding roll into src.git which hasn't happened yet) Assigning to tandrii because he has context on this.
,
Jan 5 2018
sending PSA.
,
Jan 5 2018
PSA sent (achuith@ was faster than me, thanks!) https://groups.google.com/a/chromium.org/d/msg/chromium-dev/PPgIdjMOGaE/WtAzghHcDwAJ And https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/851847 landed as df27bf6f0034ac718433f8c745f9229514aca960.
,
Jan 5 2018
Roll into chromium/src: https://chromium-review.googlesource.com/#/c/chromium/src/+/852692
,
Jan 5 2018
Roll into build (not sure it's necessary, but it shouldn't hurt) https://chromium-review.googlesource.com/#/c/chromium/tools/build/+/852487
,
Jan 5 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/tools/build/+/425e15d30d0985f1e9caaf8a20096c76f6db0f85 commit 425e15d30d0985f1e9caaf8a20096c76f6db0f85 Author: Andrii Shyshkalov <tandrii@chromium.org> Date: Fri Jan 05 18:35:01 2018 recipe roll: update depot_tools to pick up vpython fix. https://crrev.com/c/851847 [vpython] Roll vpython to latest version. R=agable@chromium.org Bug: 799419 Change-Id: I39ee7eeb96119e859b51d66d1d88f1588a792d86 Reviewed-on: https://chromium-review.googlesource.com/852487 Reviewed-by: Aaron Gable <agable@chromium.org> Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org> [modify] https://crrev.com/425e15d30d0985f1e9caaf8a20096c76f6db0f85/scripts/slave/README.recipes.md [modify] https://crrev.com/425e15d30d0985f1e9caaf8a20096c76f6db0f85/infra/config/recipes.cfg
,
Jan 5 2018
,
Jan 5 2018
Ah dang, I thought I had committed the depot_tools change last night to avoid this, apparently not. Please try again (with up-to-date depot_tools) and it should be happy now. The ~/.vpython directory is a relic of an ollld version of vpython and can be safely deleted. Related to issue 795146 .
,
Jan 5 2018
/me is still booting up today, not fully awake.
,
Jan 9 2018
This should be fully resolved |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by phoglund@chromium.org
, Jan 5 2018