Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Failed Build : "Failed to check out"

Discussion in 'Unity Build Automation' started by Mycroft, Oct 1, 2015.

  1. Mycroft

    Mycroft

    Joined:
    Aug 29, 2012
    Posts:
    160
    Code (CSharp):
    1. 1: ERROR: Failed to check out https://...project...
    2. 2: Caused by: java.io.IOException: Failed to check out https://...project...
    3. 3: Finished: FAILURE
    4. 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.
     
  2. Mycroft

    Mycroft

    Joined:
    Aug 29, 2012
    Posts:
    160
    The failure don't seem to be related when I'm doing a check-in. Builds alternated failing/succeeding all night.
     
  3. patrickc

    patrickc

    Unity Technologies

    Joined:
    Jan 23, 2015
    Posts:
    67
    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
     
  4. Mycroft

    Mycroft

    Joined:
    Aug 29, 2012
    Posts:
    160
    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.