Skip to content

cleanup does not seem to be empty #440

@BlackTurtle123

Description

@BlackTurtle123

Actual behavior
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 2
retry in same container (for auto retry in action does not work)
I added the flag to clean up pre build --pre-cleanup=true

Retry 2/3...
Error: error resolving source context: repository already exists

Expected behavior
Image building not failing on retry after pre cleanup

To Reproduce
Steps to reproduce the behavior:

  1. run a build, it fails randomly in between
  2. rerun the build inside the same container (due to retry in automated flow)

Additional Information

  • Kaniko Image (fully qualified with digest)
    v1.26.3-debug: Pulling from kaniko-build/dist/osscontainertools-kaniko/executor

Triage Notes for the Maintainers

Description Yes/No
Please check if this a new feature you are proposing
Please check if the build works in docker but not in kaniko
Please check if this error is seen when you use --cache flag
Please check if your dockerfile is a multistage dockerfile

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