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

Prabhu Joseph commented on YARN-9621:
-------------------------------------

Testcase runs fine in local when ran inside for loop of 100 iterations. 
Testcase failed in jenkins due to Virtual memory limit exceeded.
{code:java}

2019-06-14 09:08:06,721 WARN [RM Event dispatcher] 
resourcemanager.RMAuditLogger (RMAuditLogger.java:logFailure(530)) - 
USER=jenkins    OPERATION=Application Finished - Failed TARGET=RMAppManager     
RESULT=FAILURE  DESCRIPTION=App failed with state: FAILED       
PERMISSIONS=Application application_1560503265087_0001 failed 2 times due to AM 
Container for appattempt_1560503265087_0001_000002 exited with exitCode: -103
Failing this attempt.Diagnostics: [2019-06-14 09:08:06.648]Container 
[pid=21570,containerID=container_1560503265087_0001_02_000001] is running 
847618048B beyond the 'VIRTUAL' memory limit. Current usage: 185.8 MB of 128 MB 
physical memory used; 1.8 GB of 1 GB virtual memory used. Killing 
container.{code}

Disabling Virtual Memory Check for TestDistributedShell testcases as it depends 
on OS Behavior.

> FIX TestDSWithMultipleNodeManager.testDistributedShellWithPlacementConstraint 
> on branch-3.1
> -------------------------------------------------------------------------------------------
>
>                 Key: YARN-9621
>                 URL: https://issues.apache.org/jira/browse/YARN-9621
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: distributed-shell, test
>    Affects Versions: 3.1.2
>            Reporter: Peter Bacsko
>            Assignee: Prabhu Joseph
>            Priority: Major
>         Attachments: YARN-9621-branch-3.1.001.patch, 
> YARN-9621-branch-3.1.002.patch, YARN-9621-branch-3.1.003.patch
>
>
> Testcase 
> {{TestDSWithMultipleNodeManager.testDistributedShellWithPlacementConstraint}} 
> seems to constantly fail on branch 3.1. I believe it was introduced by 
> YARN-9253.
> {noformat}
> testDistributedShellWithPlacementConstraint(org.apache.hadoop.yarn.applications.distributedshell.TestDSWithMultipleNodeManager)
>   Time elapsed: 24.636 s  <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<2>
>       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.applications.distributedshell.TestDSWithMultipleNodeManager.testDistributedShellWithPlacementConstraint(TestDSWithMultipleNodeManager.java:178)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>       at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>       at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>       at 
> org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to