Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E710C481D for ; Fri, 13 May 2011 22:48:37 +0000 (UTC) Received: (qmail 17694 invoked by uid 500); 13 May 2011 22:48:37 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 17664 invoked by uid 500); 13 May 2011 22:48:37 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 17657 invoked by uid 99); 13 May 2011 22:48:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2011 22:48:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2011 22:48:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C8F00238897F; Fri, 13 May 2011 22:48:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1102914 - in /hadoop/common/trunk: CHANGES.txt build.xml src/test/bin/test-patch.sh Date: Fri, 13 May 2011 22:48:12 -0000 To: common-commits@hadoop.apache.org From: eli@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110513224812.C8F00238897F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: eli Date: Fri May 13 22:48:12 2011 New Revision: 1102914 URL: http://svn.apache.org/viewvc?rev=1102914&view=rev Log: HADOOP-7291. Update Hudson job not to run test-contrib. Contributed by Nigel Daley Modified: hadoop/common/trunk/CHANGES.txt hadoop/common/trunk/build.xml hadoop/common/trunk/src/test/bin/test-patch.sh Modified: hadoop/common/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/hadoop/common/trunk/CHANGES.txt?rev=1102914&r1=1102913&r2=1102914&view=diff ============================================================================== --- hadoop/common/trunk/CHANGES.txt (original) +++ hadoop/common/trunk/CHANGES.txt Fri May 13 22:48:12 2011 @@ -680,6 +680,8 @@ Release 0.22.0 - Unreleased HADOOP-7068. Ivy resolve force mode should be turned off by default. (Luke Lu via tomwhite) + HADOOP-7291. Update Hudson job not to run test-contrib. (nigel via eli) + Release 0.21.1 - Unreleased IMPROVEMENTS Modified: hadoop/common/trunk/build.xml URL: http://svn.apache.org/viewvc/hadoop/common/trunk/build.xml?rev=1102914&r1=1102913&r2=1102914&view=diff ============================================================================== --- hadoop/common/trunk/build.xml (original) +++ hadoop/common/trunk/build.xml Fri May 13 22:48:12 2011 @@ -1520,7 +1520,6 @@ - Modified: hadoop/common/trunk/src/test/bin/test-patch.sh URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/bin/test-patch.sh?rev=1102914&r1=1102913&r2=1102914&view=diff ============================================================================== --- hadoop/common/trunk/src/test/bin/test-patch.sh (original) +++ hadoop/common/trunk/src/test/bin/test-patch.sh Fri May 13 22:48:12 2011 @@ -26,8 +26,8 @@ parseArgs() { HUDSON) ### Set HUDSON to true to indicate that this script is being run by Hudson HUDSON=true - if [[ $# != 17 ]] ; then - echo "ERROR: usage $0 HUDSON " + if [[ $# != 16 ]] ; then + echo "ERROR: usage $0 HUDSON " cleanupAndExit 0 fi PATCH_DIR=$2 @@ -41,11 +41,10 @@ parseArgs() { FINDBUGS_HOME=${10} FORREST_HOME=${11} ECLIPSE_HOME=${12} - PYTHON_HOME=${13} - BASEDIR=${14} - JIRA_PASSWD=${15} - CURL=${16} - defect=${17} + BASEDIR=${13} + JIRA_PASSWD=${14} + CURL=${15} + defect=${16} ### Retrieve the defect number if [ -z "$defect" ] ; then @@ -58,7 +57,6 @@ parseArgs() { fi ECLIPSE_PROPERTY="-Declipse.home=$ECLIPSE_HOME" - PYTHON_PROPERTY="-Dpython.home=$PYTHON_HOME" ;; DEVELOPER) ### Set HUDSON to false to indicate that this script is being run by a developer @@ -526,11 +524,16 @@ runContribTests () { echo "" echo "" + if [[ `$GREP -c 'test-contrib' build.xml` == 0 ]] ; then + echo "No contrib tests in this project." + return 0 + fi + ### Kill any rogue build processes from the last attempt $PS auxwww | $GREP HadoopPatchProcess | /usr/bin/nawk '{print $2}' | /usr/bin/xargs -t -I {} /bin/kill -9 {} > /dev/null - echo "$ANT_HOME/bin/ant -Dversion="${VERSION}" $ECLIPSE_PROPERTY $PYTHON_PROPERTY -DHadoopPatchProcess= -Dtest.junit.output.format=xml -Dtest.output=no test-contrib" - $ANT_HOME/bin/ant -Dversion="${VERSION}" $ECLIPSE_PROPERTY $PYTHON_PROPERTY -DHadoopPatchProcess= -Dtest.junit.output.format=xml -Dtest.output=no test-contrib + echo "$ANT_HOME/bin/ant -Dversion="${VERSION}" $ECLIPSE_PROPERTY -DHadoopPatchProcess= -Dtest.junit.output.format=xml -Dtest.output=no test-contrib" + $ANT_HOME/bin/ant -Dversion="${VERSION}" $ECLIPSE_PROPERTY -DHadoopPatchProcess= -Dtest.junit.output.format=xml -Dtest.output=no test-contrib if [[ $? != 0 ]] ; then JIRA_COMMENT="$JIRA_COMMENT @@ -639,6 +642,8 @@ cleanupAndExit () { ############################################################################### ############################################################################### +runContribTests + JIRA_COMMENT="" JIRA_COMMENT_FOOTER="Console output: $BUILD_URL/console