You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jonathan Eagles (Commented) (JIRA)" <ji...@apache.org> on 2011/10/18 20:27:10 UTC

[jira] [Commented] (HADOOP-7755) Detect MapReduce PreCommit Trunk builds silently failing when running test-patch.sh

    [ https://issues.apache.org/jira/browse/HADOOP-7755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129912#comment-13129912 ] 

Jonathan Eagles commented on HADOOP-7755:
-----------------------------------------

Why this happens is that the maven test command can fail in such a way that no tests fails and yet not all the tests are run because of the failure.

Ideas:

1) Detect non-zero exit status for maven test command and -1 the patch.
2) File a long term fix that will -1 a patch if the number of tests has been [significantly] reduced
                
> Detect MapReduce PreCommit Trunk builds silently failing when running test-patch.sh
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-7755
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7755
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>            Priority: Blocker
>
> MapReduce PreCommit build is silently failing only running a very small portion of tests. The build then errors out, yet +1 it given to the patch.
> Last known Success build - 307 tests run and passed
> https://builds.apache.org/view/G-L/view/Hadoop/job/PreCommit-MAPREDUCE-Build/990/testReport/
> First known Error build - 69 tests run and passed
> https://builds.apache.org/view/G-L/view/Hadoop/job/PreCommit-MAPREDUCE-Build/994/testReport/
> Snippet from failed build log - Errors out and then +1 the patch
> https://builds.apache.org/view/G-L/view/Hadoop/job/PreCommit-MAPREDUCE-Build/994/console
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] hadoop-yarn-api ................................... SUCCESS [19.512s]
> [INFO] hadoop-yarn-common ................................ FAILURE [13.835s]
> [INFO] hadoop-yarn-server-common ......................... SKIPPED
> [INFO] hadoop-yarn-server-nodemanager .................... SKIPPED
> [INFO] hadoop-yarn-server-resourcemanager ................ SKIPPED
> [INFO] hadoop-yarn-server-tests .......................... SKIPPED
> [INFO] hadoop-yarn-server ................................ SKIPPED
> [INFO] hadoop-yarn-applications-distributedshell ......... SKIPPED
> [INFO] hadoop-yarn-applications .......................... SKIPPED
> [INFO] hadoop-yarn-site .................................. SKIPPED
> [INFO] hadoop-yarn ....................................... SKIPPED
> [INFO] hadoop-mapreduce-client-core ...................... SKIPPED
> [INFO] hadoop-mapreduce-client-common .................... SKIPPED
> [INFO] hadoop-mapreduce-client-shuffle ................... SKIPPED
> [INFO] hadoop-mapreduce-client-app ....................... SKIPPED
> [INFO] hadoop-mapreduce-client-hs ........................ SKIPPED
> [INFO] hadoop-mapreduce-client-jobclient ................. SKIPPED
> [INFO] hadoop-mapreduce-client ........................... SKIPPED
> [INFO] hadoop-mapreduce .................................. SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 33.784s
> [INFO] Finished at: Wed Oct 12 12:03:22 UTC 2011
> [INFO] Final Memory: 40M/630M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single (tar) on project hadoop-yarn-common: Failed to create assembly: Error adding file 'org.apache.hadoop:hadoop-yarn-api:jar:0.24.0-SNAPSHOT' to archive: /home/jenkins/jenkins-slave/workspace/PreCommit-MAPREDUCE-Build/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-api/target/classes isn't a file. -> [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/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :hadoop-yarn-common
> ======================================================================
> ======================================================================
>     Running contrib tests.
> ======================================================================
> ======================================================================
> /bin/kill -9 27543 
> kill: No such process
> NOP
> ======================================================================
> ======================================================================
>     Checking the integrity of system test framework code.
> ======================================================================
> ======================================================================
> /bin/kill -9 27548 
> kill: No such process
> NOP
> +1 overall.  Here are the results of testing the latest attachment 
>   http://issues.apache.org/jira/secure/attachment/12498577/MR3166.patch
>   against trunk revision .
>     +1 @author.  The patch does not contain any @author tags.
>     +1 tests included.  The patch appears to include 3 new or modified tests.
>     +1 javadoc.  The javadoc tool did not generate any warning messages.
>     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
>     +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.
>     +1 release audit.  The applied patch does not increase the total number of release audit warnings.
>     +1 core tests.  The patch passed unit tests in .
>     +1 contrib tests.  The patch passed contrib unit tests.
> Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/994//testReport/
> Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/994//console
> This message is automatically generated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira