Wilfred Spiegelenburg created YUNIKORN-3335:
-----------------------------------------------

             Summary: flaky test TestQuotaChangeTryPreemptionForParentQueue
                 Key: YUNIKORN-3335
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-3335
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: core - scheduler, test - unit
            Reporter: Wilfred Spiegelenburg


Not seen in the apache runs but seen on internall company build sytems:
{code:java}
Main build failed with unit test failure in 
TestQuotaChangeTryPreemptionForParentQueue:2026-05-14 17:04:36 - 
INFO-root::util|428:: 2026-05-14T17:04:25.224Z     INFO    
core.scheduler.preemption.quotachange   objects/quota_preemptor.go:107  quota 
preemption results for parent queue       {"parent": "parent2", "parent 
preemptable resources planned": "map[first:120]", "preemptable resources 
planned": "map[first:120]", "claimed resources": "map[first:60]", "selected 
victims": 10, "preempted victims": 5}
2026-05-14 17:04:36 - ERROR-root::util|428:: --- FAIL: 
TestQuotaChangeTryPreemptionForParentQueue (1.59s)
2026-05-14 17:04:36 - ERROR-root::util|428::     --- FAIL: 
TestQuotaChangeTryPreemptionForParentQueue/Guaranteed_set_on_one_side_of_queue_hierarchy_-_suitable_victims_available
 (0.02s)
2026-05-14 17:04:36 - INFO-root::util|428::         
quota_preemptor_test.go:595: assertion failed: ask10 (preemptedKeys[i] string) 
!= ask1 (expected[i] string): unexpected preempted allocation key
2026-05-14 17:04:36 - ERROR-root::util|428::     --- FAIL: 
TestQuotaChangeTryPreemptionForParentQueue/Guaranteed_set_on_one_side_of_queue_hierarchy_-_victims_available_but_none_suitable
 (0.51s)
2026-05-14 17:04:36 - INFO-root::util|428::         
quota_preemptor_test.go:635: assertion failed: 
strings.Contains(records[len(records)-1].Message, "Quota Preemption results 
summary") is true
2026-05-14 17:04:36 - ERROR-root::util|428::     --- FAIL: 
TestQuotaChangeTryPreemptionForParentQueue/Guaranteed_set_not_set_on_any_queue_-_suitable_victims_available
 (0.02s)
2026-05-14 17:04:36 - INFO-root::util|428::         
quota_preemptor_test.go:595: assertion failed: 13 (int) != 9 (int): preempted 
allocation keys count mismatch
2026-05-14 17:04:36 - INFO-root::util|428:: 2026-05-14T17:04:25.726Z    INFO    
core.scheduler.queue    objects/queue.go:162    configured queue added to 
scheduler     {"queueName": "root"}Not been able to reproduce locally and we 
have not seen it upstream either. {code}



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