You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our NuGet restore failed with the following log, but this did not cause the task itself to fail, so the pipeline continued and failed later on. I would have expected the NuGet task itself to fail and therefore the entire pipeline, unless this is intended?
2024-08-05T19:03:17.0313884Z ##[section]Starting: NuGet restore
2024-08-05T19:03:17.0835195Z ==============================================================================
2024-08-05T19:03:17.0835472Z Task : NuGet
2024-08-05T19:03:17.0835937Z 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.
2024-08-05T19:03:17.0836518Z Version : 2.238.1
2024-08-05T19:03:17.0836743Z Author : Microsoft Corporation
2024-08-05T19:03:17.0836964Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget
2024-08-05T19:03:17.0837232Z ==============================================================================
2024-08-05T19:03:19.0692502Z Found tool in cache: NuGet 6.4.0 x64
2024-08-05T19:03:19.0711937Z Found tool in cache: NuGet 6.4.0 x64
2024-08-05T19:03:19.0760477Z Resolved from tool cache: 6.4.0
2024-08-05T19:03:19.0761460Z Using version: 6.4.0
2024-08-05T19:03:19.0763533Z Found tool in cache: NuGet 6.4.0 x64
2024-08-05T19:14:39.4270092Z (node:10768) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT 13.107.43.20:443
2024-08-05T19:14:39.4270881Z at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
2024-08-05T19:14:39.4271718Z (node:10768) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
2024-08-05T19:14:39.4272626Z (node:10768) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2024-08-05T19:14:39.4550453Z ##[section]Finishing: NuGet restore
Environment type (Please select at least one enviroment where you face this issue)
Self-Hosted
Microsoft Hosted
VMSS Pool
Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows 10
Relevant log output
2024-08-05T19:03:17.0313884Z ##[section]Starting: NuGet restore
2024-08-05T19:03:17.0835195Z ==============================================================================
2024-08-05T19:03:17.0835472Z Task : NuGet
2024-08-05T19:03:17.0835937Z 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.
2024-08-05T19:03:17.0836518Z Version : 2.238.1
2024-08-05T19:03:17.0836743Z Author : Microsoft Corporation
2024-08-05T19:03:17.0836964Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget
2024-08-05T19:03:17.0837232Z ==============================================================================
2024-08-05T19:03:19.0692502Z Found tool in cache: NuGet 6.4.0 x64
2024-08-05T19:03:19.0711937Z Found tool in cache: NuGet 6.4.0 x64
2024-08-05T19:03:19.0760477Z Resolved from tool cache: 6.4.0
2024-08-05T19:03:19.0761460Z Using version: 6.4.0
2024-08-05T19:03:19.0763533Z Found tool in cache: NuGet 6.4.0 x64
2024-08-05T19:14:39.4270092Z (node:10768) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT 13.107.43.20:443
2024-08-05T19:14:39.4270881Z at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
2024-08-05T19:14:39.4271718Z (node:10768) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
2024-08-05T19:14:39.4272626Z (node:10768) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2024-08-05T19:14:39.4550453Z ##[section]Finishing: NuGet restore
Full task logs with system.debug enabled
[REPLACE THIS WITH YOUR INFORMATION]
Repro steps
Our current setup uses classic pipelines, but this is the equivalent YAML.steps:
- task: NuGetCommand@2displayName: 'NuGet restore'inputs:
restoreSolution: '$/Example.sln'
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days
New issue checklist
Task name
NuGet
Task version
2.238.1
Issue Description
Our NuGet restore failed with the following log, but this did not cause the task itself to fail, so the pipeline continued and failed later on. I would have expected the NuGet task itself to fail and therefore the entire pipeline, unless this is intended?
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows 10
Relevant log output
Full task logs with system.debug enabled
Repro steps
The text was updated successfully, but these errors were encountered: