Skip to content

ci: add ASan job for Android - #2036

Merged
jpnurmi merged 2 commits into
masterfrom
jpnurmi/test/android-sanitizer
Aug 31, 2026
Merged

ci: add ASan job for Android#2036
jpnurmi merged 2 commits into
masterfrom
jpnurmi/test/android-sanitizer

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Adds an Android ASan CI job using API 36 and NDK 30 on x86_64. ASan instruments both pytest binaries and Gradle tests, including the in-process crash paths.

Side note: The build plumbing also supports TSan, but no TSan CI job is enabled yet. On Android, the TSan runtime crashes when threaded tests start with an internal tsan_rtl.cpp:1036 assertion with NDK 27 and a segmentation fault with NDK 30. If/when it works with later versions, adding a TSan job will be a matter of declaring a matrix entry.

Close: #962
Ref: #974

Comment thread scripts/setup-android-sanitizer.sh
@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.32%. Comparing base (00b5467) to head (3d5a693).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2036      +/-   ##
==========================================
+ Coverage   74.29%   74.32%   +0.03%     
==========================================
  Files         104      104              
  Lines       26653    26692      +39     
  Branches     4848     4854       +6     
==========================================
+ Hits        19802    19840      +38     
- Misses       5493     5505      +12     
+ Partials     1358     1347      -11     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jpnurmi
jpnurmi merged commit e76fd1b into master Aug 31, 2026
77 checks passed
@jpnurmi
jpnurmi deleted the jpnurmi/test/android-sanitizer branch August 31, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[#inc-517] Add basic crashing test with asan (HW Asan, GWP-ASan)

2 participants