Xcode 13.1 - Test runner never began executing tests after launching Recent Similar Reports:None Resolution:Open

Number:rdar://FB9794773 Date Originated:12/03/21
Status:Open Resolved:
Product:XCTest Product Version:Xcode 13.1
Classification: Reproducible:Yes
Please describe the issue:
Randomly the tests don't execute and it gives me the error:
Executable (51237) encountered an error (Test runner never began executing tests after launching. If you believe this error represents a bug, please attach the result bundle at /Users/omarzuniga/Library/Developer/Xcode/DerivedData/Executable-fkblyyjpkdijecbbizlcgirezqxf/Logs/Test/Test-Executable-2021.12.03_16-58-15--0600.xcresult)

Please list the steps you took to reproduce the issue:
I run tests locally in Xcode 13.2 by using the repeat function.

What did you expect to happen?
that all the test executions passed.

What actually happened?
As you can see in the xcresult file in 2 out of 20 executions it failed with that error.
While it was being executed I was able to print a log which later I couldn't find in the xcresult file, I attached it too.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!