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
put back the queue to priority queue after job's resource allocating … #3413
base: master
Are you sure you want to change the base?
Conversation
/retest |
@panoswoo: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
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/test-infra repository. |
Hi, please add some ut to cover it. Thanks |
Done, but i haven't found a simple way to check the allocate order of tasks, so I made some extensions to TestCommonStruct to enable it to record the actual allocation order. This change is compatible with previous cases. |
Don't need to do that. Just let the whole resource only enough for allocating first few jobs and check the left jobs are pending. |
I have considered doing this before, but due to the same weight for both queues, when I try to fill up all resources with tasks, they will be rejected by the proportion plugin during Overused and Allocable detection. (because we only have two queues, if we want to fill up all resources, must have one queue's resource allocated is more than half). |
Add two cases:
|
Wait #3408 fix the failed UT. |
May be we need to adjust the e2e test case. |
let me take a look |
@lowang-bh Hi, I seem to have found some issues while searching for the volcano component logs generated by e2e testing.
|
That is a issue, now we use |
/retest |
cfb0334
to
4624db7
Compare
I triggered the test again and it passed. |
No update. Maybe it is randomly failed. We'd better check it. |
I am unable to reproduce the problem now. |
hack/run-e2e-kind.sh
Outdated
if [[ $? -ne 0 ]]; then | ||
generate-log | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will generate-log be put here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the modifications made in run-e2e-kind.sh are temporary and were used for debugging
I will revert these changes in this PR and create a new one
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@panoswoo please make the ci succeed and so we can make this pr merged. |
/retest |
@panoswoo: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
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/test-infra repository. |
I will fix it ASAP |
/ok-to-test |
/retest |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
HI, @panoswoo , You can close and reopen it to trigger the CI. |
…finished Signed-off-by: Panos Woo <panoswoo@outlook.com>
New changes are detected. LGTM label has been removed. |
Resolves #3407
Put back the queue to priority queue after job's resource allocating finished to ensure that the priority of the queue is calculated based on the latest resource allocation situation.