[ 
https://issues.apache.org/jira/browse/YUNIKORN-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Bacsko resolved YUNIKORN-2573.
------------------------------------
    Fix Version/s: 1.6.0
       Resolution: Fixed

Merged to master.

> Flaky test TestUpdateNodeCapacityWithMultipleNodes
> --------------------------------------------------
>
>                 Key: YUNIKORN-2573
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2573
>             Project: Apache YuniKorn
>          Issue Type: Bug
>            Reporter: Arthur Wang
>            Assignee: Arthur Wang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.6.0
>
>
> [github 
> pipeline|https://github.com/apache/yunikorn-core/actions/runs/8770718393/job/24067600801]
> Github CI occasionally fail.
>  
> Root cause:
> [https://github.com/apache/yunikorn-core/blob/a1a10f8e8621288c6919aad269540b44c6e20227/pkg/scheduler/context.go#L665]
>  
> {code:java}
> partition.updatePartitionResource(node.SetCapacity(resources.NewResourceFromProto(sr)))
>  {code}
>  
> We calculate the delta resources by updating node capacity.
> Then we update resources map in partition.
> The test would failed with following order
> node.SetCapacity() -> 
> [waitForAvailableNodeResource()|https://github.com/apache/yunikorn-core/blob/a1a10f8e8621288c6919aad269540b44c6e20227/pkg/scheduler/tests/operation_test.go#L520]
>  ->  
> [partitionInfo.GetTotalPartitionResource()|https://github.com/apache/yunikorn-core/blob/a1a10f8e8621288c6919aad269540b44c6e20227/pkg/scheduler/tests/operation_test.go#L525]
>   -> partition.updatePartitionResource()



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to