You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Takashi Ohnishi (JIRA)" <ji...@apache.org> on 2016/01/09 14:56:39 UTC
[jira] [Commented] (YARN-4573)
TestRMAppTransitions.testAppRunningKill and testAppKilledKilled fail on
trunk
[ https://issues.apache.org/jira/browse/YARN-4573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15090628#comment-15090628 ]
Takashi Ohnishi commented on YARN-4573:
---------------------------------------
These failure are caused because the test does not wait the events are handled which update application finish time from 0 to the actual value.
I will attach a patch.
> TestRMAppTransitions.testAppRunningKill and testAppKilledKilled fail on trunk
> -----------------------------------------------------------------------------
>
> Key: YARN-4573
> URL: https://issues.apache.org/jira/browse/YARN-4573
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager, test
> Reporter: Takashi Ohnishi
>
> These tests often fails with
> {code}
> testAppRunningKill[0](org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestRMAppTransitions) Time elapsed: 0.042 sec <<< FAILURE!
> java.lang.AssertionError: application finish time is not greater then 0
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestRMAppTransitions.assertTimesAtFinish(TestRMAppTransitions.java:321)
> at org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestRMAppTransitions.assertKilled(TestRMAppTransitions.java:338)
> at org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestRMAppTransitions.testAppRunningKill(TestRMAppTransitions.java:760)
> testAppKilledKilled[0](org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestRMAppTransitions) Time elapsed: 0.04 sec <<< FAILURE!
> java.lang.AssertionError: application finish time is not greater then 0
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestRMAppTransitions.assertTimesAtFinish(TestRMAppTransitions.java:321)
> at org.apache.hadoop.yarn.server.resourcemanager.rmapp.TestRMAppTransitions.testAppKilledKilled(TestRMAppTransitions.java:925)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)