roachtest: Save store directories on failure #36640
Labels
A-testing
Testing tools and infrastructure
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
no-issue-activity
X-stale
Occasionally roachtests will fail in a way that is hard to reproduce (Current example: #35986. Past example: #32166). These failures often don't include enough information to tell what's going on; the store directories would be extremely helpful. I think we should tar up all the data directories for failed roachtests and upload them to s3/gce. (with maybe a 1-week expiration)
This will have a cost, but I think it'll be cheaper than the repeated runs we have to do to reproduce rare failures. It might be even better to keep the VMs running for inspection, but that would be much more expensive. I think saving the store directories has the better cost/benefit.
The text was updated successfully, but these errors were encountered: