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

git-clone fails with missing entrypoint /tekton/bin/entrypoint

XMLWordPrintable

    • 3
    • True
    • Hide

      None

      Show
      None
    • False
    • Hide
      Before this update, the git-clone task could fail with the error step-clone exited with code 1 due to a missing dynamic library or an invalid default image, resulting in messages like /tekton/bin/entrypoint: No such file or directory. Additionally, the container's home directory was not writable, which caused issues with Git operations that require a user-writable home. With this update, the git-clone task version 0.10 updates the default image to a working version and adds a writable user-home volume, ensuring reliable execution and improved compatibility with Git tooling.
      Show
      Before this update, the git-clone task could fail with the error step-clone exited with code 1 due to a missing dynamic library or an invalid default image, resulting in messages like /tekton/bin/entrypoint: No such file or directory. Additionally, the container's home directory was not writable, which caused issues with Git operations that require a user-writable home. With this update, the git-clone task version 0.10 updates the default image to a working version and adds a writable user-home volume, ensuring reliable execution and improved compatibility with Git tooling.
    • 3
    • Pipelines Sprint pioneers 32

      Description of problem:

      Using the git-clone task the pipelineruns are failing with

      [clone-git-repo : clone] exec container process (missing dynamic library?) `/tekton/bin/entrypoint`: No such file or directory

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

      1.19.0 in 4.18 cluster

      Steps to Reproduce

      1. Install 1.19.0 operator

      2. run any of the release-tests specs that uses git-clone task 

       

      gauge run --log-level=debug --verbose --tags e2e specs/pipelines/hub-resolvers.spec 

       

      Actual results:

      pipelinerun logs: 

              task clone-git-repo has failed: "step-clone" exited with code 1
              [clone-git-repo : clone] exec container process (missing dynamic library?) `/tekton/bin/entrypoint`: No such file or directory

      Expected results:

      Pipelinerun should pass without any issues

      Reproducibility (Always/Intermittent/Only Once):

      always

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

       

      ✗ tkn tr logs -f hub-git-cli-run-clone-git-repo                             
      task clone-git-repo has failed: "step-clone" exited with code 1
      [clone] exec container process (missing dynamic library?) `/tekton/bin/entrypoint`: No such file or directorycontainer step-clone has failed  

       

      4m         Normal    Pulled                   pod/hub-git-cli-run-clone-git-repo-pod      Container image "quay.io/openshift-pipeline/pipelines-entrypoint-rhel9@sha256:a3d7269e1be4216c4a2bfd70fd4a18f8e5e7936ce8ba7b992a81bebdb46545aa" already present on machine
      14m         Normal    Created                  pod/hub-git-cli-run-clone-git-repo-pod      Created container: prepare
      14m         Normal    Started                  pod/hub-git-cli-run-clone-git-repo-pod      Started container prepare
      14m         Normal    Pulled                   pod/hub-git-cli-run-clone-git-repo-pod      Container image "quay.io/openshift-pipeline/pipelines-entrypoint-rhel9@sha256:a3d7269e1be4216c4a2bfd70fd4a18f8e5e7936ce8ba7b992a81bebdb46545aa" already present on machine
      14m         Normal    Created                  pod/hub-git-cli-run-clone-git-repo-pod      Created container: place-scripts
      14m         Normal    Started                  pod/hub-git-cli-run-clone-git-repo-pod      Started container place-scripts
      14m         Normal    Pulled                   pod/hub-git-cli-run-clone-git-repo-pod      Container image "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.40.2" already present on machine
      14m         Normal    Created                  pod/hub-git-cli-run-clone-git-repo-pod      Created container: step-clone
      14m         Normal    Started                  pod/hub-git-cli-run-clone-git-repo-pod      Started container step-clone
      14m         Normal    Started                  taskrun/hub-git-cli-run-clone-git-repo      
      14m         Normal    FinalizerUpdate          taskrun/hub-git-cli-run-clone-git-repo      Updated "hub-git-cli-run-clone-git-repo" finalizers
      14m         Warning   FinalizerUpdateFailed    taskrun/hub-git-cli-run-clone-git-repo      Failed to update finalizers for "hub-git-cli-run-clone-git-repo": Operation cannot be fulfilled on taskruns.tekton.dev "hub-git-cli-run-clone-git-repo": the object has been modified; please apply your changes to the latest version and try again
      14m         Normal    FinalizerUpdate          taskrun/hub-git-cli-run-clone-git-repo      Updated "hub-git-cli-run-clone-git-repo" finalizers
      14m         Normal    Pending                  taskrun/hub-git-cli-run-clone-git-repo      Pending
      14m         Normal    Pending                  taskrun/hub-git-cli-run-clone-git-repo      pod status "PodReadyToStartContainers":"False"; message: ""
      14m         Normal    Pending                  taskrun/hub-git-cli-run-clone-git-repo      pod status "Initialized":"False"; message: "containers with incomplete status: [place-scripts]"
      14m         Normal    Pending                  taskrun/hub-git-cli-run-clone-git-repo      pod status "Ready":"False"; message: "containers with unready status: [step-clone]"
      14m         Normal    Pending                  taskrun/hub-git-cli-run-clone-git-repo      pod status "Ready":"False"; message: ""
      14m         Warning   Failed                   taskrun/hub-git-cli-run-clone-git-repo      "step-clone" exited with code 1
      14m         Normal    Started                  pipelinerun/hub-git-cli-run                 
      14m         Normal    FinalizerUpdate          pipelinerun/hub-git-cli-run                 Updated "hub-git-cli-run" finalizers
      14m         Warning   FinalizerUpdateFailed    pipelinerun/hub-git-cli-run                 Failed to update finalizers for "hub-git-cli-run": Operation cannot be fulfilled on pipelineruns.tekton.dev "hub-git-cli-run": the object has been modified; please apply your changes to the latest version and try again
      14m         Normal    ResolvingTaskRef         pipelinerun/hub-git-cli-run                 PipelineRun releasetest-85tpw/hub-git-cli-run awaiting remote resource
      14m         Normal    FinalizerUpdate          pipelinerun/hub-git-cli-run                 Updated "hub-git-cli-run" finalizers
      14m         Warning   Error                    pipelinerun/hub-git-cli-run                 Operation cannot be fulfilled on pipelineruns.tekton.dev "hub-git-cli-run": the object has been modified; please apply your changes to the latest version and try again
      14m         Warning   InternalError            pipelinerun/hub-git-cli-run                 1 error occurred:...
      14m         Normal    Running                  pipelinerun/hub-git-cli-run                 Tasks Completed: 0 (Failed: 0, Cancelled 0), Incomplete: 2, Skipped: 0
      14m         Warning   Failed                   pipelinerun/hub-git-cli-run                 Tasks Completed: 1 (Failed: 1, Cancelled 0), Skipped: 1 

              jkhelil abdeljawed khelil
              rhn-support-sselvan Sri Vignesh Selvan
              Sri Vignesh Selvan Sri Vignesh Selvan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: