Skip to content

System.Linq.Expressions tests are broken in CI #51346

Closed

Description

@eerhardt
C:\h\w\A918093D\w\A6DD0962\e>"C:\h\w\A918093D\p\dotnet.exe" exec --runtimeconfig System.Linq.Expressions.Tests.runtimeconfig.json --depsfile System.Linq.Expressions.Tests.deps.json xunit.console.dll System.Linq.Expressions.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: System.Linq.Expressions.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Linq.Expressions.Tests (found 5645 of 5657 test cases)
  Starting:    System.Linq.Expressions.Tests (parallel test collections = on, max threads = 2)
    System.Linq.Expressions.Tests.ConvertTests.ConvertFloatToNullableULongTest(useInterpreter: False) [FAIL]
      Assert.Equal() Failure
      Expected: 0
      Actual:   9223372036854775808
      Stack Trace:
        /_/src/libraries/System.Linq.Expressions/tests/Convert/ConvertTests.cs(11459,0): at System.Linq.Expressions.Tests.ConvertTests.VerifyFloatToNullableULong(Single value, Boolean useInterpreter)
        /_/src/libraries/System.Linq.Expressions/tests/Convert/ConvertTests.cs(3128,0): at System.Linq.Expressions.Tests.ConvertTests.ConvertFloatToNullableULongTest(Boolean useInterpreter)
    System.Linq.Expressions.Tests.ConvertTests.ConvertDoubleToNullableULongTest(useInterpreter: False) [FAIL]
      Assert.Equal() Failure
      Expected: 0
      Actual:   9223372036854775808
      Stack Trace:
        /_/src/libraries/System.Linq.Expressions/tests/Convert/ConvertTests.cs(9533,0): at System.Linq.Expressions.Tests.ConvertTests.VerifyDoubleToNullableULong(Double value, Boolean useInterpreter)
        /_/src/libraries/System.Linq.Expressions/tests/Convert/ConvertTests.cs(1686,0): at System.Linq.Expressions.Tests.ConvertTests.ConvertDoubleToNullableULongTest(Boolean useInterpreter)
    System.Linq.Expressions.Tests.ConvertTests.ConvertNullableDoubleToNullableULongTest(useInterpreter: False) [FAIL]
      Assert.Equal() Failure
      Expected: 0
      Actual:   9223372036854775808
      Stack Trace:
        /_/src/libraries/System.Linq.Expressions/tests/Convert/ConvertTests.cs(9904,0): at System.Linq.Expressions.Tests.ConvertTests.VerifyNullableDoubleToNullableULong(Nullable`1 value, Boolean useInterpreter)
        /_/src/libraries/System.Linq.Expressions/tests/Convert/ConvertTests.cs(1938,0): at System.Linq.Expressions.Tests.ConvertTests.ConvertNullableDoubleToNullableULongTest(Boolean useInterpreter)
    System.Linq.Expressions.Tests.ConvertTests.ConvertNullableFloatToNullableULongTest(useInterpreter: False) [FAIL]
      Assert.Equal() Failure
      Expected: 0
      Actual:   9223372036854775808
      Stack Trace:
        /_/src/libraries/System.Linq.Expressions/tests/Convert/ConvertTests.cs(11830,0): at System.Linq.Expressions.Tests.ConvertTests.VerifyNullableFloatToNullableULong(Nullable`1 value, Boolean useInterpreter)
        /_/src/libraries/System.Linq.Expressions/tests/Convert/ConvertTests.cs(3380,0): at System.Linq.Expressions.Tests.ConvertTests.ConvertNullableFloatToNullableULongTest(Boolean useInterpreter)
  Finished:    System.Linq.Expressions.Tests
=== TEST EXECUTION SUMMARY ===
   System.Linq.Expressions.Tests  Total: 35230, Errors: 0, Failed: 4, Skipped: 0, Time: 29.861s

Activity

  1. added
    blocking-clean-ci
    on Apr 15, 2021
  2. ghost added
    untriaged
    on Apr 15, 2021
  3. added
    area-CodeGen-coreclr
    and removed on Apr 15, 2021
  4. eerhardt commented on Apr 15, 2021

    @eerhardt
    MemberAuthor

    Pinging the authors of the latest changes in src\coreclr:

    @kunalspathak @SingleAccretion @davidwrighton @MichalStrehovsky @BruceForstall @trylek @jkoritzinsky

  5. SingleAccretion commented on Apr 15, 2021

    @SingleAccretion
    Contributor

    Sigh. This is caused by #50450 - we are now folding the cases when float/double -> ulong conversions occur (previously they went through the helper path and weren't being folded) and this test is exercising some implementation-defined casts:

    foreach (float value in new float[] { 0, 1, -1, float.MinValue, float.MaxValue, float.Epsilon, float.NegativeInfinity, float.PositiveInfinity, float.NaN })

    It has the same root cause as #47374, and the fix is blocked by resolving #47478.

    I will put up a PR to disable these for now.

    @eerhardt I assume the log you have contains all the failures, right?

  6. eerhardt commented on Apr 15, 2021

    @eerhardt
    MemberAuthor

    I assume the log you have contains all the failures, right?

    I think so.

  7. added
    disabled-test
    and removed
    blocking-clean-ci
    on Apr 16, 2021
  8. removed
    untriaged
    on Apr 20, 2021
  9. added this to the 6.0.0 milestone on Apr 20, 2021
  10. AndyAyersMS commented on Jun 7, 2021

    @AndyAyersMS
    Member

    @SingleAccretion going to assign this to you. Let me know if you're not able to get to this sometime in the next week or two.

  11. SingleAccretion commented on Jun 7, 2021

    @SingleAccretion
    Contributor

    I have a PR up that will re-enable these tests: #53782. I will switch it as ready-for-review.

  12. ghost added
    in-pr
    on Jun 7, 2021
  13. ghost removed
    in-pr
    on Jul 7, 2021
  14. ghost locked as resolved and limited conversation to collaborators on Aug 6, 2021
  15. removed their assignment
    on Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrdisabled-test

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions