gitlab CI fail 128 and how to solve it

If you are seeing this, then it means an earlier test has spannered out so bad that it’s now preventing other tests from working.

This quickest way to un-block it is… ssh into the runner and delete the .git/index.lock! Then re-run and it should all clear out.

HTH

fatal: Unable to create '/home/admin/tmp/builds/runner-XXX/.git/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.

Build failed with exit status 128]
Published
Categorized as HTH, Tech

By Dan Course

Senior Instructional Designer. Partnerships, people, products, delivery, agile tech and online edu. Naturally curious, innovative and willing to challenge the status quo.

%d bloggers like this: