Migrate XPlat to System.CommandLine #7260
Draft
Azure Pipelines / NuGet.Client CI
failed
Apr 18, 2026 in 3h 13m 36s
Build #20260417.13 had test failures
Details
- Failed: 1 (0.00%)
- Passed: 61,762 (98.28%)
- Other: 1,077 (1.71%)
- Total: 62,840
Annotations
Check failure on line 23280 in Build log
azure-pipelines / NuGet.Client CI
Build log #L23280
Error: The process 'D:\a\_work\1\s\cli\dotnet.exe' failed with exit code 1
Check failure on line 23285 in Build log
azure-pipelines / NuGet.Client CI
Build log #L23285
Dotnet command failed with non-zero exit code on the following projects : [ '' ]
Check failure on line 15 in Build log
azure-pipelines / NuGet.Client CI
Build log #L15
Cmd.exe exited with code '128'.
azure-pipelines / NuGet.Client CI
NuGet.CommandLine.Test.NuGetMockServerTests.MockServer_VerifySessionId(projectStyle: PackageReference)
Failed to download package 'b.1.0.0' from 'http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/package/a/1.0.0'.
The nupkg at 'http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/package/a/1.0.0' is not valid.
Expected package b 1.0.0, but got package a 1.0.0
The feed 'http-feed [http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/nuget]' lists package 'a.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.
The feed 'http-feed [http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/nuget]' lists package 'b.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\1f8500b3\0ae40706\solution\proj\proj.csproj
Failed to download package 'b.1.0.0' from 'http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/package/a/1.0.0'.
The nupkg at 'http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/package/a/1.0.0' is not valid.
Expected package b 1.0.0, but got package a 1.0.0
The feed 'http-feed [http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/nuget]' lists package 'a.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.
The feed 'http-feed [http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/nuget]' lists package 'b.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: 7.7.0.65534
MSBuild P2P timeout [ms]: 120000
MSBuild auto-detection: using msbuild version '17.14.40.60911' 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\c5fcz3ol.ebw.nugetinputs.targets" /t:GenerateRestoreGraphFile /nologo /nr:false /v:q /p:NuGetPropsFile="C:\Users\cloudtest\AppData\Local\Temp\NuGetScratch\t0a0zntf.y0p.nugetrestore.props" /p:NuGetRestoreTargets="C:\Users\cloudtest\AppData\Local\Temp\NuGetScratch\h2xqiyvf.1dx.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:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/nuget;"
Running restore with 4 concurrent jobs.
Reading project file D:\a\_work\1\s\.test\work\1f8500b3\0ae40706\solution\proj\proj.csproj.
The restore inputs for 'proj' have changed. Continuing restore.
Restoring packages for D:\a\_work\1\s\.test\work\1f8500b3\0ae40706\solution\proj\proj.csproj...
GET http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/nuget/FindPackagesById()?id='b'&semVerLevel=2.0.0
GET http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/nuget/FindPackagesById()?id='a'&semVerLevel=2.0.0
OK http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/nuget/FindPackagesById()?id='b'&semVerLevel=2.0.0 314ms
OK http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/nuget/FindPackagesById()?id='a'&semVerLevel=2.0.0 327ms
GET http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/package/a/1.0.0
OK http://localhost:61314/d87bdb68-09a3-4e60-9a90-76c944b94d3e/package/a/1.0.0 11ms
Failed to download package 'b.1.0.0' from
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 97
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 75
at NuGet.CommandLine.Test.NuGetMockServerTests.MockServer_VerifySessionId(ProjectStyle projectStyle) in D:\a\_work\1\s\test\NuGet.Clients.Tests\NuGet.CommandLine.Test\NuGetMockServerTests.cs:line 76
Loading