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