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

Fix form handling and add NuGet pkg docs #55321

Merged
merged 4 commits into from
Apr 29, 2024

More tests and feedback

8738bb6
Select commit
Failed to load commit list.
Merged

Fix form handling and add NuGet pkg docs #55321

More tests and feedback
8738bb6
Select commit
Failed to load commit list.
Azure Pipelines / aspnetcore-quarantined-pr succeeded Apr 29, 2024 in 57m 20s

Build #20240429.20 had test failures

Details

Tests

  • Failed: 13 (0.71%)
  • Passed: 1,777 (97.42%)
  • Other: 34 (1.86%)
  • Total: 1,824

Annotations

Check failure on line 0 in ILLink

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-quarantined-pr

ILLink#L0

ILLink(0,0): error IL1032: (NETCORE_ENGINEERING_TELEMETRY=Build) Root assembly 'obj/Release/net9.0/linux-x64/project.dll' could not be found.

Check failure on line 94 in .packages/microsoft.net.illink.tasks/9.0.0-preview.4.24223.11/build/Microsoft.NET.ILLink.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-quarantined-pr

.packages/microsoft.net.illink.tasks/9.0.0-preview.4.24223.11/build/Microsoft.NET.ILLink.targets#L94

.packages/microsoft.net.illink.tasks/9.0.0-preview.4.24223.11/build/Microsoft.NET.ILLink.targets(94,5): error NETSDK1144: (NETCORE_ENGINEERING_TELEMETRY=Build) Optimizing assemblies for size failed.

Check failure on line 0 in ILLink

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-quarantined-pr

ILLink#L0

ILLink(0,0): error IL1032: (NETCORE_ENGINEERING_TELEMETRY=Build) Root assembly 'obj/Release/net9.0/linux-x64/project.dll' could not be found.

Check failure on line 94 in .packages/microsoft.net.illink.tasks/9.0.0-preview.4.24223.11/build/Microsoft.NET.ILLink.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-quarantined-pr

.packages/microsoft.net.illink.tasks/9.0.0-preview.4.24223.11/build/Microsoft.NET.ILLink.targets#L94

.packages/microsoft.net.illink.tasks/9.0.0-preview.4.24223.11/build/Microsoft.NET.ILLink.targets(94,5): error NETSDK1144: (NETCORE_ENGINEERING_TELEMETRY=Build) Optimizing assemblies for size failed.

Check failure on line 1 in BlazorTemplates.Tests.BlazorWasmTemplateTest.BlazorWasmStandaloneTemplate_Works(browserKind: Chromium)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-quarantined-pr

BlazorTemplates.Tests.BlazorWasmTemplateTest.BlazorWasmStandaloneTemplate_Works(browserKind: Chromium)

System.AggregateException : One or more errors occurred. (\n╔══════════════════════════════════════════════════════════╗\n║ Host system is missing dependencies to run browsers.     ║\n║ Please install them with the following command:          ║\n║                                                          ║\n║     sudo pwsh bin/Debug/netX/playwright.ps1 install-deps ║\n║                                                          ║\n║ Alternatively, use apt:                                  ║\n║     sudo apt-get install libgbm1\\                        ║\n║         libxkbcommon0                                    ║\n║                                                          ║\n║ <3 Playwright Team                                       ║\n╚══════════════════════════════════════════════════════════╝) (Project new blazorwasm  failed to publish. Exit code 1.\n/mnt/vss/_work/1/s/.dotnet/dotnet publish  -c Release /bl \\nStdErr: \\nStdOut:   Determining projects to restore...\n  Restored /mnt/vss/_work/1/s/src/ProjectTemplates/test/Templates.Blazor.Tests/bin/Release/net9.0/TestTemplates/AspNet.qxlkvmjkvjto/AspNet.qxlkvmjkvjto.csproj (in 788 ms).\n/mnt/vss/_work/1/s/.dotnet/sdk/9.0.100-preview.4.24224.4/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(314,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/mnt/vss/_work/1/s/src/ProjectTemplates/test/Templates.Blazor.Tests/bin/Release/net9.0/TestTemplates/AspNet.qxlkvmjkvjto/AspNet.qxlkvmjkvjto.csproj]\n/mnt/vss/_work/1/s/artifacts/bin/GenerateFiles/Directory.Build.targets(126,5): error : Requested Microsoft.AspNetCore.App v9.0.0-ci ref pack does not exist. [/mnt/vss/_work/1/s/src/ProjectTemplates/test/Templates.Blazor.Tests/bin/Release/net9.0/TestTemplates/AspNet.qxlkvmjkvjto/AspNet.qxlkvmjkvjto.csproj]\n\nExpected: True\nActual:   False) (Object reference not set to an instance of an object.)\n---- Microsoft.Playwright.PlaywrightException : \n╔══════════════════════════════════════════════════════════╗\n║ Host system is missing dependencies to run browsers.     ║\n║ Please install them with the following command:          ║\n║                                                          ║\n║     sudo pwsh bin/Debug/netX/playwright.ps1 install-deps ║\n║                                                          ║\n║ Alternatively, use apt:                                  ║\n║     sudo apt-get install libgbm1\\                        ║\n║         libxkbcommon0                                    ║\n║                                                          ║\n║ <3 Playwright Team                                       ║\n╚══════════════════════════════════════════════════════════╝\n---- Project new blazorwasm  failed to publish. Exit code 1.\n/mnt/vss/_work/1/s/.dotnet/dotnet publish  -c Release /bl \\nStdErr: \\nStdOut:   Determining projects to restore...\n  Restored /mnt/vss/_work/1/s/src/ProjectTemplates/test/Templates.Blazor.Tests/bin/Release/net9.0/TestTemplates/AspNet.qxlkvmjkvjto/AspNet.qxlkvmjkvjto.csproj (in 788 ms).\n/mnt/vss/_work/1/s/.dotnet/sdk/9.0.100-preview.4.24224.4/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(314,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/mnt/vss/_work/1/s/src/ProjectTemplates/test/Templates.Blazor.Tests/bin/Release/net9.0/TestTemplates/AspNet.qxlkvmjkvjto/AspNet.qxlkvmjkvjto.csproj]\n/mnt/vss/_work/1/s/artifacts/bin/GenerateFiles/Directory.Build.targets(126,5): error : Requested Microsoft.AspNetCore.App v9.0.0-ci ref pack does not exist. [/mnt/vss/_work/1/s/src/ProjectTemplates/test/Templates.Blazor.Tests/bin/Release/net9.0/TestTemplates/AspNet.qxlkvmjkvjto/AspNet.qxlkvmjkvjto.csproj]\n\nExpected: True\nActual:   False\n---- System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
----- Inner Stack Trace #1 (Microsoft.Playwright.PlaywrightException) -----
   at Microsoft.Playwright.Transport.Connection.InnerSendMessageToServerAsync[T](String guid, String method, Object args) in /_/src/Playwright/Transport/Connection.cs:line 163
   at Microsoft.Playwright.Transport.Connection.WrapApiCallAsync[T](Func`1 action, Boolean isInternal) in /_/src/Playwright/Transport/Connection.cs:line 482
   at Microsoft.Playwright.Core.BrowserType.LaunchAsync(BrowserTypeLaunchOptions options) in /_/src/Playwright/Core/BrowserType.cs:line 61
   at Microsoft.AspNetCore.BrowserTesting.BrowserManager.<InitializeAsync>g__InitializeCore|18_0() in /_/src/Shared/BrowserTesting/src/BrowserManager.cs:line 69
   at Microsoft.AspNetCore.BrowserTesting.BrowserManager.InitializeAsync() in /_/src/Shared/BrowserTesting/src/BrowserManager.cs:line 53
   at Microsoft.AspNetCore.BrowserTesting.BrowserManager.CreateAsync(BrowserManagerConfiguration configuration, ILoggerFactory loggerFactory) in /_/src/Shared/BrowserTesting/src/BrowserManager.cs:line 46
   at Microsoft.AspNetCore.BrowserTesting.BrowserTestBase.InitializeCoreAsync(TestContext context) in /_/src/Shared/BrowserTesting/src/BrowserTestBase.cs:line 30
   at Microsoft.AspNetCore.InternalTesting.AspNetTestInvoker.<>c__DisplayClass2_0.<<InvokeTestMethodAsync>b__0>d.MoveNext() in /_/src/Testing/src/xunit/AspNetTestInvoker.cs:line 44
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (Xunit.Sdk.TrueException) -----
   at Templates.Test.Helpers.Project.RunDotNetPublishAsync(IDictionary`2 packageOptions, String additionalArgs, Boolean noRestore) in /_/src/ProjectTemplates/Shared/Project.cs:line 152
   at BlazorTemplates.Tests.BlazorTemplateTest.CreateBuildPublishAsync(String auth, String[] args, String targetFramework, Boolean serverProject, Boolean onlyCreate) in /_/src/ProjectTemplates/test/Templates.Blazor.Tests/BlazorTemplateTest.cs:line 49
   at BlazorTemplates.Tests.BlazorWasmTemplateTest.BlazorWasmStandaloneTemplate_Works(BrowserKind browserKind) in /_/src/ProjectTemplates/test/Templates.Blazor.Tests/BlazorWasmTemplateTest.cs:line 30
--- End of stack trace from previous location ---
----- Inner Stack Trace #3 (System.NullReferenceException) -----

Check failure on line 1 in Microsoft.Extensions.ApiDescription.Client.TargetTest.AddsExpectedItems_WithMultipleFiles

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-quarantined-pr

Microsoft.Extensions.ApiDescription.Client.TargetTest.AddsExpectedItems_WithMultipleFiles

Assert.Contains() Failure
Not found: Compile: obj/azureMonitorClient.cs
In value:    Determining projects to restore...
             Restored /datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/93740ef23feb40f1be36f5177079742a/test.csproj (in 63 ms).
           /datadisks/disk1/work/AC89095D/p/dotnet-cli/sdk/9.0.100-preview.4.24224.4/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(314,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/93740ef23feb40f1be36f5177079742a/test.csproj]
             GenerateNSwagCSharp /datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/93740ef23feb40f1be36f5177079742a/files/azureMonitor.json Class: 'test.azureMonitorClient' FirstForGenerator: 'true' Options: '' OutputPath: 'obj/azureMonitorClient.cs'
             GenerateNSwagCSharp /datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/93740ef23feb40f1be36f5177079742a/files/NSwag.json Class: 'test.NSwagClient' FirstForGenerator: 'false' Options: '' OutputPath: 'obj/NSwagClient.cs'
             GenerateNSwagCSharp /datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/93740ef23feb40f1be36f5177079742a/files/swashbuckle.json Class: 'test.swashbuckleClient' FirstForGenerator: 'false' Options: '' OutputPath: 'obj/swashbuckleClient.cs'
             Compile: /datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/93740ef23feb40f1be36f5177079742a/obj/azureMonitorClient.cs
             Compile: /datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/93740ef23feb40f1be36f5177079742a/obj/NSwagClient.cs
             Compile: /datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/93740ef23feb40f1be36f5177079742a/obj/swashbuckleClient.cs
             FileWrites: obj/azureMonitorClient.cs
             FileWrites: obj/NSwagClient.cs
             FileWrites: obj/swashbuckleClient.cs
             test -> /datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/93740ef23feb40f1be36f5177079742a/bin/Debug/net9.0/test.dll
           
           Build succeeded.
               0 Warning(s)
               0 Error(s)
           
           Time Elapsed 00:00:01.17
           
Raw output
   at Microsoft.Extensions.ApiDescription.Client.TargetTest.AddsExpectedItems_WithMultipleFiles() in /_/src/Tools/Extensions.ApiDescription.Client/test/TargetTest.cs:line 123
--- End of stack trace from previous location ---

Check failure on line 1 in Microsoft.Extensions.ApiDescription.Client.TargetTest.AddsExpectedItems

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-quarantined-pr

Microsoft.Extensions.ApiDescription.Client.TargetTest.AddsExpectedItems

Assert.Contains() Failure
Not found: Compile: obj/azureMonitorClient.cs
In value:    Determining projects to restore...
             Restored /datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/aaa04685de744ad7a2048538169e5165/test.csproj (in 57 ms).
           /datadisks/disk1/work/AC89095D/p/dotnet-cli/sdk/9.0.100-preview.4.24224.4/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(314,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/aaa04685de744ad7a2048538169e5165/test.csproj]
             GenerateNSwagCSharp /datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/aaa04685de744ad7a2048538169e5165/files/azureMonitor.json Class: 'test.azureMonitorClient' FirstForGenerator: 'true' Options: '' OutputPath: 'obj/azureMonitorClient.cs'
             Compile: /datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/aaa04685de744ad7a2048538169e5165/obj/azureMonitorClient.cs
             FileWrites: obj/azureMonitorClient.cs
             test -> /datadisks/disk1/work/AC89095D/t/dotnet-tool-tests/aaa04685de744ad7a2048538169e5165/bin/Debug/net9.0/test.dll
           
           Build succeeded.
               0 Warning(s)
               0 Error(s)
           
           Time Elapsed 00:00:00.94
           
Raw output
   at Microsoft.Extensions.ApiDescription.Client.TargetTest.AddsExpectedItems() in /_/src/Tools/Extensions.ApiDescription.Client/test/TargetTest.cs:line 80
--- End of stack trace from previous location ---

Check failure on line 1 in Microsoft.AspNetCore.SignalR.Client.FunctionalTests.HubConnectionTests.ChangingUserNameDuringReconnectLogsWarning

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-quarantined-pr

Microsoft.AspNetCore.SignalR.Client.FunctionalTests.HubConnectionTests.ChangingUserNameDuringReconnectLogsWarning

Assert.Fail(): 1 error(s) logged.
Microsoft.AspNetCore.Http.Connections.Client.Internal.WebSocketsTransport - ErrorSendingMessage - Error while sending a message.
===================
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.WebSockets.ClientWebSocket'.
   at System.Net.WebSockets.ClientWebSocket.get_ConnectedWebSocket()
   at System.Net.WebSockets.ClientWebSocket.SendAsync(ReadOnlyMemory`1 buffer, WebSocketMessageType messageType, Boolean endOfMessage, CancellationToken cancellationToken)
   at System.Net.WebSockets.WebSocketExtensions.SendAsync(WebSocket webSocket, ReadOnlySequence`1 buffer, WebSocketMessageType webSocketMessageType, CancellationToken cancellationToken) in /_/src/SignalR/common/Shared/WebSocketExtensions.cs:line 19
   at Microsoft.AspNetCore.Http.Connections.Client.Internal.WebSocketsTransport.StartSending(WebSocket socket, Boolean ignoreFirstCanceled) in /_/src/SignalR/clients/csharp/Http.Connections.Client/src/Internal/WebSocketsTransport.cs:line 562
===================
Raw output
   at Microsoft.AspNetCore.SignalR.Tests.VerifyNoErrorsScope.Dispose() in D:\a\_work\1\s\src\Shared\SignalR\VerifyNoErrorScope.cs:line 47
   at Microsoft.AspNetCore.SignalR.Tests.InProcessTestServer`1.DisposeAsync() in D:\a\_work\1\s\src\Shared\SignalR\InProcessTestServer.cs:line 157
   at Microsoft.AspNetCore.SignalR.Tests.InProcessTestServer`1.DisposeAsync() in D:\a\_work\1\s\src\Shared\SignalR\InProcessTestServer.cs:line 164
   at Microsoft.AspNetCore.SignalR.Client.FunctionalTests.HubConnectionTests.ChangingUserNameDuringReconnectLogsWarning() in /_/src/SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs:line 2740
--- End of stack trace from previous location ---