Skip to content

Add -CentralizedRestore to avoid NuGet parallel restore race conditions#65069

Draft
ilonatommy wants to merge 4 commits into
dotnet:mainfrom
ilonatommy:centralized-restore
Draft

Add -CentralizedRestore to avoid NuGet parallel restore race conditions#65069
ilonatommy wants to merge 4 commits into
dotnet:mainfrom
ilonatommy:centralized-restore

Fix: project depends on local NuGet feed (artifacts/packages/Debug/Sh…

c0860a4
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Jan 16, 2026 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 Infrastructure Errors

Build Failures

aspnetcore-quarantined-pr / Tests: Helix / Build shared fx

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌Solution restore failed

aspnetcore-quarantined-pr / Tests: Windows x64 / Build

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌Solution restore failed

aspnetcore-ci / Build / Build: Windows x64/x86/arm64 / Build x64

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌Solution restore failed

2 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [aspnetcore-quarantined-pr] [aspnetcore-ci]

Test Failures (2 tests failed)

🔹 [All failing tests from aspnetcore-quarantined-pr]

    Microsoft.AspNetCore.Hosting.FunctionalTests.LinkedApplicationTests.LinkedApplicationWorks [Details] [76.70% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    System.Net.Http.HttpRequestException : Connection refused (localhost:50362)\n---- System.Net.Sockets.SocketException : Connection refused
    CallStack
       at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem)
       at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
       at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at Microsoft.AspNetCore.Server.IntegrationTesting.LoggingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /_/src/Hosting/Server.IntegrationTesting/src/Common/LoggingHandler.cs:line 23
       at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
       at Microsoft.AspNetCore.Server.IntegrationTesting.RetryHelper.RetryRequest(Func`1 retryBlock, ILogger logger, CancellationToken cancellationToken, Int32 retryCount) in /_/src/Hosting/Server.IntegrationTesting/src/Common/RetryHelper.cs:line 36
       at Microsoft.AspNetCore.Server.IntegrationTesting.RetryHelper.RetryRequest(Func`1 retryBlock, ILogger logger, CancellationToken cancellationToken, Int32 retryCount)
       at Microsoft.AspNetCore.Hosting.FunctionalTests.LinkedApplicationTests.LinkedApplicationWorks() in /_/src/Hosting/test/FunctionalTests/LinkedApplicationTests.cs:line 46
    --- End of stack trace from previous location ---
    ----- Inner Stack Trace -----
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
       at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
       at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
    ServerComparison.FunctionalTests.HelloWorldTests.HelloWorld [Details] [33.95% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      ServerComparison.FunctionalTests.HelloWorldTests.HelloWorld(variant: Server: Nginx, TFM: net11.0, Type: Portable, Arch: x64)
      Exception Message
      System.ComponentModel.Win32Exception : An error occurred trying to start process 'nginx' with working directory '/Users/runner/work/1/s/src/Servers/test/FunctionalTests/bin/Release/net11.0'. No such file or directory
      Stack Trace
         at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
         at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
         at System.Diagnostics.ProcessLoggingExtensions.StartAndCaptureOutAndErrToLogger(Process process, String prefix, ILogger logger) in /_/src/Hosting/Server.IntegrationTesting/src/Common/ProcessLoggingExtensions.cs:line 29
         at Microsoft.AspNetCore.Server.IntegrationTesting.NginxDeployer.Dispose() in /_/src/Hosting/Server.IntegrationTesting/src/Deployers/NginxDeployer.cs:line 213
         at ServerComparison.FunctionalTests.HelloWorldTests.HelloWorld(TestVariant variant) in /_/src/Servers/test/FunctionalTests/HelloWorldTest.cs:line 110
      --- End of stack trace from previous location ---

Was this helpful? Yes No