[CI] Disable other unstable tests (#490)

* Disable other unstable tests

* Disable validating test_total_runtime in kernel-tracing

* The disabled tests will be stabilized and re-enabled by ROCm 7.0.1 or ROCm 7.1 

[ROCm/rocprofiler-sdk commit: 69f71b8097]
This commit is contained in:
Madsen, Jonathan
2025-06-30 15:42:38 -05:00
committed by GitHub
parent 839c07c4aa
commit fff7146ab8
2 changed files with 19 additions and 4 deletions
@@ -25,6 +25,12 @@ foreach(_TYPE DEBUG MINSIZEREL RELEASE RELWITHDEBINFO)
endif()
endforeach()
if(ROCPROFILER_DISABLE_UNSTABLE_CTESTS AND ROCPROFILER_MEMCHECK MATCHES "LeakSanitizer")
set(IS_DISABLED ON)
else()
set(IS_DISABLED OFF)
endif()
find_package(rocprofiler-sdk REQUIRED)
add_library(external-correlation-id-request-client SHARED)
@@ -54,6 +60,13 @@ add_test(NAME external-correlation-id-request
set_tests_properties(
external-correlation-id-request
PROPERTIES TIMEOUT 45 LABELS "samples" ENVIRONMENT
"${external-correlation-id-request-env}" FAIL_REGULAR_EXPRESSION
"${ROCPROFILER_DEFAULT_FAIL_REGEX}")
PROPERTIES TIMEOUT
45
LABELS
"samples"
ENVIRONMENT
"${external-correlation-id-request-env}"
FAIL_REGULAR_EXPRESSION
"${ROCPROFILER_DEFAULT_FAIL_REGEX}"
DISABLED
"${IS_DISABLED}")
@@ -11,7 +11,9 @@ project(
find_package(rocprofiler-sdk REQUIRED)
set(PYTEST_ARGS)
if(ROCPROFILER_MEMCHECK MATCHES "(Address|Thread)Sanitizer" OR ROCPROFILER_BUILD_CODECOV)
if(ROCPROFILER_MEMCHECK MATCHES "(Address|Thread|UndefinedBehavior)Sanitizer"
OR ROCPROFILER_BUILD_CODECOV
OR ROCPROFILER_DISABLE_UNSTABLE_CTESTS)
set(PYTEST_ARGS -k "not test_total_runtime")
endif()