镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Use OutputRid for host packs - #45041

Merged
safern merged 1 commit into
dotnet:masterfrom
am11:feature/consolidation/msbuild-properties
Nov 21, 2020
Merged

safern merged 1 commit into
dotnet:masterfrom
am11:feature/consolidation/msbuild-properties

Conversation

@am11

@am11 am11 commented Nov 21, 2020

Copy link
Copy Markdown
Member

cc @safern, we get the following output in linux-musl-arm64 container:

expand
  [ 98%] Building CXX object cli/apphost/static/CMakeFiles/singlefilehost.dir/__/__/__/corehost.cpp.o
  [ 99%] Linking CXX shared library libhostpolicy.so
  Stripping symbols from $<TARGET_FILE:hostpolicy> into file $<TARGET_FILE:hostpolicy>.dbg
  [ 99%] Linking CXX shared library libhostfxr.so
  [ 99%] Built target hostpolicy
  Stripping symbols from $<TARGET_FILE:hostfxr> into file $<TARGET_FILE:hostfxr>.dbg
  [ 99%] Built target hostfxr
  [100%] Linking CXX executable singlefilehost
  Stripping symbols from $<TARGET_FILE:singlefilehost> into file $<TARGET_FILE:singlefilehost>.dbg
  [100%] Built target singlefilehost
  Install the project...
  -- Install configuration: "RELEASE"
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/singlefilehost.dbg
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/singlefilehost
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/apphost.dbg
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/apphost
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/dotnet.dbg
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/dotnet
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/coreclr_delegates.h
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/hostfxr.h
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/nethost.h
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/libnethost.so.dbg
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/libnethost.so
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/libnethost.a
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost_test/test_fx_ver
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/libhostfxr.so.dbg
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/libhostfxr.so
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/libhostpolicy.so.dbg
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost/libhostpolicy.so
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost_test/libmockcoreclr.so.dbg
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost_test/libmockcoreclr.so
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost_test/libmockhostfxr_2_2.so.dbg
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost_test/libmockhostfxr_2_2.so
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost_test/libmockhostpolicy.so.dbg
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost_test/libmockhostpolicy.so
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost_test/nativehost.dbg
  -- Installing: /runtime/artifacts/bin/linux-musl-arm64.Release/corehost_test/nativehost
  Microsoft.NETCore.DotNetHost -> /runtime/artifacts/packages/Release/Shipping/runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHost.6.0.0-dev.nupkg
  Microsoft.NETCore.DotNetHostPolicy -> /runtime/artifacts/packages/Release/Shipping/runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHostPolicy.6.0.0-dev.nupkg
  Microsoft.NETCore.DotNetHostResolver -> /runtime/artifacts/packages/Release/Shipping/runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHostResolver.6.0.0-dev.nupkg
  Microsoft.NETCore.DotNetHost -> /runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.DotNetHost.6.0.0-dev.nupkg
  Microsoft.NETCore.DotNetHostPolicy -> /runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.DotNetHostPolicy.6.0.0-dev.nupkg
  Microsoft.NETCore.DotNetHostResolver -> /runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.DotNetHostResolver.6.0.0-dev.nupkg
  Microsoft.NETCore.DotNetAppHost -> /runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.DotNetAppHost.6.0.0-dev.nupkg
  Microsoft.NETCore.DotNetAppHost -> /runtime/artifacts/packages/Release/Shipping/runtime.linux-musl-arm64.Microsoft.NETCore.DotNetAppHost.6.0.0-dev.nupkg
  Microsoft.NETCore.App.Ref -> 
  Successfully created package '/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.App.Ref.6.0.0-dev.nupkg'.
  Successfully created package '/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.App.Ref.6.0.0-dev.symbols.nupkg'.
  Microsoft.NETCore.App.Runtime -> 
  Successfully created package '/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.App.Runtime.linux-musl-arm64.6.0.0-dev.nupkg'.
  Successfully created package '/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.App.Runtime.linux-musl-arm64.6.0.0-dev.symbols.nupkg'.
  Microsoft.NETCore.App.Host -> 
  Successfully created package '/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.App.Host.linux-musl-arm64.6.0.0-dev.nupkg'.
  Successfully created package '/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.App.Host.linux-musl-arm64.6.0.0-dev.symbols.nupkg'.
  Microsoft.NETCore.App.Crossgen2 -> 
  dotnet-host -> 
  dotnet-hostfxr -> 
  dotnet-runtime-deps-centos.7 -> 
  dotnet-runtime-deps-debian -> 
  dotnet-runtime-deps-fedora.27 -> 
  dotnet-runtime-deps-opensuse.42 -> 
  dotnet-runtime-deps-oraclelinux.7 -> 
  dotnet-runtime-deps-rhel.7 -> 
  dotnet-runtime-deps-sles.12 -> 
  Microsoft.NETCore.App.Bundle -> 
  Microsoft.NET.HostModel -> /runtime/artifacts/bin/Microsoft.NET.HostModel/Release/netstandard2.0/Microsoft.NET.HostModel.dll
  Successfully created package '/runtime/artifacts/packages/Release/NonShipping/Microsoft.NET.HostModel.6.0.0-dev.nupkg'.
  Successfully created package '/runtime/artifacts/packages/Release/NonShipping/Microsoft.NET.HostModel.6.0.0-dev.symbols.nupkg'.
  TestUtils -> /runtime/artifacts/bin/TestUtils/Release/net6.0/TestUtils.dll
  Microsoft.NET.HostModel.ComHost.Tests -> /runtime/artifacts/bin/Microsoft.NET.HostModel.ComHost.Tests/Release/net6.0/Microsoft.NET.HostModel.ComHost.Tests.dll
  Microsoft.DotNet.CoreSetup.Packaging.Tests -> /runtime/artifacts/bin/Microsoft.DotNet.CoreSetup.Packaging.Tests/Release/net6.0/Microsoft.DotNet.CoreSetup.Packaging.Tests.dll
  BundleHelper -> /runtime/artifacts/bin/BundleHelper/Release/net6.0/BundleHelper.dll
  Microsoft.NET.HostModel.AppHost.Tests -> /runtime/artifacts/bin/Microsoft.NET.HostModel.AppHost.Tests/Release/net6.0/Microsoft.NET.HostModel.AppHost.Tests.dll
  HostActivation.Tests -> /runtime/artifacts/bin/HostActivation.Tests/Release/net6.0/HostActivation.Tests.dll
  AppHost.Bundle.Tests -> /runtime/artifacts/bin/AppHost.Bundle.Tests/Release/net6.0/AppHost.Bundle.Tests.dll
  Microsoft.NET.HostModel.Bundle.Tests -> /runtime/artifacts/bin/Microsoft.NET.HostModel.Bundle.Tests/Release/net6.0/Microsoft.NET.HostModel.Bundle.Tests.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:01:15.85

@safern
safern requested a review from dagood November 21, 2020 00:15

@safern safern left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than a question, LGTM

@safern

safern commented Nov 21, 2020

Copy link
Copy Markdown
Member

Thanks for fixing this. I'll look at the result on those builds on CI and merge if everything makes sense.

@am11

am11 commented Nov 21, 2020

Copy link
Copy Markdown
Member Author

Is it possible to trigger the official build pipeline (or something close), while PR is still opened? If so, please trigger them too. :)

@safern

safern commented Nov 21, 2020

Copy link
Copy Markdown
Member

Is it possible to trigger the official build pipeline (or something close), while PR is still opened? If so, please trigger them too. :)

Yeah, doing that. I need to mirror your branch 😄

@dagood
dagood requested review from NikolaMilosavljevic and removed request for dagood November 21, 2020 00:44
@safern

safern commented Nov 21, 2020

Copy link
Copy Markdown
Member

I've queued the official build, will let you know the results.

@safern

safern commented Nov 21, 2020

Copy link
Copy Markdown
Member

It seems like the official build will be green:

 Microsoft.NETCore.DotNetHostPolicy -> /root/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.DotNetHostPolicy.6.0.0-alpha.1.20570.13.nupkg
  Microsoft.NETCore.DotNetHostResolver -> /root/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.DotNetHostResolver.6.0.0-alpha.1.20570.13.nupkg
  Microsoft.NETCore.DotNetHost -> /root/runtime/artifacts/packages/Release/Shipping/runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHost.6.0.0-alpha.1.20570.13.nupkg
  Microsoft.NETCore.DotNetHost -> /root/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.DotNetHost.6.0.0-alpha.1.20570.13.nupkg
  Microsoft.NETCore.DotNetHostResolver -> /root/runtime/artifacts/packages/Release/Shipping/runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHostResolver.6.0.0-alpha.1.20570.13.nupkg
  Microsoft.NETCore.DotNetHostPolicy -> /root/runtime/artifacts/packages/Release/Shipping/runtime.linux-musl-arm64.Microsoft.NETCore.DotNetHostPolicy.6.0.0-alpha.1.20570.13.nupkg
  Microsoft.NETCore.DotNetAppHost -> /root/runtime/artifacts/packages/Release/Shipping/runtime.linux-musl-arm64.Microsoft.NETCore.DotNetAppHost.6.0.0-alpha.1.20570.13.nupkg
  Microsoft.NETCore.DotNetAppHost -> /root/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.DotNetAppHost.6.0.0-alpha.1.20570.13.nupkg
  Microsoft.NETCore.App.Ref -> 
  Successfully created package '/root/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.App.Ref.6.0.0-alpha.1.20570.13.nupkg'.
  Successfully created package '/root/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.App.Ref.6.0.0-alpha.1.20570.13.symbols.nupkg'.
  Microsoft.NETCore.App.Runtime -> 
  Successfully created package '/root/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.App.Runtime.linux-musl-arm64.6.0.0-alpha.1.20570.13.nupkg'.
  Successfully created package '/root/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.App.Runtime.linux-musl-arm64.6.0.0-alpha.1.20570.13.symbols.nupkg'.
  Microsoft.NETCore.App.Host -> 
  Successfully created package '/root/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.App.Host.linux-musl-arm64.6.0.0-alpha.1.20570.13.nupkg'.
  Successfully created package '/root/runtime/artifacts/packages/Release/Shipping/Microsoft.NETCore.App.Host.linux-musl-arm64.6.0.0-alpha.1.20570.13.symbols.nupkg'.

FYI for whoever didn't see the issue, discussion on the fix is here: #45027 (comment)

@safern

safern commented Nov 21, 2020

Copy link
Copy Markdown
Member

Official build is green and with expected outputs. Merging

@safern
safern merged commit 6c80a3d into dotnet:master Nov 21, 2020
@am11
am11 deleted the feature/consolidation/msbuild-properties branch November 25, 2020 02:53
@ghost ghost locked as resolved and limited conversation to collaborators Dec 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants