Naganarasimha G R created YARN-3951:
---------------------------------------
Summary: Test case failures in TestLogAggregationService,
TestResourceLocalizationService &TestContainer
Key: YARN-3951
URL: https://issues.apache.org/jira/browse/YARN-3951
Project: Hadoop YARN
Issue Type: Bug
Reporter: Naganarasimha G R
Assignee: Naganarasimha G R
Found some test case failures in YARN-3045 build which were not related to
YARN-3045 patch
TestContainer.testKillOnLocalizedWhenContainerNotLaunched
{quote}
java.lang.AssertionError: expected:<CONTAINER_CLEANEDUP_AFTER_KILL> but
was:<KILLING>
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:144)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.container.TestContainer.testKillOnLocalizedWhenContainerNotLaunched(TestContainer.java:413)
{quote}
TestResourceLocalizationService.testLocalizationHeartbeat
{quote}
Wanted but not invoked:
eventHandler.handle(
<custom argument matcher>
);
-> at
org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService.testLocalizationHeartbeat(TestResourceLocalizationService.java:900)
Actually, there were zero interactions with this mock.
{quote}
TestResourceLocalizationService.testPublicResourceAddResourceExceptions
{quote}
java.lang.AssertionError: expected null, but was:<\{ \{
file:/local/PRIVATE/ef9783a7514fda92, 2411, FILE, null
\},pending,\[(container_314159265358979_0003_01_000042)\],2661055154305048,DOWNLOADING}>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotNull(Assert.java:664)
at org.junit.Assert.assertNull(Assert.java:646)
at org.junit.Assert.assertNull(Assert.java:656)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService.testPublicResourceAddResourceExceptions(TestResourceLocalizationService.java:1366)
{quote}
TestLogAggregationService.testLogAggregationCreateDirsFailsWithoutKillingNM
{quote}
org.mortbay.util.MultiException: Multiple exceptions
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService.checkEvents(TestLogAggregationService.java:1046)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService.testLogAggregationCreateDirsFailsWithoutKillingNM(TestLogAggregationService.java:736)
{quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)