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

[outerloop] RegexKnownPatternTests.RecreationalRegex_Rectangle either fails with Specified argument was out of the range of valid values. or times out #98962

Closed
carlossanlop opened this issue Feb 27, 2024 · 10 comments
Assignees
Labels
area-System.Text.RegularExpressions bug disabled-test The test is disabled in source code against the issue
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Feb 27, 2024

This failure was uncovered in outerloop after fixing an issue that was affecting all runs and hiding other failures: #97135

Error Blob

{
  "ErrorMessage": "",
  "BuildRetry": false,
  "ErrorPattern": "System\\.Text\\.RegularExpressions\\.Tests\\.RegexKnownPatternTests\\.RecreationalRegex_Rectangle.+\\[FAIL\\]",
  "ExcludeConsoleLog": true
}

Reproduction Steps

===========================================================================================================

C:\h\w\A6E20913\w\AC9E095C\e>"C:\h\w\A6E20913\p\dotnet.exe" exec --runtimeconfig System.Text.RegularExpressions.Tests.runtimeconfig.json --depsfile System.Text.RegularExpressions.Tests.deps.json xunit.console.dll System.Text.RegularExpressions.Tests.dll -xml testResults.xml -nologo -nocolor -trait category=OuterLoop -notrait category=IgnoreForCI -notrait category=failing  
  Discovering: System.Text.RegularExpressions.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Text.RegularExpressions.Tests (found 26 of 358 test cases)
  Starting:    System.Text.RegularExpressions.Tests (parallel test collections = on [2 threads], stop on fail = off)
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n1\r\n1\r\n1\r\n\r\n~~~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex505_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex505_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n11\r\n11\r\n\r\n2\r\n2\r\n\r\n~~~\r\n~~~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex506_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex506_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n11\r\n11\r\n\r\n22\r\n\r\n~~~\r\n~~~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex507_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex507_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n11\r\n11\r\n\r\n2222\r\n\r\n33\r\n\r\n4\r\n\r\"���, expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex508_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex508_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n11\r\n11\r\n11\r\n\r\n~~~\r\n~~~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex509_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex509_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n111\r\n\r\n~\r\n~\r\n~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex510_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex510_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n111\r\n\r\n~~~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex511_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex511_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n111\r\n111\r\n\r\n~~~\r\n~~~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex512_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex512_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexMatchTests.StressTestDeepNestingOfLoops [SKIP]
      Condition(s) not met: "Is64BitProcess"
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:03:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:05:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:07:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:09:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:11:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:13:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:15:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:17:18

Known Issue Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
### Report #### Summary |24-Hour Hit Count|7-Day Hit Count|1-Month Count| |---|---|---| |0|0|0|
@carlossanlop carlossanlop added arch-x86 area-System.Text.RegularExpressions os-windows blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' runtime-coreclr specific to the CoreCLR runtime Known Build Error Use this to report build issues in the .NET Helix tab labels Feb 27, 2024
@ghost
Copy link

ghost commented Feb 27, 2024

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

Issue Details

Error Blob

{
  "ErrorMessage": "",
  "BuildRetry": false,
  "ErrorPattern": "System\.Text\.RegularExpressions\.Tests\.RegexKnownPatternTests\.RecreationalRegex_Rectangle.+\[FAIL\]",
  "ExcludeConsoleLog": true
}

Reproduction Steps

===========================================================================================================

