[release/8.0.1xx] Update dependencies from dotnet/templating #45070
Build Analysis / Build Analysis
failed
Nov 23, 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.
Known test errors
Test Failures (2 tests failed)
🔹 [All failing tests from dotnet-sdk-public-ci]
- Data Driven SubResults
- Exception Message
Microsoft.TemplateEngine.Authoring.TemplateVerifier.TemplateVerificationException : Template instantiation expected to pass but it had exit code '57005'.
- Stack Trace
at Microsoft.TemplateEngine.Authoring.TemplateVerifier.VerificationEngine.Execute(IOptions`1 optionsAccessor, CancellationToken cancellationToken, String sourceFile, String callerMethod) at Microsoft.DotNet.Cli.New.IntegrationTests.CommonTemplatesTests.FeaturesSupport(String name, Boolean buildPass, String framework, String langVersion, Boolean langVersionUnsupported, String language, Boolean supportsNullable, Boolean supportsTopLevel, Boolean forceDisableTopLevel, Boolean supportsImplicitUsings, Boolean supportsFileScopedNs) in D:\a\_work\1\s\src\Tests\dotnet-new.Tests\CommonTemplatesTests.cs:line 416 at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
❌ Microsoft.DotNet.Cli.New.IntegrationTests.CommonTemplatesTests.FeaturesSupport(name: \"classlib\", buildPass: True, framework: \"net8.0\", langVersion: \"5\", langVersionUnsupported: False, language: null, supportsNullable: False, supportsTopLevel: False, forceDisableTopLevel: False, supportsImplicitUsings: False, supportsFileScopedNs: False)
- Exception Message
Microsoft.TemplateEngine.Authoring.TemplateVerifier.TemplateVerificationException : Template instantiation expected to pass but it had exit code '57005'.
- Stack Trace
at Microsoft.TemplateEngine.Authoring.TemplateVerifier.VerificationEngine.Execute(IOptions`1 optionsAccessor, CancellationToken cancellationToken, String sourceFile, String callerMethod) at Microsoft.DotNet.Cli.New.IntegrationTests.CommonTemplatesTests.FeaturesSupport(String name, Boolean buildPass, String framework, String langVersion, Boolean langVersionUnsupported, String language, Boolean supportsNullable, Boolean supportsTopLevel, Boolean forceDisableTopLevel, Boolean supportsImplicitUsings, Boolean supportsFileScopedNs) in D:\a\_work\1\s\src\Tests\dotnet-new.Tests\CommonTemplatesTests.cs:line 416 at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
❌ Microsoft.DotNet.Cli.New.IntegrationTests.CommonTemplatesTests.FeaturesSupport(name: \"classlib\", buildPass: True, framework: \"net6.0\", langVersion: \"7.1\", langVersionUnsupported: False, language: null, supportsNullable: False, supportsTopLevel: False, forceDisableTopLevel: False, supportsImplicitUsings: False, supportsFileScopedNs: False)
- Exception Message
Microsoft.TemplateEngine.Authoring.TemplateVerifier.TemplateVerificationException : Template instantiation expected to pass but it had exit code '57005'.
- Stack Trace
at Microsoft.TemplateEngine.Authoring.TemplateVerifier.VerificationEngine.Execute(IOptions`1 optionsAccessor, CancellationToken cancellationToken, String sourceFile, String callerMethod) at Microsoft.DotNet.Cli.New.IntegrationTests.CommonTemplatesTests.FeaturesSupport(String name, Boolean buildPass, String framework, String langVersion, Boolean langVersionUnsupported, String language, Boolean supportsNullable, Boolean supportsTopLevel, Boolean forceDisableTopLevel, Boolean supportsImplicitUsings, Boolean supportsFileScopedNs) in D:\a\_work\1\s\src\Tests\dotnet-new.Tests\CommonTemplatesTests.cs:line 416 at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
- Data Driven SubResults
- Exception Message
Expected command to pass but it did not.\r\nFile Name: D:\\a\\_work\\1\\s\\artifacts\\bin\\redist\\Release\\dotnet\\dotnet.exe\r\nArguments: new TestAssets.PostActions.RestoreNuGet.Invalid.ContinueOnError --debug:custom-hive D:\\a\\_work\\1\\s\\artifacts\\tmp\\Release\\dotnet-new.IntegrationTests\\ErrorExitCodeOnFailedPostAction\\Home\\20241123164727217\r\nExit Code: 57005\r\nStdOut:\r\nThe template \"TestAssets.PostActions.RestoreNuGet.Invalid.ContinueOnError\" was created successfully.\r\n\r\nProcessing post-creation actions...\r\nRestoring D:\\a\\_work\\1\\s\\artifacts\\tmp\\Release\\dotnet-new.IntegrationTests\\ErrorExitCodeOnFailedPostAction\\20241123164727217\\Invalid.csproj:\r\nStdErr:\r\nFatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.\r\nRepeat 2 times:\r\n--------------------------------\r\n at Microsoft.VisualStudio.Setup.Configuration.IEnumSetupInstances.Next(Int32, Microsoft.VisualStudio.Setup.Configuration.ISetupInstance[], Int32 ByRef)\r\n--------------------------------\r\n at Microsoft.DotNet.Workloads.Workload.VisualStudioWorkloads.GetVisualStudioInstances()\r\n at Microsoft.DotNet.Workloads.Workload.VisualStudioWorkloads.GetInstalledWorkloads(Microsoft.NET.Sdk.WorkloadManifestReader.IWorkloadResolver, Microsoft.DotNet.Workloads.Workload.List.InstalledWorkloadsCollection, System.Nullable`1<Microsoft.NET.Sdk.WorkloadManifestReader.SdkFeatureBand>)\r\n at Microsoft.DotNet.Workloads.Workload.List.WorkloadInfoHelper.AddInstalledVsWorkloads(System.Collections.Generic.IEnumerable`1<Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadId>)\r\n at Microsoft.DotNet.Workloads.Workload.List.WorkloadInfoHelper.get_InstalledAndExtendedWorkloads()\r\n at Microsoft.DotNet.Tools.New.WorkloadsInfoProvider.GetInstalledWorkloadsAsync(System.Threading.CancellationToken)\r\n at Microsoft.TemplateEngine.Edge.Constraints.WorkloadConstraintFactory+WorkloadConstraint+<ExtractWorkloadInfoAsync>d__9.MoveNext()\r\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.TemplateEngine.Edge.Constraints.WorkloadConstraintFactory+WorkloadConstraint+<ExtractWorkloadInfoAsync>d__9, Microsoft.TemplateEngine.Edge, Version=8.0.112.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]](<ExtractWorkloadInfoAsync>d__9 ByRef)\r\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.ValueTuple`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Microsoft.TemplateEngine.Edge.Constraints.WorkloadConstraintFactory+WorkloadConstraint+<ExtractWorkloadInfoAsync>d__9, Microsoft.TemplateEngine.Edge, Version=8.0.112.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]](<ExtractWorkloadInfoAsync>d__9 ByRef)\r\n at Microsoft.TemplateEngine.Edge.Constraints.WorkloadConstraintFactory+WorkloadConstraint.ExtractWorkloadInfoAsync(System.Collections.Generic.IEnumerable`1<Microsoft.TemplateEngine.Abstractions.Components.IWorkloadsInfoProvider>, Microsoft.Extensions.Logging.ILogger, System.Threading.CancellationToken)\r\n at Microsoft.TemplateEngine.Edge.Constraints.WorkloadConstraintFactory+WorkloadConstraint+<CreateAsync>d__6.MoveNext()\r\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.TemplateEngine.Edge.Constraints.WorkloadConstraintFactory+WorkloadConstraint+<CreateAsync>d__6, Microsoft.TemplateEngine.Edge, Version=8.0.112.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]](<CreateAsync>d__6 ByRef)\r\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Microsoft.TemplateEngine.Edge.Constraints.WorkloadConstraintFactory+WorkloadConstraint+<CreateAsync>d__6, Microsoft.TemplateEngine.Edge, Version=8.0.112.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]](<CreateAsync>d__6 ByRef)\r\n at Microsoft.TemplateEngine.Edge.Constraints.WorkloadConstraintFactory+WorkloadConstraint.CreateAsync(Microsoft.TemplateEngine.Abstractions.IEngineEnvironmentSettings, Microsoft.TemplateEngine.Abstractions.Constraints.ITemplateConstraintFactory, System.Threading.CancellationToken)\r\n at Microsoft.TemplateEngine.Edge.Constraints.WorkloadConstraintFactory+<Microsoft-TemplateEngine-Abstractions-Constraints-ITemplateConstraintFactory-CreateTemplateConstraintAsync>d__5.MoveNext()\r\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.TemplateEngine.Edge.Constraints.WorkloadConstraintFactory+<Microsoft-TemplateEngine-Abstractions-Constraints-ITemplateConstraintFactory-CreateTemplateConstraintAsync>d__5, Microsoft.TemplateEngine.Edge, Version=8.0.112.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]](<Microsoft-TemplateEngine-Abstractions-Constraints-ITemplateConstraintFactory-CreateTemplateConstraintAsync>d__5 ByRef)\r\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Microsoft.TemplateEngine.Edge.Constraints.WorkloadConstraintFactory+<Microsoft-TemplateEngine-Abstractions-Constraints-ITemplateConstraintFactory-CreateTemplateConstraintAsync>d__5, Microsoft.TemplateEngine.Edge, Version=8.0.112.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]](<Microsoft-TemplateEngine-Abstractions-Constraints-ITemplateConstraintFactory-CreateTemplateConstraintAsync>d__5 ByRef)\r\n at Microsoft.TemplateEngine.Edge.Constraints.WorkloadConstraintFactory.Microsoft.TemplateEngine.Abstractions.Constraints.ITemplateConstraintFactory.CreateTemplateConstraintAsync(Microsoft.TemplateEngine.Abstractions.IEngineEnvironmentSettings, System.Threading.CancellationToken)\r\n at Microsoft.TemplateEngine.Edge.TemplateConstraintManager+<>c__DisplayClass4_1.<.ctor>b__0()\r\n at System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke()\r\n at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(System.Threading.Thread, System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)\r\n at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)\r\n at System.Threading.ThreadPoolWorkQueue.Dispatch()\r\n at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()\r\n
- Stack Trace
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc) at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/src/Tests/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 29 at Microsoft.DotNet.Cli.New.IntegrationTests.PostActionTests.ErrorExitCodeOnFailedPostAction(String templatePartLocation, String templateName, Boolean errorExpected) in D:\a\_work\1\s\src\Tests\dotnet-new.Tests\PostActionTests.cs:line 637 at InvokeStub_PostActionTests.ErrorExitCodeOnFailedPostAction(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
❌ Microsoft.DotNet.Cli.New.IntegrationTests.CommonTemplatesTests.FeaturesSupport [Details] [7.00% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
-
❌ Microsoft.DotNet.Cli.New.IntegrationTests.CommonTemplatesTests.FeaturesSupport(name: \"console\", buildPass: True, framework: null, langVersion: \"ISO-2\", langVersionUnsupported: False, language: null, supportsNullable: False, supportsTopLevel: False, forceDisableTopLevel: False, supportsImplicitUsings: False, supportsFileScopedNs: False)
❌ Microsoft.DotNet.Cli.New.IntegrationTests.PostActionTests.ErrorExitCodeOnFailedPostAction [Details] [0.29% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
-
❌ Microsoft.DotNet.Cli.New.IntegrationTests.PostActionTests.ErrorExitCodeOnFailedPostAction(templatePartLocation: \"PostActions/RestoreNuGet/Invalid_ContinueOnError\", templateName: \"TestAssets.PostActions.RestoreNuGet.Invalid.Contin\"..., errorExpected: False)
Loading