Skip to content

fix: stop running tests that exec sh scripts in parallel #11834

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

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Jan 26, 2024

Ok, so my last attempt at a fix here failed

https://github.com/coder/coder/actions/runs/7666229961/job/20893608286

I have a new theory: it's not the terraform binary that's busy, it's actually fake_cancel.sh and it gets marked busy when we exec it from the script we write.

Use of exec also replaces the executing code in place, rather than starting a new process/shell, so that's why the error we get says terraform is busy.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @spikecurtis and the rest of your teammates on Graphite Graphite

@spikecurtis spikecurtis requested a review from johnstcn January 26, 2024 11:43
@spikecurtis spikecurtis marked this pull request as ready for review January 26, 2024 11:43
@spikecurtis spikecurtis merged commit d6baa3c into main Jan 26, 2024
@spikecurtis spikecurtis deleted the spike/test-provision-text-file-busy branch January 26, 2024 15:22
@github-actions github-actions bot locked and limited conversation to collaborators Jan 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants