-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Couldn't parse the number of tests from the output #3369
Comments
Oh I see where the error occurs. if result[:failures] > 0
failures_str = result[:failures].to_s.red
else
failures_str = result[:failures].to_s.green
end My tests pass so |
I've tried to replicate this across 3 machines. Only 1 exhibits the behaviour.
Closing this as I think its definitely an issue with my machine rather than |
In case someone else runs across this, I ran into this same error message trying to get scan to run. I was able to fix it by upgrading to Ruby 2.2.1p85 from Ruby 2.0.0. I then reinstalled scan and fastlane. It may be a red herring, but my initial install of the tools did run into issues that I worked around based on #338. My reinstall worked flawlessly without this workaround. |
Interesting that you got it on Ruby 2.0.0 was this system ruby or rbenv/chruby/rvm? |
I'd say probably system Ruby that came installed with Yosemite. I used rvm to get Ruby 2.2.1. And that's about the extent of my ruby knowledge. ;) |
Interesting... @squarefrog did you find the source of this issue? |
I thought I had, but it turned out it was just an odd install. I'm scratching my head about this. It's only that install that I had difficulty with. I use a shared Diffing the broken run log against a working one doesn't appear to show anything untoward. I don't know if you can shed any more light on the flow after the build? It looked like it was just I can't immediately see any points of failure. Shoot me a DM on Twitter if you want me to send the logs. |
I'm running into this problem also but only via running fastlane, running scan directly seems to work fine. I have ruby version ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15] via homebrew Looks like I'm seeing the error running scan directly via jenkins also on a different server with the same version of ruby. |
I have the same issue on ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14] installed via RVM |
I fixed this by updating ruby and ruby gem: |
I'm seeing this error at the start of running scan:
Followed by this at the end:
|
It looks like |
I get the following after running
scan
.I'm not really sure what additional information will be useful to you here, but shoot me a message if there's something in particular. I have the full log (795KB - 338 tests) if you need it but it contains some pre-release info in there so I'd rather it wasn't public 😉
The text was updated successfully, but these errors were encountered: