nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tejas Patil <tejas.patil...@gmail.com>
Subject Re: Build failed in Jenkins: Nutch-trunk #2064
Date Thu, 03 Jan 2013 09:13:52 GMT
Hi Markus,

The tests are passing on my machine (verified twice). Maybe the junit
tests' logs can give some clue. Can you send the following directory from
the machine where hudson is setup ?
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/test

Thanks,
Tejas


On Wed, Jan 2, 2013 at 12:38 AM, Markus Jelsma
<markus.jelsma@openindex.io>wrote:

> For some reason jenkins cannot build trunk nor 2.x. It seems to have
> failed doing so since i upgraded the Hadoop dependency. Any ideas as to why
> it does this? It builds fine here and all tests pass with a clean check out.
>
> Thanks,
> Markus
>
>
> -----Original message-----
> > From:Apache Jenkins Server <jenkins@builds.apache.org>
> > Sent: Wed 02-Jan-2013 05:23
> > To: dev@nutch.apache.org; Markus Jelsma <markus.jelsma@openindex.io>
> > Subject: Build failed in Jenkins: Nutch-trunk #2064
> >
> > See <https://builds.apache.org/job/Nutch-trunk/2064/>
> >
> > ------------------------------------------
> > [...truncated 3452 lines...]
> > deploy:
> >      [copy] Copying 1 file to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/plugins/urlnormalizer-host
> >
> > copy-generated-lib:
> >      [copy] Copying 1 file to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/plugins/urlnormalizer-host
> >
> > init:
> >     [mkdir] Created dir:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/urlnormalizer-pass
> >     [mkdir] Created dir:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/urlnormalizer-pass/classes
> >     [mkdir] Created dir:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/urlnormalizer-pass/test
> >     [mkdir] Created dir:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/plugins/urlnormalizer-pass
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > clean-lib:
> >
> > resolve-default:
> > [ivy:resolve] :: loading settings :: file =
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/ivy/ivysettings.xml
> >
> > compile:
> >      [echo] Compiling plugin: urlnormalizer-pass
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/plugin/build-plugin.xml:117:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
> >     [javac] Compiling 1 source file to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/urlnormalizer-pass/classes
> >
> > jar:
> >       [jar] Building jar:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/urlnormalizer-pass/urlnormalizer-pass.jar
> >
> > deps-test:
> >
> > deploy:
> >      [copy] Copying 1 file to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/plugins/urlnormalizer-pass
> >
> > copy-generated-lib:
> >      [copy] Copying 1 file to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/plugins/urlnormalizer-pass
> >     [mkdir] Created dir:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/urlnormalizer-regex/test/data
> >      [copy] Copying 4 files to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/urlnormalizer-regex/test/data
> >
> > init:
> >     [mkdir] Created dir:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/urlnormalizer-regex/classes
> >     [mkdir] Created dir:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/plugins/urlnormalizer-regex
> >
> > init-plugin:
> >
> > deps-jar:
> >
> > clean-lib:
> >
> > resolve-default:
> > [ivy:resolve] :: loading settings :: file =
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/ivy/ivysettings.xml
> >
> > compile:
> >      [echo] Compiling plugin: urlnormalizer-regex
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/plugin/build-plugin.xml:117:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
> >     [javac] Compiling 1 source file to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/urlnormalizer-regex/classes
> >
> > jar:
> >       [jar] Building jar:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/urlnormalizer-regex/urlnormalizer-regex.jar
> >
> > deps-test:
> >
> > init:
> >
> > init-plugin:
> >
> > clean-lib:
> >
> > resolve-default:
> > [ivy:resolve] :: loading settings :: file =
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/ivy/ivysettings.xml
> >
> > compile:
> >
> > jar:
> >
> > deps-test:
> >
> > deploy:
> >
> > copy-generated-lib:
> >
> > deploy:
> >      [copy] Copying 1 file to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/plugins/urlnormalizer-regex
> >
> > copy-generated-lib:
> >      [copy] Copying 1 file to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/plugins/urlnormalizer-regex
> >
> > compile:
> >
> > job:
> >       [jar] Building jar:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/apache-nutch-1.7-SNAPSHOT.job
> >
> > resolve-test:
> >   [taskdef] Could not load definitions from resource
> org/sonar/ant/antlib.xml. It could not be found.
> >
> > copy-libs:
> >
> > compile-core-test:
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build.xml:341:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
> >     [javac] Compiling 32 source files to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/test/classes
> >     [javac] warning: [path] bad path element
> "/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/lib/activation.jar":
> no such file or directory
> >     [javac] warning: [path] Unexpected extension for archive file:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/apache-nutch-1.7-SNAPSHOT.job
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestCrawlDbMerger.java:57:
> warning: [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.TreeSet
> >     [javac]     init1.add(url10);
> >     [javac]              ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestCrawlDbMerger.java:58:
> warning: [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.TreeSet
> >     [javac]     init1.add(url11);
> >     [javac]              ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestCrawlDbMerger.java:59:
> warning: [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.TreeSet
> >     [javac]     init2.add(url20);
> >     [javac]              ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestCrawlDbMerger.java:60:
> warning: [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.TreeSet
> >     [javac]     init2.add(url21);
> >     [javac]              ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestCrawlDbMerger.java:76:
> warning: [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashMap
> >     [javac]     expected.put(url10, cd3);
> >     [javac]                 ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestCrawlDbMerger.java:77:
> warning: [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashMap
> >     [javac]     expected.put(url11, cd1);
> >     [javac]                 ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestCrawlDbMerger.java:78:
> warning: [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashMap
> >     [javac]     expected.put(url21, cd2);
> >     [javac]                 ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestCrawlDbMerger.java:89:
> warning: [deprecation] delete(org.apache.hadoop.fs.Path) in
> org.apache.hadoop.fs.FileSystem has been deprecated
> >     [javac]         fs.delete(testDir);
> >     [javac]           ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestCrawlDbMerger.java:123:
> warning: [deprecation] delete(org.apache.hadoop.fs.Path) in
> org.apache.hadoop.fs.FileSystem has been deprecated
> >     [javac]     fs.delete(testDir);
> >     [javac]       ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestLinkDbMerger.java:80:
> warning: [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.TreeMap
> >     [javac]     init1.put(url10, urls10);
> >     [javac]              ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestLinkDbMerger.java:81:
> warning: [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.TreeMap
> >     [javac]     init1.put(url11, urls11);
> >     [javac]              ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestLinkDbMerger.java:82:
> warning: [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.TreeMap
> >     [javac]     init2.put(url20, urls20);
> >     [javac]              ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestLinkDbMerger.java:83:
> warning: [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.TreeMap
> >     [javac]     init2.put(url21, urls21);
> >     [javac]              ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestLinkDbMerger.java:84:
> warning: [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashMap
> >     [javac]     expected.put(url10, urls10_expected);
> >     [javac]                 ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestLinkDbMerger.java:85:
> warning: [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashMap
> >     [javac]     expected.put(url11, urls11_expected);
> >     [javac]                 ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestLinkDbMerger.java:86:
> warning: [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashMap
> >     [javac]     expected.put(url20, urls20_expected);
> >     [javac]                 ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestLinkDbMerger.java:87:
> warning: [unchecked] unchecked call to put(K,V) as a member of the raw type
> java.util.HashMap
> >     [javac]     expected.put(url21, urls21_expected);
> >     [javac]                 ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/crawl/TestLinkDbMerger.java:131:
> warning: [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.ArrayList
> >     [javac]         links.add(in.getFromUrl());
> >     [javac]                  ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/parse/TestParserFactory.java:52:
> warning: [cast] redundant cast to org.apache.nutch.plugin.Extension
> >     [javac]     Extension ext =
> (Extension)parserFactory.getExtensions("text/html").get(0);
> >     [javac]                     ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/parse/TestParserFactory.java:54:
> warning: [cast] redundant cast to org.apache.nutch.plugin.Extension
> >     [javac]     ext = (Extension)
> parserFactory.getExtensions("text/html; charset=ISO-8859-1").get(0);
> >     [javac]           ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/parse/TestParserFactory.java:56:
> warning: [cast] redundant cast to org.apache.nutch.plugin.Extension
> >     [javac]     ext =
> (Extension)parserFactory.getExtensions("foo/bar").get(0);
> >     [javac]           ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/plugin/TestPluginSystem.java:212:
> warning: [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.LinkedList
> >     [javac]                 fFolders.add(file);
> >     [javac]                             ^
> >     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/src/test/org/apache/nutch/segment/TestSegmentMerger.java:45:
> warning: [deprecation] getDefaultBlockSize() in
> org.apache.hadoop.fs.FileSystem has been deprecated
> >     [javac]     long blkSize = fs.getDefaultBlockSize();
> >     [javac]                      ^
> >     [javac] 25 warnings
> >
> > test-core:
> >     [mkdir] Created dir:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/test/data
> >      [copy] Copying 90 files to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/test/data
> >      [copy] Copying 1 file to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/test/classes
> >      [copy] Copying 1 file to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/test/classes
> >      [copy] Copying 1 file to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/test/classes
> >      [copy] Copying 1 file to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/test/classes
> >      [copy] Copying 1 file to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/test/classes
> >     [junit] WARNING: multiple versions of ant detected in path for junit
> >     [junit]
>  jar:file:/home/hudson/tools/ant/latest/lib/ant.jar!/org/apache/tools/ant/Project.class
> >     [junit]      and
> jar:file:/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build/lib/ant-1.6.5.jar!/org/apache/tools/ant/Project.class
> >     [junit] Running org.apache.nutch.crawl.TestCrawlDbMerger
> >     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.226 sec
> >     [junit] Test org.apache.nutch.crawl.TestCrawlDbMerger FAILED
> >     [junit] Running org.apache.nutch.crawl.TestGenerator
> >     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 6.798 sec
> >     [junit] Test org.apache.nutch.crawl.TestGenerator FAILED
> >     [junit] Running org.apache.nutch.crawl.TestInjector
> >     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 4.066 sec
> >     [junit] Test org.apache.nutch.crawl.TestInjector FAILED
> >     [junit] Running org.apache.nutch.crawl.TestLinkDbMerger
> >     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.772 sec
> >     [junit] Test org.apache.nutch.crawl.TestLinkDbMerger FAILED
> >     [junit] Running org.apache.nutch.crawl.TestSignatureFactory
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.498 sec
> >     [junit] Running org.apache.nutch.fetcher.TestFetcher
> >     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 2.402 sec
> >     [junit] Test org.apache.nutch.fetcher.TestFetcher FAILED
> >     [junit] Running org.apache.nutch.indexer.TestIndexingFilters
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.211 sec
> >     [junit] Running org.apache.nutch.metadata.TestMetadata
> >     [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.128
> sec
> >     [junit] Running org.apache.nutch.metadata.TestSpellCheckedMetadata
> >     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 3.804
> sec
> >     [junit] Running org.apache.nutch.net.TestURLFilters
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.323 sec
> >     [junit] Running org.apache.nutch.net.TestURLNormalizers
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.792 sec
> >     [junit] Running org.apache.nutch.parse.TestOutlinkExtractor
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.349 sec
> >     [junit] Running org.apache.nutch.parse.TestParseData
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.066 sec
> >     [junit] Running org.apache.nutch.parse.TestParseText
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.127 sec
> >     [junit] Running org.apache.nutch.parse.TestParserFactory
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.707 sec
> >     [junit] Running org.apache.nutch.plugin.TestPluginSystem
> >     [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.983 sec
> >     [junit] Running org.apache.nutch.protocol.TestContent
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.531 sec
> >     [junit] Running org.apache.nutch.protocol.TestProtocolFactory
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.874 sec
> >     [junit] Running org.apache.nutch.segment.TestSegmentMerger
> >     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 69.717
> sec
> >     [junit] Test org.apache.nutch.segment.TestSegmentMerger FAILED
> >     [junit] Running org.apache.nutch.util.TestEncodingDetector
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.569 sec
> >     [junit] Running org.apache.nutch.util.TestGZIPUtils
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.433 sec
> >     [junit] Running org.apache.nutch.util.TestNodeWalker
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.311 sec
> >     [junit] Running org.apache.nutch.util.TestPrefixStringMatcher
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.085 sec
> >     [junit] Running org.apache.nutch.util.TestStringUtil
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
> >     [junit] Running org.apache.nutch.util.TestSuffixStringMatcher
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.065 sec
> >     [junit] Running org.apache.nutch.util.TestURLUtil
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.608 sec
> >
> > BUILD FAILED
> >
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trunk/trunk/build.xml:427:
> Tests failed!
> >
> > Total time: 3 minutes 42 seconds
> > Build step 'Invoke Ant' marked build as failure
> > Publishing Javadoc
> >
>

Mime
View raw message