Skip to content

Test failures on Android: error: device 'emulator-5556' not found #70056

Closed

Description

@buyaa-n

Failures found on runtime-extra-platforms test run for :
Build Android x64 Release AllSubsets_Mono and Build Android x86 Release AllSubsets_Mono legs

[17:04:42] fail: No value for 'return-code' provided in instrumentation result. This may indicate a crashed test (see log)
[17:04:45] dbug: Executing command: '/datadisks/disk1/work/B7F80A00/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.22270.1/runtimes/any/native/adb/linux/adb -s emulator-5556 logcat -d '
[17:06:45] fail: Waiting for command timed out: execution may be compromised
[17:06:45] fail: Error getting ADB log:
                 Exit code: -2
                 Std out:
                 
                 
                 Std err:
                 - waiting for device -
                 
                 
                 
[17:06:45] info: Attempting to remove apk 'net.dot.Microsoft.Extensions.Hosting.Systemd.Tests'..
[17:06:45] dbug: Executing command: '/datadisks/disk1/work/B7F80A00/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.22270.1/runtimes/any/native/adb/linux/adb -s emulator-5556 uninstall net.dot.Microsoft.Extensions.Hosting.Systemd.Tests'
[17:11:45] fail: Waiting for command timed out: execution may be compromised
[17:11:45] fail: Error: Exit code: -2
                 Std out:
                 
                 
                 Std err:
                 error: device 'emulator-5556' not found
                 - waiting for device -
                 
                 
                 
[17:11:45] dbug: Saving diagnostics data to '/datadisks/disk1/work/B7F80A00/w/A1A20914/e/diagnostics.json'
XHarness exit code: 82 (RETURN_CODE_NOT_SET)

https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-69506-merge-44ac2aed0a994ef4b4/Microsoft.Extensions.Hosting.Systemd.Tests/1/console.b785a100.log?helixlogtype=result
https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-69506-merge-48891d2f30a140fdb1/System.Threading.ThreadPool.Tests/1/console.6180d443.log?helixlogtype=result

Activity

  1. ghost added
    untriaged
    on May 31, 2022
  2. premun commented on Jun 1, 2022

    @premun
    Member

    This was being fixed here: dotnet/xharness#889

    But I think we're looking for the -2 exit code in a different place than we need to (it comes from logcat and not the instrumentation).

    I will open an issue for this

  3. premun commented on Jun 1, 2022

    @premun
    Member
  4. ghost removed
    untriaged
    on Jul 5, 2022
  5. ghost locked as resolved and limited conversation to collaborators on Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions