Repository navigation
Closed
Labels
area-System.Text.RegularExpressionsbugdisabled-testThe test is disabled in source code against the issue
Milestone
Description
Run: runtime-libraries-coreclr outerloop 20211021.5
Failed test:
net7.0-windows-Release-x64-CoreCLR_release-Windows.81.Amd64.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
net7.0-windows-Release-x64-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation(options: Compiled)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation(options: None)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
net7.0-windows-Release-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation(options: Compiled)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation(options: None)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
net7.0-windows-Release-x86-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation(options: Compiled)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation(options: None)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
net7.0-Linux-Release-arm-CoreCLR_release-(Debian.11.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-11-helix-arm32v7-20210304164347-5a7c380
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
net7.0-OSX-Release-arm64-CoreCLR_release-OSX.1100.ARM64.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
One of error message:
Assert.NotEqual() Failure
Expected: Not 'ᲀ'
Actual: 'ᲀ'
Stack trace
at System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(RegexOptions options) in /_/src/libraries/System.Text.RegularExpressions/tests/RegexCultureTests.cs:line 442
or
Assert.True() Failure
Expected: True
Actual: False
Stack trace
at System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(RegexOptions options) in /_/src/libraries/System.Text.RegularExpressions/tests/RegexCultureTests.cs:line 436
Metadata
Metadata
Assignees
Labels
area-System.Text.RegularExpressionsbugdisabled-testThe test is disabled in source code against the issue
Activity
stephentoub commentedon Oct 22, 2021
I believe the issue here is different data coming from either NLS or older ICUs. I can repro the same failures by setting the environment variable:
DOTNET_SYSTEM_GLOBALIZATION_USENLS=1
and then running outerloop unit tests.
@veanes, @olsaarik, I think this highlights we'll need to revisit the pre-generation of the relation data (for reasons beyond the size ones we've already discussed). The data can vary based on the machine on which pregeneration was performed, but we ship a single S.T.RegularExpressions.dll binary that's used regardless of OS version and regardless of what globalization library is in use for a given process. For both size and correctness/consistency then, we'll likely need to remove the pregenerated data and come up with a scheme for computing it lazily at run-time.
cc: @danmoseley
14 remaining items
VincentBu commentedon Nov 17, 2021
Failed again in: runtime-libraries-coreclr outerloop 20211116.1
Failed test:
Error mesage:
Failed test:
Error message:
VincentBu commentedon Nov 25, 2021
Failed again in: runtime-libraries-coreclr outerloop 20211124.6
Failed test:
Error message:
Failed test:
Error message:
buyaa-n commentedon Dec 2, 2021
Failed again https://github.com/dotnet/runtime/pull/62095/checks?check_run_id=4401635475
https://github.com/dotnet/runtime/pull/62095/checks?check_run_id=4401635312
VincentBu commentedon Dec 3, 2021
Failed again in: runtime-libraries-coreclr outerloop 20211202.6
Failed test:
Error message:
Failed test:
Error message:
joperezr commentedon Apr 5, 2022
This doesn't seem fixed by #67184 particularly because this is a problem caused by NLS vs ICU which is still an issue we have even our IgnoreCase overhaul. This should get fixed once #67624 gets fixed as they are related.
VincentBu commentedon Apr 11, 2022
Failed again in: runtime-libraries-coreclr outerloop 20220410.7
Failed test:
Error message:
VincentBu commentedon Apr 19, 2022
Failed again in: runtime-libraries-coreclr outerloop 20220418.8
Failed test:
Error message:
VincentBu commentedon Apr 27, 2022
Failed again in: runtime-libraries-coreclr outerloop 20220426.3
Failed test:
Error message:
danmoseley commentedon Apr 27, 2022
@joperezr looks like #67624 didn't fix this either.