Skip to content

Microsoft.DotNet.CoreSetup.Test.HostActivation.DependencyResolution.LocalPath.NativeLibraries_SelfContained fails with error 0x86 (134) on macos #118945

@ericstj

Description

@ericstj

Build Information

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

Error Message

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

{
  "ErrorMessage": "Failed Microsoft.DotNet.CoreSetup.Test.HostActivation.DependencyResolution.LocalPath.NativeLibraries_SelfContained",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Log https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-118914-merge-b19d2b672afa4251aa/HostActivation.Tests/1/console.93c0b8a3.log

[xUnit.net 00:02:09.08]     Microsoft.DotNet.CoreSetup.Test.HostActivation.DependencyResolution.LocalPath.NativeLibraries_SelfContained(useLocalPath: True) [FAIL]
[WAIT] [00:02:07.376] [NativeLibraries]
       PID: 13925 - /private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/g0asnnfo.xke/dependencyResolution/WithNetCoreApp/dotnet /private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/m5jakfa0.n00/App/App.dll
[xUnit.net 00:02:09.08]       **WARNING** failure message 'Expected command to pass but it did not.
[xUnit.net 00:02:09.08]       File Name: /private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/g0asnnfo.xke/dependencyResolution/WithNetCoreApp/dotnet
[xUnit.net 00:02:09.08]       Arguments: /private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/blh4tgij.fnp/App/App.dll
[xUnit.net 00:02:09.08]       Environment:
[xUnit.net 00:02:09.08]         DOTNET_CLI_HOME = /tmp/helix/working/B1530996/w/9A18082E/e/.dotnet
[xUnit.net 00:02:09.08]         DOTNET_CLI_TELEMETRY_OPTOUT = 1
[xUnit.net 00:02:09.08]         DOTNET_ROOT =
[xUnit.net 00:02:09.08]         DOTNET_ROOT(x86) =
[xUnit.net 00:02:09.08]         DOTNET_SKIP_FIRST_TIME_EXPERIENCE = 1
[xUnit.net 00:02:09.08]         DOTNET_MULTILEVEL_LOOKUP = 0
[xUnit.net 00:02:09.08]         DOTNET_HOST_TRACE = 1
[xUnit.net 00:02:09.08]       Exit Code: 0x86
[xUnit.net 00:02:09.08]       StdOut:
[xUnit.net 00:02:09.08]       
[xUnit.net 00:02:09.08]       StdErr:
[xUnit.net 00:02:09.08]       Tracing enabled @ Wed Aug 20 21:49:47 2025 UTC
[xUnit.net 00:02:09.08]       --- Invoked dotnet [version: 10.0.0-ci @Commit: f97cccec0e2ec351ff630496b9d82ad628b43fb0] main = {
[xUnit.net 00:02:09.08]       /private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/g0asnnfo.xke/dependencyResolution/WithNetCoreApp/dotnet
[xUnit.net 00:02:09.08]       /private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/blh4tgij.fnp/App/App.dll
[xUnit.net 00:02:09.08]       }
[xUnit.net 00:02:09.08]       .NET root search location options: 0
[xUnit.net 00:02:09.08]       Reading fx resolver directory=[/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/g0asnnfo.xke/dependencyResolution/WithNetCoreApp/host/fxr]
[xUnit.net 00:02:09.08]       Considering fxr version=[10.0.0-ci]...
[xUnit.net 00:02:09.08]       Detected latest fxr version=[/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/g0asnnfo.xke/dependencyResolution/WithNetCoreApp/host/fxr/10.0.0-ci]...
[xUnit.net 00:02:09.08]       Resolved fxr [/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/g0asnnfo.xke/dependencyResolution/WithNetCoreApp/host/fxr/10.0.0-ci/libhostfxr.dylib]...
[xUnit.net 00:02:09.08]       Invoking fx resolver [/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/g0asnnfo.xke/dependencyResolution/WithNetCoreApp/host/fxr/10.0.0-ci/libhostfxr.dylib] hostfxr_main_startupinfo
[xUnit.net 00:02:09.08]       Host path: [/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/g0asnnfo.xke/dependencyResolution/WithNetCoreApp/dotnet]
[xUnit.net 00:02:09.08]       Dotnet path: [/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/g0asnnfo.xke/dependencyResolution/WithNetCoreApp/]
[xUnit.net 00:02:09.08]       App path: [/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/g0asnnfo.xke/dependencyResolution/WithNetCoreApp/dotnet.dll]
[xUnit.net 00:02:09.08]       Tracing enabled @ Wed Aug 20 21:49:47 2025 UTC
[xUnit.net 00:02:09.08]       --- Invoked hostfxr_main_startupinfo [version: 10.0.0-ci @Commit: f97cccec0e2ec351ff630496b9d82ad628b43fb0]
[xUnit.net 00:02:09.08]       Checking if CoreCLR path exists=[/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/g0asnnfo.xke/dependencyResolution/WithNetCoreApp/libcoreclr.dylib]
[xUnit.net 00:02:09.08]       --- Executing in muxer mode...
[xUnit.net 00:02:09.08]       Using the provided arguments to determine the application to execute.
[xUnit.net 00:02:09.08]       Using dotnet root path [/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/g0asnnfo.xke/dependencyResolution/WithNetCoreApp/]
[xUnit.net 00:02:09.08]       App runtimeconfig.json from [/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/blh4tgij.fnp/App/App.dll]
[xUnit.net 00:02:09.08]       Runtime config is cfg=/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/blh4tgij.fnp/App/App.runtimeconfig.json dev=/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/blh4tgij.fnp/App/App.runtimeconfig.dev.json
[xUnit.net 00:02:09.08]       Attempting to read dev runtime config: /private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/blh4tgij.fnp/App/App.runtimeconfig.dev.json
[xUnit.net 00:02:09.08]       Attempting to read runtime config: /private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/blh4tgij.fnp/App/App.runtimeconfig.json
[xUnit.net 00:02:09.08]       Runtime config [/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/blh4tgij.fnp/App/App.runtimeconfig.json] is valid=[1]
[xUnit.net 00:02:09.08]       Executing as a self-contained app as per config file [/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/blh4tgij.fnp/App/App.runtimeconfig.json]
[xUnit.net 00:02:09.08]       --- Resolving libhostpolicy.dylib version from deps json [/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/blh4tgij.fnp/App/App.deps.json]
[xUnit.net 00:02:09.08]       Dependency manifest /private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/blh4tgij.fnp/App/App.deps.json does not contain an entry for runtime.osx-x64.Microsoft.NETCore.DotNetHostPolicy
[xUnit.net 00:02:09.08]       The expected libhostpolicy.dylib directory is [/private/tmp/helix/working/B1530996/w/9A18082E/e/test_artifacts/blh4tgij.fnp/App/]
[xUnit.net 00:02:09.08]       Tracing enabled @ Wed Aug 20 21:49:47 2025 UTC
[xUnit.net 00:02:09.08]       Reading from host interface version: [0x16041101:248] to initialize policy version: [0x16041101:248]
[xUnit.net 00:02:09.08]       ' could not be formatted with string.Format
[xUnit.net 00:02:09.08]          at System.String.FormatHelper(IFormatProvider provider, String format, ReadOnlySpan`1 args)
[xUnit.net 00:02:09.08]          at FluentAssertions.Execution.FailureMessageFormatter.FormatArgumentPlaceholders(String failureMessage, Object[] failureArgs)
[xUnit.net 00:02:09.08]       Stack Trace:
[xUnit.net 00:02:09.08]            at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
[xUnit.net 00:02:09.08]            at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
[xUnit.net 00:02:09.08]            at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
[xUnit.net 00:02:09.08]         /_/src/installer/tests/TestUtils/Assertions/CommandResultAssertions.cs(37,0): at Microsoft.DotNet.CoreSetup.Test.CommandResultAssertions.Pass()
[xUnit.net 00:02:09.08]         /_/src/installer/tests/HostActivation.Tests/DependencyResolution/LocalPath.cs(153,0): at Microsoft.DotNet.CoreSetup.Test.HostActivation.DependencyResolution.LocalPath.NativeLibraries(Boolean isSelfContained, Boolean useLocalPath)
[xUnit.net 00:02:09.08]         /_/src/installer/tests/HostActivation.Tests/DependencyResolution/LocalPath.cs(39,0): at Microsoft.DotNet.CoreSetup.Test.HostActivation.DependencyResolution.LocalPath.NativeLibraries_SelfContained(Boolean useLocalPath)
[xUnit.net 00:02:09.08]            at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
[xUnit.net 00:02:09.08]            at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1127884
Error message validated: [Microsoft.DotNet.CoreSetup.Test.HostActivation.DependencyResolution.LocalPath.NativeLibraries_SelfContained(useLocalPath: True) [FAIL] Exit Code: 0x86]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 8/20/2025 11:34:02 PM UTC

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1127884
Error message validated: [Microsoft.DotNet.CoreSetup.Test.HostActivation.DependencyResolution.LocalPath.NativeLibraries_SelfContained(useLocalPath: True) [FAIL]]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 8/20/2025 11:36:53 PM UTC

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1127884
Error message validated: [Microsoft.DotNet.CoreSetup.Test.HostActivation.DependencyResolution.LocalPath.NativeLibraries_SelfContained]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 8/20/2025 11:38:21 PM UTC

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1127884
Error message validated: [Failed Microsoft.DotNet.CoreSetup.Test.HostActivation.DependencyResolution.LocalPath.NativeLibraries_SelfContained]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 8/20/2025 11:40:24 PM UTC

Report

Summary

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions