Skip to content

gh-117657: Log TSAN warnings to separate files and archive them#118747

Merged
colesbury merged 5 commits intopython:mainfrom
mpage:gh-117657-tsan-log-to-file
May 10, 2024
Merged

gh-117657: Log TSAN warnings to separate files and archive them#118747
colesbury merged 5 commits intopython:mainfrom
mpage:gh-117657-tsan-log-to-file

Conversation

@mpage
Copy link
Copy Markdown
Contributor

@mpage mpage commented May 7, 2024

This ensures we don't lose races that occur in subprocesses or interleave races from workers running in parallel.

Log files are collected and packaged into a zipfile than can be downloaded from the "Artifacts" section of the workflow run (example).

The handle_segv=0 change to the TSAN options is necessary to avoid logs like this in default builds. I don't know what's causing this, but our ASAN builds also set the option.

The additional thread leak suppression was also required.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants