Skip to content

fix(cuda.core): xfail cuda-gdb test when GPU debugging is unavailable - #2707

Open
lijinf2 wants to merge 1 commit into
NVIDIA:mainfrom
lijinf2:fix-2693-cuda-gdb-no-debugger-backend
Open

fix(cuda.core): xfail cuda-gdb test when GPU debugging is unavailable#2707
lijinf2 wants to merge 1 commit into
NVIDIA:mainfrom
lijinf2:fix-2693-cuda-gdb-no-debugger-backend

Conversation

@lijinf2

@lijinf2 lijinf2 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

A nightly test machine has cuda-gdb but no libcudadebugger.so.1, so break_on_launch never fires and list has no device frame showing the NVRTC temp .cu.

Description

closes #2693
test_cuda_gdb_shows_nvrtc_debug_source_lines, added in #2679, fails on the a nightly machine. cuda-gdb is on PATH so the existing guard passes, but the debugger back-end is missing:

[Inferior 1 (process 718707) exited normally]
Could not find CUDA Debugger back-end (libcudadebugger.so.1). Debugging is not possible

This widens the guard to recognize Debugging is not possible and reports xfail instead of skip.

Not a regression in #2679: the three test_nvrtc_debug_* tests pass in the same run, so source materialization works on that board.

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

A nightly test machine has cuda-gdb but no libcudadebugger.so.1, so break_on_launch never
fires and `list` has no device frame showing the NVRTC temp .cu.

Closes NVIDIA#2693
@copy-pr-bot

copy-pr-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@lijinf2 lijinf2 self-assigned this Aug 27, 2026
@github-actions github-actions Bot added the cuda.core Everything related to the cuda.core module label Aug 27, 2026
@lijinf2 lijinf2 added the bug Something isn't working label Aug 27, 2026
@lijinf2 lijinf2 added this to the cuda.core 1.2.0 milestone Aug 27, 2026
@lijinf2

lijinf2 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test a66e275

@github-actions

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cuda.core Everything related to the cuda.core module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

L4T Orin test_program.py::test_cuda_gdb_shows_nvrtc_debug_source_lines failures

1 participant