Skip to content

CI: Coverage

CI: Coverage #372

Manually triggered November 2, 2026 20:05
Status Success
Total duration 47m 8s
Artifacts 4

coverage.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

23 errors, 40 warnings, and 3 notices
Coverage (Linux)
Process completed with exit code 1.
Coverage (Linux): cuda_core/tests/test_build_hooks.py#L440
TestGeneratedSourceDirIsKeyed.test_dir_is_anchored_not_relative_to_cwd AssertionError: assert False + where False = is_absolute() + where is_absolute = PosixPath('.').is_absolute
Coverage (Linux): cuda_core/tests/test_build_hooks.py#L429
TestGeneratedSourceDirIsKeyed.test_majors_use_different_dirs AssertionError: assert PosixPath('.') != PosixPath('.')
Coverage (Windows): cuda_core\tests\test_rlcompleter_patch.py#L133
test_opt_out_env_var_values[ -True] AssertionError: subprocess exited with code 3221225725 stdout: stderr:
Coverage (Windows): cuda_core\tests\test_rlcompleter_patch.py#L133
test_opt_out_env_var_values[1-False] AssertionError: subprocess exited with code 3221225725 stdout: stderr:
Coverage (Windows): cuda_core\tests\test_rlcompleter_patch.py#L133
test_opt_out_env_var_values[0-True] AssertionError: subprocess exited with code 3221225725 stdout: stderr:
Coverage (Windows): cuda_core\tests\test_driver_table.py#L160
test_missing_table_entry_names_the_mismatch AssertionError: assert 3221225725 == 0 + where 3221225725 = CompletedProcess(args=['C:\\actions-runner\\_work\\cuda-python\\cuda-python\\.venv\\Scripts\\python.exe', '-c', '\nimport warnings\nimport cuda.bindings._internal.driver as loader\n\nKEYS = [\'__cuGetErrorName\', \'__cuGetErrorString\', \'__cuDevicePrimaryCtxRetain\', \'__cuDevicePrimaryCtxRelease_v2\', \'__cuCtxGetCurrent\', \'__cuCtxSetCurrent\', \'__cuCtxSynchronize\', \'__cuCtxGetStreamPriorityRange\', \'__cuCtxGetDevice\', \'__cuGraphNodeSetParams\', \'__cuGreenCtxCreate\', \'__cuGreenCtxDestroy\', \'__cuCtxFromGreenCtx\', \'__cuDevResourceGenerateDesc\', \'__cuGreenCtxStreamCreate\', \'__cuStreamCreateWithPriority\', \'__cuStreamDestroy_v2\', \'__cuStreamGetCtx\', \'__cuEventCreate\', \'__cuEventDestroy_v2\', \'__cuIpcOpenEventHandle\', \'__cuDeviceGetCount\', \'__cuMemPoolSetAccess\', \'__cuMemPoolDestroy\', \'__cuMemPoolCreate\', \'__cuDeviceGetMemPool\', \'__cuMemPoolImportFromShareableHandle\', \'__cuMemAllocFromPoolAsync\', \'__cuMemAllocAsync\', \'__cuMemAlloc_v2\', \'__cuMemAllocHost_v2\', \'__cuMemFreeAsync\', \'__cuMemFree_v2\', \'__cuMemFreeHost\', \'__cuMemPoolImportPointer\', \'__cuLibraryLoadFromFile\', \'__cuLibraryLoadData\', \'__cuLibraryUnload\', \'__cuLibr...'__cuStreamSynchronize\', \'__cuStreamIsCapturing\', \'__cuLaunchHostFunc\', \'__cuThreadExchangeStreamCaptureMode\']\n\ndef fake_inspect_function_pointers():\n table = {key: 1 for key in KEYS} # placeholder addresses: the fill fails before any call\n table.pop("__cuDevicePrimaryCtxRetain", None)\n return table\n\nloader._inspect_function_pointers = fake_inspect_function_pointers\n\nfrom cuda.core import CUDAError, CUDAWarning, Device\n\nwith warnings.catch_warnings(record=True) as caught:\n warnings.simplefilter("always")\n for attempt in range(2):\n try:\n # cuInit and the device query are Cython calls. The primary context\n # retain is the first call through the C++ table.\n Device(0).set_current()\n except CUDAError as exc:\n print(f"ATTEMPT {attempt} CUDAError: {exc} NOTES: {getattr(exc, \'__notes__\', [])}")\n else:\n print(f"ATTEMPT {attempt} no error")\ncuda_warnings = [w for w in caught if issubclass(w.category, CUDAWarning)]\nprint(f"CUDAWARNINGS {len(cuda_warnings)}")\nfor w in cuda_warnings:\n print("WARNING:", str(w.message))\n'], returncode=3221225725, stdout='', stderr='').returncode
Coverage (Windows): cuda_core\tests\test_driver_table.py#L144
test_null_baseline_entry_fails_the_fill_once_and_latches AssertionError: assert 3221225725 == 0 + where 3221225725 = CompletedProcess(args=['C:\\actions-runner\\_work\\cuda-python\\cuda-python\\.venv\\Scripts\\python.exe', '-c', '\nimport warnings\nimport cuda.bindings._internal.driver as loader\n\nKEYS = [\'__cuGetErrorName\', \'__cuGetErrorString\', \'__cuDevicePrimaryCtxRetain\', \'__cuDevicePrimaryCtxRelease_v2\', \'__cuCtxGetCurrent\', \'__cuCtxSetCurrent\', \'__cuCtxSynchronize\', \'__cuCtxGetStreamPriorityRange\', \'__cuCtxGetDevice\', \'__cuGraphNodeSetParams\', \'__cuGreenCtxCreate\', \'__cuGreenCtxDestroy\', \'__cuCtxFromGreenCtx\', \'__cuDevResourceGenerateDesc\', \'__cuGreenCtxStreamCreate\', \'__cuStreamCreateWithPriority\', \'__cuStreamDestroy_v2\', \'__cuStreamGetCtx\', \'__cuEventCreate\', \'__cuEventDestroy_v2\', \'__cuIpcOpenEventHandle\', \'__cuDeviceGetCount\', \'__cuMemPoolSetAccess\', \'__cuMemPoolDestroy\', \'__cuMemPoolCreate\', \'__cuDeviceGetMemPool\', \'__cuMemPoolImportFromShareableHandle\', \'__cuMemAllocFromPoolAsync\', \'__cuMemAllocAsync\', \'__cuMemAlloc_v2\', \'__cuMemAllocHost_v2\', \'__cuMemFreeAsync\', \'__cuMemFree_v2\', \'__cuMemFreeHost\', \'__cuMemPoolImportPointer\', \'__cuLibraryLoadFromFile\', \'__cuLibraryLoadData\', \'__cuLibraryUnload\', \'__cuLibr...eableHandle\', \'__cuStreamSynchronize\', \'__cuStreamIsCapturing\', \'__cuLaunchHostFunc\', \'__cuThreadExchangeStreamCaptureMode\']\n\ndef fake_inspect_function_pointers():\n table = {key: 1 for key in KEYS} # placeholder addresses: the fill fails before any call\n table["__cuGetErrorName"] = 0\n return table\n\nloader._inspect_function_pointers = fake_inspect_function_pointers\n\nfrom cuda.core import CUDAError, CUDAWarning, Device\n\nwith warnings.catch_warnings(record=True) as caught:\n warnings.simplefilter("always")\n for attempt in range(2):\n try:\n # cuInit and the device query are Cython calls. The primary context\n # retain is the first call through the C++ table.\n Device(0).set_current()\n except CUDAError as exc:\n print(f"ATTEMPT {attempt} CUDAError: {exc} NOTES: {getattr(exc, \'__notes__\', [])}")\n else:\n print(f"ATTEMPT {attempt} no error")\ncuda_warnings = [w for w in caught if issubclass(w.category, CUDAWarning)]\nprint(f"CUDAWARNINGS {len(cuda_warnings)}")\nfor w in cuda_warnings:\n print("WARNING:", str(w.message))\n'], returncode=3221225725, stdout='', stderr='').returncode
Coverage (Windows): cuda_core\tests\test_driver_table.py#L212
test_keyboard_interrupt_during_a_fill_reaches_the_user AssertionError: assert 3221225725 == 0 + where 3221225725 = CompletedProcess(args=['C:\\actions-runner\\_work\\cuda-python\\cuda-python\\.venv\\Scripts\\python.exe', '-c', '\nimport signal\nimport warnings\nimport cuda.bindings._internal.nvrtc as loader\n\n# Non-interactive background shells inherit SIGINT as SIG_IGN; restore the\n# default handler so a re-armed interrupt becomes KeyboardInterrupt.\nsignal.signal(signal.SIGINT, signal.default_int_handler)\n\nreal_inspect = loader._inspect_function_pointers\n\ndef interrupting_inspect():\n raise KeyboardInterrupt # Ctrl-C while cuda-bindings loads the library\n\nloader._inspect_function_pointers = interrupting_inspect\nfrom cuda.core import Program, ProgramOptions\n\ntry:\n with warnings.catch_warnings(record=True) as caught:\n warnings.simplefilter("always")\n # The NVRTC handle constructor fills the NVRTC table; the Program is dropped at\n # once, so its deleter also reports through the table.\n Program(\'extern "C" __global__ void k() {}\', "c++", options=ProgramOptions(arch="sm_80"))\n for _ in range(3):\n pass # the re-armed interrupt fires at a bytecode boundary\n print("NOT INTERRUPTED", flush=True)\nexcept KeyboardInterrupt:\n print("INTERRUPTED", flush=True)\nfor w in caught:\n print("WARNING:", str(w.message), flush=True)\nloader._inspect_function_pointers = real_inspect # let the shutdown deleters fill the table\n'], returncode=3221225725, stdout='', stderr='').returncode
Coverage (Windows): cuda_core\tests\test_child_processes.py#L86
test_run_child_passes_arguments_and_closes_process AssertionError: child exited with 3221225725
Coverage (Windows): cuda_core\tests\test_child_processes.py#L104
test_run_child_kills_hung_child assert False + where False = is_set() + where is_set = <Event at 0x1e8c234e710 unset>.is_set
Coverage (Windows): cuda_core\tests\test_child_processes.py#L133
test_warmup_retries_failure_and_caches_success AssertionError: child exited with 3221225725
Coverage (Windows): cuda_core\tests\test_child_processes.py#L121
test_run_child_kills_child_when_join_is_interrupted AssertionError: child did not reach its target assert False + where False = wait(timeout=30) + where wait = <Event at 0x1e8c2c3fcb0 unset>.wait
Coverage (Windows): cuda_bindings_13\tests\example_tests\test_samples.py#L56
test_sample[cuda_bindings/0_Introduction/simpleCubemapTexture] Failed: sample cuda_bindings/0_Introduction/simpleCubemapTexture returned status=FAIL (rc=3221225725): return code 3221225725
Coverage (Windows): cuda_bindings_13\tests\example_tests\test_samples.py#L56
test_sample[cuda_bindings/4_CUDA_Libraries/conjugateGradientMultiBlockCG] Failed: sample cuda_bindings/4_CUDA_Libraries/conjugateGradientMultiBlockCG returned status=FAIL (rc=3221225725): return code 3221225725
Coverage (Windows): cuda_bindings_13\tests\example_tests\test_samples.py#L56
test_sample[cuda_bindings/0_Introduction/clockNvrtc] Failed: sample cuda_bindings/0_Introduction/clockNvrtc returned status=FAIL (rc=3221225725): return code 3221225725
Coverage (Windows): cuda_bindings_13\tests\example_tests\test_samples.py#L56
test_sample[cuda_bindings/3_CUDA_Features/cudaGraphsManualNodes] Failed: sample cuda_bindings/3_CUDA_Features/cudaGraphsManualNodes returned status=FAIL (rc=3221225725): return code 3221225725
Coverage (Windows): cuda_bindings_13\tests\example_tests\test_samples.py#L56
test_sample[cuda_bindings/extra/jitProgram] Failed: sample cuda_bindings/extra/jitProgram returned status=FAIL (rc=3221225725): return code 3221225725
Coverage (Windows): cuda_bindings_13\tests\example_tests\test_samples.py#L56
test_sample[cuda_bindings/2_Concepts_and_Techniques/streamOrderedAllocation] Failed: sample cuda_bindings/2_Concepts_and_Techniques/streamOrderedAllocation returned status=FAIL (rc=3221225725): return code 3221225725
Coverage (Windows): cuda_bindings_13\tests\example_tests\test_samples.py#L56
test_sample[cuda_bindings/0_Introduction/systemWideAtomics] Failed: sample cuda_bindings/0_Introduction/systemWideAtomics returned status=FAIL (rc=3221225725): return code 3221225725
Coverage (Windows): cuda_bindings_13\tests\example_tests\test_samples.py#L56
test_sample[cuda_bindings/3_CUDA_Features/globalToShmemAsyncCopy] Failed: sample cuda_bindings/3_CUDA_Features/globalToShmemAsyncCopy returned status=FAIL (rc=3221225725): return code 3221225725
Coverage (Windows): cuda_bindings_13\tests\example_tests\test_samples.py#L56
test_sample[cuda_bindings/0_Introduction/vectorAddMmap] Failed: sample cuda_bindings/0_Introduction/vectorAddMmap returned status=FAIL (rc=3221225725): return code 3221225725
Coverage (Windows): cuda_bindings_13\tests\example_tests\test_interactive_sample_configuration.py#L30
test_iso_fd_modelling_exposes_no_display_option AssertionError: assert 3221225725 == 0 + where 3221225725 = CompletedProcess(args=['C:\\actions-runner\\_work\\cuda-python\\cuda-python\\.venv\\Scripts\\python.exe', 'C:\\actions-runner\\_work\\cuda-python\\cuda-python\\samples\\cuda_bindings\\extra\\isoFdModelling\\isoFdModelling.py', '--help'], returncode=3221225725, stdout='', stderr='').returncode
Coverage (Linux): .venv/lib/python3.14/site-packages/_pytest/fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Linux): .venv/lib/python3.14/site-packages/_pytest/fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Linux): .venv/lib/python3.14/site-packages/_pytest/fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Linux): .venv/lib/python3.14/site-packages/_pytest/fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Linux): .venv/lib/python3.14/site-packages/_pytest/fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Linux): .venv/lib/python3.14/site-packages/_pytest/fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Linux): .venv/lib/python3.14/site-packages/_pytest/fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Linux): .venv/lib/python3.14/site-packages/_pytest/fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Linux): .venv/lib/python3.14/site-packages/_pytest/fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Linux): .venv/lib/python3.14/site-packages/_pytest/fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Linux): cuda_bindings_13/tests/test_kernelParams.py#L44
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Linux): cuda_bindings_13/tests/test_kernelParams.py#L44
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Linux): cuda_bindings_13/tests/test_kernelParams.py#L44
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Linux): cuda_bindings_13/tests/test_kernelParams.py#L44
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Linux): cuda_bindings_13/tests/test_kernelParams.py#L44
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Linux): cuda_bindings_13/tests/test_kernelParams.py#L44
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Linux): cuda_bindings_13/tests/test_kernelParams.py#L44
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Linux): cuda_bindings_13/tests/test_kernelParams.py#L44
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Linux): cuda_bindings_13/tests/test_kernelParams.py#L44
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Linux): cuda_bindings_13/tests/test_kernelParams.py#L44
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Windows): .venv\Lib\site-packages\_pytest\fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Windows): .venv\Lib\site-packages\_pytest\fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Windows): .venv\Lib\site-packages\_pytest\fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Windows): .venv\Lib\site-packages\_pytest\fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Windows): .venv\Lib\site-packages\_pytest\fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Windows): .venv\Lib\site-packages\_pytest\fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Windows): .venv\Lib\site-packages\_pytest\fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Windows): .venv\Lib\site-packages\_pytest\fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Windows): .venv\Lib\site-packages\_pytest\python.py#L167
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Windows): .venv\Lib\site-packages\_pytest\fixtures.py#L1004
The CUDA driver version is older than the backend version. The generated ptx will not be loadable by the current driver.
Coverage (Windows): cuda_bindings_13\tests\test_kernelParams.py#L44
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Windows): cuda_bindings_13\tests\test_kernelParams.py#L44
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Windows): cuda_bindings_13\tests\legacy_api\test_legacy_kernelParams.py#L67
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Windows): cuda_bindings_13\tests\legacy_api\test_legacy_kernelParams.py#L67
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Windows): cuda_bindings_13\tests\legacy_api\test_legacy_kernelParams.py#L67
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Windows): cuda_bindings_13\tests\legacy_api\test_legacy_kernelParams.py#L67
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Windows): cuda_bindings_13\tests\legacy_api\test_legacy_kernelParams.py#L67
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Windows): cuda_bindings_13\tests\legacy_api\test_legacy_kernelParams.py#L67
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Windows): cuda_bindings_13\tests\legacy_api\test_legacy_kernelParams.py#L67
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
Coverage (Windows): cuda_bindings_13\tests\legacy_api\test_legacy_kernelParams.py#L67
The chararray class is deprecated and will be removed in a future release. Use an ndarray with a string or bytes dtype instead.
coverage-vars
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Combine Coverage
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Deploy Coverage
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"

Artifacts

Produced during runtime
Name Size Digest
coverage-combined
6.52 MB
sha256:6ff2c7f813d68f0351d58935b7a6e7bfa8346dd1c2842c5eab36a76f994ca9a9
coverage-data-linux
1.41 MB
sha256:362e24bc278afa2221d8c0cf0e568fd915f2c343ab3af9e37740bc46470cf2a7
coverage-data-windows
1.24 MB
sha256:68fa086ebd3c96411665e8de74c227f86c9ea1074ca5ed982d8e1575b471e067
cuda-source-linux
47.6 MB
sha256:600f5a43aee578e87cdb5afe247f71f2ee41a083c5756fe7521d967917a61d15