Skip to content
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

Unable to create '/home/iojs/build/workspace/node-test-binary-arm/.git/index.lock': File exists on pi3's #2475

Closed
richardlau opened this issue Nov 5, 2020 · 0 comments

Comments

@richardlau
Copy link
Member

test-requireio_davglass-debian10-arm64_pi3-1 and test-requireio_securogroup-debian10-arm64_pi3-1 were failing builds due to a locked git repository:
e.g. https://ci.nodejs.org/job/node-test-binary-arm-12+/RUN_SUBSET=addons,label=pi3-docker/8037/console

16:35:01 + git checkout -f refs/remotes/jenkins_tmp
16:35:01 fatal: Unable to create '/home/iojs/build/workspace/node-test-binary-arm/.git/index.lock': File exists.
16:35:01 
16:35:01 Another git process seems to be running in this repository, e.g.
16:35:01 an editor opened by 'git commit'. Please make sure all processes
16:35:01 are terminated then try again. If it still fails, a git process
16:35:01 may have crashed in this repository earlier:
16:35:01 remove the file manually to continue.
16:35:01 
16:35:01 real	0m0.109s
16:35:01 user	0m0.000s
16:35:01 sys	0m0.038s
16:35:02 Build step 'Execute shell' marked build as failure

I've checked there were no running processes and removed the lock file on both and they appear to be processing builds normally again.

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

No branches or pull requests

1 participant