Skip to content

CoreCLR tests on Mono runtime : System.MissingMethodException: Method not found: void System.Int32[*]..ctor(int,int) Due to: Failed to load due to unknown reasons #34068

@SamMonoRT

Description

@SamMonoRT

When running the following CoreCLR tests on the Mono runtime from the dotnet\runtime repo, we get the error "System.MissingMethodException: Method not found: void System.* ..ctor(int,int) Due to: Failed to load due to unknown reasons failures"

Example error : Unhandled Exception:
System.MissingMethodException: Method not found: void System.Int32[]..ctor(int,int) Due to: Failed to load due to unknown reasons
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: void System.Int32[
]..ctor(int,int) Due to: Failed to load due to unknown reasons

  1. JIT/Methodical/Arrays/misc/_il_dbgaddress/_il_dbgaddress.sh
  2. JIT/Methodical/Arrays/range/_il_relint32_range2/_il_relint32_range2.sh
  3. JIT/Methodical/Arrays/range/_il_dbgfloat64_range2/_il_dbgfloat64_range2.sh
  4. JIT/Methodical/Arrays/range/_il_dbgfloat64_range1/_il_dbgfloat64_range1.sh
  5. JIT/Methodical/Arrays/misc/_il_reladdress/_il_reladdress.sh
  6. JIT/Methodical/Arrays/range/_il_dbgint32_range1/_il_dbgint32_range1.sh
  7. JIT/Methodical/Arrays/range/_il_dbgint32_0_5b/_il_dbgint32_0_5b.sh
  8. JIT/Methodical/Arrays/range/_il_relint32_0_5a/_il_relint32_0_5a.sh
  9. JIT/Methodical/Arrays/range/_il_dbgint32_1/_il_dbgint32_1.sh
  10. JIT/Methodical/Arrays/range/_il_dbgint32_m1/_il_dbgint32_m1.sh
  11. JIT/Methodical/tailcall/_il_dbgdeep_array_nz/_il_dbgdeep_array_nz.sh
  12. JIT/Methodical/Arrays/range/_il_relint32_neg_range/_il_relint32_neg_range.sh
  13. JIT/Methodical/Arrays/range/_il_dbgint32_neg_range/_il_dbgint32_neg_range.sh
  14. JIT/Methodical/Arrays/range/_il_relint32_m1/_il_relint32_m1.sh
  15. JIT/Methodical/Arrays/misc/_il_relgcarr/_il_relgcarr.sh
  16. JIT/Methodical/Arrays/range/_il_relint32_0_5b/_il_relint32_0_5b.sh
  17. JIT/Methodical/tailcall/_il_reldeep_array_nz/_il_reldeep_array_nz.sh
  18. JIT/Methodical/Arrays/range/_il_relfloat64_range1/_il_relfloat64_range1.sh
  19. JIT/Methodical/Arrays/misc/_il_relinitializearray/_il_relinitializearray.sh
  20. JIT/Methodical/Arrays/range/_il_relfloat64_range2/_il_relfloat64_range2.sh
  21. JIT/Methodical/Arrays/range/_il_dbgint32_range2/_il_dbgint32_range2.sh
  22. JIT/Methodical/Arrays/range/_il_relint32_1/_il_relint32_1.sh
  23. JIT/Methodical/Invoke/25params/25paramMixed_il_r/25paramMixed_il_r.sh
  24. JIT/Methodical/Arrays/range/_il_dbgint32_0_5a/_il_dbgint32_0_5a.sh
  25. JIT/Methodical/Arrays/range/_il_relint32_range1/_il_relint32_range1.sh

Repro steps : After building the coreclr tests (cd src/coreclr && ./build-test.sh -c FlavorYouWantToRun(Debug or Ship)
Example command to run individual tests : From the dotnet\runtime repo src\mono\netcore run this command - make run-tests-coreclr CoreClrTest="bash ../../artifacts/tests/coreclr/OSX.x64.Debug/JIT/Methodical/Arrays/misc/_il_dbgaddress/_il_dbgaddress.sh"

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions