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: [email protected] [email protected] 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
