Skip a UVM-Heavy Test Under Compute Sanitizer - #1400
Merged
Conversation
Contributor
Andy-Jost
marked this pull request as draft
December 17, 2025 20:02
Contributor
Author
|
/ok to test ec93c1249ec517b2c42648d9c03db0959a2eb2a9 |
This comment has been minimized.
This comment has been minimized.
Andy-Jost
force-pushed
the
disable-tests-for-release
branch
2 times, most recently
from
December 17, 2025 21:58
ce6b1b5 to
e3183ab
Compare
Contributor
Author
|
/ok to test e3183abb9dc0403ac63e9d868178c50b1ef8cfd8 |
Contributor
Author
|
/ok to test cb86bd13917a38ad4b0cd3d0801644a9fd712fab |
Contributor
Author
|
/ok to test 8823fccecc33aa5c1517a8f19afba18ff0eef6e3 |
- Add --durations=0 to CI pytest invocations to report per-test timings. - Add cuda_python_test_helpers.under_compute_sanitizer() and use it to skip the UVM-heavy PatternGen seed test under compute-sanitizer.
Andy-Jost
force-pushed
the
disable-tests-for-release
branch
from
December 17, 2025 23:42
8823fcc to
cbe5b2d
Compare
Contributor
Author
|
/ok to test cbe5b2d |
Andy-Jost
commented
Dec 17, 2025
| @@ -32,7 +32,7 @@ if [[ "${test_module}" == "pathfinder" ]]; then | |||
| echo "Running pathfinder tests with " \ | |||
| "LD:${CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS} " \ | |||
| "FH:${CUDA_PATHFINDER_TEST_FIND_NVIDIA_HEADERS_STRICTNESS}" | |||
| pytest -ra -s -v tests/ |& tee /tmp/pathfinder_test_log.txt | |||
| pytest -ra -s -v --durations=0 tests/ |& tee /tmp/pathfinder_test_log.txt | |||
Contributor
Author
There was a problem hiding this comment.
It seems reasonable to report test times so that these issues are easier to debug in the future.
Andy-Jost
marked this pull request as ready for review
December 17, 2025 23:46
Contributor
Author
|
CI confirms the fix. This test was taking >20min: CI / Test linux-64 / py3.12, 12.9.1, local, l4 (push)Successful in 6m |
Contributor
Author
|
Longest durations now reported in the test logs: |
leofang
approved these changes
Dec 18, 2025
leofang
enabled auto-merge (squash)
December 18, 2025 00:11
|
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.
Summary
Adjust CI to improve debuggability of long-running tests.
Changes
--durations=0to CIpytestinvocations so logs report per-test timings.cuda_core/tests/test_helpers.py::test_patterngen_seedswhen running under compute-sanitizer (detected viacuda_python_test_helpers.under_compute_sanitizer()), since this test can become extremely slow under sanitizer/UVM-heavy behavior.Rationale
test_patterngen_seedsperforms many syncs and host/device-visible memory comparisons; under compute-sanitizer this can balloon to very long runtimes in some CI environments. Skipping it under sanitizer keeps the CI signal while avoiding hour-scale jobs.Test plan