Description of problem: on Pipeline Runs list page, Duration column are not set with value Version-Release number of selected component (if applicable): 4.3.0-0.nightly-2019-11-04-210904 How reproducible: Always Steps to Reproduce: 1. Install OpenShift Pipelines operator and create Pipelines 1) Install OpenShift Pipeline Operator 2) Create Pipeline, Task, PipelineResource $ oc new-project pipelines-tutorial $ oc get serviceaccount # should list pipeline $ oc create -f https://raw.githubusercontent.com/openshift/pipelines-tutorial/master/petclinic/manifests.yaml //Create the Kubernetes objects for deploying the PetClinic app on OpenShift $ oc create -f https://raw.githubusercontent.com/openshift/tektoncd-catalog/release-v0.7/openshift-client/openshift-client-task.yaml // install openshift-client task $ oc create -f https://raw.githubusercontent.com/openshift/pipelines-catalog/release-v0.7/s2i-java-8/s2i-java-8-task.yaml // install s2i-java task $ oc create -f https://raw.githubusercontent.com/openshift/pipelines-tutorial/master/pipeline/01-build-deploy.yaml // create pipeline $ oc create -f https://raw.githubusercontent.com/openshift/pipelines-tutorial/master/pipeline/02-resources.yaml // create pipeline resource 3) Trigger some Pipeline Runs and Task Runs $ tkn pipeline start petclinic-deploy-pipeline \ -r app-git=petclinic-git \ -r app-image=petclinic-image \ -s pipeline 2. Check Pipeline Runs details on console steps: Pipelines -> Pipeline Runs 3. Check Pipeline Runs info via tkn CLI and oc $ tkn pipelinerun list NAME STARTED DURATION STATUS petclinic-deploy-pipeline-nx5ceh 11 minutes ago 2 minutes Failed petclinic-deploy-pipeline-run-hwbtp 37 minutes ago 3 minutes Succeeded $ oc describe pipelinerun petclinic-deploy-pipeline-run-hwbtp ....... petclinic-deploy-pipeline-run-hwbtp-deploy-9wqjm: Pipeline Task Name: deploy Status: Completion Time: 2019-11-05T08:07:42Z Conditions: Last Transition Time: 2019-11-05T08:07:42Z Message: All Steps have completed executing Reason: Succeeded Status: True Type: Succeeded Pod Name: petclinic-deploy-pipeline-run-hwbtp-deploy-9wqjm-pod-489156 Start Time: 2019-11-05T08:07:24Z Steps: Container: step-oc Image ID: quay.io/openshift/origin-cli@sha256:d53c01fda01be6fa6762ff4337f1d7559566d5e98fa7152e4ad131e573c90ad6 Name: oc Terminated: Container ID: cri-o://e3641f0482a8201773e63c6ce29ad0f762df85cb5f4558d9cb85a8309b95a254 Exit Code: 0 Finished At: 2019-11-05T08:07:41Z Reason: Completed Started At: 2019-11-05T08:07:39Z Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Succeeded 74m pipeline-controller All Tasks have completed executing Actual results: 2. No data is shown in Duration column Expected results: 2. The duration should be calculated and show in Duration column Additional info:
PR for the fix https://github.com/openshift/console/pull/3301 is under review
Now Duration in Pipeline Runs is calculated correctly Verified on 4.3.0-0.nightly-2019-11-17-224250
Created attachment 1637234 [details] DurationWhenRunning
Created attachment 1637235 [details] DurationWhenFinished
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, 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/RHBA-2020:0062