Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build pod fails during build phase #1470

Open
pranavek opened this issue Jan 8, 2024 · 1 comment
Open

Build pod fails during build phase #1470

pranavek opened this issue Jan 8, 2024 · 1 comment

Comments

@pranavek
Copy link
Contributor

pranavek commented Jan 8, 2024

I have a ClusterStack that refers to Paketo Jammy Base Stack. Intermittently, the build init container is terminated with exit code 51. I can't figure out the root cause as the build container logs doesn't have any error logs, it just says signal: killed. How can I debug the issue? Any help in this regard is highly appreciated.

Logs from the build container - The build ran only for 12 milliseconds
Screenshot 2024-01-08 at 2 48 33 PM

Describe pod output - Terminated with Error 51
kpack_error_51

Kpack: 0.1.2.3
Paketo Jammy Build pod: docker.io/paketobuildpacks/build-jammy-base:0.1.86

@chenbh
Copy link
Contributor

chenbh commented Jan 8, 2024

The CNB spec says that /cnb/lifecycle/builder exits with code 51 if there's a Buildpack build error. What buildpacks are you using (i.e. what does the DETECT phase print out)?

The fact that it's intermittent makes me suspect that there's some network issues that's causing a buildpack to error out. It would be nice if we had a way to turn on debug logs but unfortunately that's not supported right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants