Starting yesterday (About the 1pm or so) and continuing today, we have been having intermittent, but very consistent build failures in Xcode Cloud, failing during the "Fetch Source Code" step, and getting a 502 (like OP) on a random git LFS file retrieval. Our SCM is GitHub, so unlikely this is an issue on the server side. This is causing a random selection of our builds to fail (90%+), with only a few getting through successfully on retry.
The error shows as:
The action could not complete due to an error. The error may not occur on rebuild.
The logs show:
From http://github.com/grindrllc/grindr-3.0-ios
branch <sha> -> FETCH_HEAD
Downloading <Various Files> (1.2 KB)
... (for a random number of files before hitting error)
Error downloading object: <Some random file> (<sha>): Smudge error: Error downloading <Some random file> (<sha>): batch response: Fatal error: Server error &{%!!(string=http) %!!(string=) %!!(*url.Userinfo=) %!!(string=github.com) %!!(string=<our repo>/info/lfs/objects/batch) %!!(string=) %!!(bool=false) %!!(string=) %!!(string=) %!!(string=)}s(MISSING) from HTTP 502
Errors logged to '/Volumes/workspace/repository/.git/lfs/logs/.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: <Some random file>: smudge filter lfs failed
Kind of feels like this could be related to 502's, and if they are intermittent, the LFS pull of a git fetch would have a lot. Possible it's some kind of rate limiting?
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags: