Session initiation request response 29

Hi, so occasionally on different workflows one of our UI test containers (any of them it’s happening seemingly at random) will not launch the test suite and will hang there until it times out (60mins for us).

After doing some digging into the containers logs it looks like the Session Initiation Request is coming back with an error, or specifically a result: error (29: null). Any idea what this is and how to fix this?

This is the end of the log where I found the request

19:29:08.132 xcodebuild[553:4469] 49FA2230-3D6C-42D8-875C-FABF7D949114: Launching app with identifier: com.apple.test.Sniip2-UI-Tests2-Runner and options: {
        "activate_suspended" = 1;
        arguments =     (
            "-NSTreatUnknownArgumentsAsOpen",
            NO,
            "-ApplePersistenceIgnoreState",
            YES
        );
        environment =     {
            "CA_ASSERT_MAIN_THREAD_TRANSACTIONS" = 0;
            "CA_DEBUG_TRANSACTIONS" = 0;
            "DYLD_FRAMEWORK_PATH" = "/tmp/workspace/xctestrun/Products/Debug-iphonesimulator:";
            "DYLD_INSERT_LIBRARIES" = "/Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib";
            "DYLD_LIBRARY_PATH" = "/tmp/workspace/xctestrun/Products/Debug-iphonesimulator";
            "MTC_CRASH_ON_REPORT" = 1;
            NSUnbufferedIO = YES;
            "OS_ACTIVITY_DT_MODE" = YES;
            "SQLITE_ENABLE_THREAD_ASSERTIONS" = 1;
            XCTestConfigurationFilePath = "/Users/distiller/project/output/Logs/Test/Test-Transient Testing-2019.03.05_19-28-59--0800.xcresult/1_Test/Diagnostics/Sniip2-UI-Tests2-5FE09801-DA39-45B7-B7F0-5FF3DCFDEDA5/Sniip2-UI-Tests2-36A7F0BF-2000-4E9E-9BCD-F9A1C5460E55/LaunchSessions/6AE52A22-1C2C-4DD9-9EFF-0281343B9513/remote-container/tmp/Sniip2-UI-Tests2-6AE52A22-1C2C-4DD9-9EFF-0281343B9513.xctestconfiguration";
            "__XCODE_BUILT_PRODUCTS_DIR_PATHS" = "/tmp/workspace/xctestrun/Products/Debug-iphonesimulator";
            "__XPC_DYLD_FRAMEWORK_PATH" = "/tmp/workspace/xctestrun/Products/Debug-iphonesimulator";
            "__XPC_DYLD_LIBRARY_PATH" = "/tmp/workspace/xctestrun/Products/Debug-iphonesimulator";
        };
        stderr = "/dev/ttys002";
        stdout = "/dev/ttys002";
        "wait_for_debugger" = 0;
    }
    19:29:17.280 xcodebuild[553:3870] Got reply to session initiation request with identifier 6AE52A22-1C2C-4DD9-9EFF-0281343B9513 (result:error): 29: (null)