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

[main] Update dependencies from dotnet/efcore, dotnet/runtime #55852

Merged
merged 52 commits into from
Jun 12, 2024

Update SDK to a later version

933f4a4
Select commit
Loading
Failed to load commit list.
Merged

[main] Update dependencies from dotnet/efcore, dotnet/runtime #55852

Update SDK to a later version
933f4a4
Select commit
Loading
Failed to load commit list.
Azure Pipelines / aspnetcore-quarantined-pr succeeded Jun 12, 2024 in 1h 2m 55s

Build #20240612.4 had test failures

Details

Tests

  • Failed: 15 (0.79%)
  • Passed: 1,840 (97.05%)
  • Other: 41 (2.16%)
  • Total: 1,896

Annotations

Check failure on line 0 in XUnit

See this annotation in the file changed.

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

XUnit#L0

XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: /mnt/vss/_work/1/s/artifacts/TestResults/Release/Quarantined/Templates.Blazor.Tests_net9.0_x64.html [net9.0|x64]

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.6.24307.2/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.6.24307.2/build/Microsoft.NET.ILLink.targets#L94

.packages/microsoft.net.illink.tasks/9.0.0-preview.6.24307.2/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 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.zo5d3auvyi33/AspNet.zo5d3auvyi33.csproj (in 715 ms).\n/mnt/vss/_work/1/s/.dotnet/sdk/9.0.100-preview.6.24311.23/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(326,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.zo5d3auvyi33/AspNet.zo5d3auvyi33.csproj]\n/mnt/vss/_work/1/s/artifacts/bin/GenerateFiles/Directory.Build.targets(131,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.zo5d3auvyi33/AspNet.zo5d3auvyi33.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.zo5d3auvyi33/AspNet.zo5d3auvyi33.csproj (in 715 ms).\n/mnt/vss/_work/1/s/.dotnet/sdk/9.0.100-preview.6.24311.23/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(326,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.zo5d3auvyi33/AspNet.zo5d3auvyi33.csproj]\n/mnt/vss/_work/1/s/artifacts/bin/GenerateFiles/Directory.Build.targets(131,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.zo5d3auvyi33/AspNet.zo5d3auvyi33.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/C4E30A19/t/dotnet-tool-tests/96476c31b736423abaede4c4f8c59a73/test.csproj (in 55 ms).
           /datadisks/disk1/work/C4E30A19/p/dotnet-cli/sdk/9.0.100-preview.6.24311.23/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(326,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/datadisks/disk1/work/C4E30A19/t/dotnet-tool-tests/96476c31b736423abaede4c4f8c59a73/test.csproj]
             GenerateNSwagCSharp /datadisks/disk1/work/C4E30A19/t/dotnet-tool-tests/96476c31b736423abaede4c4f8c59a73/files/azureMonitor.json Class: 'test.azureMonitorClient' FirstForGenerator: 'true' Options: '' OutputPath: 'obj/azureMonitorClient.cs'
             GenerateNSwagCSharp /datadisks/disk1/work/C4E30A19/t/dotnet-tool-tests/96476c31b736423abaede4c4f8c59a73/files/NSwag.json Class: 'test.NSwagClient' FirstForGenerator: 'false' Options: '' OutputPath: 'obj/NSwagClient.cs'
             GenerateNSwagCSharp /datadisks/disk1/work/C4E30A19/t/dotnet-tool-tests/96476c31b736423abaede4c4f8c59a73/files/swashbuckle.json Class: 'test.swashbuckleClient' FirstForGenerator: 'false' Options: '' OutputPath: 'obj/swashbuckleClient.cs'
             Compile: /datadisks/disk1/work/C4E30A19/t/dotnet-tool-tests/96476c31b736423abaede4c4f8c59a73/obj/azureMonitorClient.cs
             Compile: /datadisks/disk1/work/C4E30A19/t/dotnet-tool-tests/96476c31b736423abaede4c4f8c59a73/obj/NSwagClient.cs
             Compile: /datadisks/disk1/work/C4E30A19/t/dotnet-tool-tests/96476c31b736423abaede4c4f8c59a73/obj/swashbuckleClient.cs
             FileWrites: obj/azureMonitorClient.cs
             FileWrites: obj/NSwagClient.cs
             FileWrites: obj/swashbuckleClient.cs
             test -> /datadisks/disk1/work/C4E30A19/t/dotnet-tool-tests/96476c31b736423abaede4c4f8c59a73/bin/Debug/net9.0/test.dll
           
           Build succeeded.
               0 Warning(s)
               0 Error(s)
           
           Time Elapsed 00:00:01.15
           
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/C4E30A19/t/dotnet-tool-tests/7843949821854f54b108926171c50e84/test.csproj (in 55 ms).
           /datadisks/disk1/work/C4E30A19/p/dotnet-cli/sdk/9.0.100-preview.6.24311.23/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(326,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/datadisks/disk1/work/C4E30A19/t/dotnet-tool-tests/7843949821854f54b108926171c50e84/test.csproj]
             GenerateNSwagCSharp /datadisks/disk1/work/C4E30A19/t/dotnet-tool-tests/7843949821854f54b108926171c50e84/files/azureMonitor.json Class: 'test.azureMonitorClient' FirstForGenerator: 'true' Options: '' OutputPath: 'obj/azureMonitorClient.cs'
             Compile: /datadisks/disk1/work/C4E30A19/t/dotnet-tool-tests/7843949821854f54b108926171c50e84/obj/azureMonitorClient.cs
             FileWrites: obj/azureMonitorClient.cs
             test -> /datadisks/disk1/work/C4E30A19/t/dotnet-tool-tests/7843949821854f54b108926171c50e84/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 ---