Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-112536: Add TSAN builds on Github Actions#116872

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
pitrou merged 28 commits intopython:mainfromcorona10:gh-112536-ci
Mar 16, 2024
Merged
Changes from1 commit
Commits
Show all changes
28 commits
Select commitHold shift + click to select a range
34cd372
gh-112536: Setting up TSAN test at Github Action
corona10Mar 15, 2024
8f789df
Apply TSAN to the default build too
corona10Mar 15, 2024
432c3a2
Update
corona10Mar 15, 2024
7c04959
Use gcc 11 to resolve compiler issue
corona10Mar 15, 2024
4d271cb
Remove test_logging from the TSAN test for the temporary
corona10Mar 15, 2024
853ea8c
Test --with-pydebug
corona10Mar 15, 2024
43135d4
Use Ubuntu 22.04
corona10Mar 15, 2024
7304fca
Use --disable-ipv6 sigh..
corona10Mar 15, 2024
37d048d
revert --with-pydebug
corona10Mar 15, 2024
b05c9f7
Use clang
corona10Mar 15, 2024
7e373ee
Reduce ASLR to avoid TSAN crashing
corona10Mar 15, 2024
920d8b4
Rebirth test_logging
corona10Mar 15, 2024
73cbf74
Add --with-pydebug
corona10Mar 15, 2024
0ff8212
Update Tools/tsan/supressions.txt
corona10Mar 15, 2024
c6dfb25
Add ccache
corona10Mar 15, 2024
e2e90ee
Address code review
corona10Mar 16, 2024
2d29262
Don't use sem_clockwait with TSAN
corona10Mar 16, 2024
e2265a5
Skip tests from test_threading and test_concurrent_futures
corona10Mar 16, 2024
414c0e9
Revert Tools/tsan/supressions.txt changes
corona10Mar 16, 2024
71dc4aa
Add skip_if_tsan
corona10Mar 16, 2024
f399bd2
nit
corona10Mar 16, 2024
ec743ff
Use reusable workflow
corona10Mar 16, 2024
e99087f
nit
corona10Mar 16, 2024
8bfee01
Rename to .github/workflows/reusable-tsan.yml
corona10Mar 16, 2024
8577792
fix
corona10Mar 16, 2024
f9c6e56
fix
corona10Mar 16, 2024
d9afff0
Fix
corona10Mar 16, 2024
e88086f
nit
corona10Mar 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
NextNext commit
gh-112536: Setting up TSAN test at Github Action
  • Loading branch information
@corona10
corona10 committedMar 15, 2024
commit34cd3729a95bfd9f9de689db9d19f66a3369e4ce
27 changes: 27 additions & 0 deletions.github/workflows/build.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -484,6 +484,31 @@ jobs:
- name: Tests
run: xvfb-run make test

build_tsan_free_threading:
name: 'Thread sanitizer (free-threading)'
runs-on: ubuntu-20.04
timeout-minutes: 60
needs: check_source
if: needs.check_source.outputs.run_tests == 'true'
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: sudo ./.github/workflows/posix-deps-apt.sh
- name: Set up GCC-10 for TSAN
uses: egor-tensin/setup-gcc@v1
with:
version: 10
- name: TSAN Option Setup
run: echo "TSAN_OPTIONS=suppressions=${GITHUB_WORKSPACE}/Tools/tsan/supressions.txt" >> $GITHUB_ENV
- name: Configure CPython
run: ./configure --disable-gil --with-thread-sanitizer --disable-ipv6
- name: Build CPython
run: make -j4
- name: Display build info
run: make pythoninfo
- name: Tests
run: ./python -m test --tsan -j4

# CIFuzz job based on https://google.github.io/oss-fuzz/getting-started/continuous-integration/
cifuzz:
name: CIFuzz
Expand DownExpand Up@@ -542,6 +567,7 @@ jobs:
- build_windows_free_threading
- test_hypothesis
- build_asan
- build_tsan_free_threading
- cifuzz

runs-on: ubuntu-latest
Expand DownExpand Up@@ -575,6 +601,7 @@ jobs:
build_windows,
build_windows_free_threading,
build_asan,
build_tsan_free_threading,
'
|| ''
}}
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp