Skip to content

IPC tests do not exit cleanly #1074

@leofang

Description

@leofang

After merging #1020, I see locally that the tests generate the following output with pytest -rA:

______________________________________________________ TestIPCSharedAllocationHandleAndBufferDescriptors.test_main _______________________________________________________
-------------------------------------------------------------------------- Captured stderr call --------------------------------------------------------------------------
Error in sys.excepthook:

Original exception was:
Error in sys.excepthook:

Original exception was:
________________________________________________________ TestIPCSharedAllocationHandleAndBufferObjects.test_main _________________________________________________________
-------------------------------------------------------------------------- Captured stderr call --------------------------------------------------------------------------
Error in sys.excepthook:

Original exception was:
Error in sys.excepthook:

Original exception was:
__________________________________________________________________________ test_object_passing ___________________________________________________________________________
-------------------------------------------------------------------------- Captured stderr call --------------------------------------------------------------------------
Traceback (most recent call last):
  File "cuda/core/experimental/_memory.pyx", line 82, in cuda.core.experimental._memory.Buffer._shutdown_safe_close
  File "cuda/core/experimental/_memory.pyx", line 877, in cuda.core.experimental._memory.DeviceMemoryResource.deallocate
  File "cuda/core/experimental/_utils/cuda_utils.pyx", line 75, in cuda.core.experimental._utils.cuda_utils._check_driver_error
cuda.core.experimental._utils.cuda_utils.CUDAError: CUDA_ERROR_INVALID_VALUE: This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.
Exception ignored in: 'cuda.core.experimental._memory.Buffer.__del__'
Traceback (most recent call last):
  File "cuda/core/experimental/_memory.pyx", line 82, in cuda.core.experimental._memory.Buffer._shutdown_safe_close
  File "cuda/core/experimental/_memory.pyx", line 877, in cuda.core.experimental._memory.DeviceMemoryResource.deallocate
  File "cuda/core/experimental/_utils/cuda_utils.pyx", line 75, in cuda.core.experimental._utils.cuda_utils._check_driver_error
cuda.core.experimental._utils.cuda_utils.CUDAError: CUDA_ERROR_INVALID_VALUE: This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.
Error in sys.excepthook:

Original exception was:

@Andy-Jost is this a symptom of #1063?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcuda.coreEverything related to the cuda.core moduletestImprovements or additions to tests

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions