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

Haibo Chen commented on YARN-7548:
----------------------------------

CC [~subru]

> TestCapacityOverTimePolicy.testAllocation is flaky
> --------------------------------------------------
>
>                 Key: YARN-7548
>                 URL: https://issues.apache.org/jira/browse/YARN-7548
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: reservation system
>    Affects Versions: 3.0.0-beta1
>            Reporter: Haibo Chen
>
> It failed in both YARN-7337 and YARN-6921 jenkins jobs.
> org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy.testAllocation[Duration
>  90,000,000, height 0.25, numSubmission 1, periodic 86400000)]
> *Stacktrace*
> junit.framework.AssertionFailedError: null
>       at junit.framework.Assert.fail(Assert.java:55)
>       at junit.framework.Assert.fail(Assert.java:64)
>       at junit.framework.TestCase.fail(TestCase.java:235)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.reservation.BaseSharingPolicyTest.runTest(BaseSharingPolicyTest.java:146)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy.testAllocation(TestCapacityOverTimePolicy.java:136)
> *Standard Output*
> 2017-11-20 23:57:03,759 INFO  [main] recovery.RMStateStore 
> (RMStateStore.java:transition(538)) - Storing reservation 
> allocation.reservation_-9026698577416205920_6337917439559340517
> 2017-11-20 23:57:03,759 INFO  [main] recovery.RMStateStore 
> (MemoryRMStateStore.java:storeReservationState(247)) - Storing 
> reservationallocation for 
> reservation_-9026698577416205920_6337917439559340517 for plan dedicated
> 2017-11-20 23:57:03,760 INFO  [main] reservation.InMemoryPlan 
> (InMemoryPlan.java:addReservation(373)) - Successfully added reservation: 
> reservation_-9026698577416205920_6337917439559340517 to plan.
> In-memory Plan: Parent Queue: dedicatedTotal Capacity: <memory:1024000, 
> vCores:1000>Step: 1000reservation_-9026698577416205920_6337917439559340517 
> user:u1 startTime: 0 endTime: 86400000 Periodiciy: 86400000 alloc:
> [Period: 86400000
> 0: <memory:256000, vCores:250>
>  3423748: <memory:0, vCores:0>
>  86223748: <memory:256000, vCores:250>
>  86400000: <memory:0, vCores:0>
>  9223372036854775807: null
>  ] 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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