-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
roachtest: read from cache when checking for preemption #122018
roachtest: read from cache when checking for preemption #122018
Conversation
Did a quick test to make sure preemptions continue to work in this branch: link. |
Previously, the check for VM preemptions after test failure would perform a `Sync` operation, making API calls to GCE in order to find clusters. However, that shouldn't be necessary -- roachtest itself created the cluster, so the cluster data should exist in the cache. This commit also adds more debug information when the cluster cannot be found (a list of existing clusters). While this shouldn't happen in practice in regular runs, we have seen it fail in the past. Fixes: cockroachdb#121488 Release note: None
bd26a48
to
2743138
Compare
TFTR! bors r=srosenberg |
Build failed: |
bors retry |
blathers backport 24.1 |
blathers backport 23.2 |
Encountered an error creating backports. Some common things that can go wrong:
You might need to create your backport manually using the backport tool. error creating merge commit from 2743138 to blathers/backport-release-23.2-122018: POST https://api.github.com/repos/cockroachdb/cockroach/merges: 409 Merge conflict [] you may need to manually resolve merge conflicts with the backport tool. Backport to branch 23.2 failed. See errors above. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
Previously, the check for VM preemptions after test failure would perform a
Sync
operation, making API calls to GCE in order to find clusters. However, that shouldn't be necessary -- roachtest itself created the cluster, so the cluster data should exist in the cache.This commit also adds more debug information when the cluster cannot be found (a list of existing clusters). While this shouldn't happen in practice in regular runs, we have seen it fail in the past.
Fixes: #121488
Release note: None