Skip to content

test: document tests skipped in every CI configuration - #3486

Merged
jpascucci-nv merged 1 commit into
NVIDIA:mainfrom
jpascucci-nv:issue2077
Nov 23, 2026
Merged

jpascucci-nv merged 1 commit into
NVIDIA:mainfrom
jpascucci-nv:issue2077

Conversation

@jpascucci-nv

Copy link
Copy Markdown
Contributor

Description

refs #2077

Add CI coverage comments for all 148 skipped test cases reported in issue #2077. Identify affected parameter values where other cases run in CI, and annotate applicable CUDA 12 counterparts.

Comments only; test behavior is unchanged.

Validation: verified all reported cases are annotated, executable code is unchanged, and git diff --check passes.

Checklist

  • I have read the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

refs NVIDIA#2077

Add CI coverage comments for all 148 skipped test cases reported in
issue NVIDIA#2077. Identify affected parameter values where other cases run
in CI, and annotate applicable CUDA 12 counterparts.

Comments only; test behavior is unchanged.

Validation: verified all reported cases are annotated, executable code
is unchanged, and git diff --check passes.
@jpascucci-nv jpascucci-nv added this to the cuda.core 1.4.0 milestone Nov 17, 2026
@jpascucci-nv
jpascucci-nv requested a review from mdboom November 17, 2026 21:39
@jpascucci-nv jpascucci-nv self-assigned this Nov 17, 2026
@jpascucci-nv jpascucci-nv added P1 Medium priority - Should do test Improvements or additions to tests cuda.core Everything related to the cuda.core module labels Nov 17, 2026
@github-actions github-actions Bot added cuda.bindings Everything related to the cuda.bindings module cuda.pathfinder Everything related to the cuda.pathfinder module labels Nov 17, 2026
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Explain Change →

Summary

Summary by CodeRabbit

  • Documentation
    • Added notes clarifying which tests and test cases are not currently run in CI. No test behavior or functionality changed.

Comments were added across CUDA bindings, cuda_core, and cuda_pathfinder tests to identify tests or parameter cases that are not currently run in CI. Test logic and executable behavior remain unchanged.

Changes: CI Test Coverage Annotations

Layer / File(s) Summary
Annotate tests not run in CI
cuda_bindings_12/tests/*, cuda_bindings_13/tests/*, cuda_core/tests/*, cuda_pathfinder/tests/*
Comments identify tests or parameter cases that are not currently run in CI. Some comments also identify relevant sample keys or parameter values.

Possibly related issues

  • Issue 2077: The PR adds CI-status comments to the listed skipped test cases, as requested by the issue.

Suggested reviewers: rwgk

Change: Other

Merge Risk: Low · up to d36a5

This PR adds comments only, so test behavior is unchanged. At least one comment, on the example sample tests, wrongly says the test is not run in CI, which could mislead maintainers about coverage. Correct that comment before merging; the rest of the change is low risk.

Security architecture risk: Minimal · up to d36a5

The PR documents CI coverage in existing tests without changing how tests or production code execute. No introduced or worsened architecture-level security risk is established.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between ad38141 and d36a5bb.

Files selected for processing: 34

  • cuda_bindings_12/tests/nvml/test_device.py
  • cuda_bindings_12/tests/nvml/test_pynvml.py
  • cuda_bindings_12/tests/test_graphics_apis.py
  • cuda_bindings_13/tests/legacy_api/test_legacy_cuda.py
  • cuda_bindings_13/tests/nvml/test_device.py
  • cuda_bindings_13/tests/nvml/test_pci.py
  • cuda_bindings_13/tests/nvml/test_pynvml.py
  • cuda_bindings_13/tests/nvml/test_unit.py
  • cuda_bindings_13/tests/test_cuda.py
  • cuda_bindings_13/tests/test_graphics_apis.py
  • cuda_bindings_13/tests/test_utils.py
  • cuda_core/tests/example_tests/test_sample_environment.py
  • cuda_core/tests/example_tests/test_samples.py
  • cuda_core/tests/graph/test_graph_definition.py
  • cuda_core/tests/graph/test_graph_node_update.py
  • cuda_core/tests/memory/test_managed_ops.py
  • cuda_core/tests/memory_ipc/test_errors.py
  • cuda_core/tests/memory_ipc/test_leaks.py
  • cuda_core/tests/memory_ipc/test_send_buffers.py
  • cuda_core/tests/memory_ipc/test_vmm_fabric.py
  • cuda_core/tests/memory_ipc/test_workerpool.py
  • cuda_core/tests/system/test_system_device.py
  • cuda_core/tests/test_checkpoint.py
  • cuda_core/tests/test_linker.py
  • cuda_core/tests/test_managed_memory_warning.py
  • cuda_core/tests/test_memory.py
  • cuda_core/tests/test_memory_peer_access.py
  • cuda_core/tests/test_module.py
  • cuda_core/tests/test_object_protocols.py
  • cuda_core/tests/test_program.py
  • cuda_core/tests/test_tensor_map.py
  • cuda_core/tests/test_utils.py
  • cuda_pathfinder/tests/test_driver_lib_loading.py
  • cuda_pathfinder/tests/test_load_nvidia_dynamic_lib.py

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor
Doc Preview CI
Preview removed because the pull request was closed or merged.

@mdboom mdboom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jpascucci-nv
jpascucci-nv merged commit 8784978 into NVIDIA:main Nov 23, 2026
224 of 226 checks passed
github-actions Bot pushed a commit that referenced this pull request Nov 24, 2026
Removed preview folders for the following PRs:
- PR #3486
- PR #3513
- PR #3523
- PR #3531
- PR #3536
- PR #3542
mdboom added a commit that referenced this pull request Nov 25, 2026
…3590)

toolshed/find_skipped_tests.py misread pytest output, so the skip list
that the "not currently run in any CI job" markers (#3486) came from
included tests that do run in CI:

- node ids containing spaces were truncated, and their PASSED lines
  were dropped;
- pytest-run-parallel ("PARALLEL PASSED") and interleaved free-threaded
  output was not recognized;
- results from both bindings roots were filed under cuda_bindings_13, so
  a test passing in one root hid the same test never running in the other;
- the nightly run could be a manual dispatch, and jobs where pytest never
  started were not reported.

Attribute results to the package of the pytest session's rootdir, accept
the output shapes CI actually produces, ignore third-party suites and
[NOTSET] ids, read only scheduled nightly runs, and warn about jobs where
pytest never ran. Return job logs directly instead of round-tripping them
through temporary files.

Remove the markers on tests that run in at least one CI configuration.
Keep test_always_skip in cuda_bindings_13/tests/test_cuda.py as the tool's
canary, and delete the unused copy in legacy_api.

Closes #3562

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda.bindings Everything related to the cuda.bindings module cuda.core Everything related to the cuda.core module cuda.pathfinder Everything related to the cuda.pathfinder module P1 Medium priority - Should do test Improvements or additions to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants