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

Buildpacks Strategy Fails With Latest Paketo Jammy Images

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • builds-1.6
    • shipwright
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • 1
    • Builds Sprint #36, Builds Sprint #37
    • 2

      Description of problem:

      When trying to build a sample NodeJS application with the Paketo Jammy buildpack builders, they consistently fail on the analyze step because run metadata is missing.

      Specifying a run-image appears to be required, which is not well documented upstream with Paketo or CNB docs.

      Workaround: Use the pinned builder image and run image referenced in the documentation

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

      Shipwright v0.17.0

      Steps to Reproduce

       # Create a build with the Red Hat buildpacks strategy for a nodeJS app, setting the `cnb-builder-image` parameter to docker.io/packetobuildpacks/builder-jammy-base:latest

      1. Run the build

      Actual results:

      Build fails on analyze step because it is missing run information:

      
      *** Pod "quizap-frontend-build-wcj9x-6ftkp-pod", container "step-analyze": ***
      
      Starting analyzer...
      Parsing inputs...
      No run metadata found at path "/cnb/run.toml"
      ERROR: failed to resolve inputs: -run-image is required when there is no run metadata available
      

      Expected results:

      Analyzer step succeeds

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Shipwright v0.17.0
      KIND cluster running v1.34.0 control plane

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

       

        1. failed-buildpacks-build.log
          3 kB
          Adam Kaplan
        2. failed-buildrun.yaml
          2 kB
          Adam Kaplan
        3. taskrun.yaml
          31 kB
          Adam Kaplan

              rh-ee-asatyam Ayush Satyam
              adkaplan@redhat.com Adam Kaplan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: