Uploaded image for project: 'OpenShift Builds'
  1. OpenShift Builds
  2. BUILD-938

Paketo Buildpacks build should succeed if output image does not exist

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • builds-1.0
    • shipwright
    • None

      Description of problem:

      When creating a build with any Paketo buildpack, the build fails.

      Workaround

      None at present

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

      Builds for OpenShift v1.0.1
      OpenShift Pipelines v1.14.3

      Steps to Reproduce

      1. Install the Dev Preview Buildpacks strategy
      oc apply -f https://github.com/redhat-developer/openshift-builds-catalog/tree/deef0ab382a84e36036c719c84e002a712d9ea4b/clusterBuildStrategy/buildpacks
      
      1. Create a build that pushes to the internal registry (see attached)
         

        Actual results:

      Build fails at "detect" step with the following error:

      [analyze] Timer: Analyzer started at 2024-03-28T21:47:32Z
      [analyze] Image with name "image-registry.openshift-image-registry.svc:5000/demo-buildpacks/nodejs-ex:latest" not found
      [analyze] Timer: Analyzer ran for 114.288668ms and ended at 2024-03-28T21:47:33Z
      [detect] ERROR: Platform requested experimental feature 'Dockerfiles'
      [detect] ERROR: experimental features are disabled by CNB_EXPERIMENTAL_MODE=error
      [restore] 2024/03/28 21:47:34 Skipping step because a previous step failed
      [build-and-push] 2024/03/28 21:47:34 Skipping step because a previous step failed
      [export] 2024/03/28 21:47:34 Skipping step because a previous step failed
      [results] 2024/03/28 21:47:34 Skipping step because a previous step failed
      BuildRun "buildpacks-nodejs-7kf2s" has failed at step "step-detect".
      

      Expected results:

      Builds should succeed

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

      Builds with buildpacks succeed when no image has been pushed to the internal registry yet. 

      Definition of Done:

      Build Details:

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

       

              avinkuma@redhat.com Avinal Kumar
              adkaplan@redhat.com Adam Kaplan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: