[ https://issues.apache.org/jira/browse/HADOOP-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545308 ]
stack commented on HADOOP-2272: ------------------------------- Findbugs is completing successfully up on hudson. {code} ... findbugs: [mkdir] Created dir: /export/home/hudson/hudson/jobs/Hadoop-Patch/workspace/trunk/build/test/findbugs [findbugs] Running FindBugs... [findbugs] The following classes needed for analysis were missing: [findbugs] org.apache.tools.ant.Task [findbugs] org.apache.tools.ant.types.FileSet [findbugs] org.apache.tools.ant.DirectoryScanner [findbugs] org.apache.tools.ant.BuildException [findbugs] org.apache.tools.ant.Project [findbugs] Warnings generated: 115 [findbugs] Missing classes: 5 [findbugs] Classes needed for analysis were missing [findbugs] Output saved to /export/home/hudson/hudson/jobs/Hadoop-Patch/workspace/trunk/build/test/findbugs/hadoop-findbugs-report.xml [xslt] Processing /export/home/hudson/hudson/jobs/Hadoop-Patch/workspace/trunk/build/test/findbugs/hadoop-findbugs-report.xml to /export/home/hudson/hudson/jobs/Hadoop-Patch/workspace/trunk/build/test/findbugs/hadoop-findbugs-report.html [xslt] Loading stylesheet /export/home/hudson/tools/findbugs/latest/src/xsl/default.xsl BUILD SUCCESSFUL Total time: 4 minutes 0 seconds Exception in thread "main" java.io.IOException: XML does not contain saved bug data at edu.umd.cs.findbugs.SortedBugCollection.checkInputStream(SortedBugCollection.java:596) at edu.umd.cs.findbugs.SortedBugCollection.doReadXML(SortedBugCollection.java:209) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:196) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:178) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:163) at edu.umd.cs.findbugs.workflow.SetBugDatabaseInfo.main(SetBugDatabaseInfo.java:115) Starting with /export/home/hudson/hudson/jobs/Hadoop-Patch/current/currentFindbugsWarnings.xml Exception in thread "main" java.io.IOException: XML does not contain saved bug data at edu.umd.cs.findbugs.SortedBugCollection.checkInputStream(SortedBugCollection.java:596) at edu.umd.cs.findbugs.SortedBugCollection.doReadXML(SortedBugCollection.java:209) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:196) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:178) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:163) at edu.umd.cs.findbugs.workflow.Update.doit(Update.java:344) at edu.umd.cs.findbugs.workflow.Update.main(Update.java:318) Exception in thread "main" java.io.FileNotFoundException: /export/home/hudson/hudson/jobs/Hadoop-Patch/current/findbugsMerge.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:175) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:163) at edu.umd.cs.findbugs.workflow.Filter.main(Filter.java:420) Exception in thread "main" java.io.FileNotFoundException: /export/home/hudson/hudson/jobs/Hadoop-Patch/workspace/trunk/build/test/findbugs/newPatchFindbugsWarnings.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:175) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:163) at edu.umd.cs.findbugs.PrintingBugReporter.main(PrintingBugReporter.java:114) {code} I'm guessing its these exceptions that are causing the -1 fail for findbugs run. Resubmitting so I can watch it build. The paths listed above dont' seem to match those on disk. > findbugs currently fails due to hadoop-streaming having moved > ------------------------------------------------------------- > > Key: HADOOP-2272 > URL: https://issues.apache.org/jira/browse/HADOOP-2272 > Project: Hadoop > Issue Type: Bug > Components: build > Affects Versions: 0.15.0 > Reporter: Adrian Woodhead > Attachments: HADOOP-2272-1.patch > > > If you do a fresh checkout of the trunk and try run findbugs you get the > following error: > findbugs: > [findbugs] Running FindBugs... > [findbugs] Exception in thread "main" java.util.zip.ZipException: Error > opening /tmp/x/trunk/build/hadoop-0.16.0-dev-streaming.jar > [findbugs] at > edu.umd.cs.findbugs.classfile.impl.ZipFileCodeBase.<init>(ZipFileCodeBase.java:61) > [findbugs] at > edu.umd.cs.findbugs.classfile.impl.ClassFactory.createFilesystemCodeBase(ClassFactory.java:96) > [findbugs] at > edu.umd.cs.findbugs.classfile.impl.FilesystemCodeBaseLocator.openCodeBase(FilesystemCodeBaseLocator.java:63) > [findbugs] at > edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.processWorkList(ClassPathBuilder.java:381) > [findbugs] at > edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.build(ClassPathBuilder.java:192) > [findbugs] at > edu.umd.cs.findbugs.FindBugs2.buildClassPath(FindBugs2.java:432) > [findbugs] at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:160) > [findbugs] at edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:1521) > [findbugs] at edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:731) > [findbugs] Output saved to > /tmp/x/trunk/build/test/findbugs/hadoop-findbugs-report.xml > [xslt] Processing > /tmp/x/trunk/build/test/findbugs/hadoop-findbugs-report.xml to > /tmp/x/trunk/build/test/findbugs/hadoop-findbugs-report.html > [xslt] Loading stylesheet /opt/java/findbugs/src/xsl/default.xsl > [xslt] : Error! Premature end of file. > [xslt] : Error! > com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Premature end > of file. > [xslt] Failed to process > /tmp/x/trunk/build/test/findbugs/hadoop-findbugs-report.xml > BUILD FAILED > /tmp/x/trunk/build.xml:599: javax.xml.transform.TransformerException: > javax.xml.transform.TransformerException: > com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Premature end > of file. > ---- > This is because > build/hadoop-0.16.0-dev-streaming.jar > is the wrong location, it should be > build/contrib/streaming/hadoop-0.16.0-dev-streaming.jar > I think this also explains why Hudson is currently giving a -1 to all new > patches as findbugs is failing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.