Skip to content

Pushing application fails with BuildpackCompileFailed on Ubuntu Noble stemcell #1099

@dimivel

Description

@dimivel

Current behavior

We started Ubuntu "noble" stemcell evaluation with this validation pipeline:
https://concourse.wg-ard.ci.cloudfoundry.org/teams/main/pipelines/noble-stemcell-validation

We also managed to successfully deploy CF and run smoke tests.

CF Acceptance tests run is failing when pushing java-buildpack application with the following error message:

cf push CATS-5-APP-a67b86fe48359dc9 -b java_buildpack -p assets/java -m 1024M -f assets/java/manifest.yml

  Pushing app CATS-5-APP-a67b86fe48359dc9 to org CATS-5-ORG-3b3cda5f08c9ece6 / space CATS-5-SPACE-20160fd7cf0c50a3 as CATS-5-USER-3da78c81c22328e9...
  Applying manifest file assets/java/manifest.yml...

  Updating with these attributes...
    ---
    applications:
  + - name: CATS-5-APP-a67b86fe48359dc9
      path: /tmp/build/33ac16d1/cf-acceptance-tests/assets/java
      memory: 1024M
  +   default-route: true
  +   buildpacks:
  +   - java_buildpack
  +   env:
  +     JAVA_OPTS: -Djava.security.egd=file:///dev/urandom
  Manifest applied
  Packaging files to upload...

Waiting for API to complete processing files...

  Staging app and tracing logs...
     Downloading java_buildpack...
     Downloaded java_buildpack (247.4K)
     Cell a6736615-7775-4211-9041-f79ce23c5668 creating container for instance f776eff6-a927-4d17-8d14-65bb9059d968
     Security group rules were updated
     Cell a6736615-7775-4211-9041-f79ce23c5668 successfully created container for instance f776eff6-a927-4d17-8d14-65bb9059d968
     Downloading app package...
     Downloaded app package (1.7K)
  BuildpackCompileFailed - App staging failed in the buildpack compile phase
  FAILED

cf logs --recent CATS-5-APP-a67b86fe48359dc9

Retrieving logs for app CATS-5-APP-a67b86fe48359dc9 in org CATS-5-ORG-3b3cda5f08c9ece6 / space CATS-5-SPACE-20160fd7cf0c50a3 as CATS-5-USER-3da78c81c22328e9...

     2025-01-20T09:22:31.63+0000 [API/1] OUT Added process: "web"
     2025-01-20T09:22:31.65+0000 [API/1] OUT Created app with guid 6994111d-63f5-4c8f-9a55-5e7273f244af
     2025-01-20T09:22:31.68+0000 [API/1] OUT Applied manifest to app with guid 6994111d-63f5-4c8f-9a55-5e7273f244af (---
     2025-01-20T09:22:31.68+0000 [API/1] OUT applications:
     2025-01-20T09:22:31.68+0000 [API/1] OUT - name: CATS-5-APP-a67b86fe48359dc9
     2025-01-20T09:22:31.68+0000 [API/1] OUT path: "/tmp/build/33ac16d1/cf-acceptance-tests/assets/java"
     2025-01-20T09:22:31.68+0000 [API/1] OUT memory: 1024M
     2025-01-20T09:22:31.68+0000 [API/1] OUT default-route: true
     2025-01-20T09:22:31.68+0000 [API/1] OUT buildpacks:
     2025-01-20T09:22:31.69+0000 [API/1] OUT - java_buildpack
     2025-01-20T09:22:31.69+0000 [API/1] OUT env: "[PRIVATE DATA HIDDEN]"
     2025-01-20T09:22:31.69+0000 [API/1] OUT )
     2025-01-20T09:22:38.07+0000 [API/1] OUT Uploading app package for app with guid 6994111d-63f5-4c8f-9a55-5e7273f244af
     2025-01-20T09:22:41.33+0000 [API/1] OUT Creating build for app with guid 6994111d-63f5-4c8f-9a55-5e7273f244af
     2025-01-20T09:22:42.10+0000 [STG/0] OUT Downloading java_buildpack...
     2025-01-20T09:22:42.16+0000 [STG/0] OUT Downloaded java_buildpack (247.4K)
     2025-01-20T09:22:42.16+0000 [STG/0] OUT Cell a6736615-7775-4211-9041-f79ce23c5668 creating container for instance f776eff6-a927-4d17-8d14-65bb9059d968
     2025-01-20T09:22:42.54+0000 [STG/0] OUT Security group rules were updated
     2025-01-20T09:22:42.56+0000 [STG/0] OUT Cell a6736615-7775-4211-9041-f79ce23c5668 successfully created container for instance f776eff6-a927-4d17-8d14-65bb9059d968
     2025-01-20T09:22:43.15+0000 [STG/0] OUT Downloading app package...
     2025-01-20T09:22:43.18+0000 [STG/0] OUT Downloaded app package (1.7K)
     2025-01-20T09:22:43.38+0000 [STG/0] ERR Failed to compile droplet: Failed to run finalize script: exit status 6
     2025-01-20T09:22:43.44+0000 [STG/0] OUT Exit status 223
     2025-01-20T09:22:44.00+0000 [STG/0] OUT Cell a6736615-7775-4211-9041-f79ce23c5668 stopping instance f776eff6-a927-4d17-8d14-65bb9059d968
     2025-01-20T09:22:44.00+0000 [STG/0] OUT Cell a6736615-7775-4211-9041-f79ce23c5668 destroying container for instance f776eff6-a927-4d17-8d14-65bb9059d968
     2025-01-20T09:22:44.04+0000 [API/0] ERR Failed to stage build: staging failed
     2025-01-20T09:22:44.42+0000 [STG/0] OUT Cell a6736615-7775-4211-9041-f79ce23c5668 successfully destroyed container for instance f776eff6-a927-4d17-8d14-65bb9059d968

Expected behavior

Successfully push and start application with java-buildpack on Ubuntu Noble stemcell

Steps to Reproduce

The compilation failure is reproducible in the "Noble" stemcell validation pipeline:
https://concourse.wg-ard.ci.cloudfoundry.org/teams/main/pipelines/noble-stemcell-validation/jobs/run-cats/builds/1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions