Skip to content

Microsoft.DotNet.CoreSetup.Test.HostActivation tests failing in CI #75429

Closed

Description

@jkotas

Hit in #75408. Full log: https://dev.azure.com/dnceng-public/public/_build/results?buildId=11824&view=ms.vss-test-web.build-test-results-tab&runId=235664&resultId=100162&paneView=debug

[EXEC       <] [FAIL] [00:01:38.800] /root/runtime/artifacts/tests/Release/ha/sdornqub.dxh/AppWithCustomEntryPoints> /root/runtime/.dotnet/dotnet publish /bl:PublishProject.binlog --no-restore --framework net7.0 /p:NetCoreAppCurrent=net7.0 --self-contained true --runtime linux-musl-x64 -o /root/runtime/artifacts/tests/Release/ha/sdornqub.dxh/AppWithCustomEntryPoints/bin /p:TestTargetRid=linux-musl-x64 /p:MNAVersion=7.0.0-ci exited with 1
[xUnit.net 00:01:42.81]     Microsoft.DotNet.CoreSetup.Test.HostActivation.NativeHosting.GetFunctionPointer.CallDelegateOnApplicationContext_UnhandledException [FAIL]
[xUnit.net 00:01:42.81]       System.AggregateException : One or more errors occurred. (Command failed with exit code 1: /root/runtime/.dotnet/dotnet publish /bl:PublishProject.binlog --no-restore --framework net7.0 /p:NetCoreAppCurrent=net7.0 --self-contained true --runtime linux-musl-x64 -o /root/runtime/artifacts/tests/Release/ha/sdornqub.dxh/AppWithCustomEntryPoints/bin /p:TestTargetRid=linux-musl-x64 /p:MNAVersion=7.0.0-ci
[xUnit.net 00:01:42.81]       Standard Output:
[xUnit.net 00:01:42.81]       MSBuild version 17.4.0-preview-22416-02+5d102ae37 for .NET
[xUnit.net 00:01:42.81]       /root/runtime/.dotnet/sdk/7.0.100-rc.1.22425.9/MSBuild.dll -maxcpucount -property:_IsPublishing=true --property:NetCoreAppCurrent=net7.0 --property:TestTargetRid=linux-musl-x64 --property:MNAVersion=7.0.0-ci -property:PublishDir=/root/runtime/artifacts/tests/Release/ha/sdornqub.dxh/AppWithCustomEntryPoints/bin -property:SelfContained=True -property:_CommandLineDefinedSelfContained=true -property:TargetFramework=net7.0 -property:RuntimeIdentifier=linux-musl-x64 -property:_CommandLineDefinedRuntimeIdentifier=true -target:Publish -verbosity:m /bl:PublishProject.binlog ./AppWithCustomEntryPoints.csproj
[xUnit.net 00:01:42.81]       /root/runtime/.dotnet/sdk/7.0.100-rc.1.22425.9/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(219,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/runtime/artifacts/tests/Release/ha/sdornqub.dxh/AppWithCustomEntryPoints/AppWithCustomEntryPoints.csproj]
[xUnit.net 00:01:42.81]         AppWithCustomEntryPoints -> /root/runtime/artifacts/tests/Release/ha/sdornqub.dxh/AppWithCustomEntryPoints/bin/Debug/net7.0/linux-musl-x64/AppWithCustomEntryPoints.dll
[xUnit.net 00:01:42.81]       
[xUnit.net 00:01:42.81]       ) (The following constructor parameters did not have matching fixture data: SharedTestState sharedTestState)
[xUnit.net 00:01:42.81]       ---- Microsoft.DotNet.Cli.Build.Framework.BuildFailureException : Command failed with exit code 1: /root/runtime/.dotnet/dotnet publish /bl:PublishProject.binlog --no-restore --framework net7.0 /p:NetCoreAppCurrent=net7.0 --self-contained true --runtime linux-musl-x64 -o /root/runtime/artifacts/tests/Release/ha/sdornqub.dxh/AppWithCustomEntryPoints/bin /p:TestTargetRid=linux-musl-x64 /p:MNAVersion=7.0.0-ci
[xUnit.net 00:01:42.81]       Standard Output:
[xUnit.net 00:01:42.81]       MSBuild version 17.4.0-preview-22416-02+5d102ae37 for .NET
[xUnit.net 00:01:42.81]       /root/runtime/.dotnet/sdk/7.0.100-rc.1.22425.9/MSBuild.dll -maxcpucount -property:_IsPublishing=true --property:NetCoreAppCurrent=net7.0 --property:TestTargetRid=linux-musl-x64 --property:MNAVersion=7.0.0-ci -property:PublishDir=/root/runtime/artifacts/tests/Release/ha/sdornqub.dxh/AppWithCustomEntryPoints/bin -property:SelfContained=True -property:_CommandLineDefinedSelfContained=true -property:TargetFramework=net7.0 -property:RuntimeIdentifier=linux-musl-x64 -property:_CommandLineDefinedRuntimeIdentifier=true -target:Publish -verbosity:m /bl:PublishProject.binlog ./AppWithCustomEntryPoints.csproj
[xUnit.net 00:01:42.81]       /root/runtime/.dotnet/sdk/7.0.100-rc.1.22425.9/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(219,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/runtime/artifacts/tests/Release/ha/sdornqub.dxh/AppWithCustomEntryPoints/AppWithCustomEntryPoints.csproj]
[xUnit.net 00:01:42.81]         AppWithCustomEntryPoints -> /root/runtime/artifacts/tests/Release/ha/sdornqub.dxh/AppWithCustomEntryPoints/bin/Debug/net7.0/linux-musl-x64/AppWithCustomEntryPoints.dll
[xUnit.net 00:01:42.81]       
[xUnit.net 00:01:42.82]       
[xUnit.net 00:01:42.82]       ---- The following constructor parameters did not have matching fixture data: SharedTestState sharedTestState
[xUnit.net 00:01:42.82]       Stack Trace:
[xUnit.net 00:01:42.82]         
[xUnit.net 00:01:42.82]         ----- Inner Stack Trace #1 (Microsoft.DotNet.Cli.Build.Framework.BuildFailureException) -----
[xUnit.net 00:01:42.82]         /_/src/installer/tests/TestUtils/CommandResult.cs(46,0): at Microsoft.DotNet.Cli.Build.Framework.CommandResult.EnsureSuccessful(Boolean suppressOutput)
[xUnit.net 00:01:42.82]         /_/src/installer/tests/TestUtils/TestProjectFixture.cs(333,0): at Microsoft.DotNet.CoreSetup.Test.TestProjectFixture.PublishProject(DotNetCli dotnet, String runtime, String framework, Nullable`1 selfContained, String outputDirectory, Boolean singleFile, Boolean restore, String[] extraArgs)
[xUnit.net 00:01:42.82]         /_/src/installer/tests/HostActivation.Tests/NativeHosting/GetFunctionPointer.cs(240,0): at Microsoft.DotNet.CoreSetup.Test.HostActivation.NativeHosting.GetFunctionPointer.SharedTestState..ctor()
[xUnit.net 00:01:42.82]            at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
[xUnit.net 00:01:42.82]            at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
[xUnit.net 00:01:42.82]         ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) -----
[xUnit.net 00:01:42.82]         
[EXEC       >] [....] [00:01:38.834] /root/runtime/artifacts/tests/Release/ha/nativeHosting/1/nativehost resolve_component_dependencies run_app_and_resolve 
{
   "ErrorMessage":"The following constructor parameters did not have matching fixture data: SharedTestState fixture"
}

Report

Summary

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

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Sep 12, 2022
  2. jkotas commented on Sep 12, 2022

    @jkotas
    MemberAuthor

    Failed again in #75407

    Full log: https://dev.azure.com/dnceng-public/public/_build/results?buildId=11802&view=ms.vss-test-web.build-test-results-tab&runId=235336&resultId=100032&paneView=debug

    System.AggregateException : One or more errors occurred. (Command failed with exit code 1: /root/runtime/.dotnet/dotnet publish /bl:PublishProject.binlog --no-restore --framework net7.0 /p:NetCoreAppCurrent=net7.0 -o /root/runtime/artifacts/tests/Release/ha/k0ufkmfh.z0w/StartupHookWithMultipleIncorrectSignatures/bin /p:TestTargetRid=linux-x64 /p:MNAVersion=7.0.0-ci
    Standard Output:
    MSBuild version 17.4.0-preview-22416-02+5d102ae37 for .NET
    /root/runtime/.dotnet/sdk/7.0.100-rc.1.22425.9/MSBuild.dll -maxcpucount -property:_IsPublishing=true --property:NetCoreAppCurrent=net7.0 --property:TestTargetRid=linux-x64 --property:MNAVersion=7.0.0-ci -property:PublishDir=/root/runtime/artifacts/tests/Release/ha/k0ufkmfh.z0w/StartupHookWithMultipleIncorrectSignatures/bin -property:TargetFramework=net7.0 -target:Publish -verbosity:m /bl:PublishProject.binlog ./StartupHookWithMultipleIncorrectSignatures.csproj
    /root/runtime/.dotnet/sdk/7.0.100-rc.1.22425.9/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(219,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/runtime/artifacts/tests/Release/ha/k0ufkmfh.z0w/StartupHookWithMultipleIncorrectSignatures/StartupHookWithMultipleIncorrectSignatures.csproj]
    StartupHookWithMultipleIncorrectSignatures -> /root/runtime/artifacts/tests/Release/ha/k0ufkmfh.z0w/StartupHookWithMultipleIncorrectSignatures/bin/Debug/net7.0/StartupHookWithMultipleIncorrectSignatures.dll
    StartupHookWithMultipleIncorrectSignatures -> /root/runtime/artifacts/tests/Release/ha/k0ufkmfh.z0w/StartupHookWithMultipleIncorrectSignatures/bin/
    
    ) (The following constructor parameters did not have matching fixture data: SharedTestState fixture)
    ---- Microsoft.DotNet.Cli.Build.Framework.BuildFailureException : Command failed with exit code 1: /root/runtime/.dotnet/dotnet publish /bl:PublishProject.binlog --no-restore --framework net7.0 /p:NetCoreAppCurrent=net7.0 -o /root/runtime/artifacts/tests/Release/ha/k0ufkmfh.z0w/StartupHookWithMultipleIncorrectSignatures/bin /p:TestTargetRid=linux-x64 /p:MNAVersion=7.0.0-ci
    Standard Output:
    MSBuild version 17.4.0-preview-22416-02+5d102ae37 for .NET
    /root/runtime/.dotnet/sdk/7.0.100-rc.1.22425.9/MSBuild.dll -maxcpucount -property:_IsPublishing=true --property:NetCoreAppCurrent=net7.0 --property:TestTargetRid=linux-x64 --property:MNAVersion=7.0.0-ci -property:PublishDir=/root/runtime/artifacts/tests/Release/ha/k0ufkmfh.z0w/StartupHookWithMultipleIncorrectSignatures/bin -property:TargetFramework=net7.0 -target:Publish -verbosity:m /bl:PublishProject.binlog ./StartupHookWithMultipleIncorrectSignatures.csproj
    /root/runtime/.dotnet/sdk/7.0.100-rc.1.22425.9/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(219,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/root/runtime/artifacts/tests/Release/ha/k0ufkmfh.z0w/StartupHookWithMultipleIncorrectSignatures/StartupHookWithMultipleIncorrectSignatures.csproj]
    StartupHookWithMultipleIncorrectSignatures -> /root/runtime/artifacts/tests/Release/ha/k0ufkmfh.z0w/StartupHookWithMultipleIncorrectSignatures/bin/Debug/net7.0/StartupHookWithMultipleIncorrectSignatures.dll
    StartupHookWithMultipleIncorrectSignatures -> /root/runtime/artifacts/tests/Release/ha/k0ufkmfh.z0w/StartupHookWithMultipleIncorrectSignatures/bin/
    
    ---- The following constructor parameters did not have matching fixture data: SharedTestState fixture
    
  3. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Sep 12, 2022
  4. vitek-karas commented on Sep 12, 2022

    @vitek-karas
    Member

    I looked at the logs of both of those failures and it's weird. The test log says something like (simplified):

    Command failed with exit code 1: /root/runtime/.dotnet/dotnet publish ...
    Standard output: 
    ... MSBuild startup and so on ...
    StartupHookWithMultipleIncorrectSignatures -> /root/runtime/artifacts/tests/Release/ha/k0ufkmfh.z0w/StartupHookWithMultipleIncorrectSignatures/bin/

    There's no stderr printed out. The two failures are on a different test assets but otherwise look very similar.

    Looking into the logs, the msbuild binlog for the publish command says that the command succeeded in both case.

    So it's happening for different test assets, on different targets (one is linux_x64, the other one is linux_x64_musl) and rarely.

    @elinor-fung as FYI and for possible ideas.

  5. carlossanlop commented on Sep 12, 2022

    @carlossanlop
    Contributor

    Seen also in this other release/7.0 PR: #75407 - Edit: Ah apologies, I just saw the second comment by @jkotas linking #75407.

    I also saw it in this other release/7.0 PR: #75428

    Please help determine if this test failure need a fix to get backported to that branch, or if the test can get disabled.

  6. elinor-fung commented on Sep 12, 2022

    @elinor-fung
    Member

    Seems like this is only happening in release/7.0 right now?

    The tests run the SDK used by the repo to publish test projects/assets. Potential difference I see is that release/7.0 is using RC1

    runtime/global.json

    Lines 7 to 8 in cd483c1

    "tools": {
    "dotnet": "7.0.100-rc.1.22425.9"

    while main is using Preview 7

    runtime/global.json

    Lines 7 to 8 in 467fef4

    "tools": {
    "dotnet": "7.0.100-preview.7.22377.5"

    Maybe this is actually exposing a bug in RC1?

    As @vitek-karas pointed out, it looks like the publish succeeds - or at least does not log any errors. But the exit code is 1. This is the binlog for the project in #75429 (comment) (renamed extension): PublishProject.binlog.log.

  7. vitek-karas commented on Sep 12, 2022

    @vitek-karas
    Member

    This looks basically identical to #74328
    The symptoms of that bug: publish returns 1 on success

  8. vitek-karas commented on Sep 12, 2022

    @vitek-karas
    Member

    Closing this as dupe of #74328 since it has the exact same behavior.

  9. ghost removed
    untriagedNew issue has not been triaged by the area owner
    on Sep 12, 2022
  10. ghost locked as resolved and limited conversation to collaborators on Oct 13, 2022
  11. jkotas commented on Oct 24, 2022

    @jkotas
    MemberAuthor

    Closing this as dupe of #74328 since it has the exact same behavior.

    #74328 is not being hit by the CI anymore.

    The following constructor parameters did not have matching fixture data: SharedTestState fixture error is still hit in CI frequently. Reopening to get accurate known build error accounting.

  12. reopened this on Oct 24, 2022
  13. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Oct 24, 2022
  14. added this to the 8.0.0 milestone on Oct 27, 2022
  15. removed
    untriagedNew issue has not been triaged by the area owner
    on Oct 27, 2022
  16. carlossanlop commented on Nov 3, 2022

    @carlossanlop
    Contributor

    The following release/7.0 backport PR hit the 3 symlink failures: #77501

    Put_app_directory_behind_symlink

    Microsoft.NET.HostModel.Tests.AppHostUsedWithSymbolicLinks.Put_app_directory_behind_symlink
    System.AggregateException : One or more errors occurred. (Command failed with exit code 1: /Users/runner/work/1/s/.dotnet/dotnet publish /bl:PublishProject.binlog --no-restore --framework net7.0 /p:NetCoreAppCurrent=net7.0 -o /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin /p:TestTargetRid=osx-x64 /p:MNAVersion=7.0.0
    Standard Output:
    MSBuild version 17.4.0-preview-22416-02+5d102ae37 for .NET
    /Users/runner/work/1/s/.dotnet/sdk/7.0.100-rc.1.22431.11/MSBuild.dll -maxcpucount -property:_IsPublishing=true --property:NetCoreAppCurrent=net7.0 --property:TestTargetRid=osx-x64 --property:MNAVersion=7.0.0 -property:PublishDir=/Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin -property:TargetFramework=net7.0 -target:Publish -verbosity:m /bl:PublishProject.binlog ./PortableApp.csproj
    /Users/runner/work/1/s/.dotnet/sdk/7.0.100-rc.1.22431.11/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(219,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/PortableApp.csproj]
      PortableApp -> /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin/Debug/net7.0/PortableApp.dll
      PortableApp -> /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin/
    
    ) (The following constructor parameters did not have matching fixture data: SharedTestState fixture)
    ---- Microsoft.DotNet.Cli.Build.Framework.BuildFailureException : Command failed with exit code 1: /Users/runner/work/1/s/.dotnet/dotnet publish /bl:PublishProject.binlog --no-restore --framework net7.0 /p:NetCoreAppCurrent=net7.0 -o /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin /p:TestTargetRid=osx-x64 /p:MNAVersion=7.0.0
    Standard Output:
    MSBuild version 17.4.0-preview-22416-02+5d102ae37 for .NET
    /Users/runner/work/1/s/.dotnet/sdk/7.0.100-rc.1.22431.11/MSBuild.dll -maxcpucount -property:_IsPublishing=true --property:NetCoreAppCurrent=net7.0 --property:TestTargetRid=osx-x64 --property:MNAVersion=7.0.0 -property:PublishDir=/Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin -property:TargetFramework=net7.0 -target:Publish -verbosity:m /bl:PublishProject.binlog ./PortableApp.csproj
    /Users/runner/work/1/s/.dotnet/sdk/7.0.100-rc.1.22431.11/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(219,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/PortableApp.csproj]
      PortableApp -> /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin/Debug/net7.0/PortableApp.dll
      PortableApp -> /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin/
    
    
    ---- The following constructor parameters did not have matching fixture data: SharedTestState fixture
    

    and

    Put_dotnet_behind_symlink

    Microsoft.NET.HostModel.Tests.AppHostUsedWithSymbolicLinks.Put_dotnet_behind_symlink
    System.AggregateException : One or more errors occurred. (Command failed with exit code 1: /Users/runner/work/1/s/.dotnet/dotnet publish /bl:PublishProject.binlog --no-restore --framework net7.0 /p:NetCoreAppCurrent=net7.0 -o /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin /p:TestTargetRid=osx-x64 /p:MNAVersion=7.0.0
    Standard Output:
    MSBuild version 17.4.0-preview-22416-02+5d102ae37 for .NET
    /Users/runner/work/1/s/.dotnet/sdk/7.0.100-rc.1.22431.11/MSBuild.dll -maxcpucount -property:_IsPublishing=true --property:NetCoreAppCurrent=net7.0 --property:TestTargetRid=osx-x64 --property:MNAVersion=7.0.0 -property:PublishDir=/Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin -property:TargetFramework=net7.0 -target:Publish -verbosity:m /bl:PublishProject.binlog ./PortableApp.csproj
    /Users/runner/work/1/s/.dotnet/sdk/7.0.100-rc.1.22431.11/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(219,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/PortableApp.csproj]
      PortableApp -> /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin/Debug/net7.0/PortableApp.dll
      PortableApp -> /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin/
    
    ) (The following constructor parameters did not have matching fixture data: SharedTestState fixture)
    ---- Microsoft.DotNet.Cli.Build.Framework.BuildFailureException : Command failed with exit code 1: /Users/runner/work/1/s/.dotnet/dotnet publish /bl:PublishProject.binlog --no-restore --framework net7.0 /p:NetCoreAppCurrent=net7.0 -o /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin /p:TestTargetRid=osx-x64 /p:MNAVersion=7.0.0
    Standard Output:
    MSBuild version 17.4.0-preview-22416-02+5d102ae37 for .NET
    /Users/runner/work/1/s/.dotnet/sdk/7.0.100-rc.1.22431.11/MSBuild.dll -maxcpucount -property:_IsPublishing=true --property:NetCoreAppCurrent=net7.0 --property:TestTargetRid=osx-x64 --property:MNAVersion=7.0.0 -property:PublishDir=/Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin -property:TargetFramework=net7.0 -target:Publish -verbosity:m /bl:PublishProject.binlog ./PortableApp.csproj
    /Users/runner/work/1/s/.dotnet/sdk/7.0.100-rc.1.22431.11/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(219,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/PortableApp.csproj]
      PortableApp -> /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin/Debug/net7.0/PortableApp.dll
      PortableApp -> /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin/
    
    
    ---- The following constructor parameters did not have matching fixture data: SharedTestState fixture
    

    and

    Put_satellite_assembly_behind_symlink

    Microsoft.NET.HostModel.Tests.AppHostUsedWithSymbolicLinks.Put_satellite_assembly_behind_symlink
    System.AggregateException : One or more errors occurred. (Command failed with exit code 1: /Users/runner/work/1/s/.dotnet/dotnet publish /bl:PublishProject.binlog --no-restore --framework net7.0 /p:NetCoreAppCurrent=net7.0 -o /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin /p:TestTargetRid=osx-x64 /p:MNAVersion=7.0.0
    Standard Output:
    MSBuild version 17.4.0-preview-22416-02+5d102ae37 for .NET
    /Users/runner/work/1/s/.dotnet/sdk/7.0.100-rc.1.22431.11/MSBuild.dll -maxcpucount -property:_IsPublishing=true --property:NetCoreAppCurrent=net7.0 --property:TestTargetRid=osx-x64 --property:MNAVersion=7.0.0 -property:PublishDir=/Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin -property:TargetFramework=net7.0 -target:Publish -verbosity:m /bl:PublishProject.binlog ./PortableApp.csproj
    /Users/runner/work/1/s/.dotnet/sdk/7.0.100-rc.1.22431.11/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(219,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/PortableApp.csproj]
      PortableApp -> /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin/Debug/net7.0/PortableApp.dll
      PortableApp -> /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin/
    
    ) (The following constructor parameters did not have matching fixture data: SharedTestState fixture)
    ---- Microsoft.DotNet.Cli.Build.Framework.BuildFailureException : Command failed with exit code 1: /Users/runner/work/1/s/.dotnet/dotnet publish /bl:PublishProject.binlog --no-restore --framework net7.0 /p:NetCoreAppCurrent=net7.0 -o /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin /p:TestTargetRid=osx-x64 /p:MNAVersion=7.0.0
    Standard Output:
    MSBuild version 17.4.0-preview-22416-02+5d102ae37 for .NET
    /Users/runner/work/1/s/.dotnet/sdk/7.0.100-rc.1.22431.11/MSBuild.dll -maxcpucount -property:_IsPublishing=true --property:NetCoreAppCurrent=net7.0 --property:TestTargetRid=osx-x64 --property:MNAVersion=7.0.0 -property:PublishDir=/Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin -property:TargetFramework=net7.0 -target:Publish -verbosity:m /bl:PublishProject.binlog ./PortableApp.csproj
    /Users/runner/work/1/s/.dotnet/sdk/7.0.100-rc.1.22431.11/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(219,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/PortableApp.csproj]
      PortableApp -> /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin/Debug/net7.0/PortableApp.dll
      PortableApp -> /Users/runner/work/1/s/artifacts/tests/Release/hma/y0ebud3x.nhx/PortableApp/bin/
    
    
    ---- The following constructor parameters did not have matching fixture data: SharedTestState fixture
    
  17. elinor-fung commented on Nov 3, 2022

    @elinor-fung
    Member

    #77524 added a workaround to main (same as what we did for the wasm failures). I just triggered a backport.

  18. elinor-fung commented on Jan 20, 2023

    @elinor-fung
    Member

    This was addressed when the repo switched to .NET 7 GA. The workarounds were removed in #79035

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-Hostblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions