+ echo -n 98bfb347-a167-4f49-8893-c2baa246d5cc + RESULTS_DIR_PATH=results + '[' -n 98bfb347-a167-4f49-8893-c2baa246d5cc ']' + mkdir -p /var/workdir/release/98bfb347-a167-4f49-8893-c2baa246d5cc + RESULTS_DIR_PATH=98bfb347-a167-4f49-8893-c2baa246d5cc/results + mkdir -p /var/workdir/release/98bfb347-a167-4f49-8893-c2baa246d5cc/results + echo -n 98bfb347-a167-4f49-8893-c2baa246d5cc/results + RELEASE_PATH=98bfb347-a167-4f49-8893-c2baa246d5cc/release.json + echo -n 98bfb347-a167-4f49-8893-c2baa246d5cc/release.json + get-resource release happy-path-zuto/snapshot-sample-pc48-d499148-qqntp + tee /var/workdir/release/98bfb347-a167-4f49-8893-c2baa246d5cc/release.json { "apiVersion": "appstudio.redhat.com/v1alpha1", "kind": "Release", "metadata": { "annotations": { "pac.test.appstudio.openshift.io/sha": "d49914874789147eb2de9bb6a12cd5d150bfff92", "pac.test.appstudio.openshift.io/url-repository": "https://github.com/redhat-appstudio-qe/dc-metro-map-release" }, "creationTimestamp": "2026-08-12T17:09:48Z", "finalizers": [ "appstudio.redhat.com/release-finalizer" ], "generateName": "snapshot-sample-pc48-d499148-", "generation": 1, "labels": { "appstudio.openshift.io/application": "appstudio", "appstudio.openshift.io/component": "dc-metro-map", "pac.test.appstudio.openshift.io/event-type": "push", "pac.test.appstudio.openshift.io/sender": "release-service-e2e", "release.appstudio.openshift.io/automated": "true", "release.appstudio.openshift.io/releasePlan": "source-releaseplan", "release.appstudio.openshift.io/snapshot": "snapshot-sample-pc48" }, "name": "snapshot-sample-pc48-d499148-qqntp", "namespace": "happy-path-zuto", "resourceVersion": "10716", "uid": "b5561146-0c8a-411e-8d8c-978ab5528f16" }, "spec": { "gracePeriodDays": 7, "releasePlan": "source-releaseplan", "snapshot": "snapshot-sample-pc48" }, "status": { "attribution": { "author": "kubernetes-admin", "standingAuthorization": true }, "automated": true, "conditions": [ { "lastTransitionTime": "2026-08-12T17:09:48Z", "message": "", "reason": "Progressing", "status": "False", "type": "Released" }, { "lastTransitionTime": "2026-08-12T17:09:48Z", "message": "", "reason": "Succeeded", "status": "True", "type": "Validated" }, { "lastTransitionTime": "2026-08-12T17:09:48Z", "message": "", "reason": "Skipped", "status": "True", "type": "TenantCollectorsPipelineProcessed" }, { "lastTransitionTime": "2026-08-12T17:09:48Z", "message": "", "reason": "Skipped", "status": "True", "type": "ManagedCollectorsPipelineProcessed" }, { "lastTransitionTime": "2026-08-12T17:09:48Z", "message": "", "reason": "Skipped", "status": "True", "type": "TenantPipelineProcessed" }, { "lastTransitionTime": "2026-08-12T17:09:48Z", "message": "", "reason": "Progressing", "status": "False", "type": "ManagedPipelineProcessed" } ], "expirationTime": "2026-08-19T17:09:48Z", "managedPipelineAttempts": [ { "pipelineRun": "happy-path-managed/managed-5zzvt", "roleBindings": { "tenantRoleBinding": "happy-path-zuto/snapshot-sample-pc48-d499148-qqntp-rolebinding-for-release77slb" }, "startTime": "2026-08-12T17:09:48Z", "status": "Progressing" } ], "managedProcessing": { "pipelineRun": "happy-path-managed/managed-5zzvt", "roleBindings": { "tenantRoleBinding": "happy-path-zuto/snapshot-sample-pc48-d499148-qqntp-rolebinding-for-release77slb" }, "startTime": "2026-08-12T17:09:48Z" }, "startTime": "2026-08-12T17:09:48Z", "target": "happy-path-managed", "validation": { "time": "2026-08-12T17:09:48Z" } } } + RELEASEPLAN_PATH=98bfb347-a167-4f49-8893-c2baa246d5cc/release_plan.json + echo -n 98bfb347-a167-4f49-8893-c2baa246d5cc/release_plan.json + get-resource releaseplan happy-path-zuto/source-releaseplan + tee /var/workdir/release/98bfb347-a167-4f49-8893-c2baa246d5cc/release_plan.json { "apiVersion": "appstudio.redhat.com/v1alpha1", "kind": "ReleasePlan", "metadata": { "creationTimestamp": "2026-08-12T17:09:47Z", "generation": 1, "labels": { "release.appstudio.openshift.io/author": "kubernetes-admin", "release.appstudio.openshift.io/auto-release": "true", "release.appstudio.openshift.io/standing-attribution": "true" }, "name": "source-releaseplan", "namespace": "happy-path-zuto", "resourceVersion": "10683", "uid": "dee3f6a8-d27b-4e02-86d3-54f00ed8d2b7" }, "spec": { "application": "appstudio", "releaseGracePeriodDays": 7, "target": "happy-path-managed" }, "status": { "conditions": [ { "lastTransitionTime": "2026-08-12T17:09:47Z", "message": "", "reason": "Matched", "status": "True", "type": "Matched" } ], "releasePlanAdmission": { "active": true, "name": "happy-path-managed/demo" } } } + RELEASEPLANADMISSION_PATH=98bfb347-a167-4f49-8893-c2baa246d5cc/release_plan_admission.json + echo -n 98bfb347-a167-4f49-8893-c2baa246d5cc/release_plan_admission.json + get-resource releaseplanadmission happy-path-managed/demo + tee /var/workdir/release/98bfb347-a167-4f49-8893-c2baa246d5cc/release_plan_admission.json { "apiVersion": "appstudio.redhat.com/v1alpha1", "kind": "ReleasePlanAdmission", "metadata": { "creationTimestamp": "2026-08-12T17:09:47Z", "generation": 1, "labels": { "release.appstudio.openshift.io/block-releases": "false" }, "name": "demo", "namespace": "happy-path-managed", "resourceVersion": "10684", "uid": "2c60b6ef-076e-41cd-a7ef-930e8e5a0ace" }, "spec": { "applications": [ "appstudio" ], "data": { "mapping": { "components": [ { "component": "", "repository": "quay.io/redhat-appstudio-qe/dcmetromap" } ] } }, "origin": "happy-path-zuto", "pipeline": { "pipelineRef": { "params": [ { "name": "url", "value": "https://github.com/konflux-ci/release-service-catalog" }, { "name": "revision", "value": "development" }, { "name": "pathInRepo", "value": "pipelines/managed/e2e/e2e.yaml" } ], "resolver": "git" }, "serviceAccountName": "release-service-account", "timeouts": {} }, "policy": "hpath-policy-v0wi" }, "status": { "conditions": [ { "lastTransitionTime": "2026-08-12T17:09:47Z", "message": "", "reason": "Matched", "status": "True", "type": "Matched" } ], "releasePlans": [ { "active": true, "name": "happy-path-zuto/source-releaseplan" } ], "retryInfo": { "enabled": false, "reason": "pipeline not configured for retries" } } } + RELEASESERVICECONFIG_PATH=98bfb347-a167-4f49-8893-c2baa246d5cc/release_service_config.json + echo -n 98bfb347-a167-4f49-8893-c2baa246d5cc/release_service_config.json + get-resource releaseserviceconfig release-service/release-service-config + tee /var/workdir/release/98bfb347-a167-4f49-8893-c2baa246d5cc/release_service_config.json { "apiVersion": "appstudio.redhat.com/v1alpha1", "kind": "ReleaseServiceConfig", "metadata": { "creationTimestamp": "2026-08-12T17:05:31Z", "generation": 1, "labels": { "konflux.konflux-ci.dev/component": "release", "konflux.konflux-ci.dev/owner": "konflux-release-service" }, "name": "release-service-config", "namespace": "release-service", "ownerReferences": [ { "apiVersion": "konflux.konflux-ci.dev/v1alpha1", "blockOwnerDeletion": true, "controller": true, "kind": "KonfluxReleaseService", "name": "konflux-release-service", "uid": "f4a2d715-1c36-4c00-9827-a6df4bae4cba" } ], "resourceVersion": "7180", "uid": "14afa91d-38ed-4725-af1f-1bc694a0c012" }, "spec": { "debug": false } } Fetching Snapshot Spec + echo -e '\nFetching Snapshot Spec' + SNAPSHOTSPEC_PATH=98bfb347-a167-4f49-8893-c2baa246d5cc/snapshot_spec.json + echo -n 98bfb347-a167-4f49-8893-c2baa246d5cc/snapshot_spec.json + get-resource snapshot happy-path-zuto/snapshot-sample-pc48 '{.spec}' + jq '(if (.componentGroup == null or .componentGroup == "") then .componentGroup = .application else . end) | del(.application)' + tee /var/workdir/release/98bfb347-a167-4f49-8893-c2baa246d5cc/snapshot_spec.json { "artifacts": {}, "components": [ { "containerImage": "quay.io/hacbs-release-tests/dcmetromap@sha256:544259be8bcd9e6a2066224b805d854d863064c9b64fa3a87bfcd03f5b0f28e6", "name": "dc-metro-map", "source": { "git": { "revision": "d49914874789147eb2de9bb6a12cd5d150bfff92", "url": "https://github.com/redhat-appstudio-qe/dc-metro-map-release" } } } ], "componentGroup": "appstudio" } ++ get-resource snapshot happy-path-zuto/snapshot-sample-pc48 '{.metadata.labels}' + labels='{"appstudio.openshift.io/application":"appstudio","appstudio.openshift.io/component":"dc-metro-map","pac.test.appstudio.openshift.io/event-type":"push","pac.test.appstudio.openshift.io/sender":"release-service-e2e","release.appstudio.openshift.io/author":"release-service-e2e","test.appstudio.openshift.io/type":"component"}' ++ jq -r '."appstudio.openshift.io/build-pipelinerun" // ""' + BUILD_ID= + echo -n '' + tee /tekton/results/snapshotBuildId + echo -e '\nGenerating collectors data' Generating collectors data ++ get-resource release happy-path-zuto/snapshot-sample-pc48-d499148-qqntp '{.status.collectors}' + collectors_status='{}' + echo '***collectors status' + echo '{}' + echo '***' ***collectors status {} *** ++ jq -c ' def deepmerge(a; b): reduce b[] as $item (a; reduce ($item | keys_unsorted[]) as $key (.; $item[$key] as $val | ($val | type) as $type | .[$key] = if ($type == "object") then deepmerge({}; [if .[$key] == null then {} else .[$key] end, $val]) elif ($type == "array") then (.[$key] + $val | unique) else $val end) ); # Ensure we safely handle missing collectors (.? // {}) as $collectors | # Flatten and combine the managed and tenant sections [($collectors.managed? // {} | to_entries | map(.value)) + ($collectors.tenant? // {} | to_entries | map(.value))] | flatten | deepmerge({}; .) ' + collectors_result='{}' + echo '***collectors' ***collectors + jq {} + echo '***' + echo -e '\nFetching merged data json' *** Fetching merged data json ++ get-resource release happy-path-zuto/snapshot-sample-pc48-d499148-qqntp '{.spec.data}' + release_result='{}' ++ get-resource releaseplan happy-path-zuto/source-releaseplan '{.spec.data}' + release_plan_result='{}' ++ get-resource releaseplanadmission happy-path-managed/demo '{.spec.data}' + release_plan_admission_result='{"mapping":{"components":[{"component":"","repository":"quay.io/redhat-appstudio-qe/dcmetromap"}]}}' ++ merge-json '{}' '{}' + merged_output='{}' ++ merge-json '{}' '{}' + merged_output='{}' ++ merge-json '{}' '{"mapping":{"components":[{"component":"","repository":"quay.io/redhat-appstudio-qe/dcmetromap"}]}}' + merged_output='{"mapping":{"components":[{"component":"","repository":"quay.io/redhat-appstudio-qe/dcmetromap"}]}}' + DATA_PATH=98bfb347-a167-4f49-8893-c2baa246d5cc/data.json + echo -n 98bfb347-a167-4f49-8893-c2baa246d5cc/data.json + echo '{"mapping":{"components":[{"component":"","repository":"quay.io/redhat-appstudio-qe/dcmetromap"}]}}' + tee /var/workdir/release/98bfb347-a167-4f49-8893-c2baa246d5cc/data.json {"mapping":{"components":[{"component":"","repository":"quay.io/redhat-appstudio-qe/dcmetromap"}]}} ++ jq -c .spec.pipeline.pipelineRef /var/workdir/release/98bfb347-a167-4f49-8893-c2baa246d5cc/release_plan_admission.json + pipelineref='{"params":[{"name":"url","value":"https://github.com/konflux-ci/release-service-catalog"},{"name":"revision","value":"development"},{"name":"pathInRepo","value":"pipelines/managed/e2e/e2e.yaml"}],"resolver":"git"}' ++ jq -r '.resolver // ""' + resolver=git + '[' git == git ']' ++ jq -r '.params[] | select(.name=="url") | .value' + url=https://github.com/konflux-ci/release-service-catalog ++ jq -r '.params[] | select(.name=="revision") | .value' + revision=development ++ jq -r '.params[] | select(.name=="pathInRepo") | .value' + pathinrepo=pipelines/managed/e2e/e2e.yaml + orgrepo=konflux-ci/release-service-catalog ++ echo konflux-ci/release-service-catalog ++ cut -f1 -d/ + org=konflux-ci ++ echo konflux-ci/release-service-catalog ++ cut -f2 -d/ ++ cut -d. -f1 + repo=release-service-catalog ++ curl -s https://api.github.com/repos/konflux-ci/release-service-catalog/commits/development ++ jq -r '.sha // ""' + sha=acbaf0738b24edf5947e9f66fa42cb905a77f00b + org=konflux-ci + repo=release-service-catalog + revision=development + pathinrepo=pipelines/managed/e2e/e2e.yaml + sha=acbaf0738b24edf5947e9f66fa42cb905a77f00b + echo '' Release Pipeline Ref Info: -------------------------- + echo 'Release Pipeline Ref Info:' + echo -------------------------- ++ jq -n -c --arg org konflux-ci --arg repo release-service-catalog --arg revision development --arg pathinrepo pipelines/managed/e2e/e2e.yaml --arg sha acbaf0738b24edf5947e9f66fa42cb905a77f00b '$ARGS.named' + json='{"org":"konflux-ci","repo":"release-service-catalog","revision":"development","pathinrepo":"pipelines/managed/e2e/e2e.yaml","sha":"acbaf0738b24edf5947e9f66fa42cb905a77f00b"}' + echo '{"org":"konflux-ci","repo":"release-service-catalog","revision":"development","pathinrepo":"pipelines/managed/e2e/e2e.yaml","sha":"acbaf0738b24edf5947e9f66fa42cb905a77f00b"}' + jq . { "org": "konflux-ci", "repo": "release-service-catalog", "revision": "development", "pathinrepo": "pipelines/managed/e2e/e2e.yaml", "sha": "acbaf0738b24edf5947e9f66fa42cb905a77f00b" } ++ jq -r '.singleComponentMode // "false"' /var/workdir/release/98bfb347-a167-4f49-8893-c2baa246d5cc/data.json + SINGLE_COMPONENT_MODE=false ++ echo happy-path-zuto/snapshot-sample-pc48 ++ cut -f2 -d/ + SNAPSHOT_NAME=snapshot-sample-pc48 ++ echo happy-path-zuto/snapshot-sample-pc48 ++ cut -f1 -d/ + SNAPSHOT_NAMESPACE=happy-path-zuto + echo -n false + tee /tekton/results/singleComponentMode + echo -n snapshot-sample-pc48 + tee /tekton/results/snapshotName + echo -n happy-path-zuto + tee /tekton/results/snapshotNamespace falsesnapshot-sample-pc48happy-path-zuto