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

[Linux] Cloud Build fails (tar)

Discussion in 'Unity Build Automation' started by pixelsplit, Feb 8, 2017.

  1. pixelsplit

    pixelsplit

    Joined:
    Sep 16, 2013
    Posts:
    173
    Hi,

    just fixed compilation errors for Linux in order to get the Cloud Build working for this platform. However now i get (just for Linux) this annoying error:
    Code (CSharp):
    1. 101302: ! build of 'linux-master' failed. compile failed
    2. 101303: Publishing build 38 of ... for target 'linux-master'...
    3. 101304: publishing finished successfully.
    4. 101305: tar: Write error
    5. 101306: done.
    6. 101307: Build step 'Execute shell' marked build as failure
    7. 101308: postbuildstatus finished successfully.
    8. 101309: Finished: FAILURE
    Could someone from UCB have a look at this please?

    Best regards
    Bennet
     
  2. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    Looks to me like the builder ran out of storage space, as indicated by these messages:

    Code (CSharp):
    1. 101268: [Unity] IOException: Disk full. Path Temp/StagingArea/VR3_Data/sharedassets16.assets.resS" or "/BUILD_PATH/zkw-games.frs4.linux-master/temp.51Gfzu/VR3_Data/sharedassets16.assets.resS
    and then a crash right after that within Unity:

    Code (CSharp):
    1. 101300: /BUILD_PATH/.mason/buildpacks/unity/bin/compile: line 31:  5821 Abort trap: 6           "${unity_args[@]}"
    Having said that I don't see a good reason why it should have run out of space (and it looks like your builds for other platforms built successfully). Can you try running another linux build so I can monitor it?
     
  3. pixelsplit

    pixelsplit

    Joined:
    Sep 16, 2013
    Posts:
    173
    I just triggered another Linux built
     
  4. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
    The builder didn't run out of space that time, but there was still a Unity crash (the "Abort trap:6" error shown).

    My guess is it's possibly related to this NullReferenceException shown just above the crash:

    Code (CSharp):
    1.  
    2. 12530: [Unity] System.NullReferenceException: Object reference not set to an instance of an object
    3. 12531: [Unity] at RedistInstall.SetPlatformSettings () [0x00015] in /BUILD_PATH/zkw-games.frs4.linux-master/Assets/Editor/Steamworks.NET/RedistInstall.cs:85
    4. 12532: [Unity] at RedistInstall..cctor () [0x00011] in /BUILD_PATH/zkw-games.frs4.linux-master/Assets/Editor/Steamworks.NET/RedistInstall.cs:27
    5. 12533: [Unity] UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    6.