Search Unity

Build was cancelled - After 2 hours by unity cloud

Discussion in 'Unity Build Automation' started by Guirao, Oct 31, 2016.

  1. Guirao

    Guirao

    Joined:
    Nov 24, 2012
    Posts:
    68
    1: Running Prebuild steps
    2: In quiet period, build will start momentarily...
    3: Agent pid 1473
    4: All identities removed.
    5: Removing bvr
    6: Successfully uninstalled bvr-1.2.12
    7: Building native extensions. This could take a while...
    8: done.
    9: bvr 1.4.1
    10: bvr-api 0.2.7
    11: prebuildstatus finished successfully.
    12: All identities removed.
    13: Cloning the remote Git repository
    14: Cloning repository .git path
    15: Fetching upstream changes from ssh://git@.git path
    16: Fetching upstream changes from ssh://git@.git path
    17: Checking out Revision a52142e19bb240a4284288ca16ee96a3ef3dd1a9 (refs/remotes/origin/master)
    18: Build was canceled
    19: postbuildstatus finished successfully.
    20: Finished: CANCELED
    21: ********************************************************************************
    22: This build was automatically canceled by the Cloud Build service. This usually
    23: happens when log output stops for an extended period of time. If you suspect
    24: this is due to a problem with the Cloud Build service, please contact support.
    25: https://build.cloud.unity3d.com/support/
     
  2. PhilMcJ

    PhilMcJ

    Unity Technologies

    Joined:
    May 29, 2014
    Posts:
    187
    When that occurs at that point in the checkout it usually indicates that the checkout stalled out - likely either because the remote source control host stopped responding or there was a network interruption somewhere between it and Cloud Build. A new build will start a new checkout - and if you see that occur repeatedly please pass the word.
     
  3. Guirao

    Guirao

    Joined:
    Nov 24, 2012
    Posts:
    68
    Okay thanks Phil.
     
  4. Guirao

    Guirao

    Joined:
    Nov 24, 2012
    Posts:
    68
    It's happening every time now. :mad:
     
  5. sfjohansson

    sfjohansson

    Joined:
    Mar 12, 2013
    Posts:
    369
    Did you guys figure out what is causing the cancelled builds? I'm building ilcpp/gradle/android against gitlab
     
  6. victorw

    victorw

    Joined:
    Sep 14, 2016
    Posts:
    459
    There's no single cause of cancelled builds, they happen when a process stalls completely without providing any feedback. You can typically identify which process is stalling by identifying which step the build is reaching before it gets cancelled (i.e. in the OP it was during the git checkout step). If you submit a support ticket we can investigate further and try to identify what is causing the process to stall in your case.