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.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking) #60753

Closed
VincentBu opened this issue Oct 22, 2021 · 19 comments · Fixed by #68857
Assignees
Labels
area-System.Text.RegularExpressions bug disabled-test The test is disabled in source code against the issue
Milestone

Comments

@VincentBu
Copy link
Contributor

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)windows.10.amd64.serverrs5.open@mcr.microsoft.com/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)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/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
@ghost
Copy link

ghost commented Oct 22, 2021

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

Issue Details

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)windows.10.amd64.serverrs5.open@mcr.microsoft.com/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)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/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
Author: VincentBu
Assignees: -
Labels:

arch-arm32, arch-arm64, arch-x86, area-System.Text.RegularExpressions, os-linux, os-mac-os-x, os-windows, arch-x64

Milestone: -

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Oct 22, 2021
@stephentoub
Copy link
Member

stephentoub commented 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

@stephentoub stephentoub added bug and removed arch-arm32 arch-arm64 arch-x86 os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX os-windows arch-x64 untriaged New issue has not been triaged by the area owner labels Oct 22, 2021
@stephentoub stephentoub added this to the 7.0.0 milestone Oct 22, 2021
@danmoseley
Copy link
Member

remove the pregenerated data and come up with a scheme for computing it lazily at run-time.

Same for the source generator? Basically our position on culture is always: we respect the thread's culture at the time the regex object is first used.

@stephentoub
Copy link
Member

Same for the source generator?

It's a question of where are we baking the assumptions into. I think it's reasonable to bake them into the user assembly being built. I think it's unreasonable to bake them into S.T.RE.dll.

@veanes
Copy link
Contributor

veanes commented Oct 22, 2021

The generated tables really depend on the definitions/semantics of Unicode standard categories and in this case IgnoreCase rules for 'i'. I was under the impression that these are fixed for a given system version. The 'i' part can be tested and generated locally for a given runtime also if there are differences with handling of Turkish 'i' -- I'm sure that's what this is about.

@veanes
Copy link
Contributor

veanes commented Oct 22, 2021

Also, if it is ever possible that the Unicode Categories actually change during the lifetime of one .NET version (thus actually affecting the semantics of Regex matching, which I think I've seen happen once), then the generated BDD tables need to be updated simultaneously -- or generated dynamically.

@stephentoub
Copy link
Member

I was under the impression that these are fixed for a given system version.

We get data from the underlying OS and/or ICU library in play. You can see the effect of this by running this on .NET 6:

using System.Globalization;

var enUs = new CultureInfo("en-US");
var invariant = CultureInfo.InvariantCulture;

for (int i = 0; i <= char.MaxValue; i++)
{
    if (char.ToUpper((char)i, enUs) != char.ToUpper((char)i, invariant))
    {
        Console.WriteLine($"ToUpper: {i}");
    }
    if (char.ToLower((char)i, enUs) != char.ToLower((char)i, invariant))
    {
        Console.WriteLine($"ToLower: {i}");
    }
}

You should see output like:

ToLower: 304
ToUpper: 305

Now run it again, but this time with this environment variable set:

$env:DOTNET_SYSTEM_GLOBALIZATION_USENLS=1

Now you should see output more like this:

ToUpper: 181
ToLower: 304
ToUpper: 305
ToUpper: 383
ToUpper: 453
ToLower: 453
ToUpper: 456
ToLower: 456
ToUpper: 459
ToLower: 459
ToUpper: 498
ToLower: 498
ToUpper: 837
ToUpper: 962
ToUpper: 976
ToUpper: 977
ToLower: 978
ToLower: 979
ToLower: 980
ToUpper: 981
ToUpper: 982
ToUpper: 1008
ToUpper: 1009
ToLower: 1012
ToUpper: 1013
ToUpper: 7835
ToLower: 7838
ToUpper: 8126
ToLower: 8486
ToLower: 8490
ToLower: 8491

@danmoseley
Copy link
Member

To clarify what Stephen said it's not just that flag that affects the behavior but whatever libicu version is present on that OS or distro. Each version has slightly different data, although probably casing is relatively stable.

@VincentBu
Copy link
Contributor Author

VincentBu commented Nov 1, 2021

Failed again in: runtime-libraries-coreclr outerloop 20211031.1

Test failure:

net7.0-Linux-Release-x64-CoreCLR_release-RedHat.7.Amd64.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-x64-CoreCLR_release-(Centos.7.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-mlnet-helix-20210714125435-dde38af
- 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-x64-CoreCLR_release-SLES.12.Amd64.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.81.Amd64.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.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)windows.10.amd64.serverrs5.open@mcr.microsoft.com/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)

Error message:

Assert.NotEqual() Failure
Expected: Not 'ᲀ'
Actual:   'ᲀ'


Stack trace
   at System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation(RegexOptions options) in /_/src/libraries/System.Text.RegularExpressions/tests/RegexCultureTests.cs:line 380

Failed test:

net7.0-Linux-Release-x64-CoreCLR_release-(Mariner.1.0.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-1.0-helix-20210528192219-92bf620
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Fedora.34.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-34-helix-20210913123654-4f64125
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Debian.11.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-helix-amd64-20210304164428-5a7c380
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Alpine.314.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64-20210910135833-1848e19
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Alpine.313.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.13-helix-amd64-20210910135845-8a6f4f3
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-arm-CoreCLR_release-(Debian.11.Arm32.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/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)

Error message:

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

@VincentBu
Copy link
Contributor Author

Failed again in: runtime-libraries-coreclr outerloop 20211108.1

Failed test:

net7.0-windows-Release-x64-CoreCLR_release-Windows.81.Amd64.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-x64-CoreCLR_release-(Centos.7.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-mlnet-helix-20210714125435-dde38af
- 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.7.Amd64.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-arm64-CoreCLR_release-(Ubuntu.1804.ArmArch.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-helix-arm64v8-20210106155927-56c6673
- 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)

Error message:

Assert.NotEqual() Failure
Expected: Not 'ᲀ'
Actual:   'ᲀ'


Stack trace
   at System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation(RegexOptions options) in /_/src/libraries/System.Text.RegularExpressions/tests/RegexCultureTests.cs:line 382

Failed test:

net7.0-Linux-Release-x64-CoreCLR_release-(Fedora.34.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-34-helix-20210913123654-4f64125
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Debian.11.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-helix-amd64-20210304164428-5a7c380
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Mariner.1.0.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-1.0-helix-20210528192219-92bf620
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Alpine.314.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64-20210910135833-1848e19
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Alpine.313.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.13-helix-amd64-20210910135845-8a6f4f3
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-arm-CoreCLR_release-(Debian.11.Arm32.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/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)

Error message:

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 438

@VincentBu
Copy link
Contributor Author

Failed again in: runtime-libraries-coreclr outerloop 20211116.1

Failed test:

net7.0-windows-Release-x64-CoreCLR_release-Windows.81.Amd64.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)windows.10.amd64.serverrs5.open@mcr.microsoft.com/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-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-Linux-Release-x64-CoreCLR_release-(Centos.7.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-mlnet-helix-20210714125435-dde38af
- 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-x64-CoreCLR_release-RedHat.7.Amd64.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-x64-CoreCLR_release-SLES.12.Amd64.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)

Error mesage:

Assert.NotEqual() Failure
Expected: Not 'ᲀ'
Actual:   'ᲀ'


Stack trace
   at System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation(RegexOptions options) in /_/src/libraries/System.Text.RegularExpressions/tests/RegexCultureTests.cs:line 382

Failed test:

net7.0-Linux-Release-x64-CoreCLR_release-(Fedora.34.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-34-helix-20210913123654-4f64125
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Debian.11.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-helix-amd64-20210304164428-5a7c380
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Mariner.1.0.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-1.0-helix-20210528192219-92bf620
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-arm-CoreCLR_release-(Debian.11.Arm32.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-helix-arm32v7-20210304164347-5a7c380
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Alpine.314.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64-20210910135833-1848e19
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Alpine.313.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.13-helix-amd64-20210910135845-8a6f4f3
- 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)

Error message:

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 438

@VincentBu
Copy link
Contributor Author

VincentBu commented Nov 25, 2021

Failed again in: runtime-libraries-coreclr outerloop 20211124.6

Failed test:

net7.0-windows-Release-x64-CoreCLR_release-Windows.81.Amd64.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-windows-Release-x64-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-windows-Release-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-windows-Release-x86-CoreCLR_release-Windows.7.Amd64.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-Linux-Release-x64-CoreCLR_release-(Centos.7.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-mlnet-helix-20210714125435-dde38af
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-arm64-CoreCLR_release-(Ubuntu.1804.ArmArch.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-helix-arm64v8-20210106155927-56c6673
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

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 420

Failed test:

net7.0-Linux-Release-x64-CoreCLR_release-(Debian.11.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-helix-amd64-20210304164428-5a7c380
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Mariner.1.0.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-1.0-helix-20210528192219-92bf620
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-arm-CoreCLR_release-(Debian.11.Arm32.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-helix-arm32v7-20210304164347-5a7c380
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Alpine.314.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64-20210910135833-1848e19
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Alpine.313.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.13-helix-amd64-20210910135845-8a6f4f3
- 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)

net7.0-Linux-Release-x64-CoreCLR_release-RedHat.7.Amd64.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-Linux-Release-x64-CoreCLR_release-SLES.12.Amd64.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

Error message:

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 414

@buyaa-n
Copy link
Contributor

buyaa-n commented Dec 2, 2021

Failed again https://github.com/dotnet/runtime/pull/62095/checks?check_run_id=4401635475

    System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking) [FAIL]
      Assert.True() Failure
      Expected: True
      Actual:   False
      Stack Trace:
        /_/src/libraries/System.Text.RegularExpressions/tests/RegexCultureTests.cs(444,0): at System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(RegexOptions options)
    System.Text.RegularExpressions.Tests.RegexMatchTests.Match_Timeout_Loop_Throws [SKIP]
      Condition(s) not met: "IsWindows"
  Finished:    System.Text.RegularExpressions.Tests
=== TEST EXECUTION SUMMARY ===
   System.Text.RegularExpressions.Tests  Total: 825, Errors: 0, Failed: 1, Skipped: 2, Time: 85.378s

https://github.com/dotnet/runtime/pull/62095/checks?check_run_id=4401635312

    System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking) [FAIL]
      Assert.True() Failure
      Expected: True
      Actual:   False
      Stack Trace:
        /_/src/libraries/System.Text.RegularExpressions/tests/RegexCultureTests.cs(444,0): at System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(RegexOptions options)
  Finished:    System.Text.RegularExpressions.Tests
=== TEST EXECUTION SUMMARY ===
   System.Text.RegularExpressions.Tests  Total: 825, Errors: 0, Failed: 1, Skipped: 2, Time: 44.935s

@VincentBu
Copy link
Contributor Author

Failed again in: runtime-libraries-coreclr outerloop 20211202.6

Failed test:

net7.0-Linux-Release-x64-CoreCLR_release-SLES.12.Amd64.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-SLES.12.Amd64.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-Linux-Release-x64-CoreCLR_release-RedHat.7.Amd64.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-Linux-Release-x64-CoreCLR_release-(Centos.7.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-mlnet-helix-20210714125435-dde38af
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-windows-Release-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-windows-Release-x64-CoreCLR_release-Windows.81.Amd64.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-windows-Release-x64-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-windows-Release-x86-CoreCLR_release-Windows.7.Amd64.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-windows-Release-x86-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-Linux-Release-arm64-CoreCLR_release-(Ubuntu.1804.ArmArch.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-helix-arm64v8-20210106155927-56c6673
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

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 420

Failed test:

net7.0-OSX-Release-arm64-CoreCLR_release-OSX.1100.ARM64.Open
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Mariner.1.0.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-1.0-helix-20210528192219-92bf620
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Debian.11.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-helix-amd64-20210304164428-5a7c380
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Fedora.34.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-34-helix-20210913123654-4f64125
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-arm-CoreCLR_release-(Debian.11.Arm32.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-helix-arm32v7-20210304164347-5a7c380
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Alpine.314.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64-20210910135833-1848e19
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-(Alpine.313.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.13-helix-amd64-20210910135845-8a6f4f3
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

Error message:

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 414

@joperezr
Copy link
Member

joperezr commented 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
Copy link
Contributor Author

Failed again in: runtime-libraries-coreclr outerloop 20220410.7

Failed test:

net7.0-Linux-Release-arm64-CoreCLR_release-(Ubuntu.1804.ArmArch.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-helix-arm64v8-20210106155927-56c6673

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-Linux-Release-x64-CoreCLR_release-(Centos.7.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-mlnet-helix-20210714125435-dde38af

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-RedHat.7.Amd64.Open

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-windows-Release-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-windows-Release-x64-CoreCLR_release-Windows.81.Amd64.Open

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-windows-Release-x86-CoreCLR_release-Windows.7.Amd64.Open

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

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/FunctionalTests/RegexCultureTests.cs:line 429
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.RuntimeMethodInfo.InvokeNonEmitUnsafe(Object obj, IntPtr* arguments, Span`1 argsForTemporaryMonoSupport, BindingFlags invokeAttr)

@VincentBu
Copy link
Contributor Author

Failed again in: runtime-libraries-coreclr outerloop 20220418.8

Failed test:

net7.0-Linux-Release-arm64-CoreCLR_release-(Ubuntu.1804.ArmArch.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-helix-arm64v8-20210106155927-56c6673

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-Linux-Release-x64-CoreCLR_release-(Centos.7.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-mlnet-helix-20210714125435-dde38af

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-RedHat.7.Amd64.Open

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-windows-Release-x64-CoreCLR_release-Windows.81.Amd64.Open

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-windows-Release-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-windows-Release-x86-CoreCLR_release-Windows.7.Amd64.Open

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

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/FunctionalTests/RegexCultureTests.cs:line 429
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.RuntimeMethodInfo.InvokeNonEmitUnsafe(Object obj, IntPtr* arguments, Span`1 argsForTemporaryMonoSupport, BindingFlags invokeAttr) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.CoreCLR.cs:line 379

@VincentBu
Copy link
Contributor Author

Failed again in: runtime-libraries-coreclr outerloop 20220426.3

Failed test:

net7.0-windows-Release-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
net7.0-windows-Release-x64-CoreCLR_release-Windows.81.Amd64.Open

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-Linux-Release-x64-CoreCLR_release-(Centos.7.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-mlnet-helix-20210714125435-dde38af

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-x64-CoreCLR_release-RedHat.7.Amd64.Open

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

net7.0-windows-Release-x86-CoreCLR_release-Windows.7.Amd64.Open

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)

net7.0-Linux-Release-arm64-CoreCLR_release-(Ubuntu.1804.ArmArch.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-helix-arm64v8-20210106155927-56c6673

- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelationBorderCasesInNonBacktracking(options: NonBacktracking)
- System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation

Error message:

Assert.NotEqual() Failure
Expected: Not 'ᲀ'
Actual:   'ᲀ'


Stack trace
   at System.Text.RegularExpressions.Tests.RegexCultureTests.TestIgnoreCaseRelation() in /_/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/RegexCultureTests.cs:line 367
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.RuntimeMethodInfo.InvokeNonEmitUnsafe(Object obj, IntPtr* arguments, Span`1 argsForTemporaryMonoSupport, BindingFlags invokeAttr) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.CoreCLR.cs:line 387

@danmoseley
Copy link
Member

@joperezr looks like #67624 didn't fix this either.

@joperezr joperezr self-assigned this Apr 27, 2022
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label May 4, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label May 5, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jun 4, 2022
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

Successfully merging a pull request may close this issue.

6 participants