Thanks for the URL @jp.alary!
Checked the log. Why fastlane reports different infos at
Executed 937 tests, with 1 failure (0 unexpected) in 3.638 (4.439) seconds and
| Number of failures | 0 | I can’t answer, most likely a fastlane bug - you might want to create a bug report on their issue tracker, or use our Xcode Test step instead.
But that’s probably less important. The error can be found in the “full” xcode build output log, which is saved by fastlane into a separate file (it’s not in the standard log), and our Deploy to Bitrise.io step attaches that file to your Build.
Please see the “Apps & Artifacts” section of the build’s page, you’ll find this file there:
That’s the full xcode build output log.
In that you can see this exception:
2017-12-19 03:14:38.788864-0800 Shapr[4139:17776] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'API violation - multiple calls made to -[XCTestExpectation fulfill] for Output expectation.'
Without the code hard to say what causes it. Are you sure that you use the same Xcode version on Bitrise.io and on your own Mac?
If Xcode version would be the same, then I’d suggest you to:
- Remote desktop into the build VM (as described above iOS tests failed randomly/exit status 65 )
- Then open your project in Xcode.app (the code is at
/Users/vagrant/git ; the
git directory right in the home folder)
- Then run the tests from there.
You should be able to see the error in Xcode.app there, and debug what causes the issue.
If you’d have any questions just let us know!