Skip to content

[wasm][aot] Windows: Test failures for System.Globalization.Extensions.Tests #58708

Closed

Description

@radical

PR to enable AOT tests on windows: #58578

Build
Log

[02:31:36] fail: [FAIL] System.Globalization.Tests.IdnMappingIdnaConformanceTests.GetAscii_Success
[02:31:36] info: System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
[02:31:36] info:    at System.Globalization.Tests.Factory.ParseFile(Stream stream, Func`3 f)+MoveNext()
[02:31:36] info:    at System.Globalization.Tests.Factory.GetDataset()+MoveNext()
[02:31:36] info:    at System.Linq.Enumerable.WhereEnumerableIterator`1[[System.Globalization.Tests.IConformanceIdnaTest, System.Globalization.Extensions.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
[02:31:37] info:    at System.Collections.Generic.LargeArrayBuilder`1[[System.Globalization.Tests.IConformanceIdnaTest, System.Globalization.Extensions.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].AddRange(IEnumerable`1 )
[02:31:37] info:    at System.Collections.Generic.EnumerableHelpers.ToArray[IConformanceIdnaTest](IEnumerable`1 )
[02:31:37] info:    at System.Linq.Enumerable.ToArray[IConformanceIdnaTest](IEnumerable`1 source)
[02:31:37] info:    at System.Reflection.RuntimeMethodInfo.Invoke(Object , BindingFlags , Binder , Object[] , CultureInfo )
[02:31:37] fail: [FAIL] System.Globalization.Tests.IdnMappingIdnaConformanceTests.GetUnicode_Success
[02:31:37] info: System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
[02:31:37] info:    at System.Globalization.Tests.Factory.ParseFile(Stream stream, Func`3 f)+MoveNext()
[02:31:37] info:    at System.Globalization.Tests.Factory.GetDataset()+MoveNext()
[02:31:37] info:    at System.Linq.Enumerable.WhereEnumerableIterator`1[[System.Globalization.Tests.IConformanceIdnaTest, System.Globalization.Extensions.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
[02:31:37] info:    at System.Collections.Generic.LargeArrayBuilder`1[[System.Globalization.Tests.IConformanceIdnaTest, System.Globalization.Extensions.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].AddRange(IEnumerable`1 )
[02:31:37] info:    at System.Collections.Generic.EnumerableHelpers.ToArray[IConformanceIdnaTest](IEnumerable`1 )
[02:31:37] info:    at System.Linq.Enumerable.ToArray[IConformanceIdnaTest](IEnumerable`1 source)
[02:31:37] info:    at System.Reflection.RuntimeMethodInfo.Invoke(Object , BindingFlags , Binder , Object[] , CultureInfo )
[02:31:37] fail: [FAIL] System.Globalization.Tests.IdnMappingIdnaConformanceTests.GetUnicode_Invalid
[02:31:37] info: System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
[02:31:37] info:    at System.Globalization.Tests.Factory.ParseFile(Stream stream, Func`3 f)+MoveNext()
[02:31:37] info:    at System.Globalization.Tests.Factory.GetDataset()+MoveNext()
[02:31:37] info:    at System.Linq.Enumerable.WhereEnumerableIterator`1[[System.Globalization.Tests.IConformanceIdnaTest, System.Globalization.Extensions.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
[02:31:37] info:    at System.Collections.Generic.LargeArrayBuilder`1[[System.Globalization.Tests.IConformanceIdnaTest, System.Globalization.Extensions.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].AddRange(IEnumerable`1 )
[02:31:37] info:    at System.Collections.Generic.EnumerableHelpers.ToArray[IConformanceIdnaTest](IEnumerable`1 )
[02:31:37] info:    at System.Linq.Enumerable.ToArray[IConformanceIdnaTest](IEnumerable`1 source)
[02:31:37] info:    at System.Reflection.RuntimeMethodInfo.Invoke(Object , BindingFlags , Binder , Object[] , CultureInfo )
[02:31:37] fail: [FAIL] System.Globalization.Tests.IdnMappingIdnaConformanceTests.GetAscii_Invalid
[02:31:37] info: System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
[02:31:37] info:    at System.Globalization.Tests.Factory.ParseFile(Stream stream, Func`3 f)+MoveNext()
[02:31:37] info:    at System.Globalization.Tests.Factory.GetDataset()+MoveNext()
[02:31:37] info:    at System.Linq.Enumerable.WhereEnumerableIterator`1[[System.Globalization.Tests.IConformanceIdnaTest, System.Globalization.Extensions.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
[02:31:37] info:    at System.Collections.Generic.LargeArrayBuilder`1[[System.Globalization.Tests.IConformanceIdnaTest, System.Globalization.Extensions.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].AddRange(IEnumerable`1 )
[02:31:37] info:    at System.Collections.Generic.EnumerableHelpers.ToArray[IConformanceIdnaTest](IEnumerable`1 )
[02:31:37] info:    at System.Linq.Enumerable.ToArray[IConformanceIdnaTest](IEnumerable`1 source)
[02:31:37] info:    at System.Reflection.RuntimeMethodInfo.Invoke(Object , BindingFlags , Binder , Object[] , CultureInfo )
[02:31:42] info: Finished:    System.Globalization.Extensions.Tests.dll
[02:31:42] info: 
[02:31:42] info: === TEST EXECUTION SUMMARY ===
[02:31:42] info: Total: 290, Errors: 0, Failed: 4, Skipped: 0, Time: 6.257763s

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Sep 6, 2021
  2. radical commented on Sep 6, 2021

    @radical
    MemberAuthor
  3. added this to the 7.0.0 milestone on Sep 7, 2021
  4. removed
    untriagedNew issue has not been triaged by the area owner
    on Sep 7, 2021
  5. added
    disabled-testThe test is disabled in source code against the issue
    and removed
    disabled-testThe test is disabled in source code against the issue
    on Sep 7, 2021
  6. ilonatommy commented on Jun 21, 2022

    @ilonatommy
    Member

    After enabling all 4 tests on current main, they are passing. Tested with:
    dotnet build /t:Test src/libraries/System.Globalization.Extensions/tests /p:TargetOS=Browser /p:Configuration=Release /p:RunAOTCompilation=true /p:BrowserHost=Windows, planning to open a PR to enable them back.

  7. ghost added
    in-prThere is an active PR which will close this issue when it is merged
    on Jun 21, 2022
  8. ghost removed
    in-prThere is an active PR which will close this issue when it is merged
    on Jun 21, 2022
  9. ghost locked as resolved and limited conversation to collaborators on Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions