Skip to content

[Bug] CTest unable to run large amount of tests in parallel #4829

@theuke

Description

@theuke

Brief Issue Summary

This issue is effectively a duplicate of #3804 (which has been closed). I am just creating this new, duplicate issue, because I already have a fix lined up for it in #4830 and want to get the fix merged in.

Here is a sample snippet of the offending ctest command whose input regex is too long

[proc] Executing command: /opt/cmake/bin/ctest -j4 -C Debug -T test --output-on-failure -R "^pre_ctest$|^post_ctest$|^HexaConvertorTest\.testConvertStringToHexa$|^HexaConvertorTest\.testConvertStringToHexaToString$|^HexaConvertorTest\.testConvertHexaToByte$|^HexaConvertorTest\.testConvertHexaToString$|^SerializerTest\.testConstructor$|^SerializerTest\.testSimpleSerialize$|^SerializerTest\.testSimpleDeserialize$|^SerializerTest\.testConstructJson$|^SerializerTest\. 
 ...snip... |^ResolverTest\.getSuccess$"
[ctest] CTest finished with return code -1

CMake Tools Diagnostics

None. Refer to #3804 if needed.

Debug Log

None. Refer to #3804 if needed.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    buga bug in the productmore info neededMore info is needed from the community for us to properly triage and investigate.

    Type

    No type

    Projects

    Status

    Blocked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions