-
Notifications
You must be signed in to change notification settings - Fork 956
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
Hotfix: keep updating task's min available number same as creating podgroup #2802
Conversation
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 code is ok, But your submitted an extra commit.
Have rebased. The extra commit is to fix lint error, which has been merged to master now. |
the failed message is update conflict, looks has nothing to do with this change?
|
May have encountered the same problem as this #2783. This problem has not been solved yet, the probability is relatively low, you can try again |
unit-test pass root@7de62a7cb07f:/go/src/volcano.sh# make unit-test
go clean -testcache
go test -p 8 -race $(find pkg cmd -type f -name '*_test.go' | sed -r 's|/[^/]+$||' | sort | uniq | sed "s|^|volcano.sh/volcano/|")
ok volcano.sh/volcano/cmd/controller-manager/app/options 0.044s
ok volcano.sh/volcano/cmd/scheduler/app/options 0.067s
ok volcano.sh/volcano/pkg/cli/job 0.119s
ok volcano.sh/volcano/pkg/cli/queue 0.139s
ok volcano.sh/volcano/pkg/cli/util 0.246s
ok volcano.sh/volcano/pkg/cli/vcancel 0.157s
ok volcano.sh/volcano/pkg/cli/vresume 0.289s
ok volcano.sh/volcano/pkg/cli/vsuspend 0.202s
ok volcano.sh/volcano/pkg/controllers/apis 0.067s
ok volcano.sh/volcano/pkg/controllers/cache 0.065s
ok volcano.sh/volcano/pkg/controllers/garbagecollector 0.189s
ok volcano.sh/volcano/pkg/controllers/job 1.927s
ok volcano.sh/volcano/pkg/controllers/job/helpers 0.170s
ok volcano.sh/volcano/pkg/controllers/job/plugins/distributed-framework/mpi 0.176s
ok volcano.sh/volcano/pkg/controllers/job/plugins/distributed-framework/pytorch 0.221s
ok volcano.sh/volcano/pkg/controllers/job/plugins/distributed-framework/tensorflow 0.130s
ok volcano.sh/volcano/pkg/controllers/job/plugins/ssh 0.137s
ok volcano.sh/volcano/pkg/controllers/jobflow 0.209s
ok volcano.sh/volcano/pkg/controllers/jobtemplate 0.170s
ok volcano.sh/volcano/pkg/controllers/podgroup 0.213s
ok volcano.sh/volcano/pkg/controllers/queue 0.216s
ok volcano.sh/volcano/pkg/controllers/util 0.265s
ok volcano.sh/volcano/pkg/scheduler 0.229s
ok volcano.sh/volcano/pkg/scheduler/actions/allocate 0.188s
ok volcano.sh/volcano/pkg/scheduler/actions/preempt 0.462s
ok volcano.sh/volcano/pkg/scheduler/actions/reclaim 0.181s
ok volcano.sh/volcano/pkg/scheduler/actions/shuffle 2.207s
ok volcano.sh/volcano/pkg/scheduler/api 0.156s
ok volcano.sh/volcano/pkg/scheduler/api/devices/nvidia/gpushare 0.263s
ok volcano.sh/volcano/pkg/scheduler/api/devices/nvidia/vgpu 0.206s
ok volcano.sh/volcano/pkg/scheduler/api/helpers 0.147s
ok volcano.sh/volcano/pkg/scheduler/cache 0.162s
ok volcano.sh/volcano/pkg/scheduler/capabilities/volumebinding 28.655s
ok volcano.sh/volcano/pkg/scheduler/framework 0.182s
ok volcano.sh/volcano/pkg/scheduler/metrics/source 0.027s
ok volcano.sh/volcano/pkg/scheduler/plugins/binpack 0.181s
ok volcano.sh/volcano/pkg/scheduler/plugins/cdp 0.170s
ok volcano.sh/volcano/pkg/scheduler/plugins/drf 0.359s
ok volcano.sh/volcano/pkg/scheduler/plugins/numaaware/policy 0.173s
ok volcano.sh/volcano/pkg/scheduler/plugins/numaaware/provider/cpumanager 0.137s
ok volcano.sh/volcano/pkg/scheduler/plugins/predicates 0.160s
ok volcano.sh/volcano/pkg/scheduler/plugins/proportion 9.165s
ok volcano.sh/volcano/pkg/scheduler/plugins/task-topology 0.125s
ok volcano.sh/volcano/pkg/scheduler/plugins/tdm 7.491s
ok volcano.sh/volcano/pkg/scheduler/util 0.171s
ok volcano.sh/volcano/pkg/webhooks/admission/jobs/mutate 0.081s
ok volcano.sh/volcano/pkg/webhooks/admission/jobs/plugins/mpi 0.090s
ok volcano.sh/volcano/pkg/webhooks/admission/jobs/validate 0.096s
ok volcano.sh/volcano/pkg/webhooks/admission/pods/mutate 0.138s
ok volcano.sh/volcano/pkg/webhooks/admission/pods/validate 0.082s
ok volcano.sh/volcano/pkg/webhooks/admission/queues/mutate 0.072s
ok volcano.sh/volcano/pkg/webhooks/admission/queues/validate 0.069s |
fix pg not exist when get by client due to it is not added Signed-off-by: lowang_bh <lhui_wang@163.com>
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
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
still need. /assign @Thor-wl |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hzxuzhonghu The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
do we need to backport |
You means cherry-pick to other released branch? |
task's min avaiable member is set to task.Replicas if
task.MinAvailable
is nil when creating podgroup;but it doesn't keep this logic when updating a podgroup.
fix #2792