Multi stage build hangs, continues to consume disk #1675
Labels
area/dockerfile-command
For all bugs related to dockerfile file commands
area/filesystems
For all bugs related to kaniko container filesystems (mounting issues etc)
categorized
cmd/copy
differs-from-docker
issue/hang
issue/no-space-left
issue/rootfs
kind/bug
Something isn't working
possible-dupe
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
works-with-docker
Actual behavior
Executing a multi stage build works with the docker command, but hangs using kaniko. The kaniko command runs for a very long time (more than 30 minutes). The last log output from kaniko is
INFO[0058] Saving file . for later use
The same failure is observed running the kaniko build in either a gitlab-runner or from the Mac OSX command line. When run in the gitlab-runner (running in kubernetes) the build runs for about 8.5 minutes with an error message of
ERROR: Job failed: command terminated with exit code 137
Expected behavior
Kaniko should build the image. It should not take more than about 2 minutes. Building with the docker command using the same context and Dockerfile works OK, and takes between 15 and 30 seconds to run.
To Reproduce
Steps to reproduce the behavior:
Additional Information
Kaniko Image (fully qualified with digest)
Log output from kaniko
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: