Remove some allocations under HttpFileSystemBasedFindPackageByIdResource.ConsumeFlatContainerIndexAsync #6265
Build #20250211.3 had test failures
Details
- Failed: 3 (0.00%)
- Passed: 105,857 (98.61%)
- Other: 1,487 (1.39%)
- Total: 107,347
Annotations
Check failure on line 15 in Build log
azure-pipelines / NuGet.Client CI
Build log #L15
Cmd.exe exited with code '128'.
Check failure on line 24198 in Build log
azure-pipelines / NuGet.Client CI
Build log #L24198
Error: The process 'D:\a\_work\1\s\cli\dotnet.exe' failed with exit code 1
Check failure on line 24203 in Build log
azure-pipelines / NuGet.Client CI
Build log #L24203
Dotnet command failed with non-zero exit code on the following projects : [ '' ]
azure-pipelines / NuGet.Client CI
NuGet.CommandLine.Test.FeedPackagePruningTests.FeedPackagePruning_GivenThatAV3FeedPrunesAPackageDuringRestoreVerifyRestoreRecoversAsync
The feed 'http://localhost:52556/af8e1521-90bc-4a64-bf90-726a169822ee/index.json [http://localhost:52556/af8e1521-90bc-4a64-bf90-726a169822ee/index.json]' lists package 'x.1.0.0' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again.
Errors in D:\a\_work\1\s\.test\work\7e6f533f\0319b206\solution\b\b.csproj
The feed 'http://localhost:52556/af8e1521-90bc-4a64-bf90-726a169822ee/index.json [http://localhost:52556/af8e1521-90bc-4a64-bf90-726a169822ee/index.json]' lists package 'x.1.0.0' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again.
NuGet Version: 6.14.0.32767
MSBuild P2P timeout [ms]: 120000
MSBuild auto-detection: using msbuild version '17.12.12.57101' from 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin'. Use option -MSBuildVersion to force nuget to use a specific version of MSBuild.
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin\msbuild.exe "C:\Users\cloudtest\AppData\Local\Temp\NuGetScratch\hb4zvlhs.qxr.nugetinputs.targets" /t:GenerateRestoreGraphFile /nologo /nr:false /v:q /p:NuGetPropsFile="C:\Users\cloudtest\AppData\Local\Temp\NuGetScratch\uarjdp5u.wfj.nugetrestore.props" /p:NuGetRestoreTargets="C:\Users\cloudtest\AppData\Local\Temp\NuGetScratch\xou15frp.ugz.nugetrestore.targets" /p:RestoreUseCustomAfterTargets="True" /p:DisableCheckingDuplicateNuGetItems="True" /p:RestoreTaskAssemblyFile="D:\a\_work\1\s\test\NuGet.Clients.Tests\NuGet.CommandLine.Test\bin\Debug\net472\NuGet\NuGet.exe" /p:RestoreSources="http://localhost:52556/af8e1521-90bc-4a64-bf90-726a169822ee/index.json;"
Running restore with 4 concurrent jobs.
Reading project file D:\a\_work\1\s\.test\work\7e6f533f\0319b206\solution\b\b.csproj.
Restoring packages for D:\a\_work\1\s\.test\work\7e6f533f\0319b206\solution\b\b.csproj...
CACHE http://localhost:52556/af8e1521-90bc-4a64-bf90-726a169822ee/flat/x/index.json
GET http://localhost:52556/af8e1521-90bc-4a64-bf90-726a169822ee/flat/x/1.0.0/x.1.0.0.nupkg
NotFound http://localhost:52556/af8e1521-90bc-4a64-bf90-726a169822ee/flat/x/1.0.0/x.1.0.0.nupkg 22ms
GET http://localhost:52556/af8e1521-90bc-4a64-bf90-726a169822ee/flat/x/index.json
OK http://localhost:52556/af8e1521-90bc-4a64-bf90-726a169822ee/flat/x/index.json 1ms
GET http://localhost:52556/af8e1521-90bc-4a64-bf90-726a169822ee/flat/x/index.json
OK http://localhost:52556/af8e1521-90bc-4a64-bf90-726a169822ee/flat/x/index.json 2ms
All packages and projects are compatible with .NETFramework,Version=v4.5.
All packages and projects are compatible with .NETFramework,Version=v4.5 (win).
All packages and projects are compatible with .NETFramework,Version=v4.5 (win-arm64).
All packages and projects are compatible with .NETFramework,Version=v4.5 (win-x64).
All packages and projects are compatible with .NETFramework,Version=v4.5 (win-x86).
Committing restore...
Generating MSBuild file D:\a\_work\1\s\.test\work\7e6f533f\0319b206\solution\b\obj\b.csproj.nuget.g.props.
Generating MSBuild file D:\a\_work\1\s\.test\work\7e6f533f\0319b206\solution\b\obj\b.csproj.nuget.g.targets.
Writing assets file to disk. Path: D:\a\_work\1\s\.test\work\7e6f533f\0319b206\solution\b\obj\project.assets.json
Writing cache file to disk. Path: D:\a\_work\1\s\.test\work\7e6f533f\0319b206\solution\b\obj\project.nuget.cache
Persisting dg to D:\a\_work\1\s\.test\work\7e6f533f\0319b206\solution\b\obj\b.csproj.nuget.dgspec.json
Failed to restore D:\a\_work\1\s\.test\work\7e6f533f\0319b206\solution\b\b.csproj (in 563 ms).
NuGet Config files used:
D:\a\_work\1\s\.test\work\7e6f533f\0319b206\NuGet.Config
D:\a\_work\1\s\NuGet.Config
C:\Users\cloudtest\AppData\Ro
Raw output
at NuGet.CommandLine.Test.Util.RunCommand(SimpleTestPathContext pathContext, String nugetExe, Int32 expectedExitCode, ITestOutputHelper testOutputHelper, String[] arguments) in D:\a\_work\1\s\test\NuGet.Clients.Tests\NuGet.CommandLine.Test\Util.cs:line 94
at NuGet.CommandLine.Test.Util.Restore(SimpleTestPathContext pathContext, String inputPath, Int32 expectedExitCode, ITestOutputHelper testOutputHelper, String[] additionalArgs) in D:\a\_work\1\s\test\NuGet.Clients.Tests\NuGet.CommandLine.Test\Util.cs:line 72
at NuGet.CommandLine.Test.FeedPackagePruningTests.<FeedPackagePruning_GivenThatAV3FeedPrunesAPackageDuringRestoreVerifyRestoreRecoversAsync>d__2.MoveNext() in D:\a\_work\1\s\test\NuGet.Clients.Tests\NuGet.CommandLine.Test\FeedPackagePruningTests.cs:line 86
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
azure-pipelines / NuGet.Client CI
NuGet.CommandLine.Test.FeedPackagePruningTests.FeedPackagePruning_GivenThatAV3FeedPrunesAPackageDuringRestoreVerifyRestoreRecoversAsync
The feed 'http://localhost:51388/e16b8e70-3c31-4b2f-ad17-66a3b8a7e834/index.json [http://localhost:51388/e16b8e70-3c31-4b2f-ad17-66a3b8a7e834/index.json]' lists package 'x.1.0.0' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again.
Errors in D:\a\_work\1\s\.test\work\3a421675\804a14b2\solution\b\b.csproj
The feed 'http://localhost:51388/e16b8e70-3c31-4b2f-ad17-66a3b8a7e834/index.json [http://localhost:51388/e16b8e70-3c31-4b2f-ad17-66a3b8a7e834/index.json]' lists package 'x.1.0.0' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again.
NuGet Version: 6.14.0.32767
MSBuild P2P timeout [ms]: 120000
MSBuild auto-detection: using msbuild version '17.12.12.57101' from 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin'. Use option -MSBuildVersion to force nuget to use a specific version of MSBuild.
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin\msbuild.exe "C:\Users\cloudtest\AppData\Local\Temp\NuGetScratch\edp01fn5.hkm.nugetinputs.targets" /t:GenerateRestoreGraphFile /nologo /nr:false /v:q /p:NuGetPropsFile="C:\Users\cloudtest\AppData\Local\Temp\NuGetScratch\iglgntp3.bhr.nugetrestore.props" /p:NuGetRestoreTargets="C:\Users\cloudtest\AppData\Local\Temp\NuGetScratch\ldiggz20.i04.nugetrestore.targets" /p:RestoreUseCustomAfterTargets="True" /p:DisableCheckingDuplicateNuGetItems="True" /p:RestoreTaskAssemblyFile="D:\a\_work\1\s\test\NuGet.Clients.Tests\NuGet.CommandLine.Test\bin\Debug\net472\NuGet\NuGet.exe" /p:RestoreSources="http://localhost:51388/e16b8e70-3c31-4b2f-ad17-66a3b8a7e834/index.json;"
Running restore with 4 concurrent jobs.
Reading project file D:\a\_work\1\s\.test\work\3a421675\804a14b2\solution\b\b.csproj.
Restoring packages for D:\a\_work\1\s\.test\work\3a421675\804a14b2\solution\b\b.csproj...
CACHE http://localhost:51388/e16b8e70-3c31-4b2f-ad17-66a3b8a7e834/flat/x/index.json
GET http://localhost:51388/e16b8e70-3c31-4b2f-ad17-66a3b8a7e834/flat/x/1.0.0/x.1.0.0.nupkg
NotFound http://localhost:51388/e16b8e70-3c31-4b2f-ad17-66a3b8a7e834/flat/x/1.0.0/x.1.0.0.nupkg 23ms
GET http://localhost:51388/e16b8e70-3c31-4b2f-ad17-66a3b8a7e834/flat/x/index.json
OK http://localhost:51388/e16b8e70-3c31-4b2f-ad17-66a3b8a7e834/flat/x/index.json 1ms
GET http://localhost:51388/e16b8e70-3c31-4b2f-ad17-66a3b8a7e834/flat/x/index.json
OK http://localhost:51388/e16b8e70-3c31-4b2f-ad17-66a3b8a7e834/flat/x/index.json 1ms
All packages and projects are compatible with .NETFramework,Version=v4.5.
All packages and projects are compatible with .NETFramework,Version=v4.5 (win).
All packages and projects are compatible with .NETFramework,Version=v4.5 (win-arm64).
All packages and projects are compatible with .NETFramework,Version=v4.5 (win-x64).
All packages and projects are compatible with .NETFramework,Version=v4.5 (win-x86).
Committing restore...
Generating MSBuild file D:\a\_work\1\s\.test\work\3a421675\804a14b2\solution\b\obj\b.csproj.nuget.g.props.
Generating MSBuild file D:\a\_work\1\s\.test\work\3a421675\804a14b2\solution\b\obj\b.csproj.nuget.g.targets.
Writing assets file to disk. Path: D:\a\_work\1\s\.test\work\3a421675\804a14b2\solution\b\obj\project.assets.json
Writing cache file to disk. Path: D:\a\_work\1\s\.test\work\3a421675\804a14b2\solution\b\obj\project.nuget.cache
Persisting dg to D:\a\_work\1\s\.test\work\3a421675\804a14b2\solution\b\obj\b.csproj.nuget.dgspec.json
Failed to restore D:\a\_work\1\s\.test\work\3a421675\804a14b2\solution\b\b.csproj (in 557 ms).
NuGet Config files used:
D:\a\_work\1\s\.test\work\3a421675\804a14b2\NuGet.Config
D:\a\_work\1\s\NuGet.Config
C:\Users\cloudtest\AppData\Ro
Raw output
at NuGet.CommandLine.Test.Util.RunCommand(SimpleTestPathContext pathContext, String nugetExe, Int32 expectedExitCode, ITestOutputHelper testOutputHelper, String[] arguments) in D:\a\_work\1\s\test\NuGet.Clients.Tests\NuGet.CommandLine.Test\Util.cs:line 94
at NuGet.CommandLine.Test.Util.Restore(SimpleTestPathContext pathContext, String inputPath, Int32 expectedExitCode, ITestOutputHelper testOutputHelper, String[] additionalArgs) in D:\a\_work\1\s\test\NuGet.Clients.Tests\NuGet.CommandLine.Test\Util.cs:line 72
at NuGet.CommandLine.Test.FeedPackagePruningTests.<FeedPackagePruning_GivenThatAV3FeedPrunesAPackageDuringRestoreVerifyRestoreRecoversAsync>d__2.MoveNext() in D:\a\_work\1\s\test\NuGet.Clients.Tests\NuGet.CommandLine.Test\FeedPackagePruningTests.cs:line 86
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
azure-pipelines / NuGet.Client CI
NuGet.CommandLine.Test.FeedPackagePruningTests.FeedPackagePruning_GivenThatAV3FeedPrunesAPackageDuringRestoreVerifyRestoreRecoversAsync
The feed 'http://localhost:51681/8d0c5b13-0607-4df7-9eb5-a45c3c0144d8/index.json [http://localhost:51681/8d0c5b13-0607-4df7-9eb5-a45c3c0144d8/index.json]' lists package 'x.1.0.0' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again.
Errors in D:\a\_work\1\s\.test\work\247da03a\cbb0d229\solution\b\b.csproj
The feed 'http://localhost:51681/8d0c5b13-0607-4df7-9eb5-a45c3c0144d8/index.json [http://localhost:51681/8d0c5b13-0607-4df7-9eb5-a45c3c0144d8/index.json]' lists package 'x.1.0.0' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again.
NuGet Version: 6.14.0.32767
MSBuild P2P timeout [ms]: 120000
MSBuild auto-detection: using msbuild version '17.12.12.57101' from 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin'. Use option -MSBuildVersion to force nuget to use a specific version of MSBuild.
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin\msbuild.exe "C:\Users\cloudtest\AppData\Local\Temp\NuGetScratch\wt5y2j3f.c05.nugetinputs.targets" /t:GenerateRestoreGraphFile /nologo /nr:false /v:q /p:NuGetPropsFile="C:\Users\cloudtest\AppData\Local\Temp\NuGetScratch\5ivrdxjx.lxq.nugetrestore.props" /p:NuGetRestoreTargets="C:\Users\cloudtest\AppData\Local\Temp\NuGetScratch\z3gr3drf.stm.nugetrestore.targets" /p:RestoreUseCustomAfterTargets="True" /p:DisableCheckingDuplicateNuGetItems="True" /p:RestoreTaskAssemblyFile="D:\a\_work\1\s\test\NuGet.Clients.Tests\NuGet.CommandLine.Test\bin\Debug\net472\NuGet\NuGet.exe" /p:RestoreSources="http://localhost:51681/8d0c5b13-0607-4df7-9eb5-a45c3c0144d8/index.json;"
Running restore with 4 concurrent jobs.
Reading project file D:\a\_work\1\s\.test\work\247da03a\cbb0d229\solution\b\b.csproj.
Restoring packages for D:\a\_work\1\s\.test\work\247da03a\cbb0d229\solution\b\b.csproj...
CACHE http://localhost:51681/8d0c5b13-0607-4df7-9eb5-a45c3c0144d8/flat/x/index.json
GET http://localhost:51681/8d0c5b13-0607-4df7-9eb5-a45c3c0144d8/flat/x/1.0.0/x.1.0.0.nupkg
NotFound http://localhost:51681/8d0c5b13-0607-4df7-9eb5-a45c3c0144d8/flat/x/1.0.0/x.1.0.0.nupkg 18ms
GET http://localhost:51681/8d0c5b13-0607-4df7-9eb5-a45c3c0144d8/flat/x/index.json
OK http://localhost:51681/8d0c5b13-0607-4df7-9eb5-a45c3c0144d8/flat/x/index.json 1ms
GET http://localhost:51681/8d0c5b13-0607-4df7-9eb5-a45c3c0144d8/flat/x/index.json
OK http://localhost:51681/8d0c5b13-0607-4df7-9eb5-a45c3c0144d8/flat/x/index.json 1ms
All packages and projects are compatible with .NETFramework,Version=v4.5.
All packages and projects are compatible with .NETFramework,Version=v4.5 (win).
All packages and projects are compatible with .NETFramework,Version=v4.5 (win-arm64).
All packages and projects are compatible with .NETFramework,Version=v4.5 (win-x64).
All packages and projects are compatible with .NETFramework,Version=v4.5 (win-x86).
Committing restore...
Generating MSBuild file D:\a\_work\1\s\.test\work\247da03a\cbb0d229\solution\b\obj\b.csproj.nuget.g.props.
Generating MSBuild file D:\a\_work\1\s\.test\work\247da03a\cbb0d229\solution\b\obj\b.csproj.nuget.g.targets.
Writing assets file to disk. Path: D:\a\_work\1\s\.test\work\247da03a\cbb0d229\solution\b\obj\project.assets.json
Writing cache file to disk. Path: D:\a\_work\1\s\.test\work\247da03a\cbb0d229\solution\b\obj\project.nuget.cache
Persisting dg to D:\a\_work\1\s\.test\work\247da03a\cbb0d229\solution\b\obj\b.csproj.nuget.dgspec.json
Failed to restore D:\a\_work\1\s\.test\work\247da03a\cbb0d229\solution\b\b.csproj (in 506 ms).
NuGet Config files used:
D:\a\_work\1\s\.test\work\247da03a\cbb0d229\NuGet.Config
D:\a\_work\1\s\NuGet.Config
C:\Users\cloudtest\AppData\Ro
Raw output
at NuGet.CommandLine.Test.Util.RunCommand(SimpleTestPathContext pathContext, String nugetExe, Int32 expectedExitCode, ITestOutputHelper testOutputHelper, String[] arguments) in D:\a\_work\1\s\test\NuGet.Clients.Tests\NuGet.CommandLine.Test\Util.cs:line 94
at NuGet.CommandLine.Test.Util.Restore(SimpleTestPathContext pathContext, String inputPath, Int32 expectedExitCode, ITestOutputHelper testOutputHelper, String[] additionalArgs) in D:\a\_work\1\s\test\NuGet.Clients.Tests\NuGet.CommandLine.Test\Util.cs:line 72
at NuGet.CommandLine.Test.FeedPackagePruningTests.<FeedPackagePruning_GivenThatAV3FeedPrunesAPackageDuringRestoreVerifyRestoreRecoversAsync>d__2.MoveNext() in D:\a\_work\1\s\test\NuGet.Clients.Tests\NuGet.CommandLine.Test\FeedPackagePruningTests.cs:line 86
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)