I\'m running a CI machine with the Xcode.
The tests are triggered using fastlane gym
. I see this line in the output:
2019-05-27 16:04
Your mileage may vary, but after setting up a new machine with the following configuration, I encountered the same issue OP details:
When I run my fastlane test with 3 devices, I wind up at the following message and was sitting idle for about four minutes before I terminated it:
I then took the steps that I outlined in the comment to OP:
fastlane scan init
scanfile
to look like thisI initially set disable_concurrent_testing(false)
, and when I ran the tests through fastlane, I got stuck again. Changing the value to disable_concurrent_testing(true)
has allowed the tests to now run on my machine.
I think blaming "Finished requesting crash reports. Continuing with testing" may be a red herring. I was having several jobs stop at this step, but when I looked closer (I ran the lane locally and tailed the logs) I saw that my test was failing due to something else. It looks like Fastlane doesn't correctly show how long this step takes, in fact, I think if you're seeing that message, the process is already complete, and your tests are running. That changing concurrency fixes it for you may indicate your tests are failing due to a race condition.
So, anyway. Install fastlane locally, run your lane locally, tail -f the build output as well as the log file and see if the problem is revealed there. It was for me, but, as with everything, YMMV.