Skip to content
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

Dump crash files into test failure messages #27

Closed

Conversation

benasher44
Copy link

@benasher44 benasher44 commented Jan 13, 2019

This fixes #26. It will look for crash "activities", extract the related crash files, and dump them into the failure messages. The output looks kind of funny (i.e. the huge failure message), but I think this should work?

TODO:

  • Verify Jenkins reads junit xml files like this (shows up in the stack trace section)
  • Add option to opt into crash trace collection
  • Double check this works on Jenkins at work

@benasher44
Copy link
Author

benasher44 commented Jan 13, 2019

Should this feature be hidden behind a flag (i.e. trainer arg to enable this on cli)?

@benasher44

This comment has been minimized.

@benasher44

This comment has been minimized.

@benasher44 benasher44 force-pushed the basher/dump-crashes branch from 102475d to 0e181f1 Compare July 20, 2019 16:24
@benasher44
Copy link
Author

Updated with master, but I still have a bit of testing left to do

@benasher44
Copy link
Author

With the ability to open xcresult bundles in Xcode 11, this PR isn't as useful. Closing.

@benasher44 benasher44 closed this Oct 26, 2019
@benasher44 benasher44 deleted the basher/dump-crashes branch October 26, 2019 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Dump crash file for a crashing test into JUnit failure node
1 participant