* Before this update, the tooltip for tasks in the *PipelineRun details* showed misleading information. It showed the time elapsed since the task ran, not how long they ran. For example, it showed 122 hours for a task that ran for a couple of seconds 5 days ago. With this update, the tooltip shows the duration of the task. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2011368[BZ#2011368])
Created attachment 1829897[details]
screenshot with sample pipeline run
Description of problem:
Tooltip for tasks in pipeline visualization doesn't show how long did the task run but when it ran. It's very misleading, especially when the pipeline ran long time ago a task ran very quickly (e.g. it shows 122 hours for a task that ran couple of seconds 5 days ago).
Version-Release number of selected component (if applicable):
OCP 4.8.10, Pipelines 1.5.2
How reproducible:
Steps to Reproduce:
1. Run some pipeline
2. Open pipeline run view
3. Move with mouse to any task in the pipeline visualization
Actual results:
Shows when the task ran
Expected results:
Shows how long the task ran
Additional info:
Comment 1Christoph Jerolimov
2021-12-07 17:31:17 UTC
Comment 2Christoph Jerolimov
2021-12-07 17:33:40 UTC
@ssadeghi @sdoyle did you agree that we should change the TaskRun time which is shown on a PipelineRun detail page from 'x hours ago' (we don't show ago today) to the duration?
Comment 4Siamak Sadeghianfar
2022-01-03 09:31:19 UTC
Yes, showing the duration of task instead of when it ran on the pipeline diagram is reasonable.
Comment 5Christoph Jerolimov
2022-01-18 10:50:17 UTC
Looks fine for me on 4.10.0-0.ci-2022-01-18-093446,
@ppitonak can you take a look and mark this ticket as verified in everything is fine from your side? Thanks
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2022:0056
Created attachment 1829897 [details] screenshot with sample pipeline run Description of problem: Tooltip for tasks in pipeline visualization doesn't show how long did the task run but when it ran. It's very misleading, especially when the pipeline ran long time ago a task ran very quickly (e.g. it shows 122 hours for a task that ran couple of seconds 5 days ago). Version-Release number of selected component (if applicable): OCP 4.8.10, Pipelines 1.5.2 How reproducible: Steps to Reproduce: 1. Run some pipeline 2. Open pipeline run view 3. Move with mouse to any task in the pipeline visualization Actual results: Shows when the task ran Expected results: Shows how long the task ran Additional info: