Skip to content

[Android][Test] Failed to install mobile app #89567

Closed

Description

@fanyang-mono

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=353048
Build error leg or test failing:
Pull request: #89467

Error Message

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 Interop_NativeLibrary._Global..ctor()
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
           at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
        ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) -----

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

{
  "ErrorMessage": "Failed to install mobile app",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=353048
Error message validated: Failed to install mobile app
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/27/2023 2:36:55 PM UTC

Report

Build Definition Test Pull Request
362691 dotnet/runtime Interop.WorkItemExecution
362596 dotnet/runtime baseservices.threading.WorkItemExecution #89003
362306 dotnet/runtime nativeaot.SmokeTests.UnitTests.WorkItemExecution #89932
361849 dotnet/runtime PayloadGroup0.WorkItemExecution
361403 dotnet/runtime baseservices.invalid_operations.WorkItemExecution #88724
361283 dotnet/runtime Loader.classloader.WorkItemExecution
361259 dotnet/runtime JIT/Methodical/ldtoken/_il_dbgtypes/_il_dbgtypes.sh
360331 dotnet/runtime nativeaot.SmokeTests.UnitTests.WorkItemExecution
360148 dotnet/runtime JIT.Regression.CLR-x86-JIT.V1-M09-M11.WorkItemExecution #89814
360125 dotnet/runtime Loader.classloader.generics.WorkItemExecution
360127 dotnet/runtime JIT/Methodical/eh/basics/emptyfinally_d/emptyfinally_d.sh
360116 dotnet/runtime PayloadGroup0.WorkItemExecution #89829
359818 dotnet/runtime PayloadGroup0.WorkItemExecution #89809
359734 dotnet/runtime JIT/Methodical/ldtoken/_il_dbgtypes/_il_dbgtypes.sh
359654 dotnet/runtime Loader.classloader.WorkItemExecution
359522 dotnet/runtime PayloadGroup0.WorkItemExecution #89805
359526 dotnet/runtime JIT/Methodical/Arrays/huge/_il_relhuge_b/_il_relhuge_b.sh #89009
359427 dotnet/runtime JIT.1.WorkItemExecution #89260
358612 dotnet/runtime JIT.PGO.WorkItemExecution
358004 dotnet/runtime JIT.Math.WorkItemExecution
357141 dotnet/runtime PayloadGroup0.WorkItemExecution
357075 dotnet/runtime baseservices.mono.WorkItemExecution #89696
356877 dotnet/runtime baseservices.mono.WorkItemExecution
356421 dotnet/runtime baseservices/threading/coverage/OSThreadId/osthreadid/osthreadid.sh
356351 dotnet/runtime JIT.Math.WorkItemExecution #89638
356170 dotnet/runtime JIT.Math.WorkItemExecution
355235 dotnet/runtime baseservices.threading.WorkItemExecution #89009
355027 dotnet/runtime PayloadGroup0.WorkItemExecution #89619
355019 dotnet/runtime JIT.1.WorkItemExecution
354674 dotnet/runtime baseservices.invalid_operations.WorkItemExecution #89521
354230 dotnet/runtime JIT.IL_Conformance.WorkItemExecution
354241 dotnet/runtime nativeaot.SmokeTests.UnitTests.WorkItemExecution #89223
353999 dotnet/runtime baseservices.invalid_operations.WorkItemExecution #89569
353048 dotnet/runtime baseservices.invalid_operations.WorkItemExecution #89467
352553 dotnet/runtime baseservices.mono.WorkItemExecution #89498

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 26 35

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Jul 27, 2023
  2. self-assigned this
    on Jul 27, 2023
  3. ghost added
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Jul 27, 2023
  4. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Jul 27, 2023
  5. fanyang-mono commented on Jul 27, 2023

    @fanyang-mono
    MemberAuthor

    @premun Are you aware of any known issue which could call the Android app failing to be installed?

  6. removed
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Jul 30, 2023
  7. SamMonoRT commented on Aug 3, 2023

    @SamMonoRT
    Member

    @lambdageek - I'm seeing some logs failures indicating there were some warnings (I guess now treated as errors after https://github.com/dotnet/runtime/pull/89197/files ?) I'm not sure if these are related to the change though - https://dev.azure.com/dnceng-public/public/_build/results?buildId=353048&view=logs&j=11fc76eb-f2d5-5967-e9b4-f54329587f75&t=5d22afdd-fd55-5fd8-7ab1-37ebf23474bd

    /__w/1/s/src/mono/msbuild/android/build/AndroidBuild.targets(259,5): error MSB4018: Scanning dependencies of target System.Threading.Channels.dll [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT/Android.Device_Emulator.Aot.Test.csproj]
    /__w/1/s/src/mono/msbuild/android/build/AndroidBuild.targets(259,5): error MSB4018: [ 65%] Building ASM object CMakeFiles/System.Threading.Channels.dll.dir/__w/1/s/artifacts/obj/Android.Device_Emulator.Aot.Test/Release/net8.0/android-arm64/mobile/System.Threading.Channels.dll.s.o [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT/Android.Device_Emulator.Aot.Test.csproj]
    /__w/1/s/src/mono/msbuild/android/build/AndroidBuild.targets(259,5): error MSB4018: clang: warning: argument unused during compilation: '-D FORCE_AOT=1' [-Wunused-command-line-argument] [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT/Android.Device_Emulator.Aot.Test.csproj]
    /__w/1/s/src/mono/msbuild/android/build/AndroidBuild.targets(259,5): error MSB4018: clang: warning: argument unused during compilation: '-D STATIC_AOT=1' [-Wunused-command-line-argument] [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT/Android.Device_Emulator.Aot.Test.csproj]
    /__w/1/s/src/mono/msbuild/android/build/AndroidBuild.targets(259,5): error MSB4018: clang: warning: argument unused during compilation: '-D ANDROID' [-Wunused-command-line-argument] [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT/Android.Device_Emulator.Aot.Test.csproj]
    /__w/1/s/src/mono/msbuild/android/build/AndroidBuild.targets(259,5): error MSB4018: clang: warning: argument unused during compilation: '-fdata-sections' [-Wunused-command-line-argument] [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT/Android.Device_Emulator.Aot.Test.csproj]
    /__w/1/s/src/mono/msbuild/android/build/AndroidBuild.targets(259,5): error MSB4018: clang: warning: argument unused during compilation: '-ffunction-sections' [-Wunused-command-line-argument] [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT/Android.Device_Emulator.Aot.Test.csproj]
    /__w/1/s/src/mono/msbuild/android/build/AndroidBuild.targets(259,5): error MSB4018: clang: warning: argument unused during compilation: '-funwind-tables' [-Wunused-command-line-argument] [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT/Android.Device_Emulator.Aot.Test.csproj]
    /__w/1/s/src/mono/msbuild/android/build/AndroidBuild.targets(259,5): error MSB4018: clang: warning: argument unused during compilation: '-fstack-protector-strong' [-Wunused-command-line-argument] [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT/Android.Device_Emulator.Aot.Test.csproj]
    /__w/1/s/src/mono/msbuild/android/build/AndroidBuild.targets(259,5): error MSB4018: clang: warning: argument unused during compilation: '-D _FORTIFY_SOURCE=2' [-Wunused-command-line-argument] [/__w/1/s/src/tests/FunctionalTests/Android/Device_Emulator/AOT/Android.Device_Emulator.Aot.Test.csproj]

  8. lambdageek commented on Aug 4, 2023

    @lambdageek
    Member

    @SamMonoRT Not all warnings are treated as errors - only the missing prototype warnings are treated as errors. However the compiler now emits more warnings (-Wall is new from #89197, also). So those other ones are harmless.

    Also @akoeplinger fixed the register_aot_modules error which I guess is what is making the builds fail #89922

  9. akoeplinger commented on Aug 4, 2023

    @akoeplinger
    Member

    Yes I think that specific error should be fixed now. Let's close this.

  10. ghost removed
    untriagedNew issue has not been triaged by the area owner
    on Aug 4, 2023
  11. ghost locked as resolved and limited conversation to collaborators on Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-Interop-monoblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions