{
    "apiVersion": "v1",
    "items": [
        {
            "apiVersion": "tekton.dev/v1",
            "kind": "TaskRun",
            "metadata": {
                "annotations": {
                    "chains.tekton.dev/signed": "true",
                    "operator-sdk/primary-resource": "retry-task-timeout-pzjm/snapshot-sample-0zxn-d499148-8bjdr",
                    "operator-sdk/primary-resource-type": "Release.appstudio.redhat.com",
                    "pac.test.appstudio.openshift.io/sha": "d49914874789147eb2de9bb6a12cd5d150bfff92",
                    "pac.test.appstudio.openshift.io/url-repository": "https://github.com/redhat-appstudio-qe/dc-metro-map-release",
                    "pipeline.tekton.dev/release": "70f7308",
                    "results.tekton.dev/childReadyForDeletion": "true",
                    "results.tekton.dev/record": "retry-task-timeout-managed/results/668d99ea-9bef-4599-9629-bf0b80f4478f/records/cae1b1f6-9b95-4f94-a80b-e2471aee8d39",
                    "results.tekton.dev/result": "retry-task-timeout-managed/results/668d99ea-9bef-4599-9629-bf0b80f4478f",
                    "results.tekton.dev/stored": "true",
                    "tekton.dev/pipelines.minVersion": "0.12.1",
                    "tekton.dev/tags": "release"
                },
                "creationTimestamp": "2026-10-06T10:00:18Z",
                "deletionGracePeriodSeconds": 0,
                "deletionTimestamp": "2026-10-06T10:02:17Z",
                "finalizers": [
                    "results.tekton.dev/taskrun"
                ],
                "generation": 2,
                "labels": {
                    "app.kubernetes.io/managed-by": "tekton-pipelines",
                    "appstudio.openshift.io/application": "appstudio",
                    "appstudio.openshift.io/service": "release",
                    "appstudio.openshift.io/snapshot": "snapshot-sample-0zxn",
                    "pipelines.appstudio.openshift.io/type": "managed",
                    "release.appstudio.openshift.io/attempt": "0",
                    "release.appstudio.openshift.io/name": "snapshot-sample-0zxn-d499148-8bjdr",
                    "release.appstudio.openshift.io/namespace": "retry-task-timeout-pzjm",
                    "tekton.dev/memberOf": "finally",
                    "tekton.dev/pipeline": "retry-e2e-managed",
                    "tekton.dev/pipelineRun": "managed-n69v6",
                    "tekton.dev/pipelineRunUID": "668d99ea-9bef-4599-9629-bf0b80f4478f",
                    "tekton.dev/pipelineTask": "finalize"
                },
                "name": "managed-n69v6-finalize",
                "namespace": "retry-task-timeout-managed",
                "ownerReferences": [
                    {
                        "apiVersion": "tekton.dev/v1",
                        "blockOwnerDeletion": true,
                        "controller": true,
                        "kind": "PipelineRun",
                        "name": "managed-n69v6",
                        "uid": "668d99ea-9bef-4599-9629-bf0b80f4478f"
                    }
                ],
                "resourceVersion": "26764",
                "uid": "cae1b1f6-9b95-4f94-a80b-e2471aee8d39"
            },
            "spec": {
                "serviceAccountName": "release-service-account",
                "taskSpec": {
                    "steps": [
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "32Mi"
                                },
                                "requests": {
                                    "cpu": "50m",
                                    "memory": "32Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "finalize-step-01",
                            "script": "#!/usr/bin/env bash\necho \"finalize: complete\"\n"
                        }
                    ]
                },
                "timeout": "1h0m0s"
            },
            "status": {
                "artifacts": {},
                "completionTime": "2026-10-06T10:00:22Z",
                "conditions": [
                    {
                        "lastTransitionTime": "2026-10-06T10:00:22Z",
                        "message": "All Steps have completed executing",
                        "reason": "Succeeded",
                        "status": "True",
                        "type": "Succeeded"
                    }
                ],
                "podName": "managed-n69v6-finalize-pod",
                "provenance": {
                    "featureFlags": {
                        "awaitSidecarReadiness": true,
                        "coschedule": "workspaces",
                        "enableAPIFields": "beta",
                        "enableProvenanceInStatus": true,
                        "enforceNonfalsifiability": "none",
                        "maxResultSize": 4096,
                        "resultExtractionMethod": "termination-message",
                        "runningInEnvWithInjectedSidecars": true,
                        "sendCloudEventsForRuns": true,
                        "verificationNoMatchPolicy": "ignore"
                    }
                },
                "startTime": "2026-10-06T10:00:18Z",
                "steps": [
                    {
                        "container": "step-finalize-step-01",
                        "imageID": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                        "name": "finalize-step-01",
                        "provenance": {},
                        "terminated": {
                            "containerID": "containerd://8b86757f9aa8f9cd15203302dc197a3cb569b5a2549398afea0588b33aa7d5b6",
                            "exitCode": 0,
                            "finishedAt": "2026-10-06T10:00:21Z",
                            "reason": "Completed",
                            "startedAt": "2026-10-06T10:00:21Z"
                        },
                        "terminationReason": "Completed"
                    }
                ],
                "taskSpec": {
                    "steps": [
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "32Mi"
                                },
                                "requests": {
                                    "cpu": "50m",
                                    "memory": "32Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "finalize-step-01",
                            "script": "#!/usr/bin/env bash\necho \"finalize: complete\"\n"
                        }
                    ]
                }
            }
        },
        {
            "apiVersion": "tekton.dev/v1",
            "kind": "TaskRun",
            "metadata": {
                "annotations": {
                    "chains.tekton.dev/signed": "true",
                    "operator-sdk/primary-resource": "retry-task-timeout-pzjm/snapshot-sample-0zxn-d499148-8bjdr",
                    "operator-sdk/primary-resource-type": "Release.appstudio.redhat.com",
                    "pac.test.appstudio.openshift.io/sha": "d49914874789147eb2de9bb6a12cd5d150bfff92",
                    "pac.test.appstudio.openshift.io/url-repository": "https://github.com/redhat-appstudio-qe/dc-metro-map-release",
                    "pipeline.tekton.dev/release": "70f7308",
                    "results.tekton.dev/childReadyForDeletion": "true",
                    "results.tekton.dev/record": "retry-task-timeout-managed/results/668d99ea-9bef-4599-9629-bf0b80f4478f/records/9fe98927-3c25-4812-ba9d-95006f59458c",
                    "results.tekton.dev/result": "retry-task-timeout-managed/results/668d99ea-9bef-4599-9629-bf0b80f4478f",
                    "results.tekton.dev/stored": "true",
                    "tekton.dev/pipelines.minVersion": "0.12.1",
                    "tekton.dev/tags": "release"
                },
                "creationTimestamp": "2026-10-06T09:59:18Z",
                "deletionGracePeriodSeconds": 0,
                "deletionTimestamp": "2026-10-06T10:02:17Z",
                "finalizers": [
                    "results.tekton.dev/taskrun"
                ],
                "generation": 2,
                "labels": {
                    "app.kubernetes.io/managed-by": "tekton-pipelines",
                    "appstudio.openshift.io/application": "appstudio",
                    "appstudio.openshift.io/service": "release",
                    "appstudio.openshift.io/snapshot": "snapshot-sample-0zxn",
                    "pipelines.appstudio.openshift.io/type": "managed",
                    "release.appstudio.openshift.io/attempt": "0",
                    "release.appstudio.openshift.io/name": "snapshot-sample-0zxn-d499148-8bjdr",
                    "release.appstudio.openshift.io/namespace": "retry-task-timeout-pzjm",
                    "tekton.dev/memberOf": "tasks",
                    "tekton.dev/pipeline": "retry-e2e-managed",
                    "tekton.dev/pipelineRun": "managed-n69v6",
                    "tekton.dev/pipelineRunUID": "668d99ea-9bef-4599-9629-bf0b80f4478f",
                    "tekton.dev/pipelineTask": "task-01"
                },
                "name": "managed-n69v6-task-01",
                "namespace": "retry-task-timeout-managed",
                "ownerReferences": [
                    {
                        "apiVersion": "tekton.dev/v1",
                        "blockOwnerDeletion": true,
                        "controller": true,
                        "kind": "PipelineRun",
                        "name": "managed-n69v6",
                        "uid": "668d99ea-9bef-4599-9629-bf0b80f4478f"
                    }
                ],
                "resourceVersion": "26768",
                "uid": "9fe98927-3c25-4812-ba9d-95006f59458c"
            },
            "spec": {
                "params": [
                    {
                        "name": "failMode",
                        "value": "task-timeout"
                    },
                    {
                        "name": "failOnTask",
                        "value": "task-01"
                    }
                ],
                "serviceAccountName": "release-service-account",
                "taskSpec": {
                    "params": [
                        {
                            "name": "failMode",
                            "type": "string"
                        },
                        {
                            "name": "failOnTask",
                            "type": "string"
                        }
                    ],
                    "steps": [
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "64Mi"
                                },
                                "requests": {
                                    "cpu": "100m",
                                    "memory": "64Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "task-01-step-01",
                            "script": "#!/usr/bin/env bash\nset -euo pipefail\n\nFAIL_MODE=\"$(params.failMode)\"\nFAIL_ON_TASK=\"$(params.failOnTask)\"\n\n# Only inject failures into the selected task.\n[[ \"${FAIL_ON_TASK}\" == \"task-01\" ]] || exit 0\n\necho \"task-01-step-01: failMode=${FAIL_MODE}\"\n\ncase \"${FAIL_MODE}\" in\n  error)\n    exit 1\n    ;;\n  oom)\n    # Trigger OOM only when the task is still running with the\n    # original memory limit. After retry mitigation the limit\n    # should be increased and this path should no longer OOM.\n    LIMIT=\"max\"\n    [[ -r /sys/fs/cgroup/memory.max ]] \u0026\u0026 read -r LIMIT \u003c /sys/fs/cgroup/memory.max\n\n    THRESHOLD=104857600 # 100 Mi\n\n    if [[ \"${LIMIT}\" != \"max\" ]] \u0026\u0026 (( LIMIT \u003c THRESHOLD )); then\n      echo \"limit ${LIMIT} \u003c ${THRESHOLD}: triggering OOMKill\"\n\n      X=$(dd if=/dev/zero bs=1M count=150 status=none | tr '\\0' 'a')\n      echo \"${#X}\"\n    else\n      echo \"limit ${LIMIT} sufficient\"\n    fi\n    ;;\n  task-timeout)\n    # Sleep longer than the task timeout. Which is set to 1 minute.\n    sleep 90\n    ;;\n  none)\n    ;;\n  *)\n    echo \"unknown fail mode: ${FAIL_MODE}\" \u003e\u00262\n    exit 1\n    ;;\nesac\n"
                        },
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "32Mi"
                                },
                                "requests": {
                                    "cpu": "50m",
                                    "memory": "32Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "task-01-step-02",
                            "script": "#!/usr/bin/env bash\necho \"task-01-step-02: complete\"\n"
                        }
                    ]
                },
                "timeout": "1m0s"
            },
            "status": {
                "completionTime": "2026-10-06T10:00:18Z",
                "conditions": [
                    {
                        "lastTransitionTime": "2026-10-06T10:00:18Z",
                        "message": "TaskRun \"managed-n69v6-task-01\" failed to finish within \"1m0s\"",
                        "reason": "TaskRunTimeout",
                        "status": "False",
                        "type": "Succeeded"
                    }
                ],
                "podName": "managed-n69v6-task-01-pod",
                "provenance": {
                    "featureFlags": {
                        "awaitSidecarReadiness": true,
                        "coschedule": "workspaces",
                        "enableAPIFields": "beta",
                        "enableProvenanceInStatus": true,
                        "enforceNonfalsifiability": "none",
                        "maxResultSize": 4096,
                        "resultExtractionMethod": "termination-message",
                        "runningInEnvWithInjectedSidecars": true,
                        "sendCloudEventsForRuns": true,
                        "verificationNoMatchPolicy": "ignore"
                    }
                },
                "startTime": "2026-10-06T09:59:18Z",
                "steps": [
                    {
                        "container": "step-task-01-step-01",
                        "imageID": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                        "name": "task-01-step-01",
                        "provenance": {},
                        "terminated": {
                            "exitCode": 1,
                            "finishedAt": "2026-10-06T10:00:18Z",
                            "message": "Step task-01-step-01 terminated as pod managed-n69v6-task-01-pod is terminated",
                            "reason": "TaskRunTimeout",
                            "startedAt": "2026-10-06T09:59:20Z"
                        },
                        "terminationReason": "TaskRunTimeout"
                    },
                    {
                        "container": "step-task-01-step-02",
                        "imageID": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                        "name": "task-01-step-02",
                        "provenance": {},
                        "terminated": {
                            "exitCode": 1,
                            "finishedAt": "2026-10-06T10:00:18Z",
                            "message": "Step task-01-step-02 terminated as pod managed-n69v6-task-01-pod is terminated",
                            "reason": "TaskRunTimeout",
                            "startedAt": "2026-10-06T09:59:20Z"
                        },
                        "terminationReason": "TaskRunTimeout"
                    }
                ],
                "taskSpec": {
                    "params": [
                        {
                            "name": "failMode",
                            "type": "string"
                        },
                        {
                            "name": "failOnTask",
                            "type": "string"
                        }
                    ],
                    "steps": [
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "64Mi"
                                },
                                "requests": {
                                    "cpu": "100m",
                                    "memory": "64Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "task-01-step-01",
                            "script": "#!/usr/bin/env bash\nset -euo pipefail\n\nFAIL_MODE=\"task-timeout\"\nFAIL_ON_TASK=\"task-01\"\n\n# Only inject failures into the selected task.\n[[ \"${FAIL_ON_TASK}\" == \"task-01\" ]] || exit 0\n\necho \"task-01-step-01: failMode=${FAIL_MODE}\"\n\ncase \"${FAIL_MODE}\" in\n  error)\n    exit 1\n    ;;\n  oom)\n    # Trigger OOM only when the task is still running with the\n    # original memory limit. After retry mitigation the limit\n    # should be increased and this path should no longer OOM.\n    LIMIT=\"max\"\n    [[ -r /sys/fs/cgroup/memory.max ]] \u0026\u0026 read -r LIMIT \u003c /sys/fs/cgroup/memory.max\n\n    THRESHOLD=104857600 # 100 Mi\n\n    if [[ \"${LIMIT}\" != \"max\" ]] \u0026\u0026 (( LIMIT \u003c THRESHOLD )); then\n      echo \"limit ${LIMIT} \u003c ${THRESHOLD}: triggering OOMKill\"\n\n      X=$(dd if=/dev/zero bs=1M count=150 status=none | tr '\\0' 'a')\n      echo \"${#X}\"\n    else\n      echo \"limit ${LIMIT} sufficient\"\n    fi\n    ;;\n  task-timeout)\n    # Sleep longer than the task timeout. Which is set to 1 minute.\n    sleep 90\n    ;;\n  none)\n    ;;\n  *)\n    echo \"unknown fail mode: ${FAIL_MODE}\" \u003e\u00262\n    exit 1\n    ;;\nesac\n"
                        },
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "32Mi"
                                },
                                "requests": {
                                    "cpu": "50m",
                                    "memory": "32Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "task-01-step-02",
                            "script": "#!/usr/bin/env bash\necho \"task-01-step-02: complete\"\n"
                        }
                    ]
                }
            }
        },
        {
            "apiVersion": "tekton.dev/v1",
            "kind": "TaskRun",
            "metadata": {
                "annotations": {
                    "chains.tekton.dev/signed": "true",
                    "operator-sdk/primary-resource": "retry-task-timeout-pzjm/snapshot-sample-0zxn-d499148-8bjdr",
                    "operator-sdk/primary-resource-type": "Release.appstudio.redhat.com",
                    "pac.test.appstudio.openshift.io/sha": "d49914874789147eb2de9bb6a12cd5d150bfff92",
                    "pac.test.appstudio.openshift.io/url-repository": "https://github.com/redhat-appstudio-qe/dc-metro-map-release",
                    "pipeline.tekton.dev/release": "70f7308",
                    "results.tekton.dev/childReadyForDeletion": "true",
                    "results.tekton.dev/record": "retry-task-timeout-managed/results/e310a388-7824-4f4f-b5a3-407b36186e25/records/1fbfbdf1-412a-4285-8d0f-7c68d070af26",
                    "results.tekton.dev/result": "retry-task-timeout-managed/results/e310a388-7824-4f4f-b5a3-407b36186e25",
                    "results.tekton.dev/stored": "true",
                    "tekton.dev/pipelines.minVersion": "0.12.1",
                    "tekton.dev/tags": "release"
                },
                "creationTimestamp": "2026-10-06T10:00:22Z",
                "deletionGracePeriodSeconds": 0,
                "deletionTimestamp": "2026-10-06T10:02:17Z",
                "finalizers": [
                    "results.tekton.dev/taskrun"
                ],
                "generation": 2,
                "labels": {
                    "app.kubernetes.io/managed-by": "tekton-pipelines",
                    "appstudio.openshift.io/application": "appstudio",
                    "appstudio.openshift.io/service": "release",
                    "appstudio.openshift.io/snapshot": "snapshot-sample-0zxn",
                    "pipelines.appstudio.openshift.io/type": "managed",
                    "release.appstudio.openshift.io/attempt": "1",
                    "release.appstudio.openshift.io/name": "snapshot-sample-0zxn-d499148-8bjdr",
                    "release.appstudio.openshift.io/namespace": "retry-task-timeout-pzjm",
                    "tekton.dev/memberOf": "tasks",
                    "tekton.dev/pipeline": "retry-e2e-managed",
                    "tekton.dev/pipelineRun": "managed-n92hx",
                    "tekton.dev/pipelineRunUID": "e310a388-7824-4f4f-b5a3-407b36186e25",
                    "tekton.dev/pipelineTask": "collect-data"
                },
                "name": "managed-n92hx-collect-data",
                "namespace": "retry-task-timeout-managed",
                "ownerReferences": [
                    {
                        "apiVersion": "tekton.dev/v1",
                        "blockOwnerDeletion": true,
                        "controller": true,
                        "kind": "PipelineRun",
                        "name": "managed-n92hx",
                        "uid": "e310a388-7824-4f4f-b5a3-407b36186e25"
                    }
                ],
                "resourceVersion": "26770",
                "uid": "1fbfbdf1-412a-4285-8d0f-7c68d070af26"
            },
            "spec": {
                "params": [
                    {
                        "name": "releasePlanAdmission",
                        "value": "retry-task-timeout-managed/demo"
                    }
                ],
                "serviceAccountName": "release-service-account",
                "taskSpec": {
                    "params": [
                        {
                            "name": "releasePlanAdmission",
                            "type": "string"
                        }
                    ],
                    "results": [
                        {
                            "name": "failMode",
                            "type": "string"
                        },
                        {
                            "name": "failOnTask",
                            "type": "string"
                        }
                    ],
                    "steps": [
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "64Mi"
                                },
                                "requests": {
                                    "cpu": "50m",
                                    "memory": "64Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "collect-data",
                            "script": "#!/usr/bin/env bash\nset -euo pipefail\n\nDATA=$(get-resource releasePlanAdmission \"retry-task-timeout-managed/demo\" |\n  jq '.spec.data // {}')\n\nFAIL_MODE=$(jq -r '.failMode // \"none\"' \u003c\u003c\u003c\"${DATA}\")\nFAIL_ON_TASK=$(jq -r '.failOnTask // \"task-01\"' \u003c\u003c\u003c\"${DATA}\")\n\nprintf '%s' \"${FAIL_MODE}\" \u003e \"$(results.failMode.path)\"\nprintf '%s' \"${FAIL_ON_TASK}\" \u003e \"$(results.failOnTask.path)\"\n"
                        }
                    ]
                },
                "timeout": "1h0m0s"
            },
            "status": {
                "artifacts": {},
                "completionTime": "2026-10-06T10:00:27Z",
                "conditions": [
                    {
                        "lastTransitionTime": "2026-10-06T10:00:27Z",
                        "message": "All Steps have completed executing",
                        "reason": "Succeeded",
                        "status": "True",
                        "type": "Succeeded"
                    }
                ],
                "podName": "managed-n92hx-collect-data-pod",
                "provenance": {
                    "featureFlags": {
                        "awaitSidecarReadiness": true,
                        "coschedule": "workspaces",
                        "enableAPIFields": "beta",
                        "enableProvenanceInStatus": true,
                        "enforceNonfalsifiability": "none",
                        "maxResultSize": 4096,
                        "resultExtractionMethod": "termination-message",
                        "runningInEnvWithInjectedSidecars": true,
                        "sendCloudEventsForRuns": true,
                        "verificationNoMatchPolicy": "ignore"
                    }
                },
                "results": [
                    {
                        "name": "failMode",
                        "type": "string",
                        "value": "task-timeout"
                    },
                    {
                        "name": "failOnTask",
                        "type": "string",
                        "value": "task-01"
                    }
                ],
                "startTime": "2026-10-06T10:00:22Z",
                "steps": [
                    {
                        "container": "step-collect-data",
                        "imageID": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                        "name": "collect-data",
                        "provenance": {},
                        "terminated": {
                            "containerID": "containerd://60cca477d7fe776a833ee179cbd8b02fdb0be1b67d4e8adbe6c5068970fa7dd2",
                            "exitCode": 0,
                            "finishedAt": "2026-10-06T10:00:26Z",
                            "message": "[{\"key\":\"failMode\",\"value\":\"task-timeout\",\"type\":1},{\"key\":\"failOnTask\",\"value\":\"task-01\",\"type\":1}]",
                            "reason": "Completed",
                            "startedAt": "2026-10-06T10:00:26Z"
                        },
                        "terminationReason": "Completed"
                    }
                ],
                "taskSpec": {
                    "params": [
                        {
                            "name": "releasePlanAdmission",
                            "type": "string"
                        }
                    ],
                    "results": [
                        {
                            "name": "failMode",
                            "type": "string"
                        },
                        {
                            "name": "failOnTask",
                            "type": "string"
                        }
                    ],
                    "steps": [
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "64Mi"
                                },
                                "requests": {
                                    "cpu": "50m",
                                    "memory": "64Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "collect-data",
                            "script": "#!/usr/bin/env bash\nset -euo pipefail\n\nDATA=$(get-resource releasePlanAdmission \"retry-task-timeout-managed/demo\" |\n  jq '.spec.data // {}')\n\nFAIL_MODE=$(jq -r '.failMode // \"none\"' \u003c\u003c\u003c\"${DATA}\")\nFAIL_ON_TASK=$(jq -r '.failOnTask // \"task-01\"' \u003c\u003c\u003c\"${DATA}\")\n\nprintf '%s' \"${FAIL_MODE}\" \u003e \"/tekton/results/failMode\"\nprintf '%s' \"${FAIL_ON_TASK}\" \u003e \"/tekton/results/failOnTask\"\n"
                        }
                    ]
                }
            }
        },
        {
            "apiVersion": "tekton.dev/v1",
            "kind": "TaskRun",
            "metadata": {
                "annotations": {
                    "chains.tekton.dev/signed": "true",
                    "operator-sdk/primary-resource": "retry-task-timeout-pzjm/snapshot-sample-0zxn-d499148-8bjdr",
                    "operator-sdk/primary-resource-type": "Release.appstudio.redhat.com",
                    "pac.test.appstudio.openshift.io/sha": "d49914874789147eb2de9bb6a12cd5d150bfff92",
                    "pac.test.appstudio.openshift.io/url-repository": "https://github.com/redhat-appstudio-qe/dc-metro-map-release",
                    "pipeline.tekton.dev/release": "70f7308",
                    "results.tekton.dev/childReadyForDeletion": "true",
                    "results.tekton.dev/record": "retry-task-timeout-managed/results/e310a388-7824-4f4f-b5a3-407b36186e25/records/ce6de056-40a9-40e0-b879-e79a9685b8c8",
                    "results.tekton.dev/result": "retry-task-timeout-managed/results/e310a388-7824-4f4f-b5a3-407b36186e25",
                    "results.tekton.dev/stored": "true",
                    "tekton.dev/pipelines.minVersion": "0.12.1",
                    "tekton.dev/tags": "release"
                },
                "creationTimestamp": "2026-10-06T10:02:05Z",
                "deletionGracePeriodSeconds": 0,
                "deletionTimestamp": "2026-10-06T10:02:17Z",
                "finalizers": [
                    "results.tekton.dev/taskrun"
                ],
                "generation": 2,
                "labels": {
                    "app.kubernetes.io/managed-by": "tekton-pipelines",
                    "appstudio.openshift.io/application": "appstudio",
                    "appstudio.openshift.io/service": "release",
                    "appstudio.openshift.io/snapshot": "snapshot-sample-0zxn",
                    "pipelines.appstudio.openshift.io/type": "managed",
                    "release.appstudio.openshift.io/attempt": "1",
                    "release.appstudio.openshift.io/name": "snapshot-sample-0zxn-d499148-8bjdr",
                    "release.appstudio.openshift.io/namespace": "retry-task-timeout-pzjm",
                    "tekton.dev/memberOf": "finally",
                    "tekton.dev/pipeline": "retry-e2e-managed",
                    "tekton.dev/pipelineRun": "managed-n92hx",
                    "tekton.dev/pipelineRunUID": "e310a388-7824-4f4f-b5a3-407b36186e25",
                    "tekton.dev/pipelineTask": "finalize"
                },
                "name": "managed-n92hx-finalize",
                "namespace": "retry-task-timeout-managed",
                "ownerReferences": [
                    {
                        "apiVersion": "tekton.dev/v1",
                        "blockOwnerDeletion": true,
                        "controller": true,
                        "kind": "PipelineRun",
                        "name": "managed-n92hx",
                        "uid": "e310a388-7824-4f4f-b5a3-407b36186e25"
                    }
                ],
                "resourceVersion": "26772",
                "uid": "ce6de056-40a9-40e0-b879-e79a9685b8c8"
            },
            "spec": {
                "serviceAccountName": "release-service-account",
                "taskSpec": {
                    "steps": [
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "32Mi"
                                },
                                "requests": {
                                    "cpu": "50m",
                                    "memory": "32Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "finalize-step-01",
                            "script": "#!/usr/bin/env bash\necho \"finalize: complete\"\n"
                        }
                    ]
                },
                "timeout": "1h0m0s"
            },
            "status": {
                "artifacts": {},
                "completionTime": "2026-10-06T10:02:09Z",
                "conditions": [
                    {
                        "lastTransitionTime": "2026-10-06T10:02:09Z",
                        "message": "All Steps have completed executing",
                        "reason": "Succeeded",
                        "status": "True",
                        "type": "Succeeded"
                    }
                ],
                "podName": "managed-n92hx-finalize-pod",
                "provenance": {
                    "featureFlags": {
                        "awaitSidecarReadiness": true,
                        "coschedule": "workspaces",
                        "enableAPIFields": "beta",
                        "enableProvenanceInStatus": true,
                        "enforceNonfalsifiability": "none",
                        "maxResultSize": 4096,
                        "resultExtractionMethod": "termination-message",
                        "runningInEnvWithInjectedSidecars": true,
                        "sendCloudEventsForRuns": true,
                        "verificationNoMatchPolicy": "ignore"
                    }
                },
                "startTime": "2026-10-06T10:02:05Z",
                "steps": [
                    {
                        "container": "step-finalize-step-01",
                        "imageID": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                        "name": "finalize-step-01",
                        "provenance": {},
                        "terminated": {
                            "containerID": "containerd://6908cc0d0f82ab896d367accc07c6189bb35e6834f18917e2967bce7b9f60203",
                            "exitCode": 0,
                            "finishedAt": "2026-10-06T10:02:09Z",
                            "reason": "Completed",
                            "startedAt": "2026-10-06T10:02:09Z"
                        },
                        "terminationReason": "Completed"
                    }
                ],
                "taskSpec": {
                    "steps": [
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "32Mi"
                                },
                                "requests": {
                                    "cpu": "50m",
                                    "memory": "32Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "finalize-step-01",
                            "script": "#!/usr/bin/env bash\necho \"finalize: complete\"\n"
                        }
                    ]
                }
            }
        },
        {
            "apiVersion": "tekton.dev/v1",
            "kind": "TaskRun",
            "metadata": {
                "annotations": {
                    "chains.tekton.dev/signed": "true",
                    "operator-sdk/primary-resource": "retry-task-timeout-pzjm/snapshot-sample-0zxn-d499148-8bjdr",
                    "operator-sdk/primary-resource-type": "Release.appstudio.redhat.com",
                    "pac.test.appstudio.openshift.io/sha": "d49914874789147eb2de9bb6a12cd5d150bfff92",
                    "pac.test.appstudio.openshift.io/url-repository": "https://github.com/redhat-appstudio-qe/dc-metro-map-release",
                    "pipeline.tekton.dev/release": "70f7308",
                    "results.tekton.dev/childReadyForDeletion": "true",
                    "results.tekton.dev/record": "retry-task-timeout-managed/results/e310a388-7824-4f4f-b5a3-407b36186e25/records/1baac841-ee14-4b26-845b-42723f8e9678",
                    "results.tekton.dev/result": "retry-task-timeout-managed/results/e310a388-7824-4f4f-b5a3-407b36186e25",
                    "results.tekton.dev/stored": "true",
                    "tekton.dev/pipelines.minVersion": "0.12.1",
                    "tekton.dev/tags": "release"
                },
                "creationTimestamp": "2026-10-06T10:00:27Z",
                "deletionGracePeriodSeconds": 0,
                "deletionTimestamp": "2026-10-06T10:02:17Z",
                "finalizers": [
                    "results.tekton.dev/taskrun"
                ],
                "generation": 2,
                "labels": {
                    "app.kubernetes.io/managed-by": "tekton-pipelines",
                    "appstudio.openshift.io/application": "appstudio",
                    "appstudio.openshift.io/service": "release",
                    "appstudio.openshift.io/snapshot": "snapshot-sample-0zxn",
                    "pipelines.appstudio.openshift.io/type": "managed",
                    "release.appstudio.openshift.io/attempt": "1",
                    "release.appstudio.openshift.io/name": "snapshot-sample-0zxn-d499148-8bjdr",
                    "release.appstudio.openshift.io/namespace": "retry-task-timeout-pzjm",
                    "tekton.dev/memberOf": "tasks",
                    "tekton.dev/pipeline": "retry-e2e-managed",
                    "tekton.dev/pipelineRun": "managed-n92hx",
                    "tekton.dev/pipelineRunUID": "e310a388-7824-4f4f-b5a3-407b36186e25",
                    "tekton.dev/pipelineTask": "task-01"
                },
                "name": "managed-n92hx-task-01",
                "namespace": "retry-task-timeout-managed",
                "ownerReferences": [
                    {
                        "apiVersion": "tekton.dev/v1",
                        "blockOwnerDeletion": true,
                        "controller": true,
                        "kind": "PipelineRun",
                        "name": "managed-n92hx",
                        "uid": "e310a388-7824-4f4f-b5a3-407b36186e25"
                    }
                ],
                "resourceVersion": "26778",
                "uid": "1baac841-ee14-4b26-845b-42723f8e9678"
            },
            "spec": {
                "params": [
                    {
                        "name": "failMode",
                        "value": "task-timeout"
                    },
                    {
                        "name": "failOnTask",
                        "value": "task-01"
                    }
                ],
                "serviceAccountName": "release-service-account",
                "taskSpec": {
                    "params": [
                        {
                            "name": "failMode",
                            "type": "string"
                        },
                        {
                            "name": "failOnTask",
                            "type": "string"
                        }
                    ],
                    "steps": [
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "64Mi"
                                },
                                "requests": {
                                    "cpu": "100m",
                                    "memory": "64Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "task-01-step-01",
                            "script": "#!/usr/bin/env bash\nset -euo pipefail\n\nFAIL_MODE=\"$(params.failMode)\"\nFAIL_ON_TASK=\"$(params.failOnTask)\"\n\n# Only inject failures into the selected task.\n[[ \"${FAIL_ON_TASK}\" == \"task-01\" ]] || exit 0\n\necho \"task-01-step-01: failMode=${FAIL_MODE}\"\n\ncase \"${FAIL_MODE}\" in\n  error)\n    exit 1\n    ;;\n  oom)\n    # Trigger OOM only when the task is still running with the\n    # original memory limit. After retry mitigation the limit\n    # should be increased and this path should no longer OOM.\n    LIMIT=\"max\"\n    [[ -r /sys/fs/cgroup/memory.max ]] \u0026\u0026 read -r LIMIT \u003c /sys/fs/cgroup/memory.max\n\n    THRESHOLD=104857600 # 100 Mi\n\n    if [[ \"${LIMIT}\" != \"max\" ]] \u0026\u0026 (( LIMIT \u003c THRESHOLD )); then\n      echo \"limit ${LIMIT} \u003c ${THRESHOLD}: triggering OOMKill\"\n\n      X=$(dd if=/dev/zero bs=1M count=150 status=none | tr '\\0' 'a')\n      echo \"${#X}\"\n    else\n      echo \"limit ${LIMIT} sufficient\"\n    fi\n    ;;\n  task-timeout)\n    # Sleep longer than the task timeout. Which is set to 1 minute.\n    sleep 90\n    ;;\n  none)\n    ;;\n  *)\n    echo \"unknown fail mode: ${FAIL_MODE}\" \u003e\u00262\n    exit 1\n    ;;\nesac\n"
                        },
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "32Mi"
                                },
                                "requests": {
                                    "cpu": "50m",
                                    "memory": "32Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "task-01-step-02",
                            "script": "#!/usr/bin/env bash\necho \"task-01-step-02: complete\"\n"
                        }
                    ]
                },
                "timeout": "6m0s"
            },
            "status": {
                "artifacts": {},
                "completionTime": "2026-10-06T10:02:01Z",
                "conditions": [
                    {
                        "lastTransitionTime": "2026-10-06T10:02:01Z",
                        "message": "All Steps have completed executing",
                        "reason": "Succeeded",
                        "status": "True",
                        "type": "Succeeded"
                    }
                ],
                "podName": "managed-n92hx-task-01-pod",
                "provenance": {
                    "featureFlags": {
                        "awaitSidecarReadiness": true,
                        "coschedule": "workspaces",
                        "enableAPIFields": "beta",
                        "enableProvenanceInStatus": true,
                        "enforceNonfalsifiability": "none",
                        "maxResultSize": 4096,
                        "resultExtractionMethod": "termination-message",
                        "runningInEnvWithInjectedSidecars": true,
                        "sendCloudEventsForRuns": true,
                        "verificationNoMatchPolicy": "ignore"
                    }
                },
                "startTime": "2026-10-06T10:00:27Z",
                "steps": [
                    {
                        "container": "step-task-01-step-01",
                        "imageID": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                        "name": "task-01-step-01",
                        "provenance": {},
                        "terminated": {
                            "containerID": "containerd://217b951f023aaf3a700e0c258c912f3594cb8ace3af304842cdfd3dbdf48ab51",
                            "exitCode": 0,
                            "finishedAt": "2026-10-06T10:02:00Z",
                            "reason": "Completed",
                            "startedAt": "2026-10-06T10:00:30Z"
                        },
                        "terminationReason": "Completed"
                    },
                    {
                        "container": "step-task-01-step-02",
                        "imageID": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                        "name": "task-01-step-02",
                        "provenance": {},
                        "terminated": {
                            "containerID": "containerd://948fc38777de7338c3bcee8efc89934eece25f02294c277994f886b483b0ccf9",
                            "exitCode": 0,
                            "finishedAt": "2026-10-06T10:02:00Z",
                            "reason": "Completed",
                            "startedAt": "2026-10-06T10:02:00Z"
                        },
                        "terminationReason": "Completed"
                    }
                ],
                "taskSpec": {
                    "params": [
                        {
                            "name": "failMode",
                            "type": "string"
                        },
                        {
                            "name": "failOnTask",
                            "type": "string"
                        }
                    ],
                    "steps": [
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "64Mi"
                                },
                                "requests": {
                                    "cpu": "100m",
                                    "memory": "64Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "task-01-step-01",
                            "script": "#!/usr/bin/env bash\nset -euo pipefail\n\nFAIL_MODE=\"task-timeout\"\nFAIL_ON_TASK=\"task-01\"\n\n# Only inject failures into the selected task.\n[[ \"${FAIL_ON_TASK}\" == \"task-01\" ]] || exit 0\n\necho \"task-01-step-01: failMode=${FAIL_MODE}\"\n\ncase \"${FAIL_MODE}\" in\n  error)\n    exit 1\n    ;;\n  oom)\n    # Trigger OOM only when the task is still running with the\n    # original memory limit. After retry mitigation the limit\n    # should be increased and this path should no longer OOM.\n    LIMIT=\"max\"\n    [[ -r /sys/fs/cgroup/memory.max ]] \u0026\u0026 read -r LIMIT \u003c /sys/fs/cgroup/memory.max\n\n    THRESHOLD=104857600 # 100 Mi\n\n    if [[ \"${LIMIT}\" != \"max\" ]] \u0026\u0026 (( LIMIT \u003c THRESHOLD )); then\n      echo \"limit ${LIMIT} \u003c ${THRESHOLD}: triggering OOMKill\"\n\n      X=$(dd if=/dev/zero bs=1M count=150 status=none | tr '\\0' 'a')\n      echo \"${#X}\"\n    else\n      echo \"limit ${LIMIT} sufficient\"\n    fi\n    ;;\n  task-timeout)\n    # Sleep longer than the task timeout. Which is set to 1 minute.\n    sleep 90\n    ;;\n  none)\n    ;;\n  *)\n    echo \"unknown fail mode: ${FAIL_MODE}\" \u003e\u00262\n    exit 1\n    ;;\nesac\n"
                        },
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "32Mi"
                                },
                                "requests": {
                                    "cpu": "50m",
                                    "memory": "32Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "task-01-step-02",
                            "script": "#!/usr/bin/env bash\necho \"task-01-step-02: complete\"\n"
                        }
                    ]
                }
            }
        },
        {
            "apiVersion": "tekton.dev/v1",
            "kind": "TaskRun",
            "metadata": {
                "annotations": {
                    "chains.tekton.dev/signed": "true",
                    "operator-sdk/primary-resource": "retry-task-timeout-pzjm/snapshot-sample-0zxn-d499148-8bjdr",
                    "operator-sdk/primary-resource-type": "Release.appstudio.redhat.com",
                    "pac.test.appstudio.openshift.io/sha": "d49914874789147eb2de9bb6a12cd5d150bfff92",
                    "pac.test.appstudio.openshift.io/url-repository": "https://github.com/redhat-appstudio-qe/dc-metro-map-release",
                    "pipeline.tekton.dev/release": "70f7308",
                    "results.tekton.dev/childReadyForDeletion": "true",
                    "results.tekton.dev/record": "retry-task-timeout-managed/results/e310a388-7824-4f4f-b5a3-407b36186e25/records/a930919e-15eb-41cd-9a72-956c52762db8",
                    "results.tekton.dev/result": "retry-task-timeout-managed/results/e310a388-7824-4f4f-b5a3-407b36186e25",
                    "results.tekton.dev/stored": "true",
                    "tekton.dev/pipelines.minVersion": "0.12.1",
                    "tekton.dev/tags": "release"
                },
                "creationTimestamp": "2026-10-06T10:02:01Z",
                "deletionGracePeriodSeconds": 0,
                "deletionTimestamp": "2026-10-06T10:02:17Z",
                "finalizers": [
                    "results.tekton.dev/taskrun"
                ],
                "generation": 2,
                "labels": {
                    "app.kubernetes.io/managed-by": "tekton-pipelines",
                    "appstudio.openshift.io/application": "appstudio",
                    "appstudio.openshift.io/service": "release",
                    "appstudio.openshift.io/snapshot": "snapshot-sample-0zxn",
                    "pipelines.appstudio.openshift.io/type": "managed",
                    "release.appstudio.openshift.io/attempt": "1",
                    "release.appstudio.openshift.io/name": "snapshot-sample-0zxn-d499148-8bjdr",
                    "release.appstudio.openshift.io/namespace": "retry-task-timeout-pzjm",
                    "tekton.dev/memberOf": "tasks",
                    "tekton.dev/pipeline": "retry-e2e-managed",
                    "tekton.dev/pipelineRun": "managed-n92hx",
                    "tekton.dev/pipelineRunUID": "e310a388-7824-4f4f-b5a3-407b36186e25",
                    "tekton.dev/pipelineTask": "task-02"
                },
                "name": "managed-n92hx-task-02",
                "namespace": "retry-task-timeout-managed",
                "ownerReferences": [
                    {
                        "apiVersion": "tekton.dev/v1",
                        "blockOwnerDeletion": true,
                        "controller": true,
                        "kind": "PipelineRun",
                        "name": "managed-n92hx",
                        "uid": "e310a388-7824-4f4f-b5a3-407b36186e25"
                    }
                ],
                "resourceVersion": "26777",
                "uid": "a930919e-15eb-41cd-9a72-956c52762db8"
            },
            "spec": {
                "params": [
                    {
                        "name": "failMode",
                        "value": "task-timeout"
                    },
                    {
                        "name": "failOnTask",
                        "value": "task-01"
                    }
                ],
                "serviceAccountName": "release-service-account",
                "taskSpec": {
                    "params": [
                        {
                            "name": "failMode",
                            "type": "string"
                        },
                        {
                            "name": "failOnTask",
                            "type": "string"
                        }
                    ],
                    "stepTemplate": {
                        "computeResources": {
                            "limits": {
                                "memory": "64Mi"
                            },
                            "requests": {
                                "cpu": "100m",
                                "memory": "64Mi"
                            }
                        },
                        "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c"
                    },
                    "steps": [
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "64Mi"
                                },
                                "requests": {
                                    "cpu": "100m",
                                    "memory": "64Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "task-02-step-01",
                            "script": "#!/usr/bin/env bash\nset -euo pipefail\n\nFAIL_MODE=\"$(params.failMode)\"\nFAIL_ON_TASK=\"$(params.failOnTask)\"\n\n# pipeline-timeout always runs from task-02 regardless of failOnTask.\nif [[ \"${FAIL_ON_TASK}\" != \"task-02\" \u0026\u0026 \"${FAIL_MODE}\" != \"pipeline-timeout\" ]]; then\n  echo \"task-02: complete\"\n  exit 0\nfi\n\necho \"task-02-step-01: failMode=${FAIL_MODE}\"\n\ncase \"${FAIL_MODE}\" in\n  pipeline-timeout)\n    # Sleep past the pipeline level pipeline/tasks timeout. This is used to verify\n    # that retry mitigation updates both pipeline and tasks timeouts\n    # and allows the pipelineRun to complete on retry.\n    echo \"task-02-step-01: sleeping 120s\"\n    sleep 120\n    ;;\n  error)\n    exit 1\n    ;;\n  oom)\n    # Trigger OOM only when the task is still running with the\n    # original memory limit. After retry mitigation the limit\n    # should be increased and this path should no longer OOM.\n    LIMIT=\"max\"\n    [[ -r /sys/fs/cgroup/memory.max ]] \u0026\u0026 read -r LIMIT \u003c /sys/fs/cgroup/memory.max\n\n    THRESHOLD=104857600 # 100 Mi\n\n    if [[ \"${LIMIT}\" != \"max\" ]] \u0026\u0026 (( LIMIT \u003c THRESHOLD )); then\n      echo \"limit ${LIMIT} \u003c ${THRESHOLD}: triggering OOMKill\"\n      X=$(dd if=/dev/zero bs=1M count=150 status=none | tr '\\0' 'a')\n      echo \"${#X}\"\n    else\n      echo \"limit ${LIMIT} sufficient\"\n    fi\n    ;;\n  oom-always)\n  # Always trigger an OOMKill regardless of the memory limit.\n  # This is used to verify that retry mitigation cannot fix\n  # the failure even after resource requests/limits are increased.\n  \n  X=$(dd if=/dev/zero bs=1M count=2048 status=none | tr '\\0' 'a')\n  echo \"${#X}\"\n  ;;\n  none)\n    ;;\n  *)\n    echo \"unknown fail mode: ${FAIL_MODE}\" \u003e\u00262\n    exit 1\n    ;;\nesac\n"
                        },
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "64Mi"
                                },
                                "requests": {
                                    "cpu": "100m",
                                    "memory": "64Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "task-02-step-02",
                            "script": "#!/usr/bin/env bash\necho \"task-02-step-02: complete\"\n"
                        }
                    ]
                },
                "timeout": "1h0m0s"
            },
            "status": {
                "artifacts": {},
                "completionTime": "2026-10-06T10:02:05Z",
                "conditions": [
                    {
                        "lastTransitionTime": "2026-10-06T10:02:05Z",
                        "message": "All Steps have completed executing",
                        "reason": "Succeeded",
                        "status": "True",
                        "type": "Succeeded"
                    }
                ],
                "podName": "managed-n92hx-task-02-pod",
                "provenance": {
                    "featureFlags": {
                        "awaitSidecarReadiness": true,
                        "coschedule": "workspaces",
                        "enableAPIFields": "beta",
                        "enableProvenanceInStatus": true,
                        "enforceNonfalsifiability": "none",
                        "maxResultSize": 4096,
                        "resultExtractionMethod": "termination-message",
                        "runningInEnvWithInjectedSidecars": true,
                        "sendCloudEventsForRuns": true,
                        "verificationNoMatchPolicy": "ignore"
                    }
                },
                "startTime": "2026-10-06T10:02:01Z",
                "steps": [
                    {
                        "container": "step-task-02-step-01",
                        "imageID": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                        "name": "task-02-step-01",
                        "provenance": {},
                        "terminated": {
                            "containerID": "containerd://3dfd3f7215ef7f04ad261fe2d000853cb101c5657aa588d4698721338177ac61",
                            "exitCode": 0,
                            "finishedAt": "2026-10-06T10:02:05Z",
                            "reason": "Completed",
                            "startedAt": "2026-10-06T10:02:04Z"
                        },
                        "terminationReason": "Completed"
                    },
                    {
                        "container": "step-task-02-step-02",
                        "imageID": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                        "name": "task-02-step-02",
                        "provenance": {},
                        "terminated": {
                            "containerID": "containerd://df06f8de2a507567b7a96ce4e83b56f18e14b0a1a35efdeb81d69e2a539dd025",
                            "exitCode": 0,
                            "finishedAt": "2026-10-06T10:02:05Z",
                            "reason": "Completed",
                            "startedAt": "2026-10-06T10:02:05Z"
                        },
                        "terminationReason": "Completed"
                    }
                ],
                "taskSpec": {
                    "params": [
                        {
                            "name": "failMode",
                            "type": "string"
                        },
                        {
                            "name": "failOnTask",
                            "type": "string"
                        }
                    ],
                    "stepTemplate": {
                        "computeResources": {
                            "limits": {
                                "memory": "64Mi"
                            },
                            "requests": {
                                "cpu": "100m",
                                "memory": "64Mi"
                            }
                        },
                        "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c"
                    },
                    "steps": [
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "64Mi"
                                },
                                "requests": {
                                    "cpu": "100m",
                                    "memory": "64Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "task-02-step-01",
                            "script": "#!/usr/bin/env bash\nset -euo pipefail\n\nFAIL_MODE=\"task-timeout\"\nFAIL_ON_TASK=\"task-01\"\n\n# pipeline-timeout always runs from task-02 regardless of failOnTask.\nif [[ \"${FAIL_ON_TASK}\" != \"task-02\" \u0026\u0026 \"${FAIL_MODE}\" != \"pipeline-timeout\" ]]; then\n  echo \"task-02: complete\"\n  exit 0\nfi\n\necho \"task-02-step-01: failMode=${FAIL_MODE}\"\n\ncase \"${FAIL_MODE}\" in\n  pipeline-timeout)\n    # Sleep past the pipeline level pipeline/tasks timeout. This is used to verify\n    # that retry mitigation updates both pipeline and tasks timeouts\n    # and allows the pipelineRun to complete on retry.\n    echo \"task-02-step-01: sleeping 120s\"\n    sleep 120\n    ;;\n  error)\n    exit 1\n    ;;\n  oom)\n    # Trigger OOM only when the task is still running with the\n    # original memory limit. After retry mitigation the limit\n    # should be increased and this path should no longer OOM.\n    LIMIT=\"max\"\n    [[ -r /sys/fs/cgroup/memory.max ]] \u0026\u0026 read -r LIMIT \u003c /sys/fs/cgroup/memory.max\n\n    THRESHOLD=104857600 # 100 Mi\n\n    if [[ \"${LIMIT}\" != \"max\" ]] \u0026\u0026 (( LIMIT \u003c THRESHOLD )); then\n      echo \"limit ${LIMIT} \u003c ${THRESHOLD}: triggering OOMKill\"\n      X=$(dd if=/dev/zero bs=1M count=150 status=none | tr '\\0' 'a')\n      echo \"${#X}\"\n    else\n      echo \"limit ${LIMIT} sufficient\"\n    fi\n    ;;\n  oom-always)\n  # Always trigger an OOMKill regardless of the memory limit.\n  # This is used to verify that retry mitigation cannot fix\n  # the failure even after resource requests/limits are increased.\n  \n  X=$(dd if=/dev/zero bs=1M count=2048 status=none | tr '\\0' 'a')\n  echo \"${#X}\"\n  ;;\n  none)\n    ;;\n  *)\n    echo \"unknown fail mode: ${FAIL_MODE}\" \u003e\u00262\n    exit 1\n    ;;\nesac\n"
                        },
                        {
                            "computeResources": {
                                "limits": {
                                    "memory": "64Mi"
                                },
                                "requests": {
                                    "cpu": "100m",
                                    "memory": "64Mi"
                                }
                            },
                            "image": "quay.io/konflux-ci/release-service-utils@sha256:850118bc6eda4ca3f98ef1e53109164f64a0945a6ac0942f908b7e106f50775c",
                            "name": "task-02-step-02",
                            "script": "#!/usr/bin/env bash\necho \"task-02-step-02: complete\"\n"
                        }
                    ]
                }
            }
        }
    ],
    "kind": "List",
    "metadata": {
        "resourceVersion": ""
    }
}
