hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mit Desai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-2364) TestRMRestart#testRMRestartWaitForPreviousAMToFinish is racy
Date Mon, 28 Jul 2014 20:17:38 GMT
Mit Desai created YARN-2364:
-------------------------------

             Summary: 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.2#6252)

Mime
View raw message