hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2364) TestRMRestart#testRMRestartWaitForPreviousAMToFinish is racy
Date Fri, 01 May 2015 21:26:07 GMT

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

Junping Du commented on YARN-2364:
----------------------------------

Is this still valid, [~mitdesai]? If not, can we go ahead to resolve it as won't fix?

> TestRMRestart#testRMRestartWaitForPreviousAMToFinish is racy
> ------------------------------------------------------------
>
>                 Key: YARN-2364
>                 URL: https://issues.apache.org/jira/browse/YARN-2364
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Mit Desai
>
> TestRMRestart#testRMRestartWaitForPreviousAMToFinish is racy. It fails intermittently
on branch-2 with the following errors.
> Fails with any of these
> {noformat}
> Running org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 26.836 sec <<<
FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart
> testRMRestartWaitForPreviousAMToFinish(org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart)
 Time elapsed: 26.687 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<4> but was:<3>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:555)
> 	at org.junit.Assert.assertEquals(Assert.java:542)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartWaitForPreviousAMToFinish(TestRMRestart.java:557)
> {noformat}
> or
> {noformat}
> Running org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 51.326 sec <<<
FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart
> testRMRestartWaitForPreviousAMToFinish(org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart)
 Time elapsed: 51.055 sec  <<< FAILURE!
> java.lang.AssertionError: AppAttempt state is not correct (timedout) expected:<ALLOCATED>
but was:<SCHEDULED>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.apache.hadoop.yarn.server.resourcemanager.MockAM.waitForState(MockAM.java:82)
> 	at org.apache.hadoop.yarn.server.resourcemanager.MockRM.sendAMLaunched(MockRM.java:414)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.launchAM(TestRMRestart.java:949)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartWaitForPreviousAMToFinish(TestRMRestart.java:519)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message