You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2012/08/09 21:12:14 UTC
Build failed in Jenkins: mrunit-trunk #114
See <https://builds.apache.org/job/mrunit-trunk/114/changes>
Changes:
[dbeech] MRUNIT-98: DistributedCache support
------------------------------------------
[...truncated 119 lines...]
Running org.apache.hadoop.mrunit.internal.io.TestSerialization
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.apache.hadoop.mrunit.TestReduceDriver
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.21 sec
mojoSucceeded org.apache.maven.plugins:maven-surefire-plugin:2.8.1(default-test)Running org.apache.hadoop.mrunit.TestCounters
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.apache.hadoop.mrunit.TestMapReduceDriver
Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.556 sec
Running org.apache.hadoop.mrunit.TestMapDriver
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.244 sec
Results :
Failed tests:
testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 1 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 4 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 2 (expected position 4))
testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 1 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 4 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 2 (expected position 4))
testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 1 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 4 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 2 (expected position 4))
testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 1 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 4 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 2 (expected position 4))
testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 1 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 4 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 2 (expected position 4))
testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 1 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 4 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 2 (expected position 4))
Tests run: 278, Failures: 6, Errors: 0, Skipped: 0
[ERROR] There are test failures.
Please refer to <https://builds.apache.org/job/mrunit-trunk/ws/target/surefire-reports> for the individual test results.
[JENKINS] Recording test results
mojoStarted org.apache.rat:apache-rat-plugin:0.8(default)
[INFO]
[INFO] --- apache-rat-plugin:0.8:check (default) @ mrunit ---
[INFO] Exclude: BUILD.txt
[INFO] Exclude: CHANGES.txt
[INFO] Exclude: BIN-NOTICE.txt
[INFO] Exclude: .idea/
mojoFailed org.apache.rat:apache-rat-plugin:0.8(default)
projectFailed org.apache.mrunit:mrunit:1.0.0-SNAPSHOT
sessionEnded
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:32.336s
[INFO] Finished at: Thu Aug 09 19:10:05 UTC 2012
[INFO] Final Memory: 22M/81M
[INFO] ------------------------------------------------------------------------
Projects to build: [MavenProject: org.apache.mrunit:mrunit:1.0.0-SNAPSHOT @ <https://builds.apache.org/job/mrunit-trunk/ws/pom.xml]>
[JENKINS] Archiving <https://builds.apache.org/job/mrunit-trunk/ws/pom.xml> to /home/hudson/hudson/jobs/mrunit-trunk/modules/org.apache.mrunit$mrunit/builds/2012-08-09_19-08-12/archive/org.apache.mrunit/mrunit/1.0.0-SNAPSHOT/mrunit-1.0.0-SNAPSHOT.pom
Waiting for Jenkins to finish collecting data
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.rat:apache-rat-plugin:0.8:check (default) on project mrunit: Too many unapproved licenses: 1
cause : Too many unapproved licenses: 1
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.rat:apache-rat-plugin:0.8:check (default) on project mrunit: Too many unapproved licenses: 1
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
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:662)
Caused by: org.apache.rat.mp.RatCheckException: Too many unapproved licenses: 1
at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:167)
at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:159)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 27 more
Maven failed with error.
Sending e-mails to: dev@mrunit.apache.org dave@paraliatech.com
channel stopped
[mrunit-trunk] $ /bin/sh /tmp/hudson4186721846815904822.sh
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building MRUnit 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ mrunit ---
[INFO] Deleting <https://builds.apache.org/job/mrunit-trunk/ws/target> (includes = [], excludes = [*hadoop?.jar])
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ mrunit ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ mrunit ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/mrunit-trunk/ws/src/main/resources>
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mrunit ---
[INFO] Compiling 29 source files to <https://builds.apache.org/job/mrunit-trunk/ws/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/mrunit-trunk/ws/src/main/java/org/apache/hadoop/mrunit/TestDriver.java>:[363,24] cannot find symbol
symbol : method addLocalFiles(org.apache.hadoop.conf.Configuration,java.lang.String)
location: class org.apache.hadoop.filecache.DistributedCache
[ERROR] <https://builds.apache.org/job/mrunit-trunk/ws/src/main/java/org/apache/hadoop/mrunit/TestDriver.java>:[377,24] cannot find symbol
symbol : method addLocalArchives(org.apache.hadoop.conf.Configuration,java.lang.String)
location: class org.apache.hadoop.filecache.DistributedCache
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.666s
[INFO] Finished at: Thu Aug 09 19:11:57 UTC 2012
[INFO] Final Memory: 20M/147M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project mrunit: Compilation failure: Compilation failure:
[ERROR] <https://builds.apache.org/job/mrunit-trunk/ws/src/main/java/org/apache/hadoop/mrunit/TestDriver.java>:[363,24] cannot find symbol
[ERROR] symbol : method addLocalFiles(org.apache.hadoop.conf.Configuration,java.lang.String)
[ERROR] location: class org.apache.hadoop.filecache.DistributedCache
[ERROR] <https://builds.apache.org/job/mrunit-trunk/ws/src/main/java/org/apache/hadoop/mrunit/TestDriver.java>:[377,24] cannot find symbol
[ERROR] symbol : method addLocalArchives(org.apache.hadoop.conf.Configuration,java.lang.String)
[ERROR] location: class org.apache.hadoop.filecache.DistributedCache
[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.
[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/MojoFailureException
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building MRUnit 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ mrunit ---
[INFO] Deleting <https://builds.apache.org/job/mrunit-trunk/ws/target> (includes = [], excludes = [*hadoop?.jar])
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ mrunit ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ mrunit ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/mrunit-trunk/ws/src/main/resources>
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mrunit ---
[INFO] Compiling 29 source files to <https://builds.apache.org/job/mrunit-trunk/ws/target/classes>
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ mrunit ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ mrunit ---
[INFO] Compiling 23 source files to <https://builds.apache.org/job/mrunit-trunk/ws/target/test-classes>
[INFO]
[INFO] --- maven-surefire-plugin:2.8.1:test (default-test) @ mrunit ---
[INFO] Surefire report directory: <https://builds.apache.org/job/mrunit-trunk/ws/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.hadoop.mrunit.TestPipelineMapReduceDriver
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.123 sec
Running org.apache.hadoop.mrunit.TestExample
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.hadoop.mrunit.TestTestDriver
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.hadoop.mrunit.TestDistributedCache
Tests run: 9, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 1.075 sec <<< FAILURE!
Running org.apache.hadoop.mrunit.mapreduce.TestWordCount
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.354 sec
Running org.apache.hadoop.mrunit.mapreduce.TestDistributedCache
Tests run: 9, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.283 sec <<< FAILURE!
Running org.apache.hadoop.mrunit.mapreduce.TestReduceDriver
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.408 sec
Running org.apache.hadoop.mrunit.mapreduce.TestReducerInputValueReuse
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.hadoop.mrunit.mapreduce.TestCounters
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec
Running org.apache.hadoop.mrunit.mapreduce.TestMapReduceDriver
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.776 sec
Running org.apache.hadoop.mrunit.mapreduce.TestMapDriver
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.315 sec
Running org.apache.hadoop.mrunit.types.TestPair
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.hadoop.mrunit.TestConfigureClose
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.hadoop.mrunit.internal.mapred.TestMockReporter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.hadoop.mrunit.internal.mapred.TestMockOutputCollector
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.hadoop.mrunit.internal.io.TestSerialization
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.hadoop.mrunit.TestReduceDriver
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.235 sec
Running org.apache.hadoop.mrunit.TestCounters
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.apache.hadoop.mrunit.TestMapReduceDriver
Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.553 sec
Running org.apache.hadoop.mrunit.TestMapDriver
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.244 sec
Results :
Failed tests:
testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 1 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 4 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 2 (expected position 4))
testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 1 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 4 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 2 (expected position 4))
testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 1 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 4 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 2 (expected position 4))
testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 1 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 4 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 2 (expected position 4))
testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 1 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 4 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 2 (expected position 4))
testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 1 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 4 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 2 (expected position 4))
Tests run: 278, Failures: 6, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.915s
[INFO] Finished at: Thu Aug 09 19:12:10 UTC 2012
[INFO] Final Memory: 21M/156M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.8.1:test (default-test) on project mrunit: There are test failures.
[ERROR]
[ERROR] Please refer to <https://builds.apache.org/job/mrunit-trunk/ws/target/surefire-reports> for the individual test results.
[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.
[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/MojoFailureException
Build step 'Execute shell' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
Jenkins build is back to normal : mrunit-trunk #117
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/mrunit-trunk/117/changes>
Build failed in Jenkins: mrunit-trunk #116
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/mrunit-trunk/116/changes>
Changes:
[dbeech] MRUNIT-98: DistributedCache support. Fixing unit tests - order of outputs is unimportant
------------------------------------------
[...truncated 47 lines...]
AU src/test/resources/testarchive.tar
AU src/test/resources/testarchive.tar.abc
A src/main
A src/main/assembly
AU src/main/assembly/component.xml
AU src/main/assembly/src-assembly.xml
AU src/main/assembly/bin-assembly.xml
A src/main/java
A src/main/java/org
A src/main/java/org/apache
A src/main/java/org/apache/hadoop
A src/main/java/org/apache/hadoop/mrunit
A src/main/java/org/apache/hadoop/mrunit/MapReduceDriver.java
A src/main/java/org/apache/hadoop/mrunit/ReduceDriver.java
A src/main/java/org/apache/hadoop/mrunit/MapDriverBase.java
A src/main/java/org/apache/hadoop/mrunit/types
A src/main/java/org/apache/hadoop/mrunit/types/Pair.java
A src/main/java/org/apache/hadoop/mrunit/mapreduce
A src/main/java/org/apache/hadoop/mrunit/mapreduce/MapReduceDriver.java
A src/main/java/org/apache/hadoop/mrunit/mapreduce/ReduceDriver.java
A src/main/java/org/apache/hadoop/mrunit/mapreduce/MapDriver.java
A src/main/java/org/apache/hadoop/mrunit/PipelineMapReduceDriver.java
A src/main/java/org/apache/hadoop/mrunit/MapDriver.java
A src/main/java/org/apache/hadoop/mrunit/TestDriver.java
A src/main/java/org/apache/hadoop/mrunit/MapReduceDriverBase.java
A src/main/java/org/apache/hadoop/mrunit/internal
A src/main/java/org/apache/hadoop/mrunit/internal/output
A src/main/java/org/apache/hadoop/mrunit/internal/output/MockOutputCollector.java
AU src/main/java/org/apache/hadoop/mrunit/internal/output/MockOutputCreator.java
AU src/main/java/org/apache/hadoop/mrunit/internal/output/OutputCollectable.java
A src/main/java/org/apache/hadoop/mrunit/internal/counters
A src/main/java/org/apache/hadoop/mrunit/internal/counters/CounterWrapper.java
A src/main/java/org/apache/hadoop/mrunit/internal/mapreduce
A src/main/java/org/apache/hadoop/mrunit/internal/mapreduce/ContextDriver.java
A src/main/java/org/apache/hadoop/mrunit/internal/mapreduce/AbstractMockContextWrapper.java
A src/main/java/org/apache/hadoop/mrunit/internal/mapreduce/MockInputSplit.java
A src/main/java/org/apache/hadoop/mrunit/internal/mapreduce/MockReduceContextWrapper.java
AU src/main/java/org/apache/hadoop/mrunit/internal/mapreduce/MockMapreduceOutputFormat.java
A src/main/java/org/apache/hadoop/mrunit/internal/mapreduce/MockMapContextWrapper.java
A src/main/java/org/apache/hadoop/mrunit/internal/io
A src/main/java/org/apache/hadoop/mrunit/internal/io/Serialization.java
A src/main/java/org/apache/hadoop/mrunit/internal/mapred
A src/main/java/org/apache/hadoop/mrunit/internal/mapred/MockInputSplit.java
AU src/main/java/org/apache/hadoop/mrunit/internal/mapred/MockMapredOutputFormat.java
A src/main/java/org/apache/hadoop/mrunit/internal/mapred/MockReporter.java
A src/main/java/org/apache/hadoop/mrunit/internal/util
AU src/main/java/org/apache/hadoop/mrunit/internal/util/ArgumentChecker.java
A src/main/java/org/apache/hadoop/mrunit/internal/util/DistCacheUtils.java
A src/main/java/org/apache/hadoop/mrunit/testutil
A src/main/java/org/apache/hadoop/mrunit/testutil/ExtendedAssert.java
A src/main/java/org/apache/hadoop/mrunit/ReduceDriverBase.java
AU src/main/java/org/apache/hadoop/mrunit/package.html
A pom.xml
A README.txt
A BUILD.txt
U .
At revision 1371415
Parsing POMs
[mrunit-trunk] $ /home/hudson/tools/java/latest1.6/bin/java -cp /home/hudson/hudson-slave/maven3-agent.jar:/home/hudson/tools/maven/latest3/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /home/hudson/tools/maven/latest3 /home/hudson/hudson-slave/slave.jar /home/hudson/hudson-slave/maven3-interceptor.jar 43401
<===[JENKINS REMOTING CAPACITY]===>channel started
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven: -B -f <https://builds.apache.org/job/mrunit-trunk/ws/pom.xml> -Dmaven.repo.local=/home/hudson/hudson-slave/maven-repositories/1 clean package
[INFO] Scanning for projects...
Projects to build: [MavenProject: org.apache.mrunit:mrunit:1.0.0-SNAPSHOT @ <https://builds.apache.org/job/mrunit-trunk/ws/pom.xml]>
projectStarted org.apache.mrunit:mrunit:1.0.0-SNAPSHOT
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building MRUnit 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.8.1/maven-surefire-plugin-2.8.1.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.8.1/maven-surefire-plugin-2.8.1.pom (10 KB at 361.7 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.8.1/surefire-2.8.1.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.8.1/surefire-2.8.1.pom (12 KB at 1280.3 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.8.1/maven-surefire-plugin-2.8.1.jar
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.8.1/maven-surefire-plugin-2.8.1.jar (30 KB at 1119.3 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-core/1.0.3/hadoop-core-1.0.3.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-core/1.0.3/hadoop-core-1.0.3.pom (5 KB at 45.2 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-core/1.0.3/hadoop-core-1.0.3.jar
Downloaded: http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-core/1.0.3/hadoop-core-1.0.3.jar (3837 KB at 11590.0 KB/sec)
mojoStarted org.apache.maven.plugins:maven-clean-plugin:2.4.1(default-clean)
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ mrunit ---
mojoSucceeded org.apache.maven.plugins:maven-clean-plugin:2.4.1(default-clean)
mojoStarted org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1(default)
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ mrunit ---
mojoSucceeded org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1(default)
mojoStarted org.apache.maven.plugins:maven-resources-plugin:2.5(default-resources)
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/mrunit-trunk/ws/src/main/resources>
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ mrunit ---
[INFO] Copying 3 resources
mojoSucceeded org.apache.maven.plugins:maven-resources-plugin:2.5(default-resources)
mojoStarted org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-compile)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mrunit ---
[INFO] Compiling 29 source files to <https://builds.apache.org/job/mrunit-trunk/ws/target/classes>
mojoSucceeded org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-compile)
mojoStarted org.apache.maven.plugins:maven-resources-plugin:2.5(default-testResources)[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ mrunit ---
mojoSucceeded org.apache.maven.plugins:maven-resources-plugin:2.5(default-testResources)
mojoStarted org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-testCompile)[INFO] Compiling 24 source files to <https://builds.apache.org/job/mrunit-trunk/ws/target/test-classes>
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ mrunit ---
mojoSucceeded org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-testCompile)
mojoStarted org.apache.maven.plugins:maven-surefire-plugin:2.8.1(default-test)
[INFO] Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.8.1/surefire-booter-2.8.1.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.8.1/surefire-booter-2.8.1.pom (3 KB at 130.4 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.8.1/surefire-api-2.8.1.pom
[INFO] --- maven-surefire-plugin:2.8.1:test (default-test) @ mrunit ---
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.8.1/surefire-api-2.8.1.pom (3 KB at 372.1 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.8.1/maven-surefire-common-2.8.1.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.8.1/maven-surefire-common-2.8.1.pom (4 KB at 559.4 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.8.1/surefire-booter-2.8.1.jar
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.8.1/surefire-api-2.8.1.jar
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.8.1/maven-surefire-common-2.8.1.jar
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.8.1/surefire-api-2.8.1.jar (129 KB at 6746.4 KB/sec)
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.8.1/maven-surefire-common-2.8.1.jar (60 KB at 720.7 KB/sec)
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.8.1/surefire-booter-2.8.1.jar (34 KB at 31.5 KB/sec)
[INFO] Surefire report directory: <https://builds.apache.org/job/mrunit-trunk/ws/target/surefire-reports>
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit4/2.8.1/surefire-junit4-2.8.1.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit4/2.8.1/surefire-junit4-2.8.1.pom (3 KB at 44.8 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-providers/2.8.1/surefire-providers-2.8.1.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-providers/2.8.1/surefire-providers-2.8.1.pom (3 KB at 10.5 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit4/2.8.1/surefire-junit4-2.8.1.jar
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit4/2.8.1/surefire-junit4-2.8.1.jar (33 KB at 406.1 KB/sec)
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.hadoop.mrunit.TestDistributedCache
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.991 sec
Running org.apache.hadoop.mrunit.TestCounters
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec
Running org.apache.hadoop.mrunit.mapreduce.TestDistributedCache
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.491 sec
Running org.apache.hadoop.mrunit.mapreduce.TestCounters
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.apache.hadoop.mrunit.mapreduce.TestMapDriver
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.451 sec
Running org.apache.hadoop.mrunit.mapreduce.TestMapReduceDriver
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.8 sec
Running org.apache.hadoop.mrunit.mapreduce.TestReducerInputValueReuse
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.hadoop.mrunit.mapreduce.TestReduceDriver
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.341 sec
Running org.apache.hadoop.mrunit.mapreduce.TestWordCount
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 sec
Running org.apache.hadoop.mrunit.TestPipelineMapReduceDriver
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.754 sec
Running org.apache.hadoop.mrunit.TestExample
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.hadoop.mrunit.types.TestPair
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.hadoop.mrunit.internal.io.TestSerialization
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.apache.hadoop.mrunit.internal.mapred.TestMockReporter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.hadoop.mrunit.internal.mapred.TestMockOutputCollector
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.hadoop.mrunit.TestMapDriver
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.279 sec
Running org.apache.hadoop.mrunit.TestConfigureClose
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.hadoop.mrunit.TestMapReduceDriver
Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.561 sec
Running org.apache.hadoop.mrunit.TestReduceDriver
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.26 sec
Running org.apache.hadoop.mrunit.TestTestDriver
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Results :
Tests run: 279, Failures: 0, Errors: 0, Skipped: 0
mojoSucceeded org.apache.maven.plugins:maven-surefire-plugin:2.8.1(default-test)
[JENKINS] Recording test results
mojoStarted org.apache.rat:apache-rat-plugin:0.8(default)
[INFO]
[INFO] --- apache-rat-plugin:0.8:check (default) @ mrunit ---
[INFO] Exclude: BUILD.txt
[INFO] Exclude: CHANGES.txt
[INFO] Exclude: BIN-NOTICE.txt
[INFO] Exclude: .idea/
mojoFailed org.apache.rat:apache-rat-plugin:0.8(default)
projectFailed org.apache.mrunit:mrunit:1.0.0-SNAPSHOT
sessionEnded
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:00.619s
[INFO] Finished at: Thu Aug 09 19:46:19 UTC 2012
[INFO] Final Memory: 22M/79M
[INFO] ------------------------------------------------------------------------
Projects to build: [MavenProject: org.apache.mrunit:mrunit:1.0.0-SNAPSHOT @ <https://builds.apache.org/job/mrunit-trunk/ws/pom.xml]>
[JENKINS] Archiving <https://builds.apache.org/job/mrunit-trunk/ws/pom.xml> to /home/hudson/hudson/jobs/mrunit-trunk/modules/org.apache.mrunit$mrunit/builds/2012-08-09_19-44-58/archive/org.apache.mrunit/mrunit/1.0.0-SNAPSHOT/mrunit-1.0.0-SNAPSHOT.pom
Waiting for Jenkins to finish collecting data
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.rat:apache-rat-plugin:0.8:check (default) on project mrunit: Too many unapproved licenses: 1
cause : Too many unapproved licenses: 1
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.rat:apache-rat-plugin:0.8:check (default) on project mrunit: Too many unapproved licenses: 1
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
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:662)
Caused by: org.apache.rat.mp.RatCheckException: Too many unapproved licenses: 1
at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:167)
at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:159)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 27 more
Sending e-mails to: dev@mrunit.apache.org dave@paraliatech.com
channel stopped
[WARNINGS] Skipping publisher since build result is FAILURE
Build failed in Jenkins: mrunit-trunk #115
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/mrunit-trunk/115/changes>
Changes:
[brock] MRUNIT-133: MapInput stuff should be moved from TestDriver to MapDriver
------------------------------------------
[...truncated 112 lines...]
Running org.apache.hadoop.mrunit.TestMapReduceDriver
Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.453 sec
Running org.apache.hadoop.mrunit.TestDistributedCache
Tests run: 9, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.118 sec <<< FAILURE!
Running org.apache.hadoop.mrunit.TestPipelineMapReduceDriver
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.253 sec
Running org.apache.hadoop.mrunit.TestTestDriver
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.hadoop.mrunit.types.TestPair
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Results :
Failed tests:
testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 4 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 2 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 1 (expected position 4))
testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 4 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 2 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 1 (expected position 4))
testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 4 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 2 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 1 (expected position 4))
testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 4 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 2 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 1 (expected position 4))
testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 4 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 2 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 1 (expected position 4))
testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 4 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 2 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 1 (expected position 4))
Tests run: 279, Failures: 6, Errors: 0, Skipped: 0
[ERROR] There are test failures.
Please refer to <https://builds.apache.org/job/mrunit-trunk/ws/target/surefire-reports> for the individual test results.
mojoSucceeded org.apache.maven.plugins:maven-surefire-plugin:2.8.1(default-test)
[JENKINS] Recording test results
mojoStarted org.apache.rat:apache-rat-plugin:0.8(default)
[INFO]
[INFO] --- apache-rat-plugin:0.8:check (default) @ mrunit ---
[INFO] Exclude: BUILD.txt
[INFO] Exclude: CHANGES.txt
[INFO] Exclude: BIN-NOTICE.txt
[INFO] Exclude: .idea/
mojoFailed org.apache.rat:apache-rat-plugin:0.8(default)
projectFailed org.apache.mrunit:mrunit:1.0.0-SNAPSHOT
sessionEnded
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.491s
[INFO] Finished at: Thu Aug 09 19:16:16 UTC 2012
[INFO] Final Memory: 22M/76M
[INFO] ------------------------------------------------------------------------
Projects to build: [MavenProject: org.apache.mrunit:mrunit:1.0.0-SNAPSHOT @ <https://builds.apache.org/job/mrunit-trunk/ws/pom.xml]>
[JENKINS] Archiving <https://builds.apache.org/job/mrunit-trunk/ws/pom.xml> to /home/hudson/hudson/jobs/mrunit-trunk/modules/org.apache.mrunit$mrunit/builds/2012-08-09_19-15-44/archive/org.apache.mrunit/mrunit/1.0.0-SNAPSHOT/mrunit-1.0.0-SNAPSHOT.pom
Waiting for Jenkins to finish collecting data
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.rat:apache-rat-plugin:0.8:check (default) on project mrunit: Too many unapproved licenses: 1
cause : Too many unapproved licenses: 1
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.rat:apache-rat-plugin:0.8:check (default) on project mrunit: Too many unapproved licenses: 1
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
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:662)
Caused by: org.apache.rat.mp.RatCheckException: Too many unapproved licenses: 1
at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:167)
at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:159)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 27 more
Maven failed with error.
Sending e-mails to: dev@mrunit.apache.org brock@cloudera.com
channel stopped
[mrunit-trunk] $ /bin/sh /tmp/hudson8937116411418304671.sh
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building MRUnit 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ mrunit ---
[INFO] Deleting /x1/jenkins/jenkins-slave/workspace/mrunit-trunk/target (includes = [], excludes = [*hadoop?.jar])
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ mrunit ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ mrunit ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /x1/jenkins/jenkins-slave/workspace/mrunit-trunk/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mrunit ---
[INFO] Compiling 29 source files to /x1/jenkins/jenkins-slave/workspace/mrunit-trunk/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /x1/jenkins/jenkins-slave/workspace/mrunit-trunk/src/main/java/org/apache/hadoop/mrunit/TestDriver.java:[337,24] cannot find symbol
symbol : method addLocalFiles(org.apache.hadoop.conf.Configuration,java.lang.String)
location: class org.apache.hadoop.filecache.DistributedCache
[ERROR] /x1/jenkins/jenkins-slave/workspace/mrunit-trunk/src/main/java/org/apache/hadoop/mrunit/TestDriver.java:[351,24] cannot find symbol
symbol : method addLocalArchives(org.apache.hadoop.conf.Configuration,java.lang.String)
location: class org.apache.hadoop.filecache.DistributedCache
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.045s
[INFO] Finished at: Thu Aug 09 19:18:01 UTC 2012
[INFO] Final Memory: 19M/106M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project mrunit: Compilation failure: Compilation failure:
[ERROR] /x1/jenkins/jenkins-slave/workspace/mrunit-trunk/src/main/java/org/apache/hadoop/mrunit/TestDriver.java:[337,24] cannot find symbol
[ERROR] symbol : method addLocalFiles(org.apache.hadoop.conf.Configuration,java.lang.String)
[ERROR] location: class org.apache.hadoop.filecache.DistributedCache
[ERROR] /x1/jenkins/jenkins-slave/workspace/mrunit-trunk/src/main/java/org/apache/hadoop/mrunit/TestDriver.java:[351,24] cannot find symbol
[ERROR] symbol : method addLocalArchives(org.apache.hadoop.conf.Configuration,java.lang.String)
[ERROR] location: class org.apache.hadoop.filecache.DistributedCache
[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.
[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/MojoFailureException
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building MRUnit 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ mrunit ---
[INFO] Deleting /x1/jenkins/jenkins-slave/workspace/mrunit-trunk/target (includes = [], excludes = [*hadoop?.jar])
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ mrunit ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ mrunit ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /x1/jenkins/jenkins-slave/workspace/mrunit-trunk/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mrunit ---
[INFO] Compiling 29 source files to /x1/jenkins/jenkins-slave/workspace/mrunit-trunk/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ mrunit ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ mrunit ---
[INFO] Compiling 24 source files to /x1/jenkins/jenkins-slave/workspace/mrunit-trunk/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.8.1:test (default-test) @ mrunit ---
[INFO] Surefire report directory: /x1/jenkins/jenkins-slave/workspace/mrunit-trunk/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.hadoop.mrunit.TestExample
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.334 sec
Running org.apache.hadoop.mrunit.TestConfigureClose
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec
Running org.apache.hadoop.mrunit.internal.io.TestSerialization
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
Running org.apache.hadoop.mrunit.internal.mapred.TestMockReporter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.apache.hadoop.mrunit.internal.mapred.TestMockOutputCollector
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.apache.hadoop.mrunit.TestCounters
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.126 sec
Running org.apache.hadoop.mrunit.TestReduceDriver
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.431 sec
Running org.apache.hadoop.mrunit.TestMapDriver
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.273 sec
Running org.apache.hadoop.mrunit.mapreduce.TestWordCount
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.274 sec
Running org.apache.hadoop.mrunit.mapreduce.TestReducerInputValueReuse
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.apache.hadoop.mrunit.mapreduce.TestCounters
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running org.apache.hadoop.mrunit.mapreduce.TestReduceDriver
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.274 sec
Running org.apache.hadoop.mrunit.mapreduce.TestMapDriver
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.263 sec
Running org.apache.hadoop.mrunit.mapreduce.TestMapReduceDriver
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.56 sec
Running org.apache.hadoop.mrunit.mapreduce.TestDistributedCache
Tests run: 9, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.182 sec <<< FAILURE!
Running org.apache.hadoop.mrunit.TestMapReduceDriver
Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.408 sec
Running org.apache.hadoop.mrunit.TestDistributedCache
Tests run: 9, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.215 sec <<< FAILURE!
Running org.apache.hadoop.mrunit.TestPipelineMapReduceDriver
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.335 sec
Running org.apache.hadoop.mrunit.TestTestDriver
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.hadoop.mrunit.types.TestPair
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Results :
Failed tests:
testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 4 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 2 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 1 (expected position 4))
testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 4 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 2 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 1 (expected position 4))
testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 4 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 2 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 1 (expected position 4))
testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 4 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 2 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 1 (expected position 4))
testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 4 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 2 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 1 (expected position 4))
testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.TestDistributedCache): 3 Error(s): (Matched expected output (testarchive.tar/b, file) but at incorrect position 4 (expected position 2), Matched expected output (testarchive.tar/a, file) but at incorrect position 2 (expected position 1), Matched expected output (testarchive.tar/d, file) but at incorrect position 1 (expected position 4))
Tests run: 279, Failures: 6, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.417s
[INFO] Finished at: Thu Aug 09 19:18:11 UTC 2012
[INFO] Final Memory: 22M/178M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.8.1:test (default-test) on project mrunit: There are test failures.
[ERROR]
[ERROR] Please refer to /x1/jenkins/jenkins-slave/workspace/mrunit-trunk/target/surefire-reports for the individual test results.
[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.
[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/MojoFailureException
Build step 'Execute shell' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE