Skip to content
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

API: Timestamps are wrong #4231

Closed
1 task done
Tracked by #952
mguidon opened this issue May 12, 2023 · 0 comments · Fixed by #4254
Closed
1 task done
Tracked by #952

API: Timestamps are wrong #4231

mguidon opened this issue May 12, 2023 · 0 comments · Fixed by #4254
Assignees
Labels
a:apiserver api-server service

Comments

@mguidon
Copy link
Member

mguidon commented May 12, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Which deploy/s?

development (master)

Current Behavior

Three consecutive job status queries return:

{
    "job_id": "63dc853f-0e65-4983-81e8-5f27654f4c90",
    "progress": 0,
    "started_at": "2023-05-12T12:48:22.706977",
    "state": "STARTED",
    "stopped_at": null,
    "submitted_at": "2023-05-12T12:48:22.706874"
}
{
    "job_id": "9b4b39f0-0a6e-4ca0-a63f-a7d114ba63c2",
    "progress": 0,
    "started_at": "2023-05-12T07:38:39.342723",
    "state": "STARTED",
    "stopped_at": null,
    "submitted_at": "2023-05-12T07:38:39.342670"
}
{
    "job_id": "9b4b39f0-0a6e-4ca0-a63f-a7d114ba63c2",
    "progress": 0,
    "started_at": null,
    "state": "ABORTED",
    "stopped_at": "2023-05-12T07:38:40.390251",
    "submitted_at": "2023-05-12T07:38:40.390211"
}

Expected Behavior

I would expect the started_at field not to be null and in addition, the submitted_at and "start_at" are taken as now()

Steps To Reproduce

No response

Anything else?

No response

@mguidon mguidon changed the title API: After job is stopped, started_at is reset to null API: Timestamps are wrong May 12, 2023
@sanderegg sanderegg assigned sanderegg and unassigned pcrespov May 19, 2023
@sanderegg sanderegg added the a:apiserver api-server service label May 19, 2023
@sanderegg sanderegg added this to the Pastel de Nata milestone May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:apiserver api-server service
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants