RESOLVED FIXED199722
[ews-build] Add build step to clean up .git/index.lock file
https://bugs.webkit.org/show_bug.cgi?id=199722
Summary [ews-build] Add build step to clean up .git/index.lock file
Aakash Jain
Reported 2019-07-11 13:19:31 PDT
Sometimes some bots gets into a state when git operations fail with an error: "fatal: Unable to create 'build/.git/index.lock': File exists." , e.g.: https://ews-build.webkit-uat.org/#/builders/40/builds/177 This usually happens when a git operation is interrupted (e.g.: by buildbot restart while git operation was running). Once that happens bot can't recover themself, and they burn through all the build-requests very quickly. This is pretty bad. To make EWS robust against such issues, we should add build step to delete .git/index.lock file.
Attachments
Patch (4.77 KB, patch)
2019-07-11 13:23 PDT, Aakash Jain
no flags
Aakash Jain
Comment 1 2019-07-11 13:23:06 PDT
Aakash Jain
Comment 2 2019-07-11 13:23:48 PDT
EWS Watchlist
Comment 3 2019-07-11 13:25:39 PDT Comment hidden (obsolete)
WebKit Commit Bot
Comment 4 2019-07-11 14:12:46 PDT
Comment on attachment 373945 [details] Patch Clearing flags on attachment: 373945 Committed r247364: <https://trac.webkit.org/changeset/247364>
WebKit Commit Bot
Comment 5 2019-07-11 14:12:48 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2019-07-11 14:13:15 PDT
Aakash Jain
Comment 7 2019-07-11 16:20:07 PDT
Small follow-up fix: https://trac.webkit.org/changeset/247372/webkit Missed this while creating the patch previously.
Note You need to log in before you can comment on or make changes to this bug.