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

[6.0] [Android] CI failure: Interop_DllImportSearchPaths - Non-success instrumentation exit code: 101, expected: 100 #86271

Closed
carlossanlop opened this issue May 15, 2023 · 2 comments · Fixed by #86576
Labels
arch-x64 area-Interop-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-android runtime-mono specific to the Mono runtime

Comments

@carlossanlop
Copy link
Member

carlossanlop commented May 15, 2023

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=271088
Build error leg or test failing: Interop.WorkItemExecution
Pull request: #86123
Queue: Build Android x64 Release AllSubsets_Mono_RuntimeTests
Job: https://dev.azure.com/dnceng-public/public/_build/results?buildId=271088&view=logs&j=e36cdb78-1b23-5f53-5d15-e931194c7d32&t=5f3cc2c3-b299-5f57-0006-9e48b00ce7cd&l=744

Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "fail: Non-success instrumentation exit code: 101, expected: 100",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Callstack:

  Starting:    Interop.DllImportSearchPaths.XUnitWrapper (parallel test collections = off, max threads = 2)
    Interop/DllImportSearchPaths/DllImportSearchPathsTest/DllImportSearchPathsTest.sh [FAIL]
      
      Return code:      1
      Raw output file:      /datadisks/disk1/work/A9970945/w/9C7E08F0/uploads/Reports/Interop.DllImportSearchPaths/DllImportSearchPathsTest/DllImportSearchPathsTest.output.txt
      Raw output:
      BEGIN EXECUTION
      XHarness command issued: android run --instrumentation=net.dot.MonoRunner --package-name=net.dot.Interop_DllImportSearchPaths --output-directory=/datadisks/disk1/work/A9970945/w/9C7E08F0/uploads/Reports/Interop.DllImportSearchPaths/DllImportSearchPathsTest --arg=entrypoint:libname=DllImportSearchPathsTest.dll --expected-exit-code=100 -v
      [00:08:17] dbug: Android Run command called: App = net.dot.Interop_DllImportSearchPaths
                       
      [00:08:17] dbug: Timeout = 900 seconds.
      [00:08:17] dbug: ADBRunner using ADB.exe supplied from /datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/tools/net6.0/any/../../../runtimes/any/native/adb/linux/adb
      [00:08:17] dbug: Full resolved path:'/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb'
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb  start-server'
      [00:08:17] dbug: 
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb  devices -l'
      [00:08:17] dbug: Evaluating output line for device serial: emulator-5554          device product:sdk_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb  -s emulator-5554 shell pm list packages -3'
      [00:08:17] dbug: Evaluating output line for device serial: emulator-5556          device product:sdk_phone_x86_64 model:Android_SDK_built_for_x86_64 device:generic_x86_64 transport_id:2
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb  -s emulator-5556 shell pm list packages -3'
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 shell getprop ro.build.version.sdk'
      [00:08:17] info: Active Android device set to serial 'emulator-5556'
      [00:08:17] info: Waiting for device to be available (max 5 minutes)
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 wait-for-device'
      [00:08:17] dbug: 
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 shell getprop sys.boot_completed'
      [00:08:17] dbug: Waited 0.016839 seconds for device for sys.boot_completed to be 1.
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 version'
      [00:08:17] dbug: Working with Android Debug Bridge version 1.0.41
                       Version 29.0.6-6198805
                       Installed as /datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb
                       
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 logcat -c'
      [00:08:17] info: Starting instrumentation class 'net.dot.MonoRunner' on net.dot.Interop_DllImportSearchPaths
      [00:08:17] dbug: Raw command: 'shell am instrument  -e entrypoint:libname DllImportSearchPathsTest.dll -w net.dot.Interop_DllImportSearchPaths/net.dot.MonoRunner'
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 shell am instrument  -e entrypoint:libname DllImportSearchPathsTest.dll -w net.dot.Interop_DllImportSearchPaths/net.dot.MonoRunner'
      [00:08:19] info: Running instrumentation class net.dot.MonoRunner took 1.792292 seconds
      [00:08:19] dbug: Exit code: 0
                       Standard Output:
                       INSTRUMENTATION_RESULT: return-code=101
                       INSTRUMENTATION_CODE: 101
                       
                       
      [00:08:19] info: Instrumentation finished normally with exit code 101
      [00:08:22] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 logcat -d '
      [00:08:22] info: Wrote current ADB log to /datadisks/disk1/work/A9970945/w/9C7E08F0/uploads/Reports/Interop.DllImportSearchPaths/DllImportSearchPathsTest/adb-logcat-net.dot.Interop_DllImportSearchPaths-net.dot.MonoRunner.log
      [00:08:22] fail: Non-success instrumentation exit code: 101, expected: 100
      XHarness exit code: 1 (TESTS_FAILED)
      Test Harness Exitcode is : 1
      To run the test:
      > set CORE_ROOT=/datadisks/disk1/work/A9970945/p
      > /datadisks/disk1/work/A9970945/w/9C7E08F0/e/Interop/DllImportSearchPaths/DllImportSearchPathsTest/DllImportSearchPathsTest.sh

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@carlossanlop carlossanlop added arch-x64 blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' os-android runtime-mono specific to the Mono runtime area-Interop-mono Known Build Error Use this to report build issues in the .NET Helix tab labels May 15, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label May 15, 2023
@ghost
Copy link

ghost commented May 15, 2023

Tagging subscribers to 'arch-android': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Issue Details

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=271088
Build error leg or test failing: Interop.WorkItemExecution
Pull request: #86123
Queue: Build Android x64 Release AllSubsets_Mono_RuntimeTests
Job: https://dev.azure.com/dnceng-public/public/_build/results?buildId=271088&view=logs&j=e36cdb78-1b23-5f53-5d15-e931194c7d32&t=5f3cc2c3-b299-5f57-0006-9e48b00ce7cd&l=744

Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "fail: Non-success instrumentation exit code: 101, expected: 100",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Callstack:

  Starting:    Interop.DllImportSearchPaths.XUnitWrapper (parallel test collections = off, max threads = 2)
    Interop/DllImportSearchPaths/DllImportSearchPathsTest/DllImportSearchPathsTest.sh [FAIL]
      
      Return code:      1
      Raw output file:      /datadisks/disk1/work/A9970945/w/9C7E08F0/uploads/Reports/Interop.DllImportSearchPaths/DllImportSearchPathsTest/DllImportSearchPathsTest.output.txt
      Raw output:
      BEGIN EXECUTION
      XHarness command issued: android run --instrumentation=net.dot.MonoRunner --package-name=net.dot.Interop_DllImportSearchPaths --output-directory=/datadisks/disk1/work/A9970945/w/9C7E08F0/uploads/Reports/Interop.DllImportSearchPaths/DllImportSearchPathsTest --arg=entrypoint:libname=DllImportSearchPathsTest.dll --expected-exit-code=100 -v
      [00:08:17] dbug: Android Run command called: App = net.dot.Interop_DllImportSearchPaths
                       
      [00:08:17] dbug: Timeout = 900 seconds.
      [00:08:17] dbug: ADBRunner using ADB.exe supplied from /datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/tools/net6.0/any/../../../runtimes/any/native/adb/linux/adb
      [00:08:17] dbug: Full resolved path:'/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb'
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb  start-server'
      [00:08:17] dbug: 
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb  devices -l'
      [00:08:17] dbug: Evaluating output line for device serial: emulator-5554          device product:sdk_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb  -s emulator-5554 shell pm list packages -3'
      [00:08:17] dbug: Evaluating output line for device serial: emulator-5556          device product:sdk_phone_x86_64 model:Android_SDK_built_for_x86_64 device:generic_x86_64 transport_id:2
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb  -s emulator-5556 shell pm list packages -3'
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 shell getprop ro.build.version.sdk'
      [00:08:17] info: Active Android device set to serial 'emulator-5556'
      [00:08:17] info: Waiting for device to be available (max 5 minutes)
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 wait-for-device'
      [00:08:17] dbug: 
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 shell getprop sys.boot_completed'
      [00:08:17] dbug: Waited 0.016839 seconds for device for sys.boot_completed to be 1.
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 version'
      [00:08:17] dbug: Working with Android Debug Bridge version 1.0.41
                       Version 29.0.6-6198805
                       Installed as /datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb
                       
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 logcat -c'
      [00:08:17] info: Starting instrumentation class 'net.dot.MonoRunner' on net.dot.Interop_DllImportSearchPaths
      [00:08:17] dbug: Raw command: 'shell am instrument  -e entrypoint:libname DllImportSearchPathsTest.dll -w net.dot.Interop_DllImportSearchPaths/net.dot.MonoRunner'
      [00:08:17] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 shell am instrument  -e entrypoint:libname DllImportSearchPathsTest.dll -w net.dot.Interop_DllImportSearchPaths/net.dot.MonoRunner'
      [00:08:19] info: Running instrumentation class net.dot.MonoRunner took 1.792292 seconds
      [00:08:19] dbug: Exit code: 0
                       Standard Output:
                       INSTRUMENTATION_RESULT: return-code=101
                       INSTRUMENTATION_CODE: 101
                       
                       
      [00:08:19] info: Instrumentation finished normally with exit code 101
      [00:08:22] dbug: Executing command: '/datadisks/disk1/work/A9970945/p/microsoft.dotnet.xharness.cli/6.0.0-prerelease.23253.6/runtimes/any/native/adb/linux/adb -s emulator-5556 logcat -d '
      [00:08:22] info: Wrote current ADB log to /datadisks/disk1/work/A9970945/w/9C7E08F0/uploads/Reports/Interop.DllImportSearchPaths/DllImportSearchPathsTest/adb-logcat-net.dot.Interop_DllImportSearchPaths-net.dot.MonoRunner.log
      [00:08:22] fail: Non-success instrumentation exit code: 101, expected: 100
      XHarness exit code: 1 (TESTS_FAILED)
      Test Harness Exitcode is : 1
      To run the test:
      > set CORE_ROOT=/datadisks/disk1/work/A9970945/p
      > /datadisks/disk1/work/A9970945/w/9C7E08F0/e/Interop/DllImportSearchPaths/DllImportSearchPathsTest/DllImportSearchPathsTest.sh
Author: carlossanlop
Assignees: -
Labels:

arch-x64, blocking-clean-ci, os-android, runtime-mono, area-Interop-mono, Known Build Error

Milestone: -

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label May 22, 2023
akoeplinger added a commit that referenced this issue May 22, 2023
Loading assemblies from subdirectories is not supported, this ports the fix from main to 6.0
Fixes #86271
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label May 23, 2023
@akoeplinger
Copy link
Member

The test was disabled, closing.

@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jul 11, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Aug 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x64 area-Interop-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-android runtime-mono specific to the Mono runtime
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants