Search Unity

"Build was canceled. Unity Cloud Build restarted this build process, look for the next one."

Discussion in 'Unity Cloud Build' started by xenonmiii, Oct 30, 2015.

  1. xenonmiii

    xenonmiii

    Joined:
    Aug 2, 2010
    Posts:
    147
    Hi,
    I'm seeing this error quite often after some 30min when the build starts:
    45: Build was canceled
    46: Unity Cloud Build restarted this build process, look for the next one.

    Typically the build is successful on the next one.

    Any thoughts why this happens?
     
  2. doggan

    doggan

    Joined:
    Aug 12, 2012
    Posts:
    23
    We're also seeing ~40-50% of our builds randomly stalling out and restarting. Our average successful build is ~15 minutes, but an average timeout is ~30 minutes, so we're wasting a lot of time waiting. Would love to hear why this happens.
     
  3. GalxyzStudios

    GalxyzStudios

    Joined:
    Jul 15, 2015
    Posts:
    31
    Seeing this same issue happen to our Android builds..IOS building fine but android seems to restart periodically..
     
  4. rajantande

    rajantande

    Joined:
    Mar 24, 2015
    Posts:
    22
    We've just started seeing this on both our iOS and Android builds. Has there been any feedback from support as to how to resolve this issue?

    Thanks

    Rajan
     
  5. brainz12345

    brainz12345

    Joined:
    Dec 10, 2012
    Posts:
    12
    This is happening to us as well. :(
     
  6. xenonmiii

    xenonmiii

    Joined:
    Aug 2, 2010
    Posts:
    147
    We are still seeing this issue (just a couple of minutes ago).

    @dannyd Do you know if the UCB guys know about this issue?
     
  7. odbb

    odbb

    Joined:
    Apr 13, 2014
    Posts:
    12
  8. patrickc

    patrickc

    Unity Technologies

    Joined:
    Jan 23, 2015
    Posts:
    67
    We're looking into what's causing a higher number of restarts than usual. Will post more soon. Thanks for your patience.

    Cheers,
    Patrick
     
  9. patrickc

    patrickc

    Unity Technologies

    Joined:
    Jan 23, 2015
    Posts:
    67
    We've made some configuration changes behind the scenes, and monitoring their effects. Please let us know how your restart rates fare.

    Cheers,
    Patrick
     
    doggan likes this.
  10. xenonmiii

    xenonmiii

    Joined:
    Aug 2, 2010
    Posts:
    147
  11. xenonmiii

    xenonmiii

    Joined:
    Aug 2, 2010
    Posts:
    147
    @odbb if UCB has successfully built a client before, does UCB redownload the whole repo everytime, or does it just update it? Also does it rebuild the whole library folder everytime? If so that sounds like a waste of bandwidth/cpu usage/time. (Maybe there should be options like "clean repo on every build" and "clean library on every build")
     
  12. patrickc

    patrickc

    Unity Technologies

    Joined:
    Jan 23, 2015
    Posts:
    67
    As of today, Cloud Build caches the Library directory between builds, but does a full re-download from source control. The "Clean Build" button will flush the Library and re-build it. Dedicated build servers (on the "Enterprise" tier) can cache source control between builds as an option.

    You can disable Library caching from the project settings/targets page.

    Cheers,
    Patrick
     
unityunity