-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[CI] Enable ASAN build properly #22943
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
2a0a2fa
a20a179
1557aee
61a05f3
11d503f
112e918
9fe881a
6442c1c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| CMAKE_BUILD_TYPE=RelWithDebInfo | ||
| asan=ON | ||
| ccache=ON | ||
| builtin_civetweb=ON | ||
| builtin_vdt=ON | ||
| ccache=ON | ||
| fail-on-missing=ON | ||
| minimal=ON | ||
| roottest=ON | ||
| testing=ON | ||
| LSAN_OPTIONS=verbosity=1:log_threads=1 | ||
| ROOT_CTEST_CUSTOM_FLAGS="-E \(gtest-core-metacling-TClingTest$\|roottest-cling-specialobj-runf02$\|roottest-root-collection-DeleteWarning$\|roottest-root-io-evolution-fixarr2$\|roottest-root-meta-rlibmap$\|roottest-root-tree-cloning-runtreeCloneTest2$\|roottest-root-treeproxy-vectorint-vectorint$\)" |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -158,7 +158,7 @@ | |
| INCREMENTAL: ${{ !contains(github.event.pull_request.labels.*.name, 'clean build') && !matrix.platform == 'mac15' && !matrix.platform == 'mac26'}} | ||
| GITHUB_PR_ORIGIN: ${{ github.event.pull_request.head.repo.clone_url }} | ||
| OVERRIDES: ${{ join( matrix.overrides, ' ') }} | ||
| run: | | ||
|
Check failure on line 161 in .github/workflows/root-ci.yml
|
||
| [ -d "${VIRTUAL_ENV_DIR}" ] && source ${VIRTUAL_ENV_DIR}/bin/activate | ||
| echo "Python is now $(which python3) $(python3 --version)" | ||
| src/.github/workflows/root-ci-config/build_root.py \ | ||
|
|
@@ -312,7 +312,7 @@ | |
| INCREMENTAL: ${{ !contains(github.event.pull_request.labels.*.name, 'clean build') }} | ||
| GITHUB_PR_ORIGIN: ${{ github.event.pull_request.head.repo.clone_url }} | ||
| shell: cmd | ||
| run: "C:\\setenv.bat ${{ matrix.target_arch }} && | ||
|
Check failure on line 315 in .github/workflows/root-ci.yml
|
||
| python .github/workflows/root-ci-config/build_root.py | ||
| --buildtype ${{ matrix.config }} | ||
| --platform windows10 | ||
|
|
@@ -442,10 +442,10 @@ | |
| overrides: ["CMAKE_CXX_STANDARD=20"] | ||
| # Asan build | ||
| - image: alma10 | ||
| platform_config: alma10-minimal | ||
| platform_config: alma10-asan | ||
| is_special: true | ||
| property: "asan" | ||
| overrides: ["ROOT_CTEST_CUSTOM_FLAGS=-E@\\(^tutorial-\\|cppinterop-CppInterOpTest\\|roottest-cling-specialobj-runf02$\\|roottest-root-collection-DeleteWarning$\\|roottest-root-io-evolution-fixarr2$\\|roottest-root-meta-rlibmap$\\|roottest-root-treeproxy-vectorint-vectorint$\\)"] | ||
| overrides: ["ROOT_CTEST_CUSTOM_FLAGS=-E@\\(^tutorial-\\|gtest-core-metacling-TClingTest$\\|roottest-cling-specialobj-runf02$\\|roottest-root-collection-DeleteWarning$\\|roottest-root-io-evolution-fixarr2$\\|roottest-root-meta-rlibmap$\\|roottest-root-tree-cloning-runtreeCloneTest2$\\|roottest-root-treeproxy-vectorint-vectorint$\\)"] | ||
| # Fedora Rawhide with Python freethreading+debug build | ||
| - image: rawhide | ||
| python_venv: "/py-venv-3.15td/ROOT-CI" | ||
|
|
@@ -479,7 +479,7 @@ | |
| - self-hosted | ||
| - linux | ||
| - ${{ matrix.architecture == null && 'x64' || matrix.architecture }} | ||
| - ${{ matrix.extra-runs-on == null && 'cpu' || matrix.extra-runs-on }} | ||
|
Check failure on line 482 in .github/workflows/root-ci.yml
|
||
|
|
||
| name: | | ||
| ${{ matrix.image }} ${{ matrix.property }} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not clear from the succinct commit message whether the change of behavior here is intended or not. Previously (if I remember/read correctly) the err log file was kept in case of error behavior (thus allowing it to be reviewed if need be) while in the new behavior it seems to always be removed. Was that the intent? If it is, did we check there is no useful information being lost?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the fact that
stderrfileis set to/dev/nullexcept on Windows, I interpreted the code's intention as a "we must get rid of this temp file if we created it" rather than a conditionally-kept error log (if it was generally an err log to be kept, why only on Windows?), but I might have been wrong.But in that case, why do we only keep it in that very specific case?