-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Apparently the release version number defined in azure-pipelines.yml
file is not taken into account and the pipeline keeps using version 1.0.0.
2025-09-08T01:27:40.1010348Z ##[section]Starting: Pushing to nuget.org
2025-09-08T01:27:40.1020734Z ==============================================================================
2025-09-08T01:27:40.1021153Z Task : NuGet
2025-09-08T01:27:40.1021395Z Description : Restore, pack, or push NuGet packages, or run a NuGet command. Supports NuGet.org and authenticated feeds like Azure Artifacts and MyGet. Uses NuGet.exe and works with .NET Framework apps. For .NET Core and .NET Standard apps, use the .NET Core task.
2025-09-08T01:27:40.1021761Z Version : 2.259.0
2025-09-08T01:27:40.1022007Z Author : Microsoft Corporation
2025-09-08T01:27:40.1022255Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget
2025-09-08T01:27:40.1022541Z ==============================================================================
2025-09-08T01:27:40.5138462Z Caching tool: NuGet 4.9.6 x64
2025-09-08T01:27:40.5272894Z Found tool in cache: NuGet 4.9.6 x64
2025-09-08T01:27:40.5314408Z Resolved from tool cache: 4.9.6
2025-09-08T01:27:40.5318714Z Using version: 4.9.6
2025-09-08T01:27:40.5320539Z Found tool in cache: NuGet 4.9.6 x64
2025-09-08T01:27:40.8619319Z Detected NuGet version 4.9.6.8 / 4.9.6+a32bce39889f724fbd11cfd12e946f802168b583
2025-09-08T01:27:40.8672702Z [command]/usr/bin/mono /opt/hostedtoolcache/NuGet/4.9.6/x64/nuget.exe sources Add -NonInteractive -Name httpsapinugetorgv3indexjson -Source https://api.nuget.org/v3/index.json -ConfigFile /home/vsts/work/1/Nuget/tempNuGet_10262.config
2025-09-08T01:27:41.9568195Z Package Source with Name: httpsapinugetorgv3indexjson added successfully.
2025-09-08T01:27:41.9601461Z Using authentication information for the following URI: https://api.nuget.org/v3/index.json
2025-09-08T01:27:41.9642751Z [command]/usr/bin/mono /opt/hostedtoolcache/NuGet/4.9.6/x64/nuget.exe setapikey *** -NonInteractive -Source httpsapinugetorgv3indexjson -ConfigFile /home/vsts/work/1/Nuget/tempNuGet_10262.config
2025-09-08T01:27:43.8838488Z The API Key '***' was saved for 'https://api.nuget.org/v3/index.json'.
2025-09-08T01:27:43.8871471Z [command]/usr/bin/mono /opt/hostedtoolcache/NuGet/4.9.6/x64/nuget.exe push /home/vsts/work/1/a/packages/Xunit.Microsoft.DependencyInjection.1.0.0.nupkg -NonInteractive -Source https://api.nuget.org/v3/index.json -ApiKey *** -ConfigFile /home/vsts/work/1/Nuget/tempNuGet_10262.config -Verbosity Detailed
2025-09-08T01:27:44.7608645Z NuGet Version: 4.9.6.8
2025-09-08T01:27:45.4780413Z Pushing Xunit.Microsoft.DependencyInjection.1.0.0.nupkg to 'https://www.nuget.org/api/v2/package'...
2025-09-08T01:27:45.4930603Z PUT https://www.nuget.org/api/v2/package/
2025-09-08T01:27:46.1115077Z Created https://www.nuget.org/api/v2/package/ 618ms
2025-09-08T01:27:46.1184933Z Your package was pushed.
2025-09-08T01:27:46.1201139Z Pushing Xunit.Microsoft.DependencyInjection.1.0.0.snupkg to 'https://www.nuget.org/api/v2/symbolpackage'...
2025-09-08T01:27:46.1206201Z PUT https://www.nuget.org/api/v2/symbolpackage/
2025-09-08T01:27:46.2888354Z Created https://www.nuget.org/api/v2/symbolpackage/ 168ms
2025-09-08T01:27:46.2889728Z Your package was pushed.
2025-09-08T01:27:46.3391870Z
2025-09-08T01:27:46.3426412Z [command]/usr/bin/mono /opt/hostedtoolcache/NuGet/4.9.6/x64/nuget.exe push /home/vsts/work/1/a/packages/Xunit.Microsoft.DependencyInjection.1.0.0.snupkg -NonInteractive -Source https://api.nuget.org/v3/index.json -ApiKey *** -ConfigFile /home/vsts/work/1/Nuget/tempNuGet_10262.config -Verbosity Detailed
2025-09-08T01:27:47.1961222Z NuGet Version: 4.9.6.8
2025-09-08T01:27:47.4349376Z Pushing Xunit.Microsoft.DependencyInjection.1.0.0.snupkg to 'https://www.nuget.org/api/v2/symbolpackage'...
2025-09-08T01:27:47.5059572Z PUT https://www.nuget.org/api/v2/symbolpackage/
2025-09-08T01:27:47.9151009Z Conflict https://www.nuget.org/api/v2/symbolpackage/ 409ms
2025-09-08T01:27:47.9357308Z Response status code does not indicate success: 409 (It looks like there is another copy of this symbols package pending validation(s). Please wait for the validation(s) to finish before trying to replace the symbols package.).
2025-09-08T01:27:47.9428379Z System.Net.Http.HttpRequestException: Response status code does not indicate success: 409 (It looks like there is another copy of this symbols package pending validation(s). Please wait for the validation(s) to finish before trying to replace the symbols package.).
2025-09-08T01:27:47.9433119Z at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode () [0x00040] in :0
2025-09-08T01:27:47.9435740Z at NuGet.Protocol.Core.Types.PackageUpdateResource+<>c.b__23_0 (System.Net.Http.HttpResponseMessage response) [0x00000] in :0
2025-09-08T01:27:47.9437071Z at NuGet.Protocol.HttpSource.ProcessResponseAsync[T] (NuGet.Protocol.HttpSourceRequest request, System.Func2[T,TResult] processAsync, NuGet.Protocol.Core.Types.SourceCacheContext cacheContext, NuGet.Common.ILogger log, System.Threading.CancellationToken token) [0x000f5] in <dc1b484fc03b4c9e94db6d2032a7a13d>:0 2025-09-08T01:27:47.9438493Z at NuGet.Protocol.Core.Types.PackageUpdateResource.PushPackageToServer (System.String source, System.String apiKey, System.String pathToPackage, System.Int64 packageSize, System.Boolean noServiceEndpoint, System.TimeSpan requestTimeout, NuGet.Common.ILogger logger, System.Threading.CancellationToken token) [0x00408] in <dc1b484fc03b4c9e94db6d2032a7a13d>:0 2025-09-08T01:27:47.9439439Z at NuGet.Protocol.Core.Types.PackageUpdateResource.PushPackageCore (System.String source, System.String apiKey, System.String packageToPush, System.Boolean noServiceEndpoint, System.TimeSpan requestTimeout, NuGet.Common.ILogger log, System.Threading.CancellationToken token) [0x00176] in <dc1b484fc03b4c9e94db6d2032a7a13d>:0 2025-09-08T01:27:47.9440374Z at NuGet.Protocol.Core.Types.PackageUpdateResource.PushPackage (System.String packagePath, System.String source, System.String apiKey, System.Boolean noServiceEndpoint, System.TimeSpan requestTimeout, NuGet.Common.ILogger log, System.Threading.CancellationToken token, System.Boolean isSnupkgPush) [0x00124] in <dc1b484fc03b4c9e94db6d2032a7a13d>:0 2025-09-08T01:27:47.9441345Z at NuGet.Protocol.Core.Types.PackageUpdateResource.PushSymbols (System.String packagePath, System.String source, System.String apiKey, System.Boolean noServiceEndpoint, NuGet.Protocol.Core.Types.SymbolPackageUpdateResourceV3 symbolPackageUpdateResource, System.TimeSpan requestTimeout, NuGet.Common.ILogger log, System.Threading.CancellationToken token) [0x00113] in <dc1b484fc03b4c9e94db6d2032a7a13d>:0 2025-09-08T01:27:47.9442337Z at NuGet.Protocol.Core.Types.PackageUpdateResource.Push (System.String packagePath, System.String symbolSource, System.Int32 timeoutInSecond, System.Boolean disableBuffering, System.Func
2[T,TResult] getApiKey, System.Func`2[T,TResult] getSymbolApiKey, System.Boolean noServiceEndpoint, NuGet.Protocol.Core.Types.SymbolPackageUpdateResourceV3 symbolPackageUpdateResource, NuGet.Common.ILogger log) [0x001b9] in :0
2025-09-08T01:27:47.9443390Z at NuGet.Commands.PushRunner.Run (NuGet.Configuration.ISettings settings, NuGet.Configuration.IPackageSourceProvider sourceProvider, System.String packagePath, System.String source, System.String apiKey, System.String symbolSource, System.String symbolApiKey, System.Int32 timeoutSeconds, System.Boolean disableBuffering, System.Boolean noSymbols, System.Boolean noServiceEndpoint, NuGet.Common.ILogger logger) [0x002f3] in :0
2025-09-08T01:27:47.9444524Z at NuGet.CommandLine.PushCommand.ExecuteCommandAsync () [0x0016d] in :0
2025-09-08T01:27:47.9934372Z
2025-09-08T01:27:48.0246830Z ##[error]The nuget command failed with exit code(1) and error(Response status code does not indicate success: 409 (It looks like there is another copy of this symbols package pending validation(s). Please wait for the validation(s) to finish before trying to replace the symbols package.).)
2025-09-08T01:27:48.0257490Z ##[error]Packages failed to publish
2025-09-08T01:27:48.0262395Z ##[section]Finishing: Pushing to nuget.org