You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "PoAn Yang (Jira)" <ji...@apache.org> on 2023/10/17 09:26:00 UTC
[jira] [Resolved] (YUNIKORN-2043) SimplePreemptor e2e test doesn’t really wait for pod’s Killing event
[ https://issues.apache.org/jira/browse/YUNIKORN-2043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
PoAn Yang resolved YUNIKORN-2043.
---------------------------------
Fix Version/s: 1.4.0
Resolution: Fixed
> SimplePreemptor e2e test doesn’t really wait for pod’s Killing event
> --------------------------------------------------------------------
>
> Key: YUNIKORN-2043
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2043
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: test - e2e
> Reporter: Yu-Lin Chen
> Assignee: Yu-Lin Chen
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> In the e2e simple_preemptor_test, the current timeout for ‘waiting Killing event’ is in nanosecond.
> # 120 ns: [test/e2e/simple_preemptor/simple_preemptor_test.go#L169|https://github.com/apache/yunikorn-k8shim/blob/master/test/e2e/simple_preemptor/simple_preemptor_test.go#L169]
> # 1200 ns: [test/e2e/simple_preemptor/simple_preemptor_test.go#L215|https://github.com/apache/yunikorn-k8shim/blob/master/test/e2e/simple_preemptor/simple_preemptor_test.go#L215]
> The interval is Millisecond*100([code|https://github.com/apache/yunikorn-k8shim/blob/master/test/e2e/framework/helpers/k8s/k8s_utils.go#L725]).
> So there is no actual 'waiting' happening here.
> This issue will trigger an error in the CI even though the pod has been killed.
> (Note: Not all SimplePreemptor fails are caused by this issue, there are still other unkown issues to be investigated.)
> CI error: [https://github.com/apache/yunikorn-k8shim/actions/runs/6495711809/job/17641528620#step:5:2046]
> {code:java}
> • [FAILED] [15.593 seconds]
> SimplePreemptor [It] Verify_basic_simple_preemption. Use case: Only one pod is running and same pod has been selected as victim
> /home/runner/work/yunikorn-k8shim/yunikorn-k8shim/test/e2e/simple_preemptor/simple_preemptor_test.go:148
> [FAILED] Unexpected error:
> <context.deadlineExceededError>:
> context deadline exceeded
> {}
> occurred
> In [It] at: /home/runner/work/yunikorn-k8shim/yunikorn-k8shim/test/e2e/simple_preemptor/simple_preemptor_test.go:170 @ 10/12/23
> {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