See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/752/changes
Changes:
[nigel] HADOOP-5251. Fix classpath for contrib unit tests to include clover
jar. Contributed by nigel
[nigel] HADOOP-5253. Remove duplicate call to cn-docs target. Contributed by
Giri Kesavan.
[enis] HADOOP-4760. HDFS streams should not throw exceptions when closed twice.
Contributed by Enis Soztutar.
------------------------------------------
[...truncated 307842 lines...]
[junit] log4j:WARN No appenders could be found for logger
(org.apache.hadoop.conf.Configuration).
[junit] log4j:WARN Please initialize the log4j system properly.
[junit] console connector started
[junit] Successfully removed adaptor 1
[junit] Successfully removed adaptor 2
[junit] Successfully removed adaptor 3
[junit] Successfully removed adaptor 4
[junit] Successfully removed adaptor 5
[junit] Successfully removed adaptor 6
[junit] Successfully removed adaptor 7
[junit] Successfully removed adaptor 8
[junit] Successfully removed adaptor 9
[junit] Successfully removed adaptor 10
[junit] Successfully removed adaptor 11
[junit] Successfully removed adaptor 12
[junit] Successfully removed adaptor 13
[junit] Successfully removed adaptor 14
[junit] Successfully removed adaptor 15
[junit] Successfully removed adaptor 16
[junit] Successfully removed adaptor 17
[junit] Successfully removed adaptor 18
[junit] Successfully removed adaptor 19
[junit] console connector started
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 158.389 sec
[junit] Output:
[junit] console connector started
[junit] Successfully removed adaptor 1
[junit] Successfully removed adaptor 2
[junit] Successfully removed adaptor 3
[junit] Successfully removed adaptor 4
[junit] Successfully removed adaptor 5
[junit] Successfully removed adaptor 6
[junit] Successfully removed adaptor 7
[junit] Successfully removed adaptor 8
[junit] Successfully removed adaptor 9
[junit] Successfully removed adaptor 10
[junit] Successfully removed adaptor 11
[junit] Successfully removed adaptor 12
[junit] Successfully removed adaptor 13
[junit] Successfully removed adaptor 14
[junit] Successfully removed adaptor 15
[junit] Successfully removed adaptor 16
[junit] Successfully removed adaptor 17
[junit] Successfully removed adaptor 18
[junit] Successfully removed adaptor 19
[junit] console connector started
[junit]
[junit] Error:
[junit] log4j:WARN No appenders could be found for logger
(org.apache.hadoop.conf.Configuration).
[junit] log4j:WARN Please initialize the log4j system properly.
[junit]
[junit] Running
org.apache.hadoop.chukwa.datacollection.connector.TestFailedCollector
[junit] log4j:WARN No appenders could be found for logger
(org.apache.hadoop.conf.Configuration).
[junit] log4j:WARN Please initialize the log4j system properly.
[junit] Error in RetryListOfCollectors() opening file: collectors, double
check that you have set the CHUKWA_CONF_DIR environment variable. Also, ensure
file exists and is in classpath
[junit] have 1 running adaptors
[junit] done
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.295 sec
[junit] Output:
[junit] have 1 running adaptors
[junit] done
[junit]
[junit] Error:
[junit] log4j:WARN No appenders could be found for logger
(org.apache.hadoop.conf.Configuration).
[junit] log4j:WARN Please initialize the log4j system properly.
[junit] Error in RetryListOfCollectors() opening file: collectors, double
check that you have set the CHUKWA_CONF_DIR environment variable. Also, ensure
file exists and is in classpath
[junit]
[junit] Running
org.apache.hadoop.chukwa.datacollection.controller.TestAgentClient
[junit] log4j:WARN No appenders could be found for logger
(org.apache.hadoop.conf.Configuration).
[junit] log4j:WARN Please initialize the log4j system properly.
[junit] Adding adaptor with filename: testFile
[junit] Successfully added adaptor, id is:1
[junit] in tearDown()
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.188 sec
[junit] Output:
[junit] Adding adaptor with filename: testFile
[junit] Successfully added adaptor, id is:1
[junit] in tearDown()
[junit]
[junit] Error:
[junit] log4j:WARN No appenders could be found for logger
(org.apache.hadoop.conf.Configuration).
[junit] log4j:WARN Please initialize the log4j system properly.
[junit]
[junit] Error in RetryListOfCollectors() opening file: collectors, double
check that you have set the CHUKWA_CONF_DIR environment variable. Also, ensure
file exists and is in classpath
[junit] Running
org.apache.hadoop.chukwa.datacollection.sender.TestRetryListOfCollectors
[junit] host1
[junit] host3
[junit] host2
[junit] host4
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.044 sec
[junit] Output:
[junit] host1
[junit] host3
[junit] host2
[junit] host4
[junit]
[junit] Running org.apache.hadoop.chukwa.datacollection.writer.TestClientAck
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 18.07 sec
[junit] Running org.apache.hadoop.chukwa.extraction.demux.TestDemux
[junit] testing demux
[junit] log4j:WARN No appenders could be found for logger
(org.apache.hadoop.conf.Configuration).
[junit] log4j:WARN Please initialize the log4j system properly.
[junit] 2009-02-14 09:52:17.387::INFO: Logging to STDERR via
org.mortbay.log.StdErrLog
[junit] java.io.IOException: webapps not found in CLASSPATH
[junit] at
org.apache.hadoop.http.HttpServer.getWebAppsPath(HttpServer.java:334)
[junit] at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:106)
[junit] at
org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:227)
[junit] at
org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:206)
[junit] at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:286)
[junit] at
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:962)
[junit] at
org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:275)
[junit] at
org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:119)
[junit] at
org.apache.hadoop.chukwa.extraction.demux.TestDemux.testDemux(TestDemux.java:99)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:597)
[junit] at junit.framework.TestCase.runTest(TestCase.java:154)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.585 sec
[junit] Output:
[junit] testing demux
[junit]
[junit] Error:
[junit] log4j:WARN No appenders could be found for logger
(org.apache.hadoop.conf.Configuration).
[junit] log4j:WARN Please initialize the log4j system properly.
[junit] 2009-02-14 09:52:17.387::INFO: Logging to STDERR via
org.mortbay.log.StdErrLog
[junit] java.io.IOException: webapps not found in CLASSPATH
[junit] at
org.apache.hadoop.http.HttpServer.getWebAppsPath(HttpServer.java:334)
[junit] at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:106)
[junit] at
org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:227)
[junit] at
org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:206)
[junit] at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:286)
[junit] at
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:962)
[junit] at
org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:275)
[junit] at
org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:119)
[junit] at
org.apache.hadoop.chukwa.extraction.demux.TestDemux.testDemux(TestDemux.java:99)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:597)
[junit] at junit.framework.TestCase.runTest(TestCase.java:154)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
[junit]
[junit] Running
org.apache.hadoop.chukwa.extraction.demux.processor.mapper.TestAbtractProcessor
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.114 sec
[junit] Running
org.apache.hadoop.chukwa.extraction.demux.processor.mapper.TestHadoopLogProcessor
[junit] parse took 1309 milliseconds
[junit] aka 0.02618 ms per line or 0.28807509935179804 ms per kilobyte of
log data
[junit] output records had total length of 7793954
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.409 sec
[junit] Output:
[junit] parse took 1309 milliseconds
[junit] aka 0.02618 ms per line or 0.28807509935179804 ms per kilobyte of
log data
[junit] output records had total length of 7793954
[junit]
[junit] Running org.apache.hadoop.chukwa.util.TestRecordConsts
[junit] string is foo^D
[junit] bar^D
[junit] baz
[junit] .
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.046 sec
[junit] Output:
[junit] string is foo^D
[junit] bar^D
[junit] baz
[junit] .
[junit]
test:
test:
clover.check:
clover.setup:
[clover-setup] Clover Version 2.3.2, built on July 15 2008 (build-732)
[clover-setup] Loaded from: /home/hudson/tools/clover/latest/lib/clover.jar
[clover-setup] Clover: Open Source License registered to Apache Software
Foundation.
[clover-setup] Clover is enabled with initstring
'http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/ws/trunk/build/test/clover/db/hadoop_coverage.db'
clover.info:
clover:
generate-clover-reports:
[mkdir] Created dir:
http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/ws/trunk/build/test/clover/reports
[clover-report] Clover Version 2.3.2, built on July 15 2008 (build-732)
[clover-report] Loaded from: /home/hudson/tools/clover/latest/lib/clover.jar
[clover-report] Clover: Open Source License registered to Apache Software
Foundation.
[clover-report] Loading coverage database from:
'http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/ws/trunk/build/test/clover/db/hadoop_coverage.db'
[clover-report] Writing report to
'http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/ws/trunk/build/test/clover/reports'
Fontconfig error: Cannot load default config file
[clover-report] Done. Processed 63 packages in 6828ms (108ms per package).
[clover-report] Clover Version 2.3.2, built on July 15 2008 (build-732)
[clover-report] Loaded from: /home/hudson/tools/clover/latest/lib/clover.jar
[clover-report] Clover: Open Source License registered to Apache Software
Foundation.
[clover-report] Loading coverage database from:
'http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/ws/trunk/build/test/clover/db/hadoop_coverage.db'
[clover-report] Writing report to
'http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/ws/trunk/build/test/clover/reports/clover.xml'
BUILD SUCCESSFUL
Total time: 182 minutes 58 seconds
[trunk] $ ant
FATAL: command execution failed.Maybe you need to configure the job to choose
one of your Ant installations?
java.io.IOException: Cannot run program "ant" (in directory
"http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/ws/trunk") :
java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
at hudson.Proc$LocalProc.<init>(Proc.java:104)
at hudson.Proc$LocalProc.<init>(Proc.java:82)
at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:315)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:306)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:421)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:405)
at hudson.remoting.UserRequest.perform(UserRequest.java:69)
at hudson.remoting.UserRequest.perform(UserRequest.java:23)
at hudson.remoting.Request$2.run(Request.java:213)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or
directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
... 15 more
Recording fingerprints
Publishing Javadoc
Recording test results
Publishing Clover coverage report...
Publishing Clover coverage results...