-
Notifications
You must be signed in to change notification settings - Fork 38.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scheduler_perf: Allow each test case to specify its timeout #124827
Comments
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@kubernetes/sig-scheduling-approvers I'd be happy to contribute to this issue if it is acceptable. |
User case is first, do you have any real case here. |
Agree with @kerthcet. If you want to define a test case which takes more than 30 mins to finish, it feels like that's something undesired. Additionally to say, even if there's a usecase (let's say using ~1 hour) actually, could we just extend the global timeout to 1 hour? I don't see any necessity of per-test timeout. |
It's very important. Let me share my experience. Unfortunately, I know of a scheduler with fairly poor throughput. That is like an order of magnitude slower throughput. For example, a co-scheduling plugin would be something that could significantly reduce throughput. However, we would like to verify throughput and deadlock on a large number of nodes (possibly an endurance test). In this case, I think scheduler-perf is currently appropriate. However, it will take more than 30 minutes. If preemption is also included, there is an extra possibility of this.
Certainly, this could be the case. However, in the case of @kerthcet @sanposhiho Given your extensive experience, I would appreciate hearing your perspective. Could you please share your thoughts? 🙏 |
Even if the scheduler is 10 times slower (= 30 pods/s throughput), |
No, I didn't. It's fair to reopen this when I get actually this situation. Thanks for your input. |
/kind feature
/sig scheduling
what
Allow each test case to specify its timeout. Now, it is specified 30 minutes as hard coding.
kubernetes/test/integration/scheduler_perf/scheduler_perf.go
Lines 759 to 760 in 99a8a6f
why
I admit that 30 minutes is enough for the default scheduler with the in-tree scheduler plugins, but scheduler_perf is also helpful for other schedulers with outside scheduler plugins. In that case, more than 30 minutes might be required to complete a test case.
The text was updated successfully, but these errors were encountered: