Skip to content

[BUG] [libcudf] Local Tests Fail Only When Built with PTDS #18455

@JigaoLuo

Description

@JigaoLuo

Describe the bug

I've encountered an issue where local tests execute successfully when built without the PTDS option. However, upon building with PTDS, two local tests fail, and I have the corresponding output. This behavior strongly indicates a bug.

Moreover, I noticed that there's no PTDS-related configuration in the CI. Hence, I believe it's essential to incorporate PTDS builds into the CI process.

Below are the details of two build scenarios based on the latest commit in the 25.06 branch, using a conda-provided virtual environment:

Steps/Code to reproduce bug: Build with PTDS

./build.sh --ptds tests libcudf
ctest --test-dir cpp/build

Then QUANTILES_TEST and DATA_CHUNK_SOURCE_TEST failed:

98% tests passed, 2 tests failed out of 108

Total Test time (real) = 751.07 sec

The following tests FAILED:
  11 - QUANTILES_TEST (Failed)
  37 - DATA_CHUNK_SOURCE_TEST (Failed)
Errors while running CTest
Output from these tests are in: /home/jluo/cudf/cpp/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.

rerun-failed

Then I did ctest --test-dir cpp/build --rerun-failed --output-on-failure and attach the relevant output file here:

PTDS_TEST_OUTPUT.txt

Expected behavior: Build without PTDS

I built the project using the following commands:

./build.sh tests libcudf
ctest --test-dir cpp/build

In this scenario, all local tests passed as expected:

...
107/108 Test #107: STREAM_TRANSPOSE_TEST ............   Passed    6.85 sec
        Start 108: STREAM_UNARY_TEST
108/108 Test #108: STREAM_UNARY_TEST ................   Passed    1.83 sec

100% tests passed, 0 tests failed out of 108

Total Test time (real) = 825.47 sec

Environment overview (please complete the following information)

  • Environment location: Bare-metal
  • Method of cuDF install: from source

(If you're unable to reproduce this bug on your end, please let me know. I'll then show the output of print_env.sh and conduct a more in-depth investigation to determine the root cause of the test failures.)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinglibcudfAffects libcudf (C++/CUDA) code.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions