-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
Description
[15:59:37] dbug: Executing command: 'C:\h\w\A76F0978\p\microsoft.dotnet.xharness.cli\1.0.0-prerelease.21068.3\runtimes\any\native\adb\windows\adb.exe devices -l'
[15:59:37] dbug: Evaluating output line for device serial: 9CJAY1PTHW device product:sargo model:Pixel_3a device:sargo transport_id:48
[15:59:37] dbug: Executing command: 'C:\h\w\A76F0978\p\microsoft.dotnet.xharness.cli\1.0.0-prerelease.21068.3\runtimes\any\native\adb\windows\adb.exe -s 9CJAY1PTHW shell getprop ro.product.cpu.abi'
[16:04:37] fail: Waiting for command timed out: execution may be compromised.
[16:04:37] fail: Error trying to get device architecture:
[16:04:37] crit: Failure to run test package: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.DotNet.XHarness.CLI.Commands.Android.AndroidTestCommand.<>c__DisplayClass17_0.<GetDeviceToUse>b__0(KeyValuePair`2 kvp) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/Android/AndroidTestCommand.cs:line 259
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at Microsoft.DotNet.XHarness.CLI.Commands.Android.AndroidTestCommand.GetDeviceToUse(ILogger logger, AdbRunner runner, String apkRequiredArchitecture) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/Android/AndroidTestCommand.cs:line 259
at Microsoft.DotNet.XHarness.CLI.Commands.Android.AndroidTestCommand.InvokeInternal(ILogger logger) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/Android/AndroidTestCommand.cs:line 99
XHarness exit code: 71
The fact that we couldn't get the device architecture shouldn't cause a NullReferenceException.
/cc @MattGal