You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by la...@apache.org on 2015/11/20 08:19:31 UTC

0.98 precommit broken due to 1.7 language features in master?

Just tried to a HadoopQA build through.
It fails always as shown below.

-- Lars


======================================================================
======================================================================
    Testing patch on branch 0.98.
======================================================================
======================================================================


origin/0.98 HEAD is commit af46b759be881a216639e5a43ebc843a8a680657
git checkout -f  af46b759be881a216639e5a43ebc843a8a680657
Previous HEAD position was 8dbbe96... HBASE-14777 ADDENDUM Fix failing TestReplicationEndpoint test
HEAD is now at af46b75... HBASE-14839 [branch-1] Backport test categories so that patch backport is easier
git status
HEAD detached at af46b75
nothing to commit, working directory clean


======================================================================
======================================================================
 Pre-build master to verify stability and javac warnings
======================================================================
======================================================================


/home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.5/bin/mvn clean package checkstyle:checkstyle-aggregate findbugs:findbugs -DskipTests  -DHBasePatchProcess > /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build@2/patchprocess/trunkJavacWarnings.txt 2>&1
mvn exit code was 0
Trunk compilation is broken?
      {code}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on project hbase-server: Compilation failure
[ERROR] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build@2/hbase/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDeletes.java:[525,8] error: try-with-resources is not supported in -source 1.6
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.{code}

Re: 0.98 precommit broken due to 1.7 language features in master?

Posted by Sean Busbey <bu...@cloudera.com>.
I see, it got fixed by ram:

https://github.com/apache/hbase/commit/e7136813d328f247903f30418574d9378aaba4c7

On Fri, Nov 20, 2015 at 9:56 AM, Sean Busbey <bu...@cloudera.com> wrote:

> postcommit checks against JDK6 on 0.98 are failing, but not for a
> compilation problem:
>
>
> https://builds.apache.org/view/H-L/view/HBase/job/HBase-0.98-matrix/jdk=latest1.6,label=Hadoop/263/console
>
> so something is amiss.
>
> On Fri, Nov 20, 2015 at 1:19 AM, <la...@apache.org> wrote:
>
>> Just tried to a HadoopQA build through.
>> It fails always as shown below.
>>
>> -- Lars
>>
>>
>> ======================================================================
>> ======================================================================
>>     Testing patch on branch 0.98.
>> ======================================================================
>> ======================================================================
>>
>>
>> origin/0.98 HEAD is commit af46b759be881a216639e5a43ebc843a8a680657
>> git checkout -f  af46b759be881a216639e5a43ebc843a8a680657
>> Previous HEAD position was 8dbbe96... HBASE-14777 ADDENDUM Fix failing
>> TestReplicationEndpoint test
>> HEAD is now at af46b75... HBASE-14839 [branch-1] Backport test categories
>> so that patch backport is easier
>> git status
>> HEAD detached at af46b75
>> nothing to commit, working directory clean
>>
>>
>> ======================================================================
>> ======================================================================
>>  Pre-build master to verify stability and javac warnings
>> ======================================================================
>> ======================================================================
>>
>>
>> /home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.5/bin/mvn
>> clean package checkstyle:checkstyle-aggregate findbugs:findbugs
>> -DskipTests  -DHBasePatchProcess >
>> /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build@2/patchprocess/trunkJavacWarnings.txt
>> 2>&1
>> mvn exit code was 0
>> Trunk compilation is broken?
>>       {code}[ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
>> (default-testCompile) on project hbase-server: Compilation failure
>> [ERROR] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build@2/hbase/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDeletes.java:[525,8]
>> error: try-with-resources is not supported in -source 1.6
>> [ERROR] -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug
>> logging.{code}
>>
>
>
>
> --
> Sean
>



-- 
Sean

Re: 0.98 precommit broken due to 1.7 language features in master?

Posted by Sean Busbey <bu...@cloudera.com>.
postcommit checks against JDK6 on 0.98 are failing, but not for a
compilation problem:

https://builds.apache.org/view/H-L/view/HBase/job/HBase-0.98-matrix/jdk=latest1.6,label=Hadoop/263/console

so something is amiss.

On Fri, Nov 20, 2015 at 1:19 AM, <la...@apache.org> wrote:

> Just tried to a HadoopQA build through.
> It fails always as shown below.
>
> -- Lars
>
>
> ======================================================================
> ======================================================================
>     Testing patch on branch 0.98.
> ======================================================================
> ======================================================================
>
>
> origin/0.98 HEAD is commit af46b759be881a216639e5a43ebc843a8a680657
> git checkout -f  af46b759be881a216639e5a43ebc843a8a680657
> Previous HEAD position was 8dbbe96... HBASE-14777 ADDENDUM Fix failing
> TestReplicationEndpoint test
> HEAD is now at af46b75... HBASE-14839 [branch-1] Backport test categories
> so that patch backport is easier
> git status
> HEAD detached at af46b75
> nothing to commit, working directory clean
>
>
> ======================================================================
> ======================================================================
>  Pre-build master to verify stability and javac warnings
> ======================================================================
> ======================================================================
>
>
> /home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.5/bin/mvn
> clean package checkstyle:checkstyle-aggregate findbugs:findbugs
> -DskipTests  -DHBasePatchProcess >
> /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build@2/patchprocess/trunkJavacWarnings.txt
> 2>&1
> mvn exit code was 0
> Trunk compilation is broken?
>       {code}[ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
> (default-testCompile) on project hbase-server: Compilation failure
> [ERROR] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build@2/hbase/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDeletes.java:[525,8]
> error: try-with-resources is not supported in -source 1.6
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug
> logging.{code}
>



-- 
Sean