From d18cbcac2f069f5e43d42b9ae27a0a81fa483601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?= Date: Mon, 10 Feb 2025 09:55:10 +0100 Subject: [PATCH 1/2] Try getting dump of S.Threading.Channels timeout --- eng/testing/tests.singlefile.targets | 2 +- .../System.Threading.Channels1.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.Channels2.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.Channels3.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.Channels4.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.Channels5.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.Channels6.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.Channels7.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.Channels8.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.Channels9.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.ChannelsA.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.ChannelsB.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.ChannelsC.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.ChannelsD.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.ChannelsE.Tests.csproj | 28 +++++++++++++++++++ .../System.Threading.ChannelsF.Tests.csproj | 28 +++++++++++++++++++ 16 files changed, 421 insertions(+), 1 deletion(-) create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.Channels1.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.Channels2.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.Channels3.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.Channels4.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.Channels5.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.Channels6.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.Channels7.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.Channels8.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.Channels9.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsA.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsB.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsC.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsD.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsE.Tests.csproj create mode 100644 src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsF.Tests.csproj diff --git a/eng/testing/tests.singlefile.targets b/eng/testing/tests.singlefile.targets index 9c5585602da775..daa52b1d580f06 100644 --- a/eng/testing/tests.singlefile.targets +++ b/eng/testing/tests.singlefile.targets @@ -7,7 +7,7 @@ $(OutputRID) $(AssemblyName).exe - chmod +rwx $(AssemblyName) && ./$(AssemblyName) + chmod +rwx $(AssemblyName) && timeout -s SIGSEGV 1800 ./$(AssemblyName) diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.Channels1.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels1.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels1.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.Channels2.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels2.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels2.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.Channels3.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels3.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels3.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.Channels4.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels4.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels4.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.Channels5.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels5.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels5.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.Channels6.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels6.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels6.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.Channels7.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels7.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels7.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.Channels8.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels8.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels8.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.Channels9.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels9.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.Channels9.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsA.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsA.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsA.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsB.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsB.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsB.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsC.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsC.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsC.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsD.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsD.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsD.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsE.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsE.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsE.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsF.Tests.csproj b/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsF.Tests.csproj new file mode 100644 index 00000000000000..06e639f472a3ce --- /dev/null +++ b/src/libraries/System.Threading.Channels/tests/System.Threading.ChannelsF.Tests.csproj @@ -0,0 +1,28 @@ + + + $(NetCoreAppCurrent);$(NetFrameworkMinimum) + true + + + + + + + + + + + + + + + + + + + + + + From a092fced10c141e4ac5ed70b366b010670fc8037 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?= Date: Wed, 12 Feb 2025 06:51:29 +0100 Subject: [PATCH 2/2] Reduce timeout duration for non-Windows targets --- eng/testing/tests.singlefile.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/testing/tests.singlefile.targets b/eng/testing/tests.singlefile.targets index daa52b1d580f06..49a1453fff52e3 100644 --- a/eng/testing/tests.singlefile.targets +++ b/eng/testing/tests.singlefile.targets @@ -7,7 +7,7 @@ $(OutputRID) $(AssemblyName).exe - chmod +rwx $(AssemblyName) && timeout -s SIGSEGV 1800 ./$(AssemblyName) + chmod +rwx $(AssemblyName) && timeout -s SIGSEGV 900 ./$(AssemblyName)