Skip to content

Buildbot interrupt can leave directory in an unbuildable state #7939

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
huonw opened this issue Jul 21, 2013 · 3 comments
Closed

Buildbot interrupt can leave directory in an unbuildable state #7939

huonw opened this issue Jul 21, 2013 · 3 comments

Comments

@huonw
Copy link
Member

huonw commented Jul 21, 2013

#7916 failed, and the interrupt managed to catch git mid-operation on mac3, leaving src/llvm such that git doesn't want to run:

fatal: Unable to create '/Users/rustbuild/src/rust-buildbot/slave/auto-mac-all-opt/build/.git/modules/src/llvm/index.lock': File exists.

If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
Stopping at 'src/llvm'; script returned non-zero status.

(Presumably it's local to the mac3 builder.)

Update: looks like linux3 has also been corrupted:

Synchronizing submodule url for 'src/libuv'
Synchronizing submodule url for 'src/llvm'
configure: git: submodule update
Submodule 'src/libuv' () registered for path 'src/libuv'
Submodule 'src/llvm' () registered for path 'src/llvm'
fatal: Needed a single revision
Unable to find current revision in submodule path 'src/llvm'
configure: error: git

cc @graydon

@graydon
Copy link
Contributor

graydon commented Jul 21, 2013

Sigh, more non-transactional git commands.

I'll try to modify the interrupter to wait until it's done git and configure steps.

@graydon
Copy link
Contributor

graydon commented Jul 21, 2013

I have modified the builder to only interrupt after git and configure. Hopefully this won't happen again. Closing for now. Reopen if you see it happen again.

@sononix
Copy link

sononix commented Sep 28, 2014

just download from github and getting this error

[code]
Synchronizing submodule url for 'src/compiler-rt'
Synchronizing submodule url for 'src/gyp'
Synchronizing submodule url for 'src/jemalloc'
Synchronizing submodule url for 'src/libuv'
Synchronizing submodule url for 'src/llvm'
Synchronizing submodule url for 'src/rt/hoedown'
configure: git: submodule init
configure: git: submodule update
fatal: Needed a single revision
Unable to find current revision in submodule path 'src/llvm'
configure: error: git faile
[/code]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants