-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
InlineArray[Valid]/[Invalid] Runtime tests are failing for Mono miniJIT and interpreter #90398
Comments
Tagging subscribers to this area: @directhex Issue DetailsError Blob{
"ErrorMessage": "Non-success instrumentation exit code: 101, expected: 100",
"ErrorMessage": "No value for 'return-code' provided in instrumentation result. This may indicate a crashed test (see log)",
"BuildRetry": false,
"ErrorPattern": "",
"ExcludeConsoleLog": true
}
Reproduction Steps
|
The tests were enabled in #90192 and since then started failing on |
@AaronRobinsonMSFT - If these newly added tests can't be fixed for Mono (which at the moment we don't have cycles for RC1 cutoff) I suggest we disable the failing tests on mono lanes to get extra-platforms JIT/Interpreter lanes running again. The extra-platforms is not green and we are trying to make sure it doesn't regress further. cc @lambdageek |
Sure. I encourage the mono owners to handle that specifically. The disable mechanisms for some of these mono scenrios are unknown to a lot of us. I'm open to reviewing any PR, but simply disabling a test should be relatively simple to handle, no? |
Sounds good - @matouskozak will create a PR to disable those and add you for a quick review. |
The tests are working on desktop, right? it's just android-x64 that's busted? |
Nevermind. the lanes are just named differently. For example these ran runtime tests:
So it is just mobile that is acting up |
It's the lanes in extra-platforms, which most devs outside mono don't run [Sam edit] - Interesting, yeah, seems like no Mono runtime tests lanes were triggered at all. But the failures have been in Android only lanes -- [Sam Edit #2] - Some mono lanes have indeed run. Only failures are in extra-platforms. |
Yes, this is accurate |
The test runtime/src/mono/mono/metadata/class.c Line 5962 in 1eb702c
I was unable to reproduce the issue locally using an arm64 emulator in any configuration. Here is an example from interpreter run:
The failure is android-specific since the tests run on linux and apple mobile platforms. Initially I thought the ilstrip removed more than it should have, but it is not enabled by default. I can try to enable the android-arm64 CI job to check if it is arch-specific. @lambdageek Any other ideas I could try? |
@kotlarmilos I guess if normal debugging doesn't work, I would remove static inline gboolean
mono_class_has_failure_inline (MonoClass *klass, const char *func, const char *file, int line)
{
g_assertf(klass != NULL, "klass ptr is null in %s at %s:%d\n", func, file, line);
return m_class_has_failure ((MonoClass*)klass) != 0;
}
#define mono_class_has_failure (klass) mono_class_has_failure_inline(klass, __func__, __FILE__, __LINE__) and hopefully the immediate caller will make it clear what is happening. if that doesn't work, I would try harder to get debugging working ;-) |
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=369496
Affected pipelines:
Build error legs:
Mono android x64 Release @ Ubuntu.1804.Amd64.Android.29.Open
Failing:
android-x64 Release AllSubsets_Mono_RuntimeTests minijit
android-x64 Release AllSubsets_Mono_RuntimeTests_Interp monointerpreter
Error Message
Fill the error message using step by step known issues guidance.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=369496
Error message validated:
Loader\/classloader\/InlineArray\/[\w\/.\s]+\[FAIL\]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/14/2023 10:41:08 AM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: