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

Tasks on helm modules conflict with tmpcharts directory #3035

Closed
jondeandres opened this issue Jul 6, 2022 · 5 comments
Closed

Tasks on helm modules conflict with tmpcharts directory #3035

jondeandres opened this issue Jul 6, 2022 · 5 comments

Comments

@jondeandres
Copy link

Bug

Current Behavior

When running tests with task dependencies defined in helm modules both tasks are executed in parallel but they fight for the tmpcharts directory. The result is that one of the task might not see the the chart dependencies downloaded in that directory:

Error: could not download https://charts.bitnami.com/bitnami/common-1.16.0.tgz: open /builds/uniphore/cloud/platform-streamer/.garden/build/platform-streamer-kafka/kafka/tmpcharts/common-1.16.0.tgz191626884: no such file or directory
Here's the full output:
Getting updates for unmanaged Helm repositories...
...Successfully got an update from the "https://charts.bitnami.com/bitnami" chart repository
...Successfully got an update from the "https://charts.bitnami.com/bitnami" chart repository
Saving 2 charts
Downloading zookeeper from repo https://charts.bitnami.com/bitnami
Downloading common from repo https://charts.bitnami.com/bitnami
Save error occurred:  could not download https://charts.bitnami.com/bitnami/common-1.16.0.tgz: open /builds/uniphore/cloud/platform-streamer/.garden/build/platform-streamer-kafka/kafka/tmpcharts/common-1.16.0.tgz191626884: no such file or directory
Error: could not download https://charts.bitnami.com/bitnami/common-1.16.0.tgz: open /builds/uniphore/cloud/platform-streamer/.garden/build/platform-streamer-kafka/kafka/tmpcharts/common-1.16.0.tgz191626884: no such file or directory

Expected behavior

Multiple tasks can run in parallel without conflicting with their own cleanup

Workaround

Make one task depend on the other so they run sequentially.

@thsig
Copy link
Collaborator

thsig commented Jul 7, 2022

Thanks for reporting this! We'll have a look.

@stale
Copy link

stale bot commented Oct 16, 2022

This issue has been automatically marked as stale because it hasn't had any activity in 90 days. It will be closed in 14 days if no further activity occurs (e.g. changing labels, comments, commits, etc.). Please feel free to tag a maintainer and ask them to remove the label if you think it doesn't apply. Thank you for submitting this issue and helping make Garden a better product!

@stale stale bot added the stale Label that's automatically set by stalebot. Stale issues get closed after 14 days of inactivity. label Oct 16, 2022
@vvagaytsev vvagaytsev added provider/helm and removed stale Label that's automatically set by stalebot. Stale issues get closed after 14 days of inactivity. labels Oct 20, 2022
@stale
Copy link

stale bot commented May 22, 2023

This issue has been automatically marked as stale because it hasn't had any activity in 90 days. It will be closed in 14 days if no further activity occurs (e.g. changing labels, comments, commits, etc.). Please feel free to tag a maintainer and ask them to remove the label if you think it doesn't apply. Thank you for submitting this issue and helping make Garden a better product!

@Orzelius Orzelius removed their assignment Jun 5, 2023
@vvagaytsev vvagaytsev added the bug label Jul 6, 2023
@vvagaytsev vvagaytsev moved this to Candidate in Core Weekly Jul 6, 2023
@vvagaytsev vvagaytsev removed this from Core Weekly Aug 17, 2023
@vvagaytsev
Copy link
Collaborator

@jondeandres is this still an issue?

@10ko
Copy link
Member

10ko commented Jan 31, 2024

This appears to be a Helm upstream issue, closing this for now.

@10ko 10ko closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants