dotnet / source-build

A repository to track efforts to produce a source tarball of the .NET Core SDK and all its components
MIT License
266 stars 132 forks source link

[internal/6.0.1xx] "PoisonTests.VerifyUsage" missing some poison leaks #4416

Closed Winniexu01 closed 5 months ago

Winniexu01 commented 5 months ago

[internal/6.0.1xx] branch: https://dev.azure.com/dnceng/internal/_build/results?buildId=2457499&view=logs&j=d92ffc34-97df-5d1b-3b17-72b5b8b0afad&t=96f34de6-5746-5819-64b5-f0a98af31b50

Microsoft.DotNet.SourceBuild.SmokeTests.PoisonTests.VerifyUsage missing some poison leaks:

##[warning]Baseline '/tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net6.0/assets/baselines/PoisonUsage.txt' does not match actual '/tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net6.0/logs/UpdatedPoisonUsage.txt`.  
   diff --git a/tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net6.0/assets/baselines/PoisonUsage.txt b/tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net6.0/logs/UpdatedPoisonUsage.txt
   index 56f3b8d..8b456c8 100644
   --- a/tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net6.0/assets/baselines/PoisonUsage.txt
   +++ b/tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net6.0/logs/UpdatedPoisonUsage.txt
   @@ -107,6 +107,12 @@
      <File Path="Microsoft.DotNet.Arcade.Sdk.x.y.z/tools/netx.y/NuGet.Versioning.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   +  <File Path="Microsoft.DotNet.Arcade.Sdk.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.AccessControl.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Arcade.Sdk.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.AccessControl.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
      <File Path="Microsoft.DotNet.Arcade.Sdk.x.y.z/tools/netx.y/System.Reflection.Metadata.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   @@ -119,6 +125,12 @@
      <File Path="Microsoft.DotNet.Arcade.Sdk.x.y.z/tools/netx.y/System.Runtime.CompilerServices.Unsafe.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   +  <File Path="Microsoft.DotNet.Arcade.Sdk.x.y.z/tools/netx.y/System.Security.AccessControl.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Arcade.Sdk.x.y.z/tools/netx.y/System.Security.AccessControl.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
      <File Path="Microsoft.DotNet.Build.Tasks.Installers.x.y.z/tools/netx.y/Newtonsoft.Json.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   @@ -251,12 +263,30 @@
      <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/runtimes/browser/lib/netx.y/System.Text.Encodings.Web.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.AccessControl.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.AccessControl.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
      <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/System.Collections.Immutable.dll">
        <Type>AssemblyAttribute</Type>
      </File>
      <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/System.Collections.Immutable.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/System.Formats.Asn1.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/System.Formats.Asn1.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
      <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/System.Reflection.Metadata.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   @@ -269,6 +299,18 @@
      <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/System.Runtime.CompilerServices.Unsafe.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/System.Security.AccessControl.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/System.Security.AccessControl.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
      <File Path="Microsoft.DotNet.Build.Tasks.Packaging.x.y.z/tools/netx.y/System.Text.Encodings.Web.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   @@ -317,6 +359,24 @@
      <File Path="Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.x.y.z/tools/netx.y/NuGet.Versioning.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.x.y.z/tools/netx.y/System.Formats.Asn1.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.x.y.z/tools/netx.y/System.Formats.Asn1.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.x.y.z/tools/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.x.y.z/tools/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
      <File Path="Microsoft.DotNet.Build.Tasks.Workloads.x.y.z/tools/netx.y/cs/Microsoft.Deployment.DotNet.Releases.resources.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   @@ -491,12 +551,24 @@
      <File Path="Microsoft.DotNet.Build.Tasks.Workloads.x.y.z/tools/netx.y/runtimes/browser/lib/netx.y/System.Text.Encodings.Web.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Workloads.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Workloads.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
      <File Path="Microsoft.DotNet.Build.Tasks.Workloads.x.y.z/tools/netx.y/System.Collections.Immutable.dll">
        <Type>AssemblyAttribute</Type>
      </File>
      <File Path="Microsoft.DotNet.Build.Tasks.Workloads.x.y.z/tools/netx.y/System.Collections.Immutable.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Workloads.x.y.z/tools/netx.y/System.Formats.Asn1.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Workloads.x.y.z/tools/netx.y/System.Formats.Asn1.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
      <File Path="Microsoft.DotNet.Build.Tasks.Workloads.x.y.z/tools/netx.y/System.Reflection.Metadata.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   @@ -509,6 +581,12 @@
      <File Path="Microsoft.DotNet.Build.Tasks.Workloads.x.y.z/tools/netx.y/System.Runtime.CompilerServices.Unsafe.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Workloads.x.y.z/tools/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.Build.Tasks.Workloads.x.y.z/tools/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
      <File Path="Microsoft.DotNet.Build.Tasks.Workloads.x.y.z/tools/netx.y/System.Text.Encodings.Web.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   @@ -911,6 +989,12 @@
      <File Path="Microsoft.DotNet.PackageTesting.x.y.z/tools/netx.y/ru/Microsoft.CodeAnalysis.resources.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   +  <File Path="Microsoft.DotNet.PackageTesting.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.PackageTesting.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
      <File Path="Microsoft.DotNet.PackageTesting.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Text.Encoding.CodePages.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   @@ -923,6 +1007,12 @@
      <File Path="Microsoft.DotNet.PackageTesting.x.y.z/tools/netx.y/System.Collections.Immutable.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   +  <File Path="Microsoft.DotNet.PackageTesting.x.y.z/tools/netx.y/System.Formats.Asn1.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.PackageTesting.x.y.z/tools/netx.y/System.Formats.Asn1.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
      <File Path="Microsoft.DotNet.PackageTesting.x.y.z/tools/netx.y/System.Reflection.Metadata.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   @@ -935,6 +1025,12 @@
      <File Path="Microsoft.DotNet.PackageTesting.x.y.z/tools/netx.y/System.Runtime.CompilerServices.Unsafe.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   +  <File Path="Microsoft.DotNet.PackageTesting.x.y.z/tools/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.PackageTesting.x.y.z/tools/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
      <File Path="Microsoft.DotNet.PackageTesting.x.y.z/tools/netx.y/System.Text.Encoding.CodePages.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   @@ -1259,6 +1355,24 @@
      <File Path="Microsoft.DotNet.SourceBuild.Tasks.x.y.z/tools/netx.y/NuGet.Versioning.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   +  <File Path="Microsoft.DotNet.SourceBuild.Tasks.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.SourceBuild.Tasks.x.y.z/tools/netx.y/runtimes/win/lib/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.SourceBuild.Tasks.x.y.z/tools/netx.y/System.Formats.Asn1.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.SourceBuild.Tasks.x.y.z/tools/netx.y/System.Formats.Asn1.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.SourceBuild.Tasks.x.y.z/tools/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
   +  <File Path="Microsoft.DotNet.SourceBuild.Tasks.x.y.z/tools/netx.y/System.Security.Cryptography.Pkcs.dll">
   +    <Type>AssemblyAttribute</Type>
   +  </File>
      <File Path="Microsoft.Net.Compilers.Toolset.x.y.z/tasks/netcoreapp3.1/bincore/runtimes/win/lib/netcoreapp3.1/System.Text.Encoding.CodePages.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   @@ -1337,4 +1451,4 @@
      <File Path="Microsoft.NETCore.Compilers.x.y.z/tools/bincore/System.Text.Encoding.CodePages.dll">
        <Type>AssemblyAttribute</Type>
      </File>
   -</PrebuiltLeakReport>
   +</PrebuiltLeakReport>
   \ No newline at end of file
dotnet-issue-labeler[bot] commented 5 months ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

Winniexu01 commented 5 months ago

Associated PR: https://github.com/dotnet/installer/pull/19798