Skip to content

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

Closed
@richardlau

Description

@richardlau

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions