-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slather freezing/hanging/stalling when generating coverage report #197
Comments
Haven't yet seen or heard about such an issue so far. I'm guessing you're not able to share the project this happens on? |
TLDR: pass in the build directory explicitly to avoid this ( This appears to be an issue with I am able to recreate the issue by repeated running slather in two terminals: When one of these calls freezes, looking at ActivityMonitor, there is an
(This deadlock can also be recreated by repeatedly calling When passing in the build directory using the I suspect the issue was that fastlane was using |
Thanks @chillpop! |
Scary 😱 |
Maybe slather is running into this bug? http://www.openradar.me/radar?id=5549442786656256 |
Faced the same issue on CircleCI. Specifying build_directory in |
Foreword: This might be a bug for fastlane, and it got long because I'm trying to include all the details I have available.
My team has been using Slather on a couple projects in the past month or two, and just in the past week or two, I've noticed it hanging on Travis after running tests. It causes the build to fail, after ten minutes without any output (this is the output from fastlane on Travis, which includes the actual command it runs):
This seems to happen most of the time, around 4/5 builds. If I just keep re-starting the build, eventually it will pass, so it's not failing completely. I thought this was just a Travis issue, but I just found the same thing happened locally.
Has anyone ever seen behavior like this? Or have any idea what might be hanging in slather? Unforunately, fastlane doesn't pass through a
--verbose
flag to slather, though it doesn't look like that flag results in too much more output, so I'm not sure it would help.Some notes on setup:
slather
command that fastlane runs and do that locally (after running the tests from fastlane), it works every time..slather.yml
since fastlane doesn't yet support the--workspace
flag (it'll be in the next version: Add workspace command line option to slather action fastlane/fastlane#4109)test
lane runs one and slathers the results, then runs the other and slathers that, then uses a custom script to combine the resultingcobertura.xml
output files (that script isn't the problem: it's not even getting that far before it hangs).The text was updated successfully, but these errors were encountered: