Github user revans2 commented on the pull request:
https://github.com/apache/storm/pull/486#issuecomment-95945759
Can we try and do something like
```
mvn test -fae
BUILD_RET_VAL=$?
```
or even better not fail ever, but check the output files for failures. I
tend to use the following but you could update your script to do something
similar.
```
mvn test -Pnative -fn
echo "Errors or Failures:"
egrep -il '<fail|<error' ../*/target/test-reports/*.xml | xargs -I '{}'
bash -c "echo -n '{}':' '; egrep -ic '<fail|<error' '{}'"
egrep -iq '<fail|<error' ../*/target/test-reports/*.xml
BUILD_RET_VAL=$?
```
It doesn't print out the full error stack traces, but it does capture any
failures
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---