-
Notifications
You must be signed in to change notification settings - Fork 41.9k
Closed as not planned
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid
Description
I used to customize buildpack as followed
tasks.bootBuildImage {
buildpacks = listOf (
"gcr.io/paketo-buildpacks/java",
"gcr.io/paketo-buildpacks/new-relic",
)
bindings = listOf("$projectDir/src/main/buildpack/new-relic:/platform/bindings/new-relic:ro")
}
with src/main/buildpack/new-relic/type containing NewRelic.
Everything worked fine in 3.1.5.
When switching to springboot 3.2.2, build fails without that much error.
024-01-24T12:26:01.203+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2024-01-24T12:26:01.204+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
2024-01-24T12:26:01.204+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2024-01-24T12:26:01.204+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
2024-01-24T12:26:01.204+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':bootBuildImage'.
2024-01-24T12:26:01.204+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Invalid response received when loading image "pack.local/builder/xjawcxzvov:latest"
2024-01-24T12:26:01.204+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2024-01-24T12:26:01.204+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
2024-01-24T12:26:01.204+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Run with --stacktrace option to get the stack trace.
2024-01-24T12:26:01.204+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Run with --scan to get full insights.
2024-01-24T12:26:01.204+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Get more help at https://help.gradle.org.
2024-01-24T12:26:01.204+0100 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger]
2024-01-24T12:26:01.204+0100 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 1m 34s
I saw that from one version to other, builder changed
In 3.1.5 I see
> Pulling builder image 'docker.io/paketobuildpacks/builder:base' ..................................................
> Pulled builder image 'paketobuildpacks/builder@sha256:17ea21162ba8c7717d3ead3ee3836a368aced7f02f2e59658e52029bd6d149e7'
> Pulling run image 'docker.io/paketobuildpacks/run:base-cnb' ..................................................
> Pulled run image 'paketobuildpacks/run@sha256:1af9935d8987fd52b2266d288200c9482d1dd5529860bbf5bc2d248de1cb1a38'
> Pulling buildpack image 'gcr.io/paketo-buildpacks/java:latest' ..................................................
> Pulled buildpack image 'gcr.io/paketo-buildpacks/java@sha256:5b74c0946a6ef69a7d7ec2ff6bcff0d323bf0590ee67dfe7188db2cc1f2e1bff'
> Pulling buildpack image 'gcr.io/paketo-buildpacks/new-relic:latest' ..................................................
> Pulled buildpack image 'gcr.io/paketo-buildpacks/new-relic@sha256:cb598d744ed8efed765f5423c4ebfb72b8509d29092b5dca781748eff6f6cb0c'
and in 3.2.2
> Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-base:latest' ..................................................
> Pulled builder image 'paketobuildpacks/builder-jammy-base@sha256:92811b61280130099527b40c7650c871187a7e1cebb21744d93e480fc34cbcb0'
> Pulling run image 'docker.io/paketobuildpacks/run-jammy-base:latest' ..................................................
> Pulled run image 'paketobuildpacks/run-jammy-base@sha256:ac21741202c46c4de193714557e692ce29fa5a2f70047d4799deb7e21ac99d89'
> Pulling buildpack image 'gcr.io/paketo-buildpacks/java:latest' ..................................................
> Pulled buildpack image 'gcr.io/paketo-buildpacks/java@sha256:5b74c0946a6ef69a7d7ec2ff6bcff0d323bf0590ee67dfe7188db2cc1f2e1bff'
> Pulling buildpack image 'gcr.io/paketo-buildpacks/new-relic:latest' ..................................................
> Pulled buildpack image 'gcr.io/paketo-buildpacks/new-relic@sha256:cb598d744ed8efed765f5423c4ebfb72b8509d29092b5dca781748eff6f6cb0c'
So basically
builder:base=>builder-jammy-base:latestrun:base-cnb=>run-jammy-base:latest'
the buildpack java cannot be used anymore?
I could have posted the log with debug, however, it logs every payload and its size is more than 2GB in the end.....
Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid