Skip to content

[CoreCLR] System.InvalidCastException thrown in tests #84

Closed

Description

@jashook

https://dev.azure.com/dnceng/public/_build/results?buildId=430455&view=ms.vss-test-web.build-test-results-tab

Native image C:\dotnetbuild\work\98963201-3865-458b-88b5-5b6d501560e9\Work\1a4c26fd-5901-45fb-b120-fcc1643ad599\Exec\Loader\classloader\generics\Variance\Methods\Method003\\Method003.dll generated successfully.
 "C:\dotnetbuild\work\98963201-3865-458b-88b5-5b6d501560e9\Payload\corerun.exe" Method003.dll 
Unexpected Exception System.InvalidCastException: Unable to cast object of type 'E' to type 'IMinusT[System.Object[]]'.
   at A7.method1[M](Object t) in F:\workspace.1\_work\1\s\src\coreclr\tests\src\Loader\classloader\generics\Variance\Methods\Method003.cs:line 37
   at TestClass.LoadTypeInternal(String testType) in F:\workspace.1\_work\1\s\src\coreclr\tests\src\Loader\classloader\generics\Variance\Methods\Method003.cs:line 96
   at TestClass.LoadType(String testType, Boolean expected) in F:\workspace.1\_work\1\s\src\coreclr\tests\src\Loader\classloader\generics\Variance\Methods\Method003.cs:line 114
Test Failed at location: Test103 @ count 3 
Total test cases: 3  Failed test cases: 1

Activity

  1. added
    api-approved
    and removed
    api-approved
    on Nov 18, 2019
  2. added a commit that references this issue on Nov 19, 2019
  3. added
    disabled-test
    on Nov 20, 2019
  4. ViktorHofer commented on Nov 20, 2019

    @ViktorHofer
    Member

    Also added the "disabled-test" labe here.

  5. added this to the 5.0 milestone on Jan 8, 2020
  6. mangod9 commented on Aug 3, 2020

    @mangod9
    Member

    Hey @jashook, do you have context on this failure. Looking through the test it appears it might have been failing on 3.1 too, so checking if this was a new test possibly?

  7. mangod9 commented on Aug 6, 2020

    @mangod9
    Member

    Dont believe this test failure is a regression. Appears to be failing since 2.0

  8. modified the milestones: 5.0.0, 6.0.0 on Aug 6, 2020
  9. added a commit that references this issue on Sep 10, 2020
  10. mangod9 commented on Jul 9, 2021

    @mangod9
    Member

    Closing since this appears to be re-enabled?

  11. ghost locked as resolved and limited conversation to collaborators on Aug 9, 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-VM-coreclrdisabled-test

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions