Skip to content

job.status.succeeded Is Not Correctly Populated. #4616

Description

@yuyue9284

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

  1. Submit job to be completed
  2. Check the status.succeeded field.

Describe the results you received and expected

This is what I got:
Image

I expected the status.succeeded should be 1.

What version of Volcano are you using?

v1.12

Any other relevant information

No response

Metadata

Metadata

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions