Description
job.status.succeeded is not correctly populated. Could be related to this part of the code, https://github.com/volcano-sh/volcano/blob/3c63218204b5578a2eb16cef0b3430b5410448c4/pkg/controllers/job/job_controller_actions.go#L163C1-L164C1, as the classifyAndAddUpPodBaseOnPhase will only be run against the podsToKill which does not contain the succeeded pods.
Steps to reproduce the issue
- Submit job to be completed
- Check the status.succeeded field.
Describe the results you received and expected
This is what I got:

I expected the status.succeeded should be 1.
What version of Volcano are you using?
v1.12
Any other relevant information
No response
Description
job.status.succeeded is not correctly populated. Could be related to this part of the code, https://github.com/volcano-sh/volcano/blob/3c63218204b5578a2eb16cef0b3430b5410448c4/pkg/controllers/job/job_controller_actions.go#L163C1-L164C1, as the
classifyAndAddUpPodBaseOnPhasewill only be run against thepodsToKillwhich does not contain the succeeded pods.Steps to reproduce the issue
Describe the results you received and expected
This is what I got:

I expected the status.succeeded should be 1.
What version of Volcano are you using?
v1.12
Any other relevant information
No response