-
Notifications
You must be signed in to change notification settings - Fork 15
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
bugfix: separate images in acceptance tests #170
Conversation
Use separate images for instance and image acceptance tests, since they run concurrently and potentially lead to race conditions otherwise. Signed-off-by: Lucas Bremgartner <[email protected]>
|
If we decide to go with the "non-parallel" option for the acceptance tests, I think our
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The acceptance test take anyway a certain amount of time. Fo if we can stabilize the flakiness with that approach then I am happy to try it out :)! |
I don't think I want this fix as it's not a fix so much as a workaround. Incus should be able to handle many instances and/or images copies happening at the same time, if this leads to errors, then we need to make sure that our image download locking logic is corrected there. |
What would be good is to get a reliable reproducer for this against Incus so we can then track it down on the Incus side and fix it. |
I managed to reproduce something similar to this issue |
Use separate images for instance and image acceptance tests, since they run concurrently and potentially lead to race conditions otherwise.
Quote from https://pkg.go.dev/cmd/go/internal/test:
This PR is an attempt to make the acceptance tests in CI more stable and reliable.