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

CronWorkflow reports incorrect Finished and Duration details in the CLI and UI #12888

Open
3 of 4 tasks
jdinsel-xealth opened this issue Apr 4, 2024 · 2 comments
Open
3 of 4 tasks

Comments

@jdinsel-xealth
Copy link

jdinsel-xealth commented Apr 4, 2024

Pre-requisites

  • I have double-checked my configuration
  • I can confirm the issue exists when I tested with :latest
  • I have searched existing issues and could not find a match for this bug
  • I'd like to contribute the fix myself (see contributing guide)

What happened/what did you expect to happen?

Looking at the details for a CronWorkflow, the CLI shows the workflow with incorrect Duration details.

NAME                             STATUS                AGE   DURATION   PRIORITY   MESSAGE
xxxxxxx-1712228400   Succeeded            8h     8h                 0

When viewed with argo get, the details are also incorrect.

Name:              xxxxxxx-1712228400
Namespace:         mine
ServiceAccount:    xxxxxxxx
Status:            Succeeded
Conditions:          
 PodRunning.       False
Created:           Thu Apr 04 04:00:00 -0700 (8 hours ago)
Started:           Thu Apr 04 04:00:00 -0700 (8 hours ago)
Duration:          8 hours 35 minutes
Progress:          184/277

The actual duration was closer to 1 hour than 8 hours.

The UI will report the same value for Started and Duration and will show no information in the Finished column. This is seen on the tabular Workflows page. When viewing the workflow tab for the CronWorkflow execution, the START TIME and END TIME for the first node in the graphical display, report the correct values.

Version

v3.5.5

@pacmansyu
Copy link

I observe this behavior for all workflows, not just CronWorkflows. The Finished column in the web UI is empty, and the started/duration times match each other in the web UI, and the CLI via "argo list" and "argo get". The Summary tab on the first node in any workflow shows the correct Start/End Time, and Duration.

I am running 3.5.4, recently upgraded from 3.4.7 where I don't recall seeing this behavior.

@bastien-k
Copy link

I observed the same behavior when terminating a workflow.
Running on 3.5.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants