You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual behavior
We are trying to build container images in Jenkins. At this point we are using Docker and evaluating kaniko. During a particular build, we are seeing errors like this:
error building image: error building stage: failed to get filesystem from image: mkdir /lib64: file exists
At some other time, the error is:
error building image: error building stage: failed to get filesystem from image: mkdir /lib: file exists
Another time the error was:
�[37mTRAC�[0m[0001] Creating file /lib/x86_64-linux-gnu/libc-2.28.so
error building image: error building stage: failed to get filesystem from image: chown /lib/x86_64-linux-gnu/libc-2.28.so: no such file or directory
And in another point the error was:
error building image: error building stage: failed to get filesystem from image: chown /bin/tar: no such file or directory
The errors are different at different times and therefore it is very difficult to troubleshoot/pinpoint what is happening.
The builds on Docker go through just fine.
To test whether the behavior is with Jenkins (and NOT kaniko), we tried to build the image locally (in my workstation) and it succeeded.
So this leads me to believe that there is some sort of "issues" in our CI system (Jenkins) that is causing the builds to fail. But the question is why different errors at different times. And to top it all, at one point, the build even went through just fine. But it's somewhat unreliable/erratic behavior.
Apparently this file exists error was fixed as part of this #1469 but somehow (not sure if this is same) the error is still there.
Expected behavior
Either the build will succeed OR the build will fail consistently with same error
To Reproduce
Steps to reproduce the behavior:
Not sure whether this can be very easily reproduced, we are running kOps on AWS spot instances. Jenkins version is 2.440.1.
Kubernetes plugin is 4199.va_1647c280eb_2.
Kaniko image is gcr.io/kaniko-project/executor:v1.22.0-debug.
Actual behavior
We are trying to build container images in Jenkins. At this point we are using Docker and evaluating kaniko. During a particular build, we are seeing errors like this:
At some other time, the error is:
Another time the error was:
And in another point the error was:
The errors are different at different times and therefore it is very difficult to troubleshoot/pinpoint what is happening.
The builds on Docker go through just fine.
To test whether the behavior is with Jenkins (and NOT kaniko), we tried to build the image locally (in my workstation) and it succeeded.
So this leads me to believe that there is some sort of "issues" in our CI system (Jenkins) that is causing the builds to fail. But the question is why different errors at different times. And to top it all, at one point, the build even went through just fine. But it's somewhat unreliable/erratic behavior.
Apparently this
file exists
error was fixed as part of this #1469 but somehow (not sure if this is same) the error is still there.Expected behavior
Either the build will succeed OR the build will fail consistently with same error
To Reproduce
Steps to reproduce the behavior:
gcr.io/kaniko-project/executor:v1.22.0-debug
.kaniko-executor
command is:Additional Information
It fails even before COPY commands can be run
image: gcr.io/kaniko-project/executor:v1.22.0-debug
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: