Failed Build : "Failed to check out"

1: ERROR: Failed to check out https://...project...
2: Caused by: java.io.IOException: Failed to check out https://...project...
3: Finished: FAILURE
Status: FAILED

I have successful builds but occasionally I get the above failure. I haven’t seen this error anywhere else.

Something… I sort of believe that it’s related to when I check-in using the same account as CloudBuild is using to access the repository. Is that likely at all?

PS. Great presentations at the Unite Boston conference.

The failure don’t seem to be related when I’m doing a check-in. Builds alternated failing/succeeding all night.

Mycroft,

Where are you hosting your source control? If there’s network lag between Cloud Build and where you host your SCM, builds can time-out.

Cheers,
Patrick

I’m working with an international team and I’m guessing (I’ll be looking into this later) that the SCM is in South America (likely Brazil).

I’ll let you know what I find, thanks for the hint.