hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9583) test-patch gives +1 despite build failure when running tests
Date Tue, 21 May 2013 14:23:16 GMT

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

Jason Lowe commented on HADOOP-9583:
------------------------------------

An excerpt from the test-patch run on MAPREDUCE-5257 at https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3651//console.
 Note that surefire times out the TestRMContainerAllocator test and causes the build to fail
yet test-patch reports an overall +1:

{noformat}
[...]

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hadoop.mapreduce.jobhistory.TestEvents
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.016 sec
Running org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.068 sec
Running org.apache.hadoop.mapreduce.v2.app.webapp.TestAMWebServices
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.121 sec
Running org.apache.hadoop.mapreduce.v2.app.webapp.TestAMWebServicesAttempts
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.714 sec
Running org.apache.hadoop.mapreduce.v2.app.webapp.TestAMWebServicesJobs
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.379 sec
Running org.apache.hadoop.mapreduce.v2.app.webapp.TestAMWebApp
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.757 sec
Running org.apache.hadoop.mapreduce.v2.app.webapp.TestAppController
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.865 sec
Running org.apache.hadoop.mapreduce.v2.app.webapp.TestAMWebServicesJobConf
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.297 sec
Running org.apache.hadoop.mapreduce.v2.app.webapp.TestAMWebServicesTasks
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.975 sec
Running org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.536 sec
Running org.apache.hadoop.mapreduce.v2.app.TestMRClientService
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.687 sec
Running org.apache.hadoop.mapreduce.v2.app.local.TestLocalContainerAllocator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.556 sec
Running org.apache.hadoop.mapreduce.v2.app.TestRecovery
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.474 sec
Running org.apache.hadoop.mapreduce.v2.app.TestFetchFailure
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.167 sec
Running org.apache.hadoop.mapreduce.v2.app.TestTaskHeartbeatHandler
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.575 sec
Running org.apache.hadoop.mapreduce.v2.app.metrics.TestMRAppMetrics
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.435 sec
Running org.apache.hadoop.mapreduce.v2.app.commit.TestCommitterEventHandler
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.175 sec
Running org.apache.hadoop.mapreduce.v2.app.TestAMInfos
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.911 sec
Running org.apache.hadoop.mapreduce.v2.app.TestMRApp
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.69 sec
Running org.apache.hadoop.mapreduce.v2.app.TestRMContainerAllocator
Running org.apache.hadoop.mapreduce.v2.app.TestFail
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.717 sec
Running org.apache.hadoop.mapreduce.v2.app.speculate.TestDataStatistics
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 sec
Running org.apache.hadoop.mapreduce.v2.app.TestMRAppMaster
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.294 sec
Running org.apache.hadoop.mapreduce.v2.app.job.impl.TestTaskAttemptContainerRequest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.501 sec
Running org.apache.hadoop.mapreduce.v2.app.job.impl.TestTaskAttempt
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.187 sec
Running org.apache.hadoop.mapreduce.v2.app.job.impl.TestJobImpl
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.338 sec
Running org.apache.hadoop.mapreduce.v2.app.job.impl.TestMapReduceChildJVM
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.709 sec
Running org.apache.hadoop.mapreduce.v2.app.job.impl.TestTaskImpl
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.532 sec
Running org.apache.hadoop.mapreduce.v2.app.launcher.TestContainerLauncherImpl
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.779 sec
Running org.apache.hadoop.mapreduce.v2.app.launcher.TestContainerLauncher
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.952 sec
Running org.apache.hadoop.mapreduce.v2.app.TestRuntimeEstimators
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.723 sec
Running org.apache.hadoop.mapreduce.v2.app.TestStagingCleanup
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.408 sec
Running org.apache.hadoop.mapreduce.v2.app.TestKill
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.97 sec
Running org.apache.hadoop.mapred.TestTaskAttemptListenerImpl
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.066 sec

Results :

Tests run: 213, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:46.806s
[INFO] Finished at: Sun May 19 03:58:31 UTC 2013
[INFO] Final Memory: 19M/290M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "native" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test
(default-test) on project hadoop-mapreduce-client-app: ExecutionException; nested exception
is java.util.concurrent.ExecutionException: java.lang.RuntimeException: The forked VM terminated
without saying properly goodbye. VM crash or System.exit called ? -> [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
[INFO] Build failures were ignored.
/home/jenkins/jenkins-slave/workspace/PreCommit-MAPREDUCE-Build/trunk

[...]

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12583714/MAPREDUCE-5257-20130516.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3651//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3651//console
{noformat}


                
> test-patch gives +1 despite build failure when running tests
> ------------------------------------------------------------
>
>                 Key: HADOOP-9583
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9583
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Jason Lowe
>            Priority: Critical
>
> I've seen a couple of checkins recently where tests have timed out resulting in a Maven
build failure yet test-patch reports an overall +1 on the patch.  This is encouraging commits
of patches that subsequently break builds.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message