Framework: fix omitting _asan_ by CTEST_BUILD_NAME#15176
Open
ViNN280801 wants to merge 1 commit intotrilinos:developfrom
Open
Framework: fix omitting _asan_ by CTEST_BUILD_NAME#15176ViNN280801 wants to merge 1 commit intotrilinos:developfrom
ViNN280801 wants to merge 1 commit intotrilinos:developfrom
Conversation
… is set. Also see genconfig_build_name.txt for .*_asan_.* so LSAN_OPTIONS and ctest_memcheck match the GenConfig ASAN build Signed-off-by: ViNN280801 <vladislav.semykin@gmail.com>
|
CDash for AT2 results [Currently only accessible from Sandia networks] Reproducing CI builds locallyCI builds can be reproduced locally in a container. Requirements: Python 3.9+, Podman, CMake Steps:
|
Contributor
|
This is a good catch, I missed that it wasn't running the |
Contributor
Author
|
@sebrowne, got it. I actually have the fix ready on the CMake side. if you point me to the right place in the Python scripts, I can update this PR to do it that way. Otherwise, I'll stand by for your PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@trilinos/framework
Motivation
Proposed fix: treat the build as ASAN for the CTest memcheck branch if either
CTEST_BUILD_NAMEorgenconfig_build_name.txtmatches.*_asan_.*(seectest-stage-test.cmake).Why this can matter:
CTEST_BUILD_NAMEmay followdashboard_build_nameand omit_asan_while GenConfig still selects ASAN (TrilinosPRConfigurationBase.py,pullrequest_build_name). The old test step only checkedCTEST_BUILD_NAME. Then the memcheck branch could be skipped whilegenconfig_build_name.txt(written inctest-cdash-setup.cmakefromGENCONFIG_BUILD_NAME) still reflects an ASAN GenConfig name. The fix reads that file so the two sources cannot disagree silently.References
Analyzing #15171 suggested an idea.
Testing
Testing represented as a simple bash script with copy of cmake snippet from actual changes:
Output: