Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure: System.Text.RegularExpressions.Tests.RegexPcre2Tests.IsMatchTests #108176

Closed
v-wenyuxu opened this issue Sep 24, 2024 · 3 comments
Closed
Labels
arch-x86 area-System.Text.RegularExpressions blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes os-windows

Comments

@v-wenyuxu
Copy link

Failed in: runtime-coreclr libraries-jitstress 20240923.1

Failed tests:

net9.0-windows-Release-x86-jitstress2-Windows.10.Amd64.Open
    - System.Text.RegularExpressions.Tests.RegexPcre2Tests.IsMatchTests

Error message:

 System.ArgumentException : 
warning CS8785: Generator 'RegexGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'OutOfMemoryException' with message 'Exception of type 'System.OutOfMemoryException' was thrown.'.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Text.StringBuilder.ToString() in /_/src/libraries/System.Private.CoreLib/src/System/Text/StringBuilder.cs:line 322
   at System.Text.RegularExpressions.Generator.RegexGenerator.<>c.<Initialize>b__5_4(SourceProductionContext context, ImmutableArray`1 results) in /_/src/libraries/System.Text.RegularExpressions/gen/RegexGenerator.cs:line 287
   at Microsoft.CodeAnalysis.UserFunctionExtensions.<>c__DisplayClass3_0`2.<WrapUserAction>b__0(TInput1 input1, TInput2 input2, CancellationToken token)
-----

Stack trace:

   at System.Text.RegularExpressions.Tests.RegexGeneratorHelper.SourceGenRegexAsync(ValueTuple`4[] regexes, CancellationToken cancellationToken) in /_/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/RegexGeneratorHelper.netcoreapp.cs:line 221
   at System.Text.RegularExpressions.Tests.RegexHelpers.GetRegexesAsync(RegexEngine engine, ValueTuple`4[] regexes) in /_/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Tests.Common.cs:line 147
   at System.Text.RegularExpressions.Tests.RegexHelpers.GetRegexes(RegexEngine engine, ValueTuple`4[] regexes) in /_/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Tests.Common.cs:line 135
   at System.Text.RegularExpressions.Tests.RegexPcre2Tests.PcreTestData()+MoveNext() in /_/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/RegexPcreTests.cs:line 22
   at System.Linq.Enumerable.IEnumerableSelectIterator`2.MoveNext() in /_/src/libraries/System.Linq/src/System/Linq/Select.cs:line 131
@v-wenyuxu v-wenyuxu added arch-x86 os-windows JitStress CLR JIT issues involving JIT internal stress modes blocking-clean-ci-optional Blocking optional rolling runs labels Sep 24, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Sep 24, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions
See info in area-owners.md if you want to be subscribed.

@steveharter
Copy link
Member

steveharter commented Sep 24, 2024

Some other activity that may or may not be related:

@BruceForstall
Copy link
Member

The test did not fail in the pipeline with #108169

@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Sep 24, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x86 area-System.Text.RegularExpressions blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes os-windows
Projects
None yet
Development

No branches or pull requests

3 participants