Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-3301

git-clone task does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • Pipelines 1.9.3
    • Pipelines 1.9.3
    • Operator
    • None
    • 1
    • False
    • None
    • False
    • 1
    • Pipelines Sprint 242

      Description of problem:

      Workaround

      Prerequisites (if any, like setup, operators/versions):

      Install the latest build of 1.9.3

      Steps to Reproduce

      1. Run git-clone clustertask

       

      Actual results:

      Running git-clone clustertask fails with below error

      [clone] {"level":"error","ts":1689242684.0766976,"caller":"git/git.go:53","msg":"Error running git [remote add origin https://www.github.com/VeereshAradhya/cli]: exit status 128\nfatal: detected dubious ownership in repository at '/workspace/output'\nTo add an exception for this directory, call:\n\n\tgit config --global --add safe.directory /workspace/output\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:109\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"}
      [clone] {"level":"fatal","ts":1689242684.076752,"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"} 

       

      Expected results:

      git-clone clustertask should work fine

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              piyushgarg001 Piyush Garg
              varadhya Veeresh Aradhya (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: