Error lines from build-log.txt
... skipping 15264 lines ...
+ local reason=
+ local maxloop=60
+ set +x
04h03:43::04h04:05 SUCCESS: skopeo-copy/0-4 testrun has successfully executed
04h03:42::04h04:22 SUCCESS: skopeo-copy/0-2 testrun has successfully executed
04h03:42::04h04:39 SUCCESS: skopeo-copy/0-3 testrun has successfully executed
FAILED: tekton-catalog-publish/0-1 task has failed to comeback properly
NAME SHORTNAMES APIVERSION NAMESPACED KIND
bindings v1 true Binding
componentstatuses cs v1 false ComponentStatus
configmaps cm v1 true ConfigMap
endpoints ep v1 true Endpoints
events ev v1 true Event
... skipping 442 lines ...
claimName: catalog-source-pvc
status:
artifacts: {}
completionTime: "2025-07-07T04:04:10Z"
conditions:
- lastTransitionTime: "2025-07-07T04:04:10Z"
message: '"step-publish" exited with code 1: Error'
reason: Failed
status: "False"
type: Succeeded
podName: catalog-publish-test-pipeline-run-publish-pod
provenance:
featureFlags:
awaitSidecarReadiness: true
... skipping 22 lines ...
imageID: gcr.io/tekton-releases/dogfooding/tkn@sha256:015bb6018d5eaf4523a775f4955c85f68077099753661941d06843d5a61a86df
name: publish
terminated:
containerID: containerd://b0c4c8c32f4aabbe1c2d8cddfe0a940a0d59f242d5d8421c61dbbec36277340b
exitCode: 1
finishedAt: "2025-07-07T04:04:09Z"
reason: Error
startedAt: "2025-07-07T04:04:08Z"
terminationReason: Error
taskSpec:
description: This task publishes each Task in a Tekton catalog as a Tekton Bundle.
The catalog must be structured as a Tekton Catalog. Bundles are published
to $TARGET/<task-name>:<task-version> and, when TAG is provided, to $TARGET/<task-name>:$TAG.
A typical extra tag would be the git sha of the catalog repo that is being
published. The task uses the "tkn bundle" command to publish, which is available
... skipping 535 lines ...
kind: TaskRun
name: catalog-publish-test-pipeline-run-publish
pipelineTaskName: publish
completionTime: "2025-07-07T04:04:10Z"
conditions:
- lastTransitionTime: "2025-07-07T04:04:10Z"
message: 'Tasks Completed: 3 (Failed: 1, Cancelled 0), Skipped: 0'
reason: Failed
status: "False"
type: Succeeded
pipelineSpec:
tasks:
- name: fetch-repository
params:
... skipping 173 lines ...
Pushed Tekton Bundle to localhost:5000/tekton/catalog/tasks/git-clone@sha256:dabe1da70ee8ef9263bf9c3ae623748f2769e67322393cecc1c8c20dfe5afbe2
Creating Tekton Bundle:
- Added Task: git-clone to image
Pushed Tekton Bundle to localhost:5000/tekton/catalog/tasks/git-clone@sha256:dabe1da70ee8ef9263bf9c3ae623748f2769e67322393cecc1c8c20dfe5afbe2
Creating Tekton Bundle:
Error: failed to parse string as a Tekton object: "{\"apiVersion\":\"tekton.dev/v1\",\"kind\":\"Task\",\"metadata\":{\"annotations\":{\"tekton.dev/categories\":\"Git\",\"tekton.dev/displayName\":\"git clone\",\"tekton.dev/pipelines.minVersion\":\"0.38.0\",\"tekton.dev/platforms\":\"linux/amd64,linux/s390x,linux/ppc64le,linux/arm64\",\"tekton.dev/tags\":\"git\"},\"labels\":{\"app.kubernetes.io/version\":\"0.10\"},\"name\":\"git-clone\"},\"spec\":{\"description\":\"These Tasks are Git tasks to work with repositories used by other tasks in your Pipeline.\\nThe git-clone Task will clone a repo from the provided url into the output Workspace. By default the repo will be cloned into the root of your Workspace. You can clone into a subdirectory by setting this Task's subdirectory param. This Task also supports sparse checkouts. To perform a sparse checkout, pass a list of comma separated directory patterns to this Task's sparseCheckoutDirectories param.\",\"params\":[{\"description\":\"Repository URL to clone from.\",\"name\":\"url\",\"type\":\"string\"},{\"default\":\"\",\"description\":\"Revision to checkout. (branch, tag, sha, ref, etc...)\",\"name\":\"revision\",\"type\":\"string\"},{\"default\":\"\",\"description\":\"Refspec to fetch before checking out revision.\",\"name\":\"refspec\"},{\"default\":\"true\",\"description\":\"Initialize and fetch git submodules.\",\"name\":\"submodules\",\"type\":\"string\"},{\"default\":\"1\",\"description\":\"Perform a shallow clone, fetching only the most recent N commits.\",\"name\":\"depth\",\"type\":\"string\"},{\"default\":\"true\",\"description\":\"Set the `http.sslVerify` global git config. Setting this to `false` is not advised unless you are sure that you trust your git remote.\",\"name\":\"sslVerify\",\"type\":\"string\"},{\"default\":\"ca-bundle.crt\",\"description\":\"file name of mounted crt using ssl-ca-directory workspace. default value is ca-bundle.crt.\",\"name\":\"crtFileName\",\"type\":\"string\"},{\"default\":\"\",\"description\":\"Subdirectory inside the `output` Workspace to clone the repo into.\",\"name\":\"subdirectory\",\"type\":\"string\"},{\"default\":\"\",\"description\":\"Define the directory patterns to match or exclude when performing a sparse checkout.\",\"name\":\"sparseCheckoutDirectories\",\"type\":\"string\"},{\"default\":\"true\",\"description\":\"Clean out the contents of the destination directory if it already exists before cloning.\",\"name\":\"deleteExisting\",\"type\":\"string\"},{\"default\":\"\",\"description\":\"HTTP proxy server for non-SSL requests.\",\"name\":\"httpProxy\",\"type\":\"string\"},{\"default\":\"\",\"description\":\"HTTPS proxy server for SSL requests.\",\"name\":\"httpsProxy\",\"type\":\"string\"},{\"default\":\"\",\"description\":\"Opt out of proxying HTTP/HTTPS requests.\",\"name\":\"noProxy\",\"type\":\"string\"},{\"default\":\"true\",\"description\":\"Log the commands that are executed during `git-clone`'s operation.\",\"name\":\"verbose\",\"type\":\"string\"},{\"default\":\"ghcr.io/tektoncd-catalog/git-clone:v1.1.0\",\"description\":\"The image providing the git-init binary that this Task runs.\",\"name\":\"gitInitImage\",\"type\":\"string\"},{\"default\":\"/home/git\",\"description\":\"Absolute path to the user's home directory.\\n\",\"name\":\"userHome\",\"type\":\"string\"}],\"results\":[{\"description\":\"The precise commit SHA that was fetched by this Task.\",\"name\":\"commit\"},{\"description\":\"The precise URL that was fetched by this Task.\",\"name\":\"url\"},{\"description\":\"The epoch timestamp of the commit that was fetched by this Task.\",\"name\":\"committer-date\"}],\"steps\":[{\"env\":[{\"name\":\"HOME\",\"value\":\"$(params.userHome)\"},{\"name\":\"PARAM_URL\",\"value\":\"$(params.url)\"},{\"name\":\"PARAM_REVISION\",\"value\":\"$(params.revision)\"},{\"name\":\"PARAM_REFSPEC\",\"value\":\"$(params.refspec)\"},{\"name\":\"PARAM_SUBMODULES\",\"value\":\"$(params.submodules)\"},{\"name\":\"PARAM_DEPTH\",\"value\":\"$(params.depth)\"},{\"name\":\"PARAM_SSL_VERIFY\",\"value\":\"$(params.sslVerify)\"},{\"name\":\"PARAM_CRT_FILENAME\",\"value\":\"$(params.crtFileName)\"},{\"name\":\"PARAM_SUBDIRECTORY\",\"value\":\"$(params.subdirectory)\"},{\"name\":\"PARAM_DELETE_EXISTING\",\"value\":\"$(params.deleteExisting)\"},{\"name\":\"PARAM_HTTP_PROXY\",\"value\":\"$(params.httpProxy)\"},{\"name\":\"PARAM_HTTPS_PROXY\",\"value\":\"$(params.httpsProxy)\"},{\"name\":\"PARAM_NO_PROXY\",\"value\":\"$(params.noProxy)\"},{\"name\":\"PARAM_VERBOSE\",\"value\":\"$(params.verbose)\"},{\"name\":\"PARAM_SPARSE_CHECKOUT_DIRECTORIES\",\"value\":\"$(params.sparseCheckoutDirectories)\"},{\"name\":\"PARAM_USER_HOME\",\"value\":\"$(params.userHome)\"},{\"name\":\"WORKSPACE_OUTPUT_PATH\",\"value\":\"$(workspaces.output.path)\"},{\"name\":\"WORKSPACE_SSH_DIRECTORY_BOUND\",\"value\":\"$(workspaces.ssh-directory.bound)\"},{\"name\":\"WORKSPACE_SSH_DIRECTORY_PATH\",\"value\":\"$(workspaces.ssh-directory.path)\"},{\"name\":\"WORKSPACE_BASIC_AUTH_DIRECTORY_BOUND\",\"value\":\"$(workspaces.basic-auth.bound)\"},{\"name\":\"WORKSPACE_BASIC_AUTH_DIRECTORY_PATH\",\"value\":\"$(workspaces.basic-auth.path)\"},{\"name\":\"WORKSPACE_SSL_CA_DIRECTORY_BOUND\",\"value\":\"$(workspaces.ssl-ca-directory.bound)\"},{\"name\":\"WORKSPACE_SSL_CA_DIRECTORY_PATH\",\"value\":\"$(workspaces.ssl-ca-directory.path)\"}],\"image\":\"$(params.gitInitImage)\",\"name\":\"clone\",\"script\":\"#!/usr/bin/env sh\\nset -eu\\n\\nif [ \\\"${PARAM_VERBOSE}\\\" = \\\"true\\\" ] ; then\\n set -x\\nfi\\n\\nif [ \\\"${WORKSPACE_BASIC_AUTH_DIRECTORY_BOUND}\\\" = \\\"true\\\" ] ; then\\n cp \\\"${WORKSPACE_BASIC_AUTH_DIRECTORY_PATH}/.git-credentials\\\" \\\"${PARAM_USER_HOME}/.git-credentials\\\"\\n cp \\\"${WORKSPACE_BASIC_AUTH_DIRECTORY_PATH}/.gitconfig\\\" \\\"${PARAM_USER_HOME}/.gitconfig\\\"\\n chmod 400 \\\"${PARAM_USER_HOME}/.git-credentials\\\"\\n chmod 400 \\\"${PARAM_USER_HOME}/.gitconfig\\\"\\nfi\\n\\nif [ \\\"${WORKSPACE_SSH_DIRECTORY_BOUND}\\\" = \\\"true\\\" ] ; then\\n cp -R \\\"${WORKSPACE_SSH_DIRECTORY_PATH}\\\" \\\"${PARAM_USER_HOME}\\\"/.ssh\\n chmod 700 \\\"${PARAM_USER_HOME}\\\"/.ssh\\n chmod -R 400 \\\"${PARAM_USER_HOME}\\\"/.ssh/*\\nfi\\n\\nif [ \\\"${WORKSPACE_SSL_CA_DIRECTORY_BOUND}\\\" = \\\"true\\\" ] ; then\\n export GIT_SSL_CAPATH=\\\"${WORKSPACE_SSL_CA_DIRECTORY_PATH}\\\"\\n if [ \\\"${PARAM_CRT_FILENAME}\\\" != \\\"\\\" ] ; then\\n export GIT_SSL_CAINFO=\\\"${WORKSPACE_SSL_CA_DIRECTORY_PATH}/${PARAM_CRT_FILENAME}\\\"\\n fi\\nfi\\nCHECKOUT_DIR=\\\"${WORKSPACE_OUTPUT_PATH}/${PARAM_SUBDIRECTORY}\\\"\\n\\ncleandir() {\\n # Delete any existing contents of the repo directory if it exists.\\n #\\n # We don't just \\\"rm -rf ${CHECKOUT_DIR}\\\" because ${CHECKOUT_DIR} might be \\\"/\\\"\\n # or the root of a mounted volume.\\n if [ -d \\\"${CHECKOUT_DIR}\\\" ] ; then\\n # Delete non-hidden files and directories\\n rm -rf \\\"${CHECKOUT_DIR:?}\\\"/*\\n # Delete files and directories starting with . but excluding ..\\n rm -rf \\\"${CHECKOUT_DIR}\\\"/.[!.]*\\n # Delete files and directories starting with .. plus any other character\\n rm -rf \\\"${CHECKOUT_DIR}\\\"/..?*\\n fi\\n}\\n\\nif [ \\\"${PARAM_DELETE_EXISTING}\\\" = \\\"true\\\" ] ; then\\n cleandir || true\\nfi\\n\\ntest -z \\\"${PARAM_HTTP_PROXY}\\\" || export HTTP_PROXY=\\\"${PARAM_HTTP_PROXY}\\\"\\ntest -z \\\"${PARAM_HTTPS_PROXY}\\\" || export HTTPS_PROXY=\\\"${PARAM_HTTPS_PROXY}\\\"\\ntest -z \\\"${PARAM_NO_PROXY}\\\" || export NO_PROXY=\\\"${PARAM_NO_PROXY}\\\"\\n\\ngit config --global --add safe.directory \\\"${WORKSPACE_OUTPUT_PATH}\\\"\\n/ko-app/git-init \\\\\\n -url=\\\"${PARAM_URL}\\\" \\\\\\n -revision=\\\"${PARAM_REVISION}\\\" \\\\\\n -refspec=\\\"${PARAM_REFSPEC}\\\" \\\\\\n -path=\\\"${CHECKOUT_DIR}\\\" \\\\\\n -sslVerify=\\\"${PARAM_SSL_VERIFY}\\\" \\\\\\n -submodules=\\\"${PARAM_SUBMODULES}\\\" \\\\\\n -depth=\\\"${PARAM_DEPTH}\\\" \\\\\\n -sparseCheckoutDirectories=\\\"${PARAM_SPARSE_CHECKOUT_DIRECTORIES}\\\"\\ncd \\\"${CHECKOUT_DIR}\\\"\\nRESULT_SHA=\\\"$(git rev-parse HEAD)\\\"\\nEXIT_CODE=\\\"$?\\\"\\nif [ \\\"${EXIT_CODE}\\\" != 0 ] ; then\\n exit \\\"${EXIT_CODE}\\\"\\nfi\\nRESULT_COMMITTER_DATE=\\\"$(git log -1 --pretty=%ct)\\\"\\nprintf \\\"%s\\\" \\\"${RESULT_COMMITTER_DATE}\\\" \\u003e \\\"$(results.committer-date.path)\\\"\\nprintf \\\"%s\\\" \\\"${RESULT_SHA}\\\" \\u003e \\\"$(results.commit.path)\\\"\\nprintf \\\"%s\\\" \\\"${PARAM_URL}\\\" \\u003e \\\"$(results.url.path)\\\"\\n\",\"securityContext\":{\"runAsNonRoot\":true,\"runAsUser\":65532},\"volumeMounts\":[{\"mountPath\":\"$(params.userHome)\",\"name\":\"user-home\"}]}],\"volumes\":[{\"emptyDir\":{},\"name\":\"user-home\"}],\"workspaces\":[{\"description\":\"The git repo will be cloned onto the volume backing this Workspace.\",\"name\":\"output\"},{\"description\":\"A .ssh directory with private key, known_hosts, config, etc. Copied to\\nthe user's home before git commands are executed. Used to authenticate\\nwith the git remote when performing the clone. Binding a Secret to this\\nWorkspace is strongly recommended over other volume types.\\n\",\"name\":\"ssh-directory\",\"optional\":true},{\"description\":\"A Workspace containing a .gitconfig and .git-credentials file. These\\nwill be copied to the user's home before any git commands are run. Any\\nother files in this Workspace are ignored. It is strongly recommended\\nto use ssh-directory over basic-auth whenever possible and to bind a\\nSecret to this Workspace over other volume types.\\n\",\"name\":\"basic-auth\",\"optional\":true},{\"description\":\"A workspace containing CA certificates, this will be used by Git to\\nverify the peer with when fetching or pushing over HTTPS.\\n\",\"name\":\"ssl-ca-directory\",\"optional\":true}]}}"
2025/07/07 04:04:12 Exiting...
2025/07/07 04:04:03 Entrypoint initialization
----POD_NAME: pod/catalog-publish-test-pipeline-run-reduce-pod---
2025/07/07 04:03:59 Entrypoint initialization
2025/07/07 04:03:59 Decoded script /tekton/scripts/script-0-lv8bk
+ EXIT_VALUE=1
... skipping 7 lines ...