You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by jo...@apache.org on 2015/09/17 20:40:31 UTC
spark git commit: [SPARK-10657] Remove SCP-based Jenkins log archiving
Repository: spark
Updated Branches:
refs/heads/master 64743870f -> f1c911552
[SPARK-10657] Remove SCP-based Jenkins log archiving
As of https://issues.apache.org/jira/browse/SPARK-7561, we no longer need to use our custom SCP-based mechanism for archiving Jenkins logs on the master machine; this has been superseded by the use of a Jenkins plugin which archives the logs and provides public links to view them.
Per shaneknapp, we should remove this log syncing mechanism if it is no longer necessary; removing the need to SCP from the Jenkins workers to the masters is a desired step as part of some larger Jenkins infra refactoring.
Author: Josh Rosen <jo...@databricks.com>
Closes #8793 from JoshRosen/remove-jenkins-ssh-to-master.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/f1c91155
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/f1c91155
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/f1c91155
Branch: refs/heads/master
Commit: f1c911552cf5d0d60831c79c1881016293aec66c
Parents: 6474387
Author: Josh Rosen <jo...@databricks.com>
Authored: Thu Sep 17 11:40:24 2015 -0700
Committer: Josh Rosen <jo...@databricks.com>
Committed: Thu Sep 17 11:40:24 2015 -0700
----------------------------------------------------------------------
dev/run-tests-jenkins | 35 -----------------------------------
1 file changed, 35 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/f1c91155/dev/run-tests-jenkins
----------------------------------------------------------------------
diff --git a/dev/run-tests-jenkins b/dev/run-tests-jenkins
index 3be7857..d3b05fa 100755
--- a/dev/run-tests-jenkins
+++ b/dev/run-tests-jenkins
@@ -116,39 +116,6 @@ function post_message () {
fi
}
-function send_archived_logs () {
- echo "Archiving unit tests logs..."
-
- local log_files=$(
- find .\
- -name "unit-tests.log" -o\
- -path "./sql/hive/target/HiveCompatibilitySuite.failed" -o\
- -path "./sql/hive/target/HiveCompatibilitySuite.hiveFailed" -o\
- -path "./sql/hive/target/HiveCompatibilitySuite.wrong"
- )
-
- if [ -z "$log_files" ]; then
- echo "> No log files found." >&2
- else
- local log_archive="unit-tests-logs.tar.gz"
- echo "$log_files" | xargs tar czf ${log_archive}
-
- local jenkins_build_dir=${JENKINS_HOME}/jobs/${JOB_NAME}/builds/${BUILD_NUMBER}
- local scp_output=$(scp ${log_archive} amp-jenkins-master:${jenkins_build_dir}/${log_archive})
- local scp_status="$?"
-
- if [ "$scp_status" -ne 0 ]; then
- echo "Failed to send archived unit tests logs to Jenkins master." >&2
- echo "> scp_status: ${scp_status}" >&2
- echo "> scp_output: ${scp_output}" >&2
- else
- echo "> Send successful."
- fi
-
- rm -f ${log_archive}
- fi
-}
-
# post start message
{
start_message="\
@@ -244,8 +211,6 @@ done
test_result_note=" * This patch **fails $failing_test**."
fi
-
- send_archived_logs
}
# post end message
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org