test(cuda.bindings): port the cuFile filesystem check fix (#1271) to cuda_bindings_12
Mantenedores costumam responder em até 1 dia
@mdboom já está trabalhando nisso.
Desde 25/11/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
Part of #2077.
Problem
Ten cuFile tests in cuda_bindings_12/tests/test_cufile.py never run in CI:
test_handle_registertest_cufile_read_writetest_cufile_read_write_host_memorytest_cufile_read_write_largetest_cufile_read_asynctest_cufile_write_asynctest_cufile_async_read_writetest_batch_io_basictest_batch_io_canceltest_batch_io_large_operations
On all 12 Linux CUDA 12 configurations they skip with "cuFile handle_register requires ext4 or xfs filesystem". The cuda_bindings_13 copies pass on 20 Linux configurations.
The cause is a bug in isSupportedFilesystem() that was fixed only in the CUDA 13 root:
- CUDA 12 reads
/proc/mountsand returns the filesystem type of the first entry whose mount point is a string prefix of the current directory./is a prefix of every path, so inside a CI container the check sees the overlay root filesystem and reports "unsupported". - CUDA 13 asks
findmnt -no FSTYPE -T <cwd>instead, so the kernel resolves the mount that actually contains the directory. That fix is #1271 (2025-12-03). The CUDA 12 tests were imported from the 12.9.x maintenance source in #3172 (2026-10-21) without it.
These tests have no "not currently run in any CI job" marker: until #3590 fixed toolshed/find_skipped_tests.py, CUDA 12 results were filed under cuda_bindings_13, where these tests pass.
Fix
Port the findmnt-based isSupportedFilesystem() from cuda_bindings_13/tests/test_cufile.py to cuda_bindings_12/tests/test_cufile.py, following the cross-root procedure in CONTRIBUTING.md ("Transferring fixes between bindings roots"). The two files have diverged in other ways too, so port only this fix. Then check whether the tests pass once they actually run on the CUDA 12 rows, and fix anything that surfaces.
Done when
The ten tests pass on the Linux CUDA 12 configurations.
Guidance for PRs that address this issue
- When making a fix that allows a test to run in CI, remove the comment about the test not running in CI from the code.
- When making a test run only in nightly CI, we need to concretely confirm that in nightly CI. Include instructions in the PR about how to kick off a nightly run for the specific PR in order to test that (see below).
- For every PR note that the reviewer should feel free to push commits directly to the PR to improve things. @mdboom does not have the bandwidth to shepard each of them through.
- Every PR should include a way to confirm automatically that the tests are now running in at least one CI configuration.
Running the nightly test suites for a PR
The nightly workflow can test a PR's own wheels and tests, but it has to be started by hand. Starting it needs write access to NVIDIA/cuda-python, so ask a maintainer if you don't have it.
-
Wait for the PR's CI workflow run to finish successfully, and note its run ID, the number in its URL (
.../actions/runs/<run-id>). -
Start CI: Nightly optional-deps on the PR's mirror branch, with that run ID. Either:
-
In the GitHub UI: Actions → CI: Nightly optional-deps → Run workflow. Set Use workflow from to
pull-request/<PR number>, enter the run ID in the run-ID field, and leave the link-checker-only box unchecked. -
From the command line:
gh workflow run ci-nightly.yml --repo NVIDIA/cuda-python --ref pull-request/<PR number> -f run-id=<run-id>
Supply the run ID. Without it, the nightly run tests
main's latest wheels and tests, not the PR's. -
-
Link the nightly run in the PR. Then confirm that the affected tests ran and passed, rather than skipped, in the relevant nightly jobs.
The nightly run tests the commit of that CI run. Repeat these steps after pushing changes that affect the nightly-only tests.
- Linguagem predominante
- Cython
- Estrelas
- 3.4k
- Forks
- 353
- Merge médio
- 2d 3h
- PRs com merge (30d)
- 163
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de NVIDIA/cuda-python
-
[BUG]: the `__cuda_stream__` deprecation warning points to `Stream(obj)`, which always raisesTalvez já em andamento @Iamsohungrynow assumiu há 5 dias. Abertabug cuda.core P1
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 86/100
NVIDIA/cuda-python#3505 · 3 comentários · 1 reação · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[BUG]: ProcessInfo.used_gpu_memory returns the NVML_VALUE_NOT_AVAILABLE sentinel as a byte countAbertatriage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
NVIDIA/cuda-python#3468 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
NVIDIA/cuda-python#3409 ·
Mantenedores costumam responder em até 1 dia
-
[BUG]: cleanup-pr-previews never removes previews of deleted PRsTalvez livre de novo @rwgk assumiu há 48 dias e não há nenhum pull request aberto. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
NVIDIA/cuda-python#2952 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[BUG]: LocatedHeaderDir is mutable, so callers can poison the cached header-directory lookupTalvez já em andamento @rwgk assumiu há 63 dias. Abertatriage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
NVIDIA/cuda-python#2646 · 1 reação ·
Mantenedores costumam responder em até 1 dia