Use current STJ in HostModel and remove unnecessary audit suppressions #109852
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]
- 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)
- 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)
- 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)
- 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)
- 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: False) [Details] [0.26% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configurations (4)
❌ AppHost.Bundle.Tests.AppLaunch.AdditionalContentAfterBundleMetadata(selfContained: True) [Details] [0.28% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configurations (4)
❌ AppHost.Bundle.Tests.AppLaunch.DisableCetCompat(selfContained: False) [Details] [0.18% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
❌ AppHost.Bundle.Tests.AppLaunch.DisableCetCompat(selfContained: True) [Details] [0.18% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
❌ AppHost.Bundle.Tests.AppLaunch.RunApp(selfContained: False) [Details] [0.28% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configurations (4)
Loading