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. Dismiss Notice

Unity Cloud Build Timeout

Discussion in 'Unity Build Automation' started by tuxinet32, Jun 29, 2016.

  1. tuxinet32

    tuxinet32

    Joined:
    Jun 29, 2016
    Posts:
    2
    Hi, so me and my team is currently looking into using cloudbuild for our project. I was going to test it out on the free plan first to see if it works but encountered this fine little error right here:

    1: ERROR: Timeout after 60 minutes
    2: ERROR: Error cloning remote repo 'origin'
    3: ERROR: null
    4: Finished: FAILURE

    So my question is: is the repo clone timeout removed in the non-free plans? Our project takes a bit longer than an hour to clone.
     
  2. RaptorX81

    RaptorX81

    Joined:
    Apr 28, 2014
    Posts:
    12
    I'm also in the same boat. I set up my project in cloud build today ( planning on upgrading to Unity Plus if this goes well ). I'm also getting the 60 minute timeout error. The repo is around 3GB. Here is a shortened version of the log file ..

     
  3. tuxinet32

    tuxinet32

    Joined:
    Jun 29, 2016
    Posts:
    2
    So it seems that the internet gods finally got on our side and the cloud build system managed to pull the whole repo. Now we're having another timeout problem though.... So the build went along for a good 4 and a half hours and then we got this error at the end:


    52798: [Unity] DisplayProgressbar: Building Asset Bundle
    52799: [Unity] ***Player size statistics***
    52800: [Unity] Total compressed size 5.6 KB. Total uncompressed size 5.5 KB.
    52801: [Unity] *** Completed 'Build.AssetBundle.WindowsStandaloneSupport' in 0 seconds (19 ms)
    52802: Build was canceled
    52803: FATAL: Unable to produce a script file
    52804: java.io.IOException: Failed to create a temp file on /BUILD_PATH/rhombus-studios.lord-of-rigel.default-windows-desktop-64-bit
    52805: Caused by: java.io.IOException
    52806: Caused by: java.util.concurrent.TimeoutException: Ping started at 1467169201083 hasn't completed by 1467169441083
    52807: Build step 'Execute shell' marked build as failure
    52808: Problems occurs: channel is already closedBuild step 'Execute a set of scripts' marked build as failure
    52809: Finished: CANCELED
     
  4. andersemil

    andersemil

    Joined:
    Feb 2, 2015
    Posts:
    107
    Getting this almost every day on two different projects. Also get 'error communication with shader compile process' and
    ERROR: prebuildstatus failed!
    ERROR: pre-build step failed to setup environment
    Finished: FAILURE

    All three errors have in common that if I have the patience for it, they will eventually succeed after I hit build 2-3 times.
    Unity cloud build is so unstable at this point for us that it is virtually unusable. At least we didn't pay for it - yet (free plan expires oct 28th)