-
Bug
-
Resolution: Unresolved
-
Undefined
-
4.14.z
-
No
-
ODC Sprint 3264, ODC Sprint 3265, ODC Sprint 3266
-
3
-
Rejected
-
False
-
Description of problem:
Previously, failed task rus did not emit results, now they do but the UI still shows "No TaskRun results available due to failure" even though task run's status contains a result.
Version-Release number of selected component (if applicable):
4.14.3
How reproducible:
Always with a task run producing a result but failing afterwards
Steps to Reproduce:
1. Create the pipelinerun below 2. have a look on its task run
apiVersion: tekton.dev/v1
kind: Pipeline
metadata:
name: hello-pipeline
spec:
tasks:
- name: hello
taskSpec:
results:
- name: greeting1
steps:
- name: greet
image: registry.access.redhat.com/ubi8/ubi-minimal
script: |
#!/usr/bin/env bash
set -e
echo -n "Hello World!" | tee $(results.greeting1.path)
exit 1
results:
- name: greeting2
value: $(tasks.hello.results.greeting1)
Actual results:
No results in UI
Expected results:
One result should be displayed even though task run failed
Additional info:
Pipelines 1.13.0
- relates to
-
SRVKP-1513 Results not recorded when task fails
- To Do
- links to