C:\h\w\A6E20913\w\AC9E095C\e>"C:\h\w\A6E20913\p\dotnet.exe" exec --runtimeconfig System.Text.RegularExpressions.Tests.runtimeconfig.json --depsfile System.Text.RegularExpressions.Tests.deps.json xunit.console.dll System.Text.RegularExpressions.Tests.dll -xml testResults.xml -nologo -nocolor -trait category=OuterLoop -notrait category=IgnoreForCI -notrait category=failing  
  Discovering: System.Text.RegularExpressions.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Text.RegularExpressions.Tests (found 26 of 358 test cases)
  Starting:    System.Text.RegularExpressions.Tests (parallel test collections = on [2 threads], stop on fail = off)
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n1\r\n1\r\n1\r\n\r\n~~~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex505_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex505_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n11\r\n11\r\n\r\n2\r\n2\r\n\r\n~~~\r\n~~~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex506_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex506_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n11\r\n11\r\n\r\n22\r\n\r\n~~~\r\n~~~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex507_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex507_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n11\r\n11\r\n\r\n2222\r\n\r\n33\r\n\r\n4\r\n\r\"���, expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex508_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex508_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n11\r\n11\r\n11\r\n\r\n~~~\r\n~~~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex509_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex509_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n111\r\n\r\n~\r\n~\r\n~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex510_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex510_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n111\r\n\r\n~~~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex511_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex511_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(engine: Compiled, input: "\r\n111\r\n111\r\n\r\n~~~\r\n~~~\r\n", expectedMatch: True) [FAIL]
      System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
      Stack Trace:
           at Regex512_TryMatchAtCurrentPosition(RegexRunner, ReadOnlySpan`1)
           at Regex512_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle(RegexEngine engine, String input, Boolean expectedMatch)
        --- End of stack trace from previous location ---
    System.Text.RegularExpressions.Tests.RegexMatchTests.StressTestDeepNestingOfLoops [SKIP]
      Condition(s) not met: "Is64BitProcess"
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:03:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:05:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:07:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:09:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:11:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:13:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:15:18
   System.Text.RegularExpressions.Tests: [Long Running Test] 'System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle', Elapsed: 00:17:18
Author: carlossanlop
Assignees: -
Labels:

arch-x86, area-System.Text.RegularExpressions, os-windows, blocking-clean-ci, runtime-coreclr, Known Build Error

Milestone: -

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Feb 27, 2024
@carlossanlop carlossanlop added arch-x64 os-linux-musl Linux distributions using musl library. labels Feb 27, 2024
@carlossanlop carlossanlop changed the title System.Text.RegularExpressions.Tests.RegexKnownPatternTests.RecreationalRegex_Rectangle either fails with Specified argument was out of the range of valid values. or times out [outerloop] RegexKnownPatternTests.RecreationalRegex_Rectangle either fails with Specified argument was out of the range of valid values. or times out Feb 27, 2024
@stephentoub
Copy link
Member

stephentoub commented Feb 27, 2024

This failure was uncovered in outerloop after fixing an issue that was affecting all runs and hiding other failures

@carlossanlop, do we know how long that issue has been there, and thus how long this regex issue may have been there but hidden?

@stephentoub stephentoub added disabled-test The test is disabled in source code against the issue and removed untriaged New issue has not been triaged by the area owner arch-x86 os-windows arch-x64 os-linux-musl Linux distributions using musl library. labels Feb 27, 2024
@carlossanlop
Copy link
Member Author

do we know how long that issue has been there, and thus how long this regex issue may have been there but hidden?

I logged the outerloop issue I just fixed back in December 14: #96035

@stephentoub
Copy link
Member

do we know how long that issue has been there, and thus how long this regex issue may have been there but hidden?

I logged the outerloop issue I just fixed back in December 14: #96035

Meaning this has been going on only since Dec 14, or it may have been going on before then as well and we only noticed then?

@carlossanlop
Copy link
Member Author

Unfortunately, I do not know if it had been happening before the issue I fixed.

@carlossanlop
Copy link
Member Author

Oh sorry, I thought you meant the regex issue. Let me check...

@carlossanlop
Copy link
Member Author

It might have started affecting outerloop after the initial PR introducing XUnitLogChecker support, which was merged on November 14 2023: #93906

@steveharter steveharter added this to the 9.0.0 milestone Feb 28, 2024
@stephentoub stephentoub self-assigned this Mar 7, 2024
@stephentoub
Copy link
Member

This appears to have been regressed by #97463. Still need to investigate why/how...

@stephentoub
Copy link
Member

Figured it out, thanks to #98472, which when I re-enabled the test flagged a stack imbalance. The bug is that #97463 is in some situations pushing a capture position onto the stack if there's a negative lookaround containing captures and is inside of a loop, but it's not popping that state off the stack if the body of the lookaround matches, which for a negative lookaround is actually failure. Will put up a PR tomorrow.

@stephentoub stephentoub removed blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' runtime-coreclr specific to the CoreCLR runtime labels Mar 7, 2024
@stephentoub stephentoub added bug and removed Known Build Error Use this to report build issues in the .NET Helix tab labels Mar 7, 2024
@stephentoub
Copy link
Member

Fixed by #99424

@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Text.RegularExpressions bug disabled-test The test is disabled in source code against the issue
Projects
None yet
Development

No branches or pull requests

4 participants
@carlossanlop @stephentoub @steveharter and others