Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use current STJ in HostModel and remove unnecessary audit suppressions #109852

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Remove unnecessary nuget audit suppressions

2486ae4
Select commit
Loading
Failed to load commit list.
Open

Use current STJ in HostModel and remove unnecessary audit suppressions #109852

Remove unnecessary nuget audit suppressions
2486ae4
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Nov 15, 2024 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

⚠️ The following pipeline(s) will not be analyzed as has been explicited excluded from analysis

Known Infrastructure Errors

Build Failures

runtime / Build / linux-x64 release Installer_Build_And_Test / Build product

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌VSTest(0,0): error : Tests failed: /__w/1/s/artifacts/TestResults/Release/AppHost.Bundle.Tests_net9.0_x64.html [net9.0|x64]
    ❌VSTest(0,0): error : Tests failed: /__w/1/s/artifacts/TestResults/Release/Microsoft.NET.HostModel.Tests_net9.0_x64.html [net9.0|x64]
    ❌VSTest(0,0): error : Tests failed: /__w/1/s/artifacts/TestResults/Release/HostActivation.Tests_net9.0_x64.html [net9.0|x64]

runtime / Build / osx-x64 release Installer_Build_And_Test / Build product

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌VSTest(0,0): error : Tests failed: /Users/runner/work/1/s/artifacts/TestResults/Release/AppHost.Bundle.Tests_net9.0_x64.html [net9.0|x64]
    ❌VSTest(0,0): error : Tests failed: /Users/runner/work/1/s/artifacts/TestResults/Release/Microsoft.NET.HostModel.Tests_net9.0_x64.html [net9.0|x64]
    ❌VSTest(0,0): error : Tests failed: /Users/runner/work/1/s/artifacts/TestResults/Release/HostActivation.Tests_net9.0_x64.html [net9.0|x64]

runtime / Build / windows-x64 release Installer_Build_And_Test / Build product

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌VSTest(0,0): error : Tests failed: D:\a\_work\1\s\artifacts\TestResults\Release\AppHost.Bundle.Tests_net9.0_x64.html [net9.0|x64]
    ❌VSTest(0,0): error : Tests failed: D:\a\_work\1\s\artifacts\TestResults\Release\Microsoft.NET.HostModel.Tests_net9.0_x64.html [net9.0|x64]
    ❌VSTest(0,0): error : Tests failed: D:\a\_work\1\s\artifacts\TestResults\Release\HostActivation.Tests_net9.0_x64.html [net9.0|x64]

1 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [runtime]

Known test errors

The following build(s) were only partially analyzed due to the number of test errors and helix logs:
- [runtime]

Test Failures (7728 tests failed)

🔹 [All failing tests from runtime]

    ⚠️ 7723 failing tests not displayed for this pipeline due to space limitations

    AppHost.Bundle.Tests.AppLaunch.AdditionalContentAfterBundleMetadata(selfContained: False) [Details] [0.26% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (4)

    Exception Message
    Class fixture type 'AppHost.Bundle.Tests.AppLaunch+SharedTestState' threw in its constructor
    ---- System.IO.FileLoadException : Could not load file or assembly 'System.Text.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
    -------- System.IO.FileLoadException : Could not load file or assembly '/__w/1/s/artifacts/bin/AppHost.Bundle.Tests/Release/net9.0/System.Text.Json.dll'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
    CallStack
    ----- Inner Stack Trace -----
       at Microsoft.DotNet.CoreSetup.Test.RuntimeConfig.Save()
       at Microsoft.DotNet.CoreSetup.Test.NetCoreAppBuilder.Build(TestApp testApp) in /_/src/installer/tests/TestUtils/NetCoreAppBuilder.cs:line 404
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.PopulateBuiltAppDirectory() in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 205
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp..ctor(String appName, Boolean selfContained, String location) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 30
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.Create(String appName, Boolean selfContained) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 66
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.CreateFrameworkDependent(String appName) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 50
       at AppHost.Bundle.Tests.AppLaunch.SharedTestState..ctor() in /_/src/installer/tests/AppHost.Bundle.Tests/AppLaunch.cs:line 131
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    ----- Inner Stack Trace -----
       at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
       at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyLoadContext.LoadAssemblyFromPath(String assemblyPath)
       at Microsoft.VisualStudio.TestPlatform.Common.Utilities.AssemblyResolver.OnResolve(Object sender, AssemblyResolveEventArgs args)
       at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyResolver.AssemblyResolverEvent(Object sender, Object eventArgs)
       at System.Runtime.Loader.AssemblyLoadContext.GetFirstResolvedAssemblyFromResolvingEvent(AssemblyName assemblyName)
       at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
       at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
    AppHost.Bundle.Tests.AppLaunch.AdditionalContentAfterBundleMetadata(selfContained: True) [Details] [0.28% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (4)

    Exception Message
    Class fixture type 'AppHost.Bundle.Tests.AppLaunch+SharedTestState' threw in its constructor
    ---- System.IO.FileLoadException : Could not load file or assembly 'System.Text.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
    -------- System.IO.FileLoadException : Could not load file or assembly '/__w/1/s/artifacts/bin/AppHost.Bundle.Tests/Release/net9.0/System.Text.Json.dll'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
    CallStack
    ----- Inner Stack Trace -----
       at Microsoft.DotNet.CoreSetup.Test.RuntimeConfig.Save()
       at Microsoft.DotNet.CoreSetup.Test.NetCoreAppBuilder.Build(TestApp testApp) in /_/src/installer/tests/TestUtils/NetCoreAppBuilder.cs:line 404
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.PopulateBuiltAppDirectory() in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 205
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp..ctor(String appName, Boolean selfContained, String location) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 30
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.Create(String appName, Boolean selfContained) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 66
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.CreateFrameworkDependent(String appName) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 50
       at AppHost.Bundle.Tests.AppLaunch.SharedTestState..ctor() in /_/src/installer/tests/AppHost.Bundle.Tests/AppLaunch.cs:line 131
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    ----- Inner Stack Trace -----
       at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
       at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyLoadContext.LoadAssemblyFromPath(String assemblyPath)
       at Microsoft.VisualStudio.TestPlatform.Common.Utilities.AssemblyResolver.OnResolve(Object sender, AssemblyResolveEventArgs args)
       at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyResolver.AssemblyResolverEvent(Object sender, Object eventArgs)
       at System.Runtime.Loader.AssemblyLoadContext.GetFirstResolvedAssemblyFromResolvingEvent(AssemblyName assemblyName)
       at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
       at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
    AppHost.Bundle.Tests.AppLaunch.DisableCetCompat(selfContained: False) [Details] [0.18% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Class fixture type 'AppHost.Bundle.Tests.AppLaunch+SharedTestState' threw in its constructor
    ---- System.IO.FileLoadException : Could not load file or assembly 'System.Text.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
    -------- System.IO.FileLoadException : Could not load file or assembly 'D:\a\_work\1\s\artifacts\bin\AppHost.Bundle.Tests\Release\net9.0\System.Text.Json.dll'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
    CallStack
    ----- Inner Stack Trace -----
       at Microsoft.DotNet.CoreSetup.Test.RuntimeConfig.Save()
       at Microsoft.DotNet.CoreSetup.Test.NetCoreAppBuilder.Build(TestApp testApp) in /_/src/installer/tests/TestUtils/NetCoreAppBuilder.cs:line 404
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.PopulateBuiltAppDirectory() in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 205
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp..ctor(String appName, Boolean selfContained, String location) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 30
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.Create(String appName, Boolean selfContained) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 66
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.CreateFrameworkDependent(String appName) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 50
       at AppHost.Bundle.Tests.AppLaunch.SharedTestState..ctor() in /_/src/installer/tests/AppHost.Bundle.Tests/AppLaunch.cs:line 131
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    ----- Inner Stack Trace -----
       at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
       at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyLoadContext.LoadAssemblyFromPath(String assemblyPath)
       at Microsoft.VisualStudio.TestPlatform.Common.Utilities.AssemblyResolver.OnResolve(Object sender, AssemblyResolveEventArgs args)
       at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyResolver.AssemblyResolverEvent(Object sender, Object eventArgs)
       at System.Runtime.Loader.AssemblyLoadContext.GetFirstResolvedAssemblyFromResolvingEvent(AssemblyName assemblyName)
       at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
       at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
    AppHost.Bundle.Tests.AppLaunch.DisableCetCompat(selfContained: True) [Details] [0.18% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Class fixture type 'AppHost.Bundle.Tests.AppLaunch+SharedTestState' threw in its constructor
    ---- System.IO.FileLoadException : Could not load file or assembly 'System.Text.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
    -------- System.IO.FileLoadException : Could not load file or assembly 'D:\a\_work\1\s\artifacts\bin\AppHost.Bundle.Tests\Release\net9.0\System.Text.Json.dll'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
    CallStack
    ----- Inner Stack Trace -----
       at Microsoft.DotNet.CoreSetup.Test.RuntimeConfig.Save()
       at Microsoft.DotNet.CoreSetup.Test.NetCoreAppBuilder.Build(TestApp testApp) in /_/src/installer/tests/TestUtils/NetCoreAppBuilder.cs:line 404
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.PopulateBuiltAppDirectory() in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 205
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp..ctor(String appName, Boolean selfContained, String location) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 30
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.Create(String appName, Boolean selfContained) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 66
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.CreateFrameworkDependent(String appName) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 50
       at AppHost.Bundle.Tests.AppLaunch.SharedTestState..ctor() in /_/src/installer/tests/AppHost.Bundle.Tests/AppLaunch.cs:line 131
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    ----- Inner Stack Trace -----
       at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
       at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyLoadContext.LoadAssemblyFromPath(String assemblyPath)
       at Microsoft.VisualStudio.TestPlatform.Common.Utilities.AssemblyResolver.OnResolve(Object sender, AssemblyResolveEventArgs args)
       at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyResolver.AssemblyResolverEvent(Object sender, Object eventArgs)
       at System.Runtime.Loader.AssemblyLoadContext.GetFirstResolvedAssemblyFromResolvingEvent(AssemblyName assemblyName)
       at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
       at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
    AppHost.Bundle.Tests.AppLaunch.RunApp(selfContained: False) [Details] [0.28% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (4)

    Exception Message
    Class fixture type 'AppHost.Bundle.Tests.AppLaunch+SharedTestState' threw in its constructor
    ---- System.IO.FileLoadException : Could not load file or assembly 'System.Text.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
    -------- System.IO.FileLoadException : Could not load file or assembly '/__w/1/s/artifacts/bin/AppHost.Bundle.Tests/Release/net9.0/System.Text.Json.dll'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
    CallStack
    ----- Inner Stack Trace -----
       at Microsoft.DotNet.CoreSetup.Test.RuntimeConfig.Save()
       at Microsoft.DotNet.CoreSetup.Test.NetCoreAppBuilder.Build(TestApp testApp) in /_/src/installer/tests/TestUtils/NetCoreAppBuilder.cs:line 404
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.PopulateBuiltAppDirectory() in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 205
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp..ctor(String appName, Boolean selfContained, String location) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 30
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.Create(String appName, Boolean selfContained) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 66
       at Microsoft.DotNet.CoreSetup.Test.SingleFileTestApp.CreateFrameworkDependent(String appName) in /_/src/installer/tests/TestUtils/SingleFileTestApp.cs:line 50
       at AppHost.Bundle.Tests.AppLaunch.SharedTestState..ctor() in /_/src/installer/tests/AppHost.Bundle.Tests/AppLaunch.cs:line 131
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    ----- Inner Stack Trace -----
       at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
       at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyLoadContext.LoadAssemblyFromPath(String assemblyPath)
       at Microsoft.VisualStudio.TestPlatform.Common.Utilities.AssemblyResolver.OnResolve(Object sender, AssemblyResolveEventArgs args)
       at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyResolver.AssemblyResolverEvent(Object sender, Object eventArgs)
       at System.Runtime.Loader.AssemblyLoadContext.GetFirstResolvedAssemblyFromResolvingEvent(AssemblyName assemblyName)
       at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
       at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)

Was this helpful? Yes No