diff options
author | nchammas <nicholas.chammas@gmail.com> | 2014-08-28 18:08:28 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-08-28 18:08:28 -0700 |
commit | 3c517a812e2e7cb5c00897b48024a716cc2b9a40 (patch) | |
tree | 3efbfcdd08c3c28db2e3f4b8365ef364f8aed9db | |
parent | a46b8f2d710d82ba3a212cac64b610a67b8798f9 (diff) | |
download | spark-3c517a812e2e7cb5c00897b48024a716cc2b9a40.tar.gz spark-3c517a812e2e7cb5c00897b48024a716cc2b9a40.tar.bz2 spark-3c517a812e2e7cb5c00897b48024a716cc2b9a40.zip |
[Spark QA] Link to console output on test time out
When tests time out we should link to the Jenkins console output for easy review. We already do this for when tests start or complete normally.
Here's [a recent example](https://github.com/apache/spark/pull/2109#issuecomment-53374032) of where this would be helpful.
Author: nchammas <nicholas.chammas@gmail.com>
Closes #2140 from nchammas/patch-1 and squashes the following commits:
3b26c8d [nchammas] [Spark QA] Link to console output on test time out
-rwxr-xr-x | dev/run-tests-jenkins | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/run-tests-jenkins b/dev/run-tests-jenkins index 31506e28e0..d9205f08cc 100755 --- a/dev/run-tests-jenkins +++ b/dev/run-tests-jenkins @@ -138,7 +138,7 @@ function post_message () { test_result="$?" if [ "$test_result" -eq "124" ]; then - fail_message="**Tests timed out** after a configured wait of \`${TESTS_TIMEOUT}\`." + fail_message="**[Tests timed out](${BUILD_URL}consoleFull)** after a configured wait of \`${TESTS_TIMEOUT}\`." post_message "$fail_message" exit $test_result else |