Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ci/run_compute_sanitizer_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ rapids-logger "Running compute-sanitizer --tool ${TOOL_NAME} on ${TEST_NAME}"

# Set environment variables as per ci/run_cudf_memcheck_ctests.sh
export GTEST_CUDF_RMM_MODE=cuda
# compute-sanitizer bug 4553815
export LIBCUDF_MEMCHECK_ENABLED=1
# Allows tests to know they are in a compute-sanitizer run
export LIBCUDF_${TOOL_NAME^^}_ENABLED=1

# Navigate to test installation directory
TEST_DIR="${CONDA_PREFIX}/bin/gtests/libcudf"
Expand All @@ -77,7 +77,7 @@ EXITCODE=$?

# Clean up environment variables
unset GTEST_CUDF_RMM_MODE
unset LIBCUDF_MEMCHECK_ENABLED
unset LIBCUDF_${TOOL_NAME^^}_ENABLED

rapids-logger "compute-sanitizer --tool ${TOOL_NAME} on ${TEST_NAME} exiting with value: $EXITCODE"
exit $EXITCODE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION.
* SPDX-FileCopyrightText: Copyright (c) 2022-2025, NVIDIA CORPORATION.
* SPDX-License-Identifier: Apache-2.0
*/

Expand All @@ -22,7 +22,7 @@ void test_cudaLaunchKernel()
} catch (std::runtime_error&) {
return;
}
if (getenv("LIBCUDF_MEMCHECK_ENABLED")) { return; }
if (getenv("GTEST_CUDF_STREAM_MODE") == nullptr) { return; }
throw std::runtime_error("No exception raised for kernel on default stream!");
}

Expand Down
9 changes: 9 additions & 0 deletions cpp/tests/io/orc_chunked_reader_test.cu
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,9 @@ struct char_values {

TEST_F(OrcChunkedReaderInputLimitTest, ListType)
{
// this test runs over 3 hours when racecheck is used
if (getenv("LIBCUDF_RACECHECK_ENABLED")) { GTEST_SKIP(); }

int constexpr num_rows = 50'000'000;
int constexpr list_size = 4;

Expand Down Expand Up @@ -1191,6 +1194,9 @@ TEST_F(OrcChunkedReaderInputLimitTest, ListType)

TEST_F(OrcChunkedReaderInputLimitTest, MixedColumnsHavingList)
{
// this test runs over 3 hours when racecheck is used
if (getenv("LIBCUDF_RACECHECK_ENABLED")) { GTEST_SKIP(); }

int constexpr num_rows = 50'000'000;
int constexpr list_size = 4;
int constexpr str_size = 3;
Expand Down Expand Up @@ -1345,6 +1351,9 @@ TEST_F(OrcChunkedReaderInputLimitTest, ReadWithRowSelection)

TEST_F(OrcChunkedReaderInputLimitTest, SizeTypeRowsOverflow)
{
// this test runs over 3 hours when racecheck is used
if (getenv("LIBCUDF_RACECHECK_ENABLED")) { GTEST_SKIP(); }

using data_type = int16_t;
using data_col = cudf::test::fixed_width_column_wrapper<data_type, int64_t>;

Expand Down
3 changes: 3 additions & 0 deletions cpp/tests/io/orc_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2125,6 +2125,9 @@ TEST_F(OrcWriterTest, BounceBufferBug)

TEST_F(OrcReaderTest, SizeTypeRowsOverflow)
{
// this test runs over 1.5 hours when racecheck is used
if (getenv("LIBCUDF_RACECHECK_ENABLED")) { GTEST_SKIP(); }

using cudf::test::iterators::no_nulls;
constexpr auto num_rows = 500'000'000l;
constexpr auto num_reps = 5;
Expand Down
9 changes: 9 additions & 0 deletions cpp/tests/io/parquet_chunked_reader_test.cu
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,9 @@ struct bool_gen {

TEST_F(ParquetChunkedReaderInputLimitTest, List)
{
// this test runs over 1 hour when racecheck is used
if (getenv("LIBCUDF_RACECHECK_ENABLED")) { GTEST_SKIP(); }

auto base_path = temp_env->get_temp_filepath("list");
auto test_filenames = input_limit_get_test_names(base_path);

Expand Down Expand Up @@ -1368,6 +1371,9 @@ struct char_values {

TEST_F(ParquetChunkedReaderInputLimitTest, Mixed)
{
// this test runs over 1 hour when racecheck is used
if (getenv("LIBCUDF_RACECHECK_ENABLED")) { GTEST_SKIP(); }

auto base_path = temp_env->get_temp_filepath("mixed_types");
auto test_filenames = input_limit_get_test_names(base_path);

Expand Down Expand Up @@ -2007,6 +2013,9 @@ TEST_F(ParquetReaderTest, BooleanList)

TEST_F(ParquetReaderTest, ManyLargeLists)
{
// this test runs over 3 hours when racecheck is used
if (getenv("LIBCUDF_RACECHECK_ENABLED")) { GTEST_SKIP(); }

auto const stream = cudf::get_default_stream();

// Generate a large list<bool> column
Expand Down
3 changes: 3 additions & 0 deletions cpp/tests/large_strings/json_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ INSTANTIATE_TEST_SUITE_P(JsonLargeReaderTest,

TEST_P(JsonLargeReaderTest, MultiBatch)
{
// this test runs over 1.5 hours when racecheck is used
if (getenv("LIBCUDF_RACECHECK_ENABLED")) { GTEST_SKIP(); }

cudf::io::compression_type const comptype = GetParam();

std::string json_string = R"(
Expand Down
Loading