Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Error cloning remote repo 'origin'

Discussion in 'Unity Build Automation' started by taecg, Jan 26, 2016.

  1. taecg

    taecg

    Joined:
    Jun 14, 2014
    Posts:
    26
    1: Running Prebuild steps
    2: done.
    3: bvr 1.1.2
    4: bvr-api 0.1.5
    5: Using strategy: Default
    6: Last Built Revision: Revision 5a93fef5055aaa286ed226556d1bbac40b783528 (origin/master)
    7: Cloning the remote Git repository
    8: Cloning repository git@git.oschina.net:taecg/StarAvengers.git
    9: git --version
    10: git version 2.6.2
    11: ERROR: Error cloning remote repo 'origin' : Could not clone git@git.oschina.net:taecg/StarAvengers.git
    12: stdout:
    13: stderr: Cloning into '/BUILD_PATH/6ebc3442-8ca6-44eb-be07-f683250abdf4.e-c9334932-2d26-4506-8e9f-2bcbd6154763.default-ios'...
    14: Write failed: Broken pipe
    15: fatal: The remote end hung up unexpectedly
    16: fatal: early EOF
    17: fatal: index-pack failed
    18: ... 11 more
    19: Trying next repository
    20: ERROR: Could not clone repository
    21: Caused by: java.io.IOException: Could not clone
    22: postbuildstatus finished successfully.
    23: Deleting project workspace...
    24: Finished: FAILURE



    I really do not know why the newspaper is wrong, but I do not know what the solution is, help me.
     
  2. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    This issue has been reported by a couple others and is something I am currently investigating. Will keep you updated on progress.
     
  3. taecg

    taecg

    Joined:
    Jun 14, 2014
    Posts:
    26
    1: Running Prebuild steps
    2: done.
    3: bvr 1.1.2
    4: bvr-api 0.1.5
    5: Using strategy: Default
    6: Cloning the remote Git repository
    7: Cloning repository git@git.oschina.net:taecg/StarAvengers.git
    8: git --version
    9: git version 2.6.2
    10: Fetching upstream changes from origin
    11: Commencing build of Revision 182848b287612530f7779cd7216e3a172cfc5cde (origin/master)
    12: Checking out Revision 182848b287612530f7779cd7216e3a172cfc5cde (origin/master)
    13: No change to record in branch origin/master
    14: BUILDJOB_CACHE=library
    15: BUILD_PLATFORM=ios
    16: CLEANUP_WORKSPACE=true
    17: SANDBOX_BUILD_USER=true
    18: Calculated Workspace Size: 92.57 MiB
    19: PATH | SIZE
    20: /Code | 92.57 MiB
    21: postcheckoutstatus finished successfully.
    22: MAC verified OK
    23: Added new build target 'default-ios'
    24: Saved /BUILD_PATH/6ebc3442-8ca6-44eb-be07-f683250abdf4.e-c9334932-2d26-4506-8e9f-2bcbd6154763.default-ios/build.json
    25: installing iOS credentials for 6ebc3442-8ca6-44eb-be07-f683250abdf4/e-c9334932-2d26-4506-8e9f-2bcbd6154763 - default-ios
    26: Importing certificate...
    27: 1 identity imported.
    28: Fetching cache key library_latest5 to CACHE_PATH
    29: Download of cache file library_latest5 finished, size is 46505391 bytes
    30: Library successfully restored from remote cache
    31: * detecting buildpack... done
    32: = name: unity
    33: = display: Unity
    34: * compiling...
    35: + Environment config:
    36: LOG_VERBOSE=1
    37: BUILDCFG_TARGET=default-ios
    38: ENABLE_LIBRARY_CACHE=1
    39: + Detecting Unity installation ...
    40: + Building with Unity installed at /UNITY_PATH/Unity/Unity-5_3_1f1/Unity.app/Contents/MacOS/Unity
    41: + Installing UnityCloud build tools
    42: Injecting custom Scripting Define Symbols 'UNITY_CLOUD_BUILD'
    43: + Switching Unity to target platform
    44: [Unity] Initialize mono
    45: [Unity] Mono path[0] = '/UNITY_PATH/Unity/Unity-5_3_1f1/Unity.app/Contents/Frameworks/Managed'
    46: [Unity] Mono path[1] = '/UNITY_PATH/Unity/Unity-5_3_1f1/Unity.app/Contents/Frameworks/Mono/lib/mono/2.0'
    47: [Unity] Mono config path = '/UNITY_PATH/Unity/Unity-5_3_1f1/Unity.app/Contents/Frameworks/Mono/etc'
    48: [Unity] Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56943
    49: Build was canceled
    50: Unity Cloud Build restarted this build process, look for the next one.
    51: postbuildstatus finished successfully.
    52: Deleting project workspace...
    53: Finished: CANCELED


    This is the latest situation, but I do not understand.