[
https://issues.apache.org/jira/browse/HBASE-14337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Busbey updated HBASE-14337:
--------------------------------
Attachment: HBASE-14337.1.patch
-01
* in the LICENSE template, output artifact coordinates and a brief explanation
when we know the build is going to fail for missing license info.
This doesn't help surface information in the build failure itself, but at least
it puts something in target/ under default configs when we fail.
> build error on master
> ---------------------
>
> Key: HBASE-14337
> URL: https://issues.apache.org/jira/browse/HBASE-14337
> Project: HBase
> Issue Type: Bug
> Reporter: Gabor Liptak
> Assignee: Sean Busbey
> Attachments: HBASE-14227_v5.patch, HBASE-14337.1.patch
>
>
> In https://builds.apache.org/job/PreCommit-HBASE-Build/15325//console
> /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
> mvn exit code was 0
> mv: cannot stat 'target/checkstyle-result.xml': No such file or directory
> Usage: edu.umd.cs.findbugs.workflow.UnionResults [options] [<results1>
> <results2> ... <resultsn>]
> Expected 2...2147483647 file arguments, found 1
> Options:
> -withMessages Generated XML should contain msgs for external
> processing
> -output <outputFile> File in which to store combined results
> Exception in thread "main" java.io.FileNotFoundException:
> /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/trunkFindbugsWarnings.xml
> (No such file or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:146)
> at
> edu.umd.cs.findbugs.SortedBugCollection.progessMonitoredInputStream(SortedBugCollection.java:1231)
> at
> edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:308)
> at
> edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:295)
> at
> edu.umd.cs.findbugs.PrintingBugReporter.xslt(PrintingBugReporter.java:235)
> at
> edu.umd.cs.findbugs.PrintingBugReporter.main(PrintingBugReporter.java:159)
> /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/trunkFindbugsWarnings.xml:
> ERROR: cannot open
> `/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/trunkFindbugsWarnings.xml'
> (No such file or directory)
> /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/trunkFindbugsWarnings.html:
> ERROR: cannot open
> `/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/trunkFindbugsWarnings.html'
> (No such file or directory)
> /home/jenkins/tools/maven/latest/bin/mvn clean install -DskipTests
> -DHBasePatchProcess -Dhadoop-two.version=2.4.0 >
> /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/patchJavacWithHadoop-2.4.0.txt
> 2>&1
> ======================================================================
> There are compilation errors with Hadoop version 2.4.0.
> ======================================================================
> [ERROR] Error invoking method 'get(java.lang.Integer)' in java.util.ArrayList
> at META-INF/LICENSE.vm[line 1619, column 22]
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default)
> on project hbase-assembly: Error rendering velocity resource. Error invoking
> method 'get(java.lang.Integer)' in java.util.ArrayList at
> META-INF/LICENSE.vm[line 1619, column 22]: InvocationTargetException: Index:
> 0, Size: 0 -> [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.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :hbase-assembly
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)