Search Unity

Entities, Burst, and Mathematics fail play mode tests during cloud builds

Discussion in 'Burst' started by GarthSmith, Mar 27, 2019.

  1. GarthSmith

    GarthSmith

    Joined:
    Apr 26, 2012
    Posts:
    1,240
    (Edit: A bug report has been filed. Case 1141265.)

    We are experiencing play mode tests failing our Unity Cloud Builds with the following configuration.
    • Unity 2018.3.10
    • com.unity.burst 1.0.0-preview.6
    • com.unity.entities 0.0.12-preview.24
    • com.unity.mathematics 1.0.0-preview.1
    We have a public Git repository of the project at https://bitbucket.org/TicTocGames/entitiescloudbuildbugreport

    I've attached logs from the failed cloud build. The relevant part of the logs seems to be right at the end. Strangely, while the logs say playmode tests have failed, this is not shown on the "Tests" tab of the cloud build.

    [Unity] Cleanup mono
    [Unity] Assertion failed on expression: 'gPersistentManager != NULL'
    [Unity] Assertion failed on expression: 'gPersistentManager != NULL'
    [Unity] Receiving unhandled NULL exception
    [Unity] Obtained 7 stack frames.
    [Unity] #0 0x007fff793bdeda in pthread_mutex_trylock
    [Unity] #1 0x000001010fb49d in PersistentManager::Lock(PersistentManager::LockFlags, profiling::Marker*)
    [Unity] #2 0x00000102730e43 in GUIDPersistentManager::pathNameToGUID(core::basic_string<char, core::StringStorageDefault<char> > const&, UnityGUID*)
    [Unity] #3 0x00000102730dbc in GetMetaDataPathFromAssetPath(core::basic_string<char, core::StringStorageDefault<char> > const&)
    [Unity] #4 0x000001026ac499 in AssetDatabase::MetaDataPathFromAssetPath(core::basic_string<char, core::StringStorageDefault<char> > const&)
    [Unity] #5 0x0000010138d62a in GetScriptAtPath(core::basic_string<char, core::StringStorageDefault<char> > const&)
    [Unity] #6 0x000001008819f8 in DefaultBurstLogCallback(void*, BurstLogType, char const*, char const*, int)
    ! Running unit tests failed!
    ! build of 'default-android' failed. exit
    Publishing build 7 of tic-toc-games/entitiescloudbuildbug for target 'default-android'...
    Uploading test_data/edit_mode_tests.xml ...done
    publishing finished successfully.
    Zipping cache files from Library
    done.
    Build step 'Execute shell' marked build as failure
    postbuildstatus finished successfully.
    postbuildsteps finished successfully
    Finished: FAILURE
     

    Attached Files:

    Last edited: Mar 27, 2019
  2. NoDumbQuestion

    NoDumbQuestion

    Joined:
    Nov 10, 2017
    Posts:
    186
    Try Unity 2019.1 with cloud build