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

BUG: Tilt Up fails if build cache is used due to failed Docker builds #142

Open
ewilkins-csi opened this issue Jun 12, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@ewilkins-csi
Copy link
Contributor

ewilkins-csi commented Jun 12, 2024

Description

Any time a project with Docker images is built and has a hit in the Maven build cache for any of the Docker modules, project deployment fails because those modules don't have the appropriate files staged in the target directory.

Steps to Reproduce

  1. Create a new project
  2. Add a simple data-delivery pipeline example
  3. Run ./mvnw clean install and follow manual actions
  4. Repeat until there are no more manual actions printed
  5. Deploy the project with tilt up
  6. Note that the builds for project images fail with the following error:
Build Failed: ImageBuild: failed to compute cache key: failed to calculate checksum of ref 2ffefd1f-cac0-4055-b6ea-1eb13255fccc::v8ge44kfavcvmfkbw0mkdxkzd: failed to walk /var/lib/docker/tmp/buildkit-mount1603518359/target: lstat /var/lib/docker/tmp/buildkit-mount1603518359/target: no such file or directory

Expected Behavior

After tilt up, all resources start successfully in the Tilt dashboard.

Actual Behavior

Any resources that deploy project Docker images fail. E.g.:

  • policy-decision-point
  • spark-worker-image

Additional Context

Version: aiSSEMBLE 1.7.0

@ewilkins-csi ewilkins-csi added the bug Something isn't working label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant