cockroachdb / cockroachdb/cockroach
roachtest: move output of `leaktest.AfterTest` to a separate log file
Open
A-testeng-foundations
C-enhancement
E-quick-win
T-testeng
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
Currently, `leaktest.AfterTest` dumps `allstacks` (to `stderr`) if the goroutines, still running after the test_runner's `runTests` finishes, differ from the initial ones. This can pollute the test output log in CI, especially when running `local_roachtest`, e.g., [1]. The output should be moved into a separate log file, under the artifacts directory.
[1] https://github.com/cockroachdb/cockroach/actions/runs/12953059055/job/36131839124?pr=139743
Jira issue: CRDB-46934
Contributor guide
Assessment
This issue has not been assessed yet.