Skip to content

NRE in iOS.Device.Aot.Test when starting up xharness #96403

Closed

Description

@radical

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=512194
Build error leg or test failing: iOS.Device.Aot.Test.WorkItemExecution
Pull request: https://github.com/dotnet/runtime.git/pull/96399

Error Message

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

{
  "ErrorMessage": "at Microsoft.DotNet.XHarness.iOS.Shared.Hardware.Device.get_Architecture",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
[09:53:22] info: Preparing run for ios-device
[09:53:22] info: Looking for available ios-device devices..
[09:53:22] dbug: Looking for available ios-device devices. Storing logs into list-ios-device-20240102_095322.log
[09:53:25] crit: System.NullReferenceException: Object reference not set to an instance of an object.
                    at Microsoft.DotNet.XHarness.iOS.Shared.Hardware.Device.get_Architecture() in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/Hardware/Device.cs:line 100
                    at Microsoft.DotNet.XHarness.iOS.Shared.Hardware.Device.get_Supports64Bit() in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/Hardware/Device.cs:line 82
                    at Microsoft.DotNet.XHarness.iOS.Shared.Hardware.HardwareDeviceLoader.<>c.<get_Connected64BitIOS>b__7_0(IHardwareDevice x) in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/Hardware/HardwareDeviceLoader.cs:line 48
                    at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
                    at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
                    at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
                    at Microsoft.DotNet.XHarness.Apple.DeviceFinder.FindDevice(TestTargetOs target, String deviceName, ILog log, Boolean includeWirelessDevices, Boolean pairedDevicesOnly, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/DeviceFinder.cs:line 87
                    at Microsoft.DotNet.XHarness.Apple.BaseOrchestrator.OrchestrateOperationInternal(TestTargetOs target, String deviceName, Boolean includeWirelessDevices, Boolean resetSimulator, Boolean enableLldb, GetAppBundleInfoFunc getAppBundle, ExecuteMacCatalystAppFunc executeMacCatalystApp, ExecuteAppFunc executeApp, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/Orchestration/BaseOrchestrator.cs:line 215
                    at Microsoft.DotNet.XHarness.Apple.BaseOrchestrator.OrchestrateOperation(TestTargetOs target, String deviceName, Boolean includeWirelessDevices, Boolean resetSimulator, Boolean enableLldb, GetAppBundleInfoFunc getAppBundle, ExecuteMacCatalystAppFunc executeMacCatalystApp, ExecuteAppFunc executeApp, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/Orchestration/BaseOrchestrator.cs:line 96
                    at Microsoft.DotNet.XHarness.Apple.RunOrchestrator.OrchestrateRun(GetAppBundleInfoFunc getAppBundleInfo, TestTargetOs target, String deviceName, TimeSpan timeout, TimeSpan launchTimeout, Int32 expectedExitCode, Boolean includeWirelessDevices, Boolean resetSimulator, Boolean enableLldb, Boolean signalAppEnd, Boolean waitForExit, IReadOnlyCollection`1 environmentalVariables, IEnumerable`1 passthroughArguments, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.XHarness.Apple/Orchestration/RunOrchestrator.cs:line 221
                    at Microsoft.DotNet.XHarness.CLI.Commands.Apple.AppleAppCommand`1.Invoke(ILogger logger) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/Apple/AppleAppCommand.cs:line 68
                    at Microsoft.DotNet.XHarness.CLI.Commands.XHarnessCommand`1.Invoke(IEnumerable`1 arguments) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/XHarnessCommand.cs:line 145
XHarness exit code: 71 (GENERAL_FAILURE)

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=512194
Error message validated: at Microsoft.DotNet.XHarness.iOS.Shared.Hardware.Device.get_Architecture
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 1/2/2024 4:32:55 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

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 Jan 2, 2024
  2. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Jan 2, 2024
  3. akoeplinger commented on Jan 7, 2024

    @akoeplinger
    Member

    The root cause of this one is dotnet/dnceng#1749

  4. removed
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Feb 15, 2024
  5. jeffschwMSFT commented on Feb 15, 2024

    @jeffschwMSFT
    Member

    was not seen recently... dropping blocking-clean-ci

    24-Hour Hit Count 7-Day Hit Count 1-Month Count
    0 0 0
  6. akoeplinger commented on Feb 16, 2024

    @akoeplinger
    Member

    The root cause of this was dotnet/dnceng#1749 which was fixed, let's close this.

  7. ghost removed
    untriagedNew issue has not been triaged by the area owner
    on Feb 16, 2024
  8. locked and limited conversation to collaborators on Mar 18, 2024
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