+ echo -n 705ab369-f917-498e-862d-bf25b57cb662 + RESULTS_DIR_PATH=results + '[' -n 705ab369-f917-498e-862d-bf25b57cb662 ']' + mkdir -p /var/workdir/release/705ab369-f917-498e-862d-bf25b57cb662 + RESULTS_DIR_PATH=705ab369-f917-498e-862d-bf25b57cb662/results + mkdir -p /var/workdir/release/705ab369-f917-498e-862d-bf25b57cb662/results + echo -n 705ab369-f917-498e-862d-bf25b57cb662/results + RELEASE_PATH=705ab369-f917-498e-862d-bf25b57cb662/release.json + echo -n 705ab369-f917-498e-862d-bf25b57cb662/release.json + get-resource release happy-path-xk73/snapshot-sample-nuia-d499148-k75t6 + tee /var/workdir/release/705ab369-f917-498e-862d-bf25b57cb662/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-17T23:52:25Z", "finalizers": [ "appstudio.redhat.com/release-finalizer" ], "generateName": "snapshot-sample-nuia-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-nuia" }, "name": "snapshot-sample-nuia-d499148-k75t6", "namespace": "happy-path-xk73", "resourceVersion": "8745", "uid": "e3a0f367-b04c-4374-9031-dd460d321232" }, "spec": { "gracePeriodDays": 7, "releasePlan": "source-releaseplan", "snapshot": "snapshot-sample-nuia" }, "status": { "attribution": { "author": "kubernetes-admin", "standingAuthorization": true }, "automated": true, "conditions": [ { "lastTransitionTime": "2026-08-17T23:52:25Z", "message": "", "reason": "Progressing", "status": "False", "type": "Released" }, { "lastTransitionTime": "2026-08-17T23:52:25Z", "message": "", "reason": "Succeeded", "status": "True", "type": "Validated" }, { "lastTransitionTime": "2026-08-17T23:52:25Z", "message": "", "reason": "Skipped", "status": "True", "type": "TenantCollectorsPipelineProcessed" }, { "lastTransitionTime": "2026-08-17T23:52:25Z", "message": "", "reason": "Skipped", "status": "True", "type": "ManagedCollectorsPipelineProcessed" }, { "lastTransitionTime": "2026-08-17T23:52:25Z", "message": "", "reason": "Skipped", "status": "True", "type": "TenantPipelineProcessed" }, { "lastTransitionTime": "2026-08-17T23:52:25Z", "message": "", "reason": "Progressing", "status": "False", "type": "ManagedPipelineProcessed" } ], "expirationTime": "2026-08-24T23:52:25Z", "managedPipelineAttempts": [ { "pipelineRun": "happy-path-managed/managed-4sjnx", "roleBindings": { "tenantRoleBinding": "happy-path-xk73/snapshot-sample-nuia-d499148-k75t6-rolebinding-for-release6k7fj" }, "startTime": "2026-08-17T23:52:25Z", "status": "Progressing" } ], "managedProcessing": { "pipelineRun": "happy-path-managed/managed-4sjnx", "roleBindings": { "tenantRoleBinding": "happy-path-xk73/snapshot-sample-nuia-d499148-k75t6-rolebinding-for-release6k7fj" }, "startTime": "2026-08-17T23:52:25Z" }, "startTime": "2026-08-17T23:52:25Z", "target": "happy-path-managed", "validation": { "time": "2026-08-17T23:52:25Z" } } } + RELEASEPLAN_PATH=705ab369-f917-498e-862d-bf25b57cb662/release_plan.json + echo -n 705ab369-f917-498e-862d-bf25b57cb662/release_plan.json + get-resource releaseplan happy-path-xk73/source-releaseplan + tee /var/workdir/release/705ab369-f917-498e-862d-bf25b57cb662/release_plan.json { "apiVersion": "appstudio.redhat.com/v1alpha1", "kind": "ReleasePlan", "metadata": { "creationTimestamp": "2026-08-17T23:52:24Z", "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-xk73", "resourceVersion": "8716", "uid": "819cf98c-9894-451d-9fc9-65c6c925d095" }, "spec": { "application": "appstudio", "releaseGracePeriodDays": 7, "target": "happy-path-managed" }, "status": { "conditions": [ { "lastTransitionTime": "2026-08-17T23:52:24Z", "message": "", "reason": "Matched", "status": "True", "type": "Matched" } ], "releasePlanAdmission": { "active": true, "name": "happy-path-managed/demo" } } } + RELEASEPLANADMISSION_PATH=705ab369-f917-498e-862d-bf25b57cb662/release_plan_admission.json + echo -n 705ab369-f917-498e-862d-bf25b57cb662/release_plan_admission.json + get-resource releaseplanadmission happy-path-managed/demo + tee /var/workdir/release/705ab369-f917-498e-862d-bf25b57cb662/release_plan_admission.json { "apiVersion": "appstudio.redhat.com/v1alpha1", "kind": "ReleasePlanAdmission", "metadata": { "creationTimestamp": "2026-08-17T23:52:24Z", "generation": 1, "labels": { "release.appstudio.openshift.io/block-releases": "false" }, "name": "demo", "namespace": "happy-path-managed", "resourceVersion": "8717", "uid": "b0382367-6428-407b-959a-ca2cdc882e0c" }, "spec": { "applications": [ "appstudio" ], "data": { "mapping": { "components": [ { "component": "", "repository": "quay.io/redhat-appstudio-qe/dcmetromap" } ] } }, "origin": "happy-path-xk73", "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-npyq" }, "status": { "conditions": [ { "lastTransitionTime": "2026-08-17T23:52:24Z", "message": "", "reason": "Matched", "status": "True", "type": "Matched" } ], "releasePlans": [ { "active": true, "name": "happy-path-xk73/source-releaseplan" } ], "retryInfo": { "enabled": false, "reason": "pipeline not configured for retries" } } } + RELEASESERVICECONFIG_PATH=705ab369-f917-498e-862d-bf25b57cb662/release_service_config.json + echo -n 705ab369-f917-498e-862d-bf25b57cb662/release_service_config.json + get-resource releaseserviceconfig release-service/release-service-config + tee /var/workdir/release/705ab369-f917-498e-862d-bf25b57cb662/release_service_config.json { "apiVersion": "appstudio.redhat.com/v1alpha1", "kind": "ReleaseServiceConfig", "metadata": { "creationTimestamp": "2026-08-17T23:48:42Z", "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": "96f9c175-53e2-4afb-8811-b6896b066a24" } ], "resourceVersion": "6497", "uid": "6084feb4-67d0-4634-88e0-3eb17155f83d" }, "spec": { "debug": false } } + echo -e '\nFetching Snapshot Spec' Fetching Snapshot Spec + SNAPSHOTSPEC_PATH=705ab369-f917-498e-862d-bf25b57cb662/snapshot_spec.json + echo -n 705ab369-f917-498e-862d-bf25b57cb662/snapshot_spec.json + get-resource snapshot happy-path-xk73/snapshot-sample-nuia '{.spec}' + jq '(if (.componentGroup == null or .componentGroup == "") then .componentGroup = .application else . end) | del(.application)' + tee /var/workdir/release/705ab369-f917-498e-862d-bf25b57cb662/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-xk73/snapshot-sample-nuia '{.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-xk73/snapshot-sample-nuia-d499148-k75t6 '{.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-xk73/snapshot-sample-nuia-d499148-k75t6 '{.spec.data}' + release_result='{}' ++ get-resource releaseplan happy-path-xk73/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=705ab369-f917-498e-862d-bf25b57cb662/data.json + echo -n 705ab369-f917-498e-862d-bf25b57cb662/data.json + echo '{"mapping":{"components":[{"component":"","repository":"quay.io/redhat-appstudio-qe/dcmetromap"}]}}' + tee /var/workdir/release/705ab369-f917-498e-862d-bf25b57cb662/data.json {"mapping":{"components":[{"component":"","repository":"quay.io/redhat-appstudio-qe/dcmetromap"}]}} ++ jq -c .spec.pipeline.pipelineRef /var/workdir/release/705ab369-f917-498e-862d-bf25b57cb662/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 // ""' parse error: Invalid numeric literal at line 1, column 10 + sha=