Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14310

test-patch.sh should handle spurious non-zero exit code from maven

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      Starting last weekend, I saw patch testing abort due to spurious non-zero exit code from maven.

      Here are recent examples.
      https://builds.apache.org/job/PreCommit-HBASE-Build/15251/console :

      HBASE-14286 patch is being downloaded at Tue Aug 25 18:49:17 UTC 2015 from
      http://issues.apache.org/jira/secure/attachment/12751767/HBASE-14286.1.patch
      ...
      /home/jenkins/tools/maven/latest/bin/mvn clean package checkstyle:checkstyle-aggregate findbugs:findbugs -DskipTests -DHBasePatchProcess > /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/trunkJavacWarnings.txt 2>&1
      Trunk compilation is broken?
      {code}{code}

      https://builds.apache.org/job/PreCommit-HBASE-Build/15250/console :

      HBASE-14268 patch is being downloaded at Tue Aug 25 18:19:25 UTC 2015 from
      http://issues.apache.org/jira/secure/attachment/12752280/14268-V5.patch
      ...
      /home/jenkins/tools/maven/latest/bin/mvn clean package checkstyle:checkstyle-aggregate findbugs:findbugs -DskipTests -DHBasePatchProcess > /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/trunkJavacWarnings.txt 2>&1
      Trunk compilation is broken?
      {code}{code}

      The search in mvn output for 'Compilation failure' returned nothing.
      I verified locally that with 14268-V5.patch, master branch compiled.

      test-patch.sh should handle the spurious exit code so that patches can be tested.

      Attachments

        1. 14310-v1.txt
          0.8 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: