teamcity: improve UX of diagnosing package timeouts #107339
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
quality-friday
A good issue to work on on Quality Friday
T-dev-inf
This is what it takes today:
diagnosing-package-timeout-smaller.mov
I can't imagine many people can do this sequence of clicks. I've had to do it quite a few times over the last couple of days. It keeps coming up. How can we improve the UX around package timeouts? Problems I see:
log.Scope
orleaktest
to callt.Logf("test has been running for X minutes")
for each minute test has been running. This helps distinguish two kinds of problems (test timeout too short for how long the tests in the pkg shard take in aggregate vs single test gets stuck/is verrrry slow). Not distinguishing them can lead to filing issues against tests that are not to blame.FAIL:
, can we somehow make the shard available in each test output? If it's in the env we could justt.Logf("shard: %d", ...)
from leaktest or log.Scope to capture most tests.Jira issue: CRDB-29997
The text was updated successfully, but these errors were encountered: