+ echo -n 4fd7bd25-64c5-4b48-9786-61d5c15e657c + RESULTS_DIR_PATH=results + '[' -n 4fd7bd25-64c5-4b48-9786-61d5c15e657c ']' + mkdir -p /var/workdir/release/4fd7bd25-64c5-4b48-9786-61d5c15e657c + RESULTS_DIR_PATH=4fd7bd25-64c5-4b48-9786-61d5c15e657c/results + mkdir -p /var/workdir/release/4fd7bd25-64c5-4b48-9786-61d5c15e657c/results + echo -n 4fd7bd25-64c5-4b48-9786-61d5c15e657c/results + RELEASE_PATH=4fd7bd25-64c5-4b48-9786-61d5c15e657c/release.json + echo -n 4fd7bd25-64c5-4b48-9786-61d5c15e657c/release.json + get-resource release push-pyxis-uwyc/snapshot-sample-ahpl-lwvs2 + tee /var/workdir/release/4fd7bd25-64c5-4b48-9786-61d5c15e657c/release.json { "apiVersion": "appstudio.redhat.com/v1alpha1", "kind": "Release", "metadata": { "creationTimestamp": "2026-01-23T01:57:24Z", "finalizers": [ "appstudio.redhat.com/release-finalizer" ], "generateName": "snapshot-sample-ahpl-", "generation": 1, "labels": { "appstudio.openshift.io/application": "appstudio", "appstudio.openshift.io/component": "dc-metro-map", "pac.test.appstudio.openshift.io/event-type": "push", "release.appstudio.openshift.io/automated": "true", "release.appstudio.openshift.io/releasePlan": "source-releaseplan", "release.appstudio.openshift.io/snapshot": "snapshot-sample-ahpl" }, "name": "snapshot-sample-ahpl-lwvs2", "namespace": "push-pyxis-uwyc", "resourceVersion": "58962", "uid": "0cdb591e-8279-4c6a-82fe-a85f7a972698" }, "spec": { "gracePeriodDays": 7, "releasePlan": "source-releaseplan", "snapshot": "snapshot-sample-ahpl" }, "status": { "attribution": { "author": "cluster-admin", "standingAuthorization": true }, "automated": true, "conditions": [ { "lastTransitionTime": "2026-01-23T01:57:24Z", "message": "", "reason": "Progressing", "status": "False", "type": "Released" }, { "lastTransitionTime": "2026-01-23T01:57:25Z", "message": "", "reason": "Succeeded", "status": "True", "type": "Validated" }, { "lastTransitionTime": "2026-01-23T01:57:25Z", "message": "", "reason": "Skipped", "status": "True", "type": "TenantCollectorsPipelineProcessed" }, { "lastTransitionTime": "2026-01-23T01:57:25Z", "message": "", "reason": "Skipped", "status": "True", "type": "ManagedCollectorsPipelineProcessed" }, { "lastTransitionTime": "2026-01-23T01:57:25Z", "message": "", "reason": "Skipped", "status": "True", "type": "TenantPipelineProcessed" }, { "lastTransitionTime": "2026-01-23T01:57:36Z", "message": "", "reason": "Progressing", "status": "False", "type": "ManagedPipelineProcessed" } ], "expirationTime": "2026-01-30T01:57:24Z", "managedProcessing": { "pipelineRun": "push-pyxis-managed-yacz/managed-zx5w8", "roleBindings": { "tenantRoleBinding": "push-pyxis-uwyc/snapshot-sample-ahpl-lwvs2-rolebinding-for-release-pipelinsfln9" }, "startTime": "2026-01-23T01:57:36Z" }, "startTime": "2026-01-23T01:57:24Z", "target": "push-pyxis-managed-yacz", "validation": { "time": "2026-01-23T01:57:25Z" } } } + RELEASEPLAN_PATH=4fd7bd25-64c5-4b48-9786-61d5c15e657c/release_plan.json + echo -n 4fd7bd25-64c5-4b48-9786-61d5c15e657c/release_plan.json + get-resource releaseplan push-pyxis-uwyc/source-releaseplan + tee /var/workdir/release/4fd7bd25-64c5-4b48-9786-61d5c15e657c/release_plan.json { "apiVersion": "appstudio.redhat.com/v1alpha1", "kind": "ReleasePlan", "metadata": { "creationTimestamp": "2026-01-23T01:57:20Z", "generateName": "source-releaseplan", "generation": 1, "labels": { "release.appstudio.openshift.io/author": "cluster-admin", "release.appstudio.openshift.io/auto-release": "true", "release.appstudio.openshift.io/standing-attribution": "true" }, "name": "source-releaseplan", "namespace": "push-pyxis-uwyc", "resourceVersion": "56978", "uid": "a8334be7-8542-4602-90e4-42e3721c884e" }, "spec": { "application": "appstudio", "releaseGracePeriodDays": 7, "target": "push-pyxis-managed-yacz" }, "status": { "conditions": [ { "lastTransitionTime": "2026-01-23T01:57:21Z", "message": "", "reason": "Matched", "status": "True", "type": "Matched" } ], "releasePlanAdmission": { "active": true, "name": "push-pyxis-managed-yacz/demo" } } } + RELEASEPLANADMISSION_PATH=4fd7bd25-64c5-4b48-9786-61d5c15e657c/release_plan_admission.json + echo -n 4fd7bd25-64c5-4b48-9786-61d5c15e657c/release_plan_admission.json + get-resource releaseplanadmission push-pyxis-managed-yacz/demo + tee /var/workdir/release/4fd7bd25-64c5-4b48-9786-61d5c15e657c/release_plan_admission.json { "apiVersion": "appstudio.redhat.com/v1alpha1", "kind": "ReleasePlanAdmission", "metadata": { "creationTimestamp": "2026-01-23T01:57:21Z", "generation": 1, "labels": { "release.appstudio.openshift.io/block-releases": "false", "releases.appstudio.openshift.io/block-releases": "false" }, "name": "demo", "namespace": "push-pyxis-managed-yacz", "resourceVersion": "56977", "uid": "4f7f4df7-5077-4a7d-a64e-b6fc7d0cf1b3" }, "spec": { "applications": [ "appstudio" ], "data": { "mapping": { "components": [ { "name": "dc-metro-map", "repository": "quay.io/redhat-appstudio-qe/dcmetromap" }, { "name": "simple-python", "repository": "quay.io/redhat-appstudio-qe/simplepython" } ], "defaults": { "tags": [ "latest" ] } }, "pyxis": { "secret": "pyxis", "server": "stage" } }, "origin": "push-pyxis-uwyc", "pipeline": { "pipelineRef": { "params": [ { "name": "url", "value": "https://github.com/konflux-ci/release-service-catalog" }, { "name": "revision", "value": "development" }, { "name": "pathInRepo", "value": "pipelines/managed/rh-push-to-external-registry/rh-push-to-external-registry.yaml" } ], "resolver": "git" }, "serviceAccountName": "release-service-account", "timeouts": {} }, "policy": "pushpyxis-policy-vzoq" }, "status": { "conditions": [ { "lastTransitionTime": "2026-01-23T01:57:21Z", "message": "", "reason": "Matched", "status": "True", "type": "Matched" } ], "releasePlans": [ { "active": true, "name": "push-pyxis-uwyc/source-releaseplan" } ] } } + RELEASESERVICECONFIG_PATH=4fd7bd25-64c5-4b48-9786-61d5c15e657c/release_service_config.json + echo -n 4fd7bd25-64c5-4b48-9786-61d5c15e657c/release_service_config.json + get-resource releaseserviceconfig release-service/release-service-config + tee /var/workdir/release/4fd7bd25-64c5-4b48-9786-61d5c15e657c/release_service_config.json { "apiVersion": "appstudio.redhat.com/v1alpha1", "kind": "ReleaseServiceConfig", "metadata": { "annotations": { "argocd.argoproj.io/tracking-id": "release-in-cluster-local:appstudio.redhat.com/ReleaseServiceConfig:release-service/release-service-config" }, "creationTimestamp": "2026-01-23T01:44:19Z", "generation": 1, "name": "release-service-config", "namespace": "release-service", "resourceVersion": "25059", "uid": "f5e78a3a-5b1b-4691-9ff6-3dd55720cbbc" }, "spec": { "EmptyDirOverrides": [ { "pathInRepo": "pipelines/managed/fbc-release/fbc-release.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/push-artifacts-to-cdn/push-artifacts-to-cdn.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/push-disk-images-to-cdn/push-disk-images-to-cdn.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/push-disk-images-to-marketplaces/push-disk-images-to-marketplaces.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/push-oot-kmods/push-oot-kmods.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/push-rpm-to-koji/push-rpm-to-koji.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/push-tekton-task-bundles-to-external-registry/push-tekton-task-bundles-to-external-registry.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/push-to-addons-registry/push-to-addons-registry.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/push-to-external-registry/push-to-external-registry.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/release-to-github/release-to-github.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/release-to-mrrc/release-to-mrrc.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/rh-advisories/rh-advisories.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/rh-push-to-external-registry/rh-push-to-external-registry.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/rh-push-to-registry-redhat-io/rh-push-to-registry-redhat-io.yaml", "revision": ".*", "url": ".*" }, { "pathInRepo": "pipelines/managed/rhtap-service-push/rhtap-service-push.yaml", "revision": ".*", "url": ".*" } ], "debug": true } } Fetching Snapshot Spec + echo -e '\nFetching Snapshot Spec' + SNAPSHOTSPEC_PATH=4fd7bd25-64c5-4b48-9786-61d5c15e657c/snapshot_spec.json + echo -n 4fd7bd25-64c5-4b48-9786-61d5c15e657c/snapshot_spec.json + get-resource snapshot push-pyxis-uwyc/snapshot-sample-ahpl '{.spec}' + tee /var/workdir/release/4fd7bd25-64c5-4b48-9786-61d5c15e657c/snapshot_spec.json {"application":"appstudio","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"}}},{"containerImage":"quay.io/hacbs-release-tests/simplepython@sha256:87ebb63d7b7ba0196093195592c03f5f6e23db9b889c7325e5e081feb16755a1","name":"simple-python","source":{"git":{"revision":"47fc22092005aabebce233a9b6eab994a8152bbd","url":"https://github.com/redhat-appstudio-qe/devfile-sample-python-basic-test2"}}}]}++ get-resource snapshot push-pyxis-uwyc/snapshot-sample-ahpl '{.metadata.labels}' + labels='{"appstudio.openshift.io/application":"appstudio","appstudio.openshift.io/component":"dc-metro-map","pac.test.appstudio.openshift.io/event-type":"push","test.appstudio.openshift.io/type":"component"}' ++ jq -r '."appstudio.openshift.io/build-pipelinerun" // ""' + BUILD_ID= + echo -n '' + tee /tekton/results/snapshotBuildId Generating collectors data + echo -e '\nGenerating collectors data' ++ get-resource release push-pyxis-uwyc/snapshot-sample-ahpl-lwvs2 '{.status.collectors}' + collectors_status='{}' ***collectors status {} *** + echo '***collectors status' + echo '{}' + echo '***' ++ 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='{}' ***collectors + echo '***collectors' + jq {} *** + echo '***' + echo -e '\nFetching merged data json' Fetching merged data json ++ get-resource release push-pyxis-uwyc/snapshot-sample-ahpl-lwvs2 '{.spec.data}' + release_result='{}' ++ get-resource releaseplan push-pyxis-uwyc/source-releaseplan '{.spec.data}' + release_plan_result='{}' ++ get-resource releaseplanadmission push-pyxis-managed-yacz/demo '{.spec.data}' + release_plan_admission_result='{"mapping":{"components":[{"name":"dc-metro-map","repository":"quay.io/redhat-appstudio-qe/dcmetromap"},{"name":"simple-python","repository":"quay.io/redhat-appstudio-qe/simplepython"}],"defaults":{"tags":["latest"]}},"pyxis":{"secret":"pyxis","server":"stage"}}' ++ merge-json '{}' '{}' + merged_output='{}' ++ merge-json '{}' '{}' + merged_output='{}' ++ merge-json '{}' '{"mapping":{"components":[{"name":"dc-metro-map","repository":"quay.io/redhat-appstudio-qe/dcmetromap"},{"name":"simple-python","repository":"quay.io/redhat-appstudio-qe/simplepython"}],"defaults":{"tags":["latest"]}},"pyxis":{"secret":"pyxis","server":"stage"}}' + merged_output='{"mapping":{"components":[{"name":"dc-metro-map","repository":"quay.io/redhat-appstudio-qe/dcmetromap"},{"name":"simple-python","repository":"quay.io/redhat-appstudio-qe/simplepython"}],"defaults":{"tags":["latest"]}},"pyxis":{"secret":"pyxis","server":"stage"}}' + DATA_PATH=4fd7bd25-64c5-4b48-9786-61d5c15e657c/data.json + echo -n 4fd7bd25-64c5-4b48-9786-61d5c15e657c/data.json + echo '{"mapping":{"components":[{"name":"dc-metro-map","repository":"quay.io/redhat-appstudio-qe/dcmetromap"},{"name":"simple-python","repository":"quay.io/redhat-appstudio-qe/simplepython"}],"defaults":{"tags":["latest"]}},"pyxis":{"secret":"pyxis","server":"stage"}}' + tee /var/workdir/release/4fd7bd25-64c5-4b48-9786-61d5c15e657c/data.json {"mapping":{"components":[{"name":"dc-metro-map","repository":"quay.io/redhat-appstudio-qe/dcmetromap"},{"name":"simple-python","repository":"quay.io/redhat-appstudio-qe/simplepython"}],"defaults":{"tags":["latest"]}},"pyxis":{"secret":"pyxis","server":"stage"}} ++ jq -c .spec.pipeline.pipelineRef /var/workdir/release/4fd7bd25-64c5-4b48-9786-61d5c15e657c/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/rh-push-to-external-registry/rh-push-to-external-registry.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/rh-push-to-external-registry/rh-push-to-external-registry.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=fb819c9014e87673a03d77e6e07e6e9f7ec8b413 + org=konflux-ci + repo=release-service-catalog + revision=development + pathinrepo=pipelines/managed/rh-push-to-external-registry/rh-push-to-external-registry.yaml + sha=fb819c9014e87673a03d77e6e07e6e9f7ec8b413 + echo '' + echo 'Release Pipeline Ref Info:' Release Pipeline Ref Info: -------------------------- + echo -------------------------- ++ jq -n -c --arg org konflux-ci --arg repo release-service-catalog --arg revision development --arg pathinrepo pipelines/managed/rh-push-to-external-registry/rh-push-to-external-registry.yaml --arg sha fb819c9014e87673a03d77e6e07e6e9f7ec8b413 '$ARGS.named' + json='{"org":"konflux-ci","repo":"release-service-catalog","revision":"development","pathinrepo":"pipelines/managed/rh-push-to-external-registry/rh-push-to-external-registry.yaml","sha":"fb819c9014e87673a03d77e6e07e6e9f7ec8b413"}' + echo '{"org":"konflux-ci","repo":"release-service-catalog","revision":"development","pathinrepo":"pipelines/managed/rh-push-to-external-registry/rh-push-to-external-registry.yaml","sha":"fb819c9014e87673a03d77e6e07e6e9f7ec8b413"}' + jq . { "org": "konflux-ci", "repo": "release-service-catalog", "revision": "development", "pathinrepo": "pipelines/managed/rh-push-to-external-registry/rh-push-to-external-registry.yaml", "sha": "fb819c9014e87673a03d77e6e07e6e9f7ec8b413" } ++ jq -r '.singleComponentMode // "false"' /var/workdir/release/4fd7bd25-64c5-4b48-9786-61d5c15e657c/data.json + SINGLE_COMPONENT_MODE=false ++ echo push-pyxis-uwyc/snapshot-sample-ahpl ++ cut -f2 -d/ + SNAPSHOT_NAME=snapshot-sample-ahpl ++ echo push-pyxis-uwyc/snapshot-sample-ahpl ++ cut -f1 -d/ + SNAPSHOT_NAMESPACE=push-pyxis-uwyc + echo -n false + tee /tekton/results/singleComponentMode false+ echo -n snapshot-sample-ahpl + tee /tekton/results/snapshotName snapshot-sample-ahpl+ echo -n push-pyxis-uwyc + tee /tekton/results/snapshotNamespace push-pyxis-uwyc