Skip to content

[Invalid Test] TensorrtExecutionProviderTest.SessionCreationWithMultiThreadsAndInferenceWithMultiThreads #26366

@yuslepukhin

Description

@yuslepukhin

Describe the issue

The test in question fails because when multiple calls to CreateCustomRegistry from more than one thread throw an exception that Domain already exists. This causes the exception to propagate out of N-1 std::threads unhandled and this silently kills the test even in Debug build.

Urgency

The test is being commented out

Target platform

Generic

Build script

TRT Debug build
onnxruntime_provider_test.exe --gtest_filter=TensorrtExecutionProviderTest.SessionCreationWithMultiThreadsAndInferenceWithMultiThreads

Error / output

No output or core dump, however, is reproducible under debugger.
If a number of threads is changed to 1, things start working.

Image Image

I am disabling the test.

Visual Studio Version

Version 17.14.17

GCC / Compiler Version

No response

@gedoensmax

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuild issues; typically submitted using templateep:TensorRTissues related to TensorRT execution provider

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions