-
Bug
-
Resolution: Done-Errata
-
Critical
-
4.14.0
-
No
-
ODC Sprint 3249
-
1
-
Rejected
-
False
-
This is a clone of issue OCPBUGS-24001. The following is the description of the original issue:
—
After I installed a "Git" Task from ArtifactHub directly the Pipelines Builder and searched for a "git" Task again the Pipeline Builder crashes.
Steps to reproduce:
- Install Pipelines operator
- Navigate to Developer perspective > Pipelines
- Press on Create to open the Pipeline Builder
- Click on "Add task"
- Search for "git"
- Navigate down to an entry called "git" from the ArtifactHub and press enter to install it.
- This automatically imports this Task below into the current project. You can also apply that yaml to reproduce this bug.
- Click on "Add task" again
- Search for "git"
- Navigate down to the different git tasks.
Actual behaviour
Page crashes
Expected behaviour
Page should not crash
Additional information
Created/Imported Task:
apiVersion: tekton.dev/v1 kind: Task metadata: annotations: openshift.io/installed-from: ArtifactHub tekton.dev/categories: Git tekton.dev/displayName: git tekton.dev/pipelines.minVersion: 0.38.0 tekton.dev/platforms: 'linux/amd64,linux/s390x,linux/ppc64le,linux/arm64' tekton.dev/tags: git resourceVersion: '50218855' name: git uid: 1b88150a-f2c1-4030-9849-c7806c0745d8 creationTimestamp: '2023-11-28T10:54:51Z' generation: 1 labels: app.kubernetes.io/version: 0.1.0 spec: description: | This Task represents Git and is able to initialize and clone a remote repository on the informed Workspace. It's likely to become the first `step` on a Pipeline. params: - description: | Git repository URL. name: URL type: string - default: main description: | Revision to checkout, an branch, tag, sha, ref, etc... name: REVISION type: string - default: '' description: | Repository `refspec` to fetch before checking out the revision. name: REFSPEC type: string - default: 'true' description: | Initialize and fetch Git submodules. name: SUBMODULES type: string - default: '1' description: | Number of commits to fetch, a "shallow clone" is a single commit. name: DEPTH type: string - default: 'true' description: | Sets the global `http.sslVerify` value, `false` is not advised unless you trust the remote repository. name: SSL_VERIFY type: string - default: ca-bundle.crt description: | Certificate Authority (CA) bundle filename on the `ssl-ca-directory` Workspace. name: CRT_FILENAME type: string - default: '' description: | Relative path to the `output` Workspace where the repository will be cloned. name: SUBDIRECTORY type: string - default: '' description: | List of directory patterns split by comma to perform "sparse checkout". name: SPARSE_CHECKOUT_DIRECTORIES type: string - default: 'true' description: | Clean out the contents of the `output` Workspace before cloning the repository, if data exists. name: DELETE_EXISTING type: string - default: '' description: | HTTP proxy server (non-TLS requests). name: HTTP_PROXY type: string - default: '' description: | HTTPS proxy server (TLS requests). name: HTTPS_PROXY type: string - default: '' description: | Opt out of proxying HTTP/HTTPS requests. name: NO_PROXY type: string - default: 'false' description: | Log the commands executed. name: VERBOSE type: string - default: /home/git description: | Absolute path to the Git user home directory. name: USER_HOME type: string results: - description: | The precise commit SHA digest cloned. name: COMMIT type: string - description: | The precise repository URL. name: URL type: string - description: | The epoch timestamp of the commit cloned. name: COMMITTER_DATE type: string stepTemplate: computeResources: limits: cpu: 100m memory: 256Mi requests: cpu: 100m memory: 256Mi env: - name: PARAMS_URL value: $(params.URL) - name: PARAMS_REVISION value: $(params.REVISION) - name: PARAMS_REFSPEC value: $(params.REFSPEC) - name: PARAMS_SUBMODULES value: $(params.SUBMODULES) - name: PARAMS_DEPTH value: $(params.DEPTH) - name: PARAMS_SSL_VERIFY value: $(params.SSL_VERIFY) - name: PARAMS_CRT_FILENAME value: $(params.CRT_FILENAME) - name: PARAMS_SUBDIRECTORY value: $(params.SUBDIRECTORY) - name: PARAMS_SPARSE_CHECKOUT_DIRECTORIES value: $(params.SPARSE_CHECKOUT_DIRECTORIES) - name: PARAMS_DELETE_EXISTING value: $(params.DELETE_EXISTING) - name: PARAMS_HTTP_PROXY value: $(params.HTTP_PROXY) - name: PARAMS_HTTPS_PROXY value: $(params.HTTPS_PROXY) - name: PARAMS_NO_PROXY value: $(params.NO_PROXY) - name: PARAMS_VERBOSE value: $(params.VERBOSE) - name: PARAMS_USER_HOME value: $(params.USER_HOME) - name: WORKSPACES_OUTPUT_PATH value: $(workspaces.output.path) - name: WORKSPACES_SSH_DIRECTORY_BOUND value: $(workspaces.ssh-directory.bound) - name: WORKSPACES_SSH_DIRECTORY_PATH value: $(workspaces.ssh-directory.path) - name: WORKSPACES_BASIC_AUTH_BOUND value: $(workspaces.basic-auth.bound) - name: WORKSPACES_BASIC_AUTH_PATH value: $(workspaces.basic-auth.path) - name: WORKSPACES_SSL_CA_DIRECTORY_BOUND value: $(workspaces.ssl-ca-directory.bound) - name: WORKSPACES_SSL_CA_DIRECTORY_PATH value: $(workspaces.ssl-ca-directory.path) - name: RESULTS_COMMITTER_DATE_PATH value: $(results.COMMITTER_DATE.path) - name: RESULTS_COMMIT_PATH value: $(results.COMMIT.path) - name: RESULTS_URL_PATH value: $(results.URL.path) securityContext: runAsNonRoot: true runAsUser: 65532 steps: - computeResources: {} image: 'gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:latest' name: load-scripts script: | printf '%s' "IyEvdXNyL2Jpbi9lbnYgc2gKCmV4cG9ydCBQQVJBTVNfVVJMPSIke1BBUkFNU19VUkw6LX0iCmV4cG9ydCBQQVJBTVNfUkVWSVNJT049IiR7UEFSQU1TX1JFVklTSU9OOi19IgpleHBvcnQgUEFSQU1TX1JFRlNQRUM9IiR7UEFSQU1TX1JFRlNQRUM6LX0iCmV4cG9ydCBQQVJBTVNfU1VCTU9EVUxFUz0iJHtQQVJBTVNfU1VCTU9EVUxFUzotfSIKZXhwb3J0IFBBUkFNU19ERVBUSD0iJHtQQVJBTVNfREVQVEg6LX0iCmV4cG9ydCBQQVJBTVNfU1NMX1ZFUklGWT0iJHtQQVJBTVNfU1NMX1ZFUklGWTotfSIKZXhwb3J0IFBBUkFNU19DUlRfRklMRU5BTUU9IiR7UEFSQU1TX0NSVF9GSUxFTkFNRTotfSIKZXhwb3J0IFBBUkFNU19TVUJESVJFQ1RPUlk9IiR7UEFSQU1TX1NVQkRJUkVDVE9SWTotfSIKZXhwb3J0IFBBUkFNU19TUEFSU0VfQ0hFQ0tPVVRfRElSRUNUT1JJRVM9IiR7UEFSQU1TX1NQQVJTRV9DSEVDS09VVF9ESVJFQ1RPUklFUzotfSIKZXhwb3J0IFB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gIiVzIiAiJHtyZXN1bHRfY29tbWl0dGVyX2RhdGV9IiA+JHtSRVNVTFRTX0NPTU1JVFRFUl9EQVRFX1BBVEh9CgpwaGFzZSAiUmVwb3J0aW5nIHBhcnNlZCByZXZpc2lvbiBTSEEgJyR7cmVzdWx0X3NoYX0nIgpwcmludGYgIiVzIiAiJHtyZXN1bHRfc2hhfSIgPiR7UkVTVUxUU19DT01NSVRfUEFUSH0KCnBoYXNlICJSZXBvcnRpbmcgcmVwb3NpdG9yeSBVUkwgJyR7UEFSQU1TX1VSTH0nIgpwcmludGYgIiVzIiAiJHtQQVJBTVNfVVJMfSIgPiR7UkVTVUxUU19VUkxfUEFUSH0KCmV4aXQgMA==" |base64 -d >report.sh chmod +x "report.sh" volumeMounts: - mountPath: /scripts name: scripts-dir workingDir: /scripts - command: - /scripts/prepare.sh computeResources: {} image: 'gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:latest' name: prepare volumeMounts: - mountPath: /scripts name: scripts-dir - mountPath: $(params.USER_HOME) name: user-home - command: - /scripts/git-clone.sh computeResources: {} image: 'gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:latest' name: git-clone volumeMounts: - mountPath: /scripts name: scripts-dir - mountPath: $(params.USER_HOME) name: user-home - command: - /scripts/report.sh computeResources: {} image: 'gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:latest' name: report volumeMounts: - mountPath: /scripts name: scripts-dir volumes: - emptyDir: {} name: user-home - emptyDir: {} name: scripts-dir workspaces: - description: | The Git repository directory, data will be placed on the root of the Workspace, or on the relative path defined by the SUBDIRECTORY parameter. name: output - description: | A `.ssh` directory with private key, `known_hosts`, `config`, etc. Copied to the Git user's home before cloning the repository, in order to server as authentication mechanismBinding a Secret to this Workspace is strongly recommended over other volume types. name: ssh-directory optional: true - description: | A Workspace containing a `.gitconfig` and `.git-credentials` files. These will be copied to the user's home before Git commands run. All other files in this Workspace are ignored. It is strongly recommended to use `ssh-directory` over `basic-auth` whenever possible, and to bind a Secret to this Workspace over other volume types. name: basic-auth optional: true - description: | A Workspace containing CA certificates, this will be used by Git to verify the peer with when interacting with remote repositories using HTTPS. name: ssl-ca-directory optional: true
- clones
-
OCPBUGS-24001 Pipeline Builder crashes after a Task was installed from ArtifactHub
- Closed
- is blocked by
-
OCPBUGS-24001 Pipeline Builder crashes after a Task was installed from ArtifactHub
- Closed
- links to
-
RHBA-2024:0050 OpenShift Container Platform 4.14.z bug fix update