Open carlossanlop opened 1 year ago
Tagging subscribers to 'arch-android': @steveisok, @akoeplinger See info in area-owners.md if you want to be subscribed.
Author: | carlossanlop |
---|---|
Assignees: | - |
Labels: | `arch-x64`, `os-android`, `area-VM-meta-mono` |
Milestone: | - |
@fanyang-mono does this happen in main as well?
@steveisok No I haven't seen apps failing to install for quite a while, since we introduced recovery mechanism. I checked that that code doesn't exit in release/6.0
branch.
Comparing https://github.com/dotnet/runtime/blob/release/6.0/src/tests/Common/Coreclr.TestWrapper/MobileAppHandler.cs and https://github.com/dotnet/runtime/blob/main/src/tests/Common/Coreclr.TestWrapper/MobileAppHandler.cs
I am not sure if helix support that feature for 6.0. @premun
Seems like the version of Arcade on the 6.0 branch does have this backported: https://github.com/dotnet/arcade/blob/0c93c1cb1ef9c9d5c1a59f4ab98c2f7e37f12197/src/Microsoft.DotNet.Helix/Sdk/tools/xharness-runner/xharness-runner.apple.sh
Seems like the version of Arcade on the 6.0 branch does have this backported: https://github.com/dotnet/arcade/blob/0c93c1cb1ef9c9d5c1a59f4ab98c2f7e37f12197/src/Microsoft.DotNet.Helix/Sdk/tools/xharness-runner/xharness-runner.apple.sh
I assume that the functionality for Android is backported as well?
For Helix SDK, everything would be backported together
Seen again in the latest 6.0 dependency flow PR: https://github.com/dotnet/runtime/pull/83513
Build Android x64 Release AllSubsets_Mono_RuntimeTests
Starting: JIT.Methodical.XUnitWrapper (parallel test collections = off, max threads = 2)
JIT/Methodical/eh/basics/emptyfinally_d/emptyfinally_d.sh [FAIL]
System.AggregateException : One or more errors occurred. (Failed to install mobile app.
Expected: True
Actual: False) (The following constructor parameters did not have matching fixture data: _Global globalVar)
---- Failed to install mobile app.
Expected: True
Actual: False
---- The following constructor parameters did not have matching fixture data: _Global globalVar
Stack Trace:
----- Inner Stack Trace #1 (Xunit.Sdk.TrueException) -----
at JIT_Methodical._Global..ctor()
----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) -----
JIT/Methodical/eh/basics/multihandler_d/multihandler_d.sh [FAIL]
System.AggregateException : One or more errors occurred. (Failed to install mobile app.
Expected: True
Actual: False) (The following constructor parameters did not have matching fixture data: _Global globalVar)
---- Failed to install mobile app.
Expected: True
Actual: False
---- The following constructor parameters did not have matching fixture data: _Global globalVar
Stack Trace:
----- Inner Stack Trace #1 (Xunit.Sdk.TrueException) -----
at JIT_Methodical._Global..ctor()
----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) -----
Still happening: https://github.com/dotnet/runtime/pull/84357
Still pretty impactful. Affecting most, if not all 6.0 PRs.
I will try to backport a fix for this later this week.
I will try to backport a fix for this later this week.
@fanyang-mono - is this completed ?
@fanyang-mono - please update with current status and close/move to Future Milestone.
There isn't one particular PR, but a handful amount that I would need to backport to 6.0 to make these failures go away. There are still a good amount of PR passes Android runs. For example, https://dev.azure.com/dnceng-public/public/_build/results?buildId=370864&view=results.
I've decided to close this issue.
@fanyang-mono due to the high impact of this failure in servicing branches, I would prefer to keep this open to ensure KnownBuildError links the PR failures with this issue. Saves me tons of investigation time. Example: https://github.com/dotnet/runtime/pull/91078
I moved it to Future instead of 8.0.0.
@akoeplinger @lewing @steveisok @radical
Since this was moved to Future, can we please disable the 6.0 CI legs that consistently hit this failure?
Found in the internal->public merge PR for 6.0: https://github.com/dotnet/runtime/pull/83404
Lots of tests affected by the exact same failure message.
Build Android x64 Release AllSubsets_Mono_RuntimeTests
Callstack:
... and goes on and on...
Report
Summary
Known issue validation
Build: :mag_right: Result validation: :warning: Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: :mag_right:" line. Validation performed at: 6/28/2023 6:30:52 PM UTC