From 28b5b6e59e49343496e441ea45a843b4dd8d1bf3 Mon Sep 17 00:00:00 2001 From: Jason Lowe Date: Thu, 17 Aug 2023 20:53:55 -0500 Subject: [PATCH] Add noSanitizer tag to Java reduction tests failing with sanitizer in CUDA 12 (#13904) Relates to NVIDIA/spark-rapids-jni#1349. The Java ReductionTest unit tests are failing when run under CUDA 12's compute-sanitizer but pass when run with the CUDA 11 version. To unblock CI, marking the affected tests to be run without the sanitizer in the interim while this is being investigated. Authors: - Jason Lowe (https://github.com/jlowe) Approvers: - Nghia Truong (https://github.com/ttnghia) - Gera Shegalov (https://github.com/gerashegalov) URL: https://github.com/rapidsai/cudf/pull/13904 --- java/src/test/java/ai/rapids/cudf/ReductionTest.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/java/src/test/java/ai/rapids/cudf/ReductionTest.java b/java/src/test/java/ai/rapids/cudf/ReductionTest.java index cc172204ed3..8cc7df1ce7f 100644 --- a/java/src/test/java/ai/rapids/cudf/ReductionTest.java +++ b/java/src/test/java/ai/rapids/cudf/ReductionTest.java @@ -18,6 +18,7 @@ package ai.rapids.cudf; import com.google.common.collect.Lists; +import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; @@ -430,6 +431,7 @@ private static void assertEqualsDelta(ReductionAggregation op, Scalar expected, } } + @Tag("noSanitizer") @ParameterizedTest @MethodSource("createBooleanParams") void testBoolean(ReductionAggregation op, Boolean[] values, @@ -441,6 +443,7 @@ void testBoolean(ReductionAggregation op, Boolean[] values, } } + @Tag("noSanitizer") @ParameterizedTest @MethodSource("createByteParams") void testByte(ReductionAggregation op, Byte[] values, @@ -452,6 +455,7 @@ void testByte(ReductionAggregation op, Byte[] values, } } + @Tag("noSanitizer") @ParameterizedTest @MethodSource("createShortParams") void testShort(ReductionAggregation op, Short[] values, @@ -474,6 +478,7 @@ void testInt(ReductionAggregation op, Integer[] values, } } + @Tag("noSanitizer") @ParameterizedTest @MethodSource("createLongParams") void testLong(ReductionAggregation op, Long[] values, @@ -496,6 +501,7 @@ void testFloat(ReductionAggregation op, Float[] values, } } + @Tag("noSanitizer") @ParameterizedTest @MethodSource("createDoubleParams") void testDouble(ReductionAggregation op, Double[] values, @@ -507,6 +513,7 @@ void testDouble(ReductionAggregation op, Double[] values, } } + @Tag("noSanitizer") @ParameterizedTest @MethodSource("createTimestampDaysParams") void testTimestampDays(ReductionAggregation op, Integer[] values, @@ -518,6 +525,7 @@ void testTimestampDays(ReductionAggregation op, Integer[] values, } } + @Tag("noSanitizer") @ParameterizedTest @MethodSource("createTimestampSecondsParams") void testTimestampSeconds(ReductionAggregation op, Long[] values, @@ -529,6 +537,7 @@ void testTimestampSeconds(ReductionAggregation op, Long[] values, } } + @Tag("noSanitizer") @ParameterizedTest @MethodSource("createTimestampMilliSecondsParams") void testTimestampMilliseconds(ReductionAggregation op, Long[] values, @@ -540,6 +549,7 @@ void testTimestampMilliseconds(ReductionAggregation op, Long[] values, } } + @Tag("noSanitizer") @ParameterizedTest @MethodSource("createTimestampMicroSecondsParams") void testTimestampMicroseconds(ReductionAggregation op, Long[] values, @@ -551,6 +561,7 @@ void testTimestampMicroseconds(ReductionAggregation op, Long[] values, } } + @Tag("noSanitizer") @ParameterizedTest @MethodSource("createTimestampNanoSecondsParams") void testTimestampNanoseconds(ReductionAggregation op, Long[] values,