You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2026/08/06 07:49:00 UTC

[jira] [Resolved] (YUNIKORN-3335) flaky test TestQuotaChangeTryPreemptionForParentQueue

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

Wilfred Spiegelenburg resolved YUNIKORN-3335.
---------------------------------------------
    Fix Version/s: 1.10.0
       Resolution: Fixed

Change committed to master for 1.10

thank you [~poiblacktea] 

> 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
>            Assignee: weichen lai
>            Priority: Major
>              Labels: newbie, pull-request-available
>             Fix For: 1.10.0
>
>
> 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org