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

[mono] Apple mobile runtime tests can't load BigArray_32_1 in ClassLoader tests, the size is too big. #106797

Closed
matouskozak opened this issue Aug 22, 2024 · 5 comments
Labels
arch-arm64 area-VM-meta-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-ios Apple iOS os-tvos Apple tvOS
Milestone

Comments

@matouskozak
Copy link
Member

matouskozak commented Aug 22, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=784159
Build error leg or test failing: Loader_classloader
Affected CI: [tvos,ios]_arm64_release_allsubsets_mono_runtimetests (runtime-extra-platforms)
Range of commits: 779baa6...631778a

Stack trace:

[19:39:55.4517280] 2024-08-21 16:39:55.525 Loader_classloader[84744:102779304] System.TypeLoadException: Can't load type BigArray_32_1. The size is too big.
[19:39:55.4517630]    at __GeneratedMainWrapper.Main()

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorPattern": "Detected exit code 101 from \\/tmp\\/helix\\/working\\/.*\\/uploads\\/net\\.dot\\.Loader_classloader\\.log",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=784159
Error message validated: [Detected exit code 101 from \/tmp\/helix\/working\/.*\/uploads\/net\.dot\.Loader_classloader\.log]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/22/2024 7:07:41 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@matouskozak matouskozak added arch-arm64 blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner area-VM-meta-mono os-ios Apple iOS os-tvos Apple tvOS Known Build Error Use this to report build issues in the .NET Helix tab labels Aug 22, 2024
Copy link
Contributor

Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

@matouskozak
Copy link
Member Author

matouskozak commented Aug 22, 2024

Likely introduced by the new tests in #104393 @steveisok, @lambdageek

@vitek-karas vitek-karas added this to the 10.0.0 milestone Aug 22, 2024
@vitek-karas vitek-karas removed the untriaged New issue has not been triaged by the area owner label Aug 22, 2024
@lambdageek
Copy link
Member

We should probably ifdef the 32-bit/64-bit structs in that test

@matouskozak
Copy link
Member Author

We should probably ifdef the 32-bit/64-bit structs in that test

There is something off with the current Mono support. I tried removing completely the 32-bit code and it failed on Assert.Throws<TypeLoadException>(() => sizeof(BigArray_64_2));

Xunit.Sdk.ThrowsException: Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.TypeLoadException)
   at Xunit.Assert.Throws(Type exceptionType, Exception exception) in /_/src/Microsoft.DotNet.XUnitAssert/src/ExceptionAsserts.cs:line 47
   at Xunit.Assert.Throws[TypeLoadException](Func`1 testCode) in /_/src/Microsoft.DotNet.XUnitAssert/src/ExceptionAsserts.cs:line 113
   at LargeStructSize.TestLargeStructSize() in <PATH>/src/tests/Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_Mono.cs:line 48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm64 area-VM-meta-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-ios Apple iOS os-tvos Apple tvOS
Projects
None yet
Development

No branches or pull requests

4 participants