Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-14627

[enterprise-4.11] Issue in file cicd/pipelines/understanding-openshift-pipelines.adoc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.11
    • None
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Not able to run Pipeline with PipelineRun in documentation page

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      Very

      Steps to Reproduce:

      1. Apply manifests, PVC
      2. Apply Pipeline
      3. Run PipelineRun: `tkn pipeline start build-and-deploy -w name=shared-workspace,claimName=source-pvc -p deployment-name=pipelines-vote-api -p git-url=https://github.com/openshift/pipelines-vote-api.git -p IMAGE=image-registry.openshift-image-registry.svc:5000/pipelines-tutorial/vote-api -p git-revision=master --showlog` 

      Actual results:

      [fetch-repository : clone] + /ko-app/git-init -url=https://github.com/openshift/pipelines-vote-api.git -revision=master -refspec= -path=/workspace/output/ -sslVerify=true-submodules=true -depth=1 -sparseCheckoutDirectories=
      [fetch-repository : clone] {"level":"error","ts":1686066779.5430756,"caller":"git/git.go:53","msg":"Error runninggit [init /workspace/output/]: exit status 128\nfatal: cannot mkdir /workspace/output/: File exists\n","stacktrace":"github.com/tektoncd/pipeline/pkg/git.run\n\t/go/src/github.com/tektoncd/pipeline/pkg/git/git.go:53\ngithub.com/tektoncd/pipeline/pkg/git.Fetch\n\t/go/src/github.com/tektoncd/pipeline/pkg/git/git.go:88\nmain.main\n\t/go/src/github.com/tektoncd/pipeline/cmd/git-init/main.go:53\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:250"}
      [fetch-repository : clone] {"level":"fatal","ts":1686066779.5431485,"caller":"git-init/main.go:54","msg":"Error fetching git repository: exit status 128","stacktrace":"main.main\n\t/go/src/github.com/tektoncd/pipeline/cmd/git-init/main.go:54\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:250"}failed to get logs for task fetch-repository : containerstep-clone has failed  : [{"key":"StartedAt","value":"2023-06-06T15:52:59.518Z","type":3}]

      Expected results:

      PipelineRun finishes and app is deployed

      Additional info:

      Seems to be an issue with PVC?

              mramendi Mikhail Ramendik
              cclyburn@redhat.com Cedric Clyburn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: