microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.5k stars 2.61k forks source link

Nuget installer (restore) fails to pull down packages from VSTS package management #2159

Closed roberteblackwood closed 8 years ago

roberteblackwood commented 8 years ago

We recently unlisted some packages from our package management repo in Visual Studio Team Services, and now the Nuget Installer task on all of our builds is failing when attempting to restore those unlisted packages. I've run the same nuget restore command locally and it works fine. Below are logs from one of the builds:

2016-07-29T12:37:08.3307837Z Set workingFolder to default: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\tasks\NuGetInstaller\0.2.3 2016-07-29T12:37:08.9010593Z ##[debug]agent.workFolder=C:\a 2016-07-29T12:37:08.9010593Z ##[debug]loading inputs and endpoints 2016-07-29T12:37:08.9030579Z ##[debug]loading ENDPOINTAUTH$/ 2016-07-29T12:37:08.9050586Z ##[debug]loading ENDPOINT_AUTHPARAMETER$/_ACCESSTOKEN 2016-07-29T12:37:08.9050586Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN 2016-07-29T12:37:08.9060584Z ##[debug]loading ENDPOINT_AUTHSCHEME$/ 2016-07-29T12:37:08.9070585Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION 2016-07-29T12:37:08.9070585Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION 2016-07-29T12:37:08.9080587Z ##[debug]loading INPUT_NOCACHE 2016-07-29T12:37:08.9080587Z ##[debug]loading INPUT_NUGETCONFIGPATH 2016-07-29T12:37:08.9090582Z ##[debug]loading INPUT_PRECREDPROVIDERNUGET 2016-07-29T12:37:08.9090582Z ##[debug]loading INPUT_RESTOREMODE 2016-07-29T12:37:08.9100584Z ##[debug]loading INPUTSOLUTION 2016-07-29T12:37:08.9110582Z ##[debug]loaded 11 2016-07-29T12:37:09.0750579Z ##[debug]check path : C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\tasks\NuGetInstaller\0.2.3\task.json 2016-07-29T12:37:09.0760588Z ##[debug]set resource file to: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\tasks\NuGetInstaller\0.2.3\task.json 2016-07-29T12:37:09.0760588Z ##[debug]system.culture=en-US 2016-07-29T12:37:09.0790580Z ##[debug]solution=C:\a\1\s*_.sln 2016-07-29T12:37:09.0800582Z ##[debug]System.DefaultWorkingDirectory=C:\a\1\s 2016-07-29T12:37:09.0800582Z ##[debug]Matching glob pattern: C:\a\1\s*\.sln 2016-07-29T12:37:09.0810584Z ##[debug]Index of first wildcard: 9 2016-07-29T12:37:09.0810584Z ##[debug]find root dir: C:\a\1 2016-07-29T12:37:09.1200584Z ##[debug]find C:\a\1 2016-07-29T12:37:09.1210587Z ##[debug]212 matches. 2016-07-29T12:37:09.1400589Z ##[debug]noCache=true 2016-07-29T12:37:09.1410583Z ##[debug]nuGetRestoreArgs=null 2016-07-29T12:37:09.1410583Z ##[debug]verbosity=null 2016-07-29T12:37:09.1420582Z ##[debug]preCredProviderNuGet=false 2016-07-29T12:37:09.1420582Z ##[debug]restoreMode=restore 2016-07-29T12:37:09.1430584Z ##[debug]nugetConfigPath=C:\a\1\s\MY_API\nuget.config 2016-07-29T12:37:09.1430584Z ##[debug]check path : C:\a\1\s\MY_API\nuget.config 2016-07-29T12:37:09.1430584Z ##[debug]nugetConfigPath=C:\a\1\s\MY_API\nuget.config 2016-07-29T12:37:09.1440584Z ##[debug]build.sourcesDirectory=C:\a\1\s 2016-07-29T12:37:09.1450588Z ##[debug]nugetConfigPathpath supplied :true 2016-07-29T12:37:09.1450588Z ##[debug]nuGetPath=null 2016-07-29T12:37:09.1460587Z ##[debug]nuGetPath=null 2016-07-29T12:37:09.1460587Z ##[debug]build.sourcesDirectory=C:\a\1\s 2016-07-29T12:37:09.1470584Z ##[debug]nuGetPathpath supplied :true 2016-07-29T12:37:09.1470584Z ##[debug]SYSTEMVSSCONNECTION=https://myaccount.visualstudio.com/ 2016-07-29T12:37:09.1480639Z ##[debug]Agent.HomeDirectory=C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1 2016-07-29T12:37:09.1480639Z ##[debug]looking for tool NuGet 2016-07-29T12:37:09.1490580Z ##[debug]looking for tool variant nuget.exe 2016-07-29T12:37:09.1490580Z ##[debug]checking C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\externals\nuget\nuget.exe 2016-07-29T12:37:09.1500577Z ##[debug]checking C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\NuGetCredentialProvider\nuget.exe 2016-07-29T12:37:09.1500577Z ##[debug]checking C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe 2016-07-29T12:37:09.1510615Z ##[debug]Agent.HomeDirectory=C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1 2016-07-29T12:37:09.1520585Z ##[debug]looking for tool CredentialProvider.TeamBuild.exe 2016-07-29T12:37:09.1520585Z ##[debug]looking for tool variant CredentialProvider.TeamBuild.exe 2016-07-29T12:37:09.1530600Z ##[debug]checking C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\externals\nuget\CredentialProvider.TeamBuild.exe 2016-07-29T12:37:09.1530600Z ##[debug]checking C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\NuGetCredentialProvider\CredentialProvider.TeamBuild.exe 2016-07-29T12:37:09.1540583Z ##[debug]Getting credentials for local feeds 2016-07-29T12:37:09.1580582Z SYSTEMVSSCONNECTION exists true 2016-07-29T12:37:09.1580582Z ##[debug]SYSTEMVSSCONNECTION exists true 2016-07-29T12:37:09.1590586Z ##[debug]Got auth token 2016-07-29T12:37:09.1660582Z ##[debug]discovered URL prefixes: https://myaccount.visualstudio.com/,https://myaccount.pkgs.visualstudio.com/ 2016-07-29T12:37:09.1660582Z ##[debug]NuGetTasks.ExtraUrlPrefixesForTesting=undefined 2016-07-29T12:37:09.1690587Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: restore 2016-07-29T12:37:09.1700575Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: -NonInteractive 2016-07-29T12:37:09.1700575Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe pathArg: C:\a\1\s\MY_API\My.Api.sln 2016-07-29T12:37:09.1700575Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: C:\a\1\s\MY_API\My.Api.sln 2016-07-29T12:37:09.1710584Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: -ConfigFile 2016-07-29T12:37:09.1710584Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe pathArg: C:\a\1\s\MY_API\nuget.config 2016-07-29T12:37:09.1720586Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: C:\a\1\s\MY_API\nuget.config 2016-07-29T12:37:09.1720586Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: -NoCache 2016-07-29T12:37:09.1730581Z ##[debug]exec tool: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe 2016-07-29T12:37:09.1730581Z ##[debug]Arguments: 2016-07-29T12:37:09.1740584Z ##[debug] restore 2016-07-29T12:37:09.1740584Z ##[debug] -NonInteractive 2016-07-29T12:37:09.1740584Z ##[debug] C:\a\1\s\MY_API\My.Api.sln 2016-07-29T12:37:09.1750586Z ##[debug] -ConfigFile 2016-07-29T12:37:09.1750586Z ##[debug] C:\a\1\s\MY_API\nuget.config 2016-07-29T12:37:09.1760577Z ##[debug] -NoCache 2016-07-29T12:37:09.1760577Z [command]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe restore -NonInteractive C:\a\1\s\MY_API\My.Api.sln -ConfigFile C:\a\1\s\MY_API\nuget.config -NoCache 2016-07-29T12:37:10.5533248Z MSBuild auto-detection: using msbuild version '14.0' from 'C:\Program Files (x86)\MSBuild\14.0\bin'. 2016-07-29T12:37:10.8873751Z Feeds used: 2016-07-29T12:37:10.8883745Z https://api.nuget.org/v3/index.json 2016-07-29T12:37:10.8883745Z https://myaccount.pkgs.visualstudio.com/DefaultCollection/_packaging/myaccount/nuget/v3/index.json 2016-07-29T12:37:10.9133746Z Restoring NuGet package CelloSaaS.AuthServer.Client.2.0.0.3. 2016-07-29T12:37:10.9143742Z Restoring NuGet package Antlr.3.4.1.9004. 2016-07-29T12:37:10.9423745Z Restoring NuGet package CelloSaaS.BusinessService.4.6.0.1. 2016-07-29T12:37:10.9423745Z Restoring NuGet package CelloSaaS.Core.4.6.0. 2016-07-29T12:37:10.9433746Z Restoring NuGet package CelloSaaS.DAL.4.6.0.1. 2016-07-29T12:37:10.9443748Z Restoring NuGet package CelloSaaS.ExternalDlls.4.6.0. 2016-07-29T12:37:10.9443748Z Restoring NuGet package CelloSaaS.Plumbing.4.6.0. 2016-07-29T12:37:10.9453748Z Restoring NuGet package CelloSaaS.Web.4.6.0. 2016-07-29T12:37:10.9453748Z Restoring NuGet package CommonServiceLocator.1.3.0. 2016-07-29T12:37:10.9453748Z Restoring NuGet package EntityFramework.6.1.1. 2016-07-29T12:37:10.9463748Z Restoring NuGet package log4net.2.0.5. 2016-07-29T12:37:10.9463748Z Restoring NuGet package Microsoft.ApplicationInsights.2.1.0. 2016-07-29T12:37:10.9473741Z Restoring NuGet package Microsoft.ApplicationInsights.Agent.Intercept.2.0.1. 2016-07-29T12:37:10.9473741Z Restoring NuGet package Microsoft.ApplicationInsights.DependencyCollector.2.1.0. 2016-07-29T12:37:10.9483748Z Restoring NuGet package Microsoft.ApplicationInsights.JavaScript.0.22.19-build00125. 2016-07-29T12:37:10.9483748Z Restoring NuGet package Microsoft.ApplicationInsights.Log4NetAppender.2.1.0. 2016-07-29T12:37:11.5080466Z Adding package 'CelloSaaS.AuthServer.Client.2.0.0.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:11.5080466Z Adding package 'Antlr.3.4.1.9004' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:11.5390463Z Added package 'Antlr.3.4.1.9004' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:11.5400457Z Added package 'CelloSaaS.AuthServer.Client.2.0.0.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:11.5410478Z Restoring NuGet package Microsoft.ApplicationInsights.NLogTarget.2.1.0. 2016-07-29T12:37:11.5430466Z Restoring NuGet package Microsoft.ApplicationInsights.PerfCounterCollector.2.1.0. 2016-07-29T12:37:12.4591595Z Adding package 'Microsoft.ApplicationInsights.PerfCounterCollector.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:12.4971602Z Adding package 'Microsoft.ApplicationInsights.NLogTarget.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:12.5101601Z Adding package 'CelloSaaS.BusinessService.4.6.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:12.5371602Z Added package 'Microsoft.ApplicationInsights.PerfCounterCollector.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:12.5381597Z Restoring NuGet package Microsoft.ApplicationInsights.Web.2.1.0. 2016-07-29T12:37:12.5771598Z Added package 'Microsoft.ApplicationInsights.NLogTarget.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:12.6091591Z Added package 'CelloSaaS.BusinessService.4.6.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:12.6101603Z Restoring NuGet package Microsoft.ApplicationInsights.WindowsServer.2.1.0. 2016-07-29T12:37:12.6121658Z Restoring NuGet package Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.2.1.0. 2016-07-29T12:37:12.9705329Z Adding package 'CelloSaaS.Core.4.6.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:12.9945323Z Adding package 'Microsoft.ApplicationInsights.Web.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.0085333Z Added package 'CelloSaaS.Core.4.6.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.0125328Z Restoring NuGet package Microsoft.AspNet.Cors.5.2.2. 2016-07-29T12:37:13.0335330Z Adding package 'Microsoft.ApplicationInsights.WindowsServer.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.0395323Z Adding package 'Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.0755332Z Added package 'Microsoft.ApplicationInsights.WindowsServer.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.0765325Z Added package 'Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.0815321Z Restoring NuGet package Microsoft.AspNet.Identity.Core.2.1.0. 2016-07-29T12:37:13.0825331Z Restoring NuGet package Microsoft.AspNet.Identity.Owin.2.1.0. 2016-07-29T12:37:13.0855330Z Added package 'Microsoft.ApplicationInsights.Web.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.1015310Z Restoring NuGet package Microsoft.AspNet.Mvc.5.2.0. 2016-07-29T12:37:13.5379965Z Adding package 'CelloSaaS.DAL.4.6.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.5699964Z Added package 'CelloSaaS.DAL.4.6.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.5719962Z Restoring NuGet package Microsoft.AspNet.Razor.3.2.0. 2016-07-29T12:37:13.5909964Z Adding package 'Microsoft.AspNet.Identity.Core.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.5929967Z Adding package 'Microsoft.AspNet.Cors.5.2.2' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.6039955Z Added package 'Microsoft.AspNet.Identity.Core.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.6069963Z Restoring NuGet package Microsoft.AspNet.Web.Optimization.1.1.3. 2016-07-29T12:37:13.6119959Z Added package 'Microsoft.AspNet.Cors.5.2.2' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.6199940Z Restoring NuGet package Microsoft.AspNet.WebApi.5.2.3. 2016-07-29T12:37:13.6309963Z Adding package 'Microsoft.AspNet.Mvc.5.2.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.6439963Z Adding package 'Microsoft.AspNet.Identity.Owin.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.6499958Z Added package 'Microsoft.AspNet.Identity.Owin.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.6499958Z Added package 'Microsoft.AspNet.Mvc.5.2.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.6619956Z Restoring NuGet package Microsoft.AspNet.WebApi.Client.5.2.3. 2016-07-29T12:37:13.6619956Z Restoring NuGet package Microsoft.AspNet.WebApi.Core.5.2.3. 2016-07-29T12:37:13.8619416Z Adding package 'Microsoft.AspNet.Razor.3.2.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.8759421Z Added package 'Microsoft.AspNet.Razor.3.2.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.8829423Z Restoring NuGet package Microsoft.AspNet.WebApi.Cors.5.2.2. 2016-07-29T12:37:13.9039422Z Adding package 'Microsoft.AspNet.WebApi.5.2.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.9069414Z Added package 'Microsoft.AspNet.WebApi.5.2.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:13.9159415Z Restoring NuGet package Microsoft.AspNet.WebApi.Owin.5.2.3. 2016-07-29T12:37:14.2239403Z Adding package 'Microsoft.AspNet.Web.Optimization.1.1.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:14.4907412Z Adding package 'Microsoft.AspNet.WebApi.Client.5.2.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:14.6728072Z Added package 'Microsoft.AspNet.Web.Optimization.1.1.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:14.6798074Z Restoring NuGet package Microsoft.AspNet.WebApi.WebHost.5.2.3. 2016-07-29T12:37:14.8615988Z Adding package 'Microsoft.AspNet.WebApi.Core.5.2.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:14.8785984Z Added package 'Microsoft.AspNet.WebApi.Client.5.2.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:15.0375973Z Restoring NuGet package Microsoft.AspNet.WebPages.3.2.0. 2016-07-29T12:37:15.0375973Z Adding package 'Microsoft.AspNet.WebApi.Cors.5.2.2' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:15.0485986Z Adding package 'Microsoft.AspNet.WebApi.Owin.5.2.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.1001413Z Added package 'Microsoft.AspNet.WebApi.Owin.5.2.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.1071405Z Adding package 'CelloSaaS.ExternalDlls.4.6.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.1401414Z Restoring NuGet package Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0. 2016-07-29T12:37:16.1401414Z Added package 'Microsoft.AspNet.WebApi.Cors.5.2.2' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.1411417Z Restoring NuGet package Microsoft.IdentityModel.6.1.7600.16394. 2016-07-29T12:37:16.4321415Z Added package 'Microsoft.AspNet.WebApi.Core.5.2.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.4321415Z Adding package 'Microsoft.AspNet.WebApi.WebHost.5.2.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.4331412Z Adding package 'CelloSaaS.Web.4.6.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.4441407Z Adding package 'CommonServiceLocator.1.3.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.4531416Z Restoring NuGet package Microsoft.IdentityModel.Clients.ActiveDirectory.2.24.304111323. 2016-07-29T12:37:16.4541423Z Added package 'Microsoft.AspNet.WebApi.WebHost.5.2.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.4591409Z Adding package 'CelloSaaS.Plumbing.4.6.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.4671412Z Restoring NuGet package Microsoft.Net.Compilers.1.0.0. 2016-07-29T12:37:16.4991411Z Added package 'CelloSaaS.Web.4.6.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.5041416Z Added package 'CommonServiceLocator.1.3.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.5121413Z Restoring NuGet package Microsoft.Owin.3.0.1. 2016-07-29T12:37:16.5251406Z Added package 'CelloSaaS.Plumbing.4.6.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.5371408Z Restoring NuGet package Microsoft.Owin.Host.SystemWeb.3.0.1. 2016-07-29T12:37:16.5401410Z Restoring NuGet package Microsoft.Owin.Cors.3.0.1. 2016-07-29T12:37:16.6206794Z Adding package 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.8801412Z Adding package 'Microsoft.Owin.Cors.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.9381415Z Adding package 'Microsoft.IdentityModel.6.1.7600.16394' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:16.9541412Z Adding package 'Microsoft.AspNet.WebPages.3.2.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.0451436Z Adding package 'Microsoft.Owin.Host.SystemWeb.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.1851412Z Added package 'Microsoft.IdentityModel.6.1.7600.16394' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.1851412Z Added package 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.1861413Z Restoring NuGet package Microsoft.Owin.Security.3.0.1. 2016-07-29T12:37:17.1861413Z Restoring NuGet package Microsoft.Owin.Security.ActiveDirectory.3.0.1. 2016-07-29T12:37:17.1871421Z Added package 'Microsoft.Owin.Cors.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.2071410Z Restoring NuGet package Microsoft.Owin.Security.Cookies.3.0.1. 2016-07-29T12:37:17.3141419Z Added package 'Microsoft.Owin.Host.SystemWeb.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.3141419Z Restoring NuGet package Microsoft.Owin.Security.Jwt.3.0.1. 2016-07-29T12:37:17.3151403Z Adding package 'Microsoft.Owin.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.3501407Z Added package 'Microsoft.Owin.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.3501407Z Restoring NuGet package Microsoft.Owin.Security.OAuth.3.0.1. 2016-07-29T12:37:17.3941414Z Added package 'Microsoft.AspNet.WebPages.3.2.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.3941414Z Restoring NuGet package Microsoft.Web.DistributedCache.1.0.0. 2016-07-29T12:37:17.6151417Z Adding package 'Microsoft.Owin.Security.Cookies.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.6871416Z Adding package 'Microsoft.Owin.Security.ActiveDirectory.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.6881414Z Added package 'Microsoft.Owin.Security.Cookies.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.6881414Z Restoring NuGet package Microsoft.Web.Infrastructure.1.0.0. 2016-07-29T12:37:17.6911413Z Adding package 'Microsoft.Owin.Security.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.7081407Z Added package 'Microsoft.Owin.Security.ActiveDirectory.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.7131411Z Added package 'Microsoft.Owin.Security.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.7221407Z Restoring NuGet package Microsoft.WindowsAzure.ConfigurationManager.3.2.1. 2016-07-29T12:37:17.7401410Z Restoring NuGet package MicrosoftWebMvc.2.0.0. 2016-07-29T12:37:17.8941414Z Adding package 'Microsoft.Web.DistributedCache.1.0.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.9171410Z Adding package 'Microsoft.Owin.Security.Jwt.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.9451410Z Added package 'Microsoft.Web.DistributedCache.1.0.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.9451410Z Restoring NuGet package Mvc2Futures.2.0.50217. 2016-07-29T12:37:17.9601402Z Added package 'Microsoft.Owin.Security.Jwt.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:17.9781408Z Restoring NuGet package Newtonsoft.Json.8.0.3. 2016-07-29T12:37:18.0611406Z Adding package 'Microsoft.Owin.Security.OAuth.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:18.1011411Z Added package 'Microsoft.Owin.Security.OAuth.3.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:18.3381417Z Restoring NuGet package NLog.4.3.5. 2016-07-29T12:37:18.3381417Z Adding package 'MicrosoftWebMvc.2.0.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:18.9601372Z Added package 'MicrosoftWebMvc.2.0.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:18.9851362Z Restoring NuGet package NWebsec.Core.1.5.0. 2016-07-29T12:37:18.9921370Z Adding package 'Microsoft.IdentityModel.Clients.ActiveDirectory.2.24.304111323' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.0411373Z Adding package 'log4net.2.0.5' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.0421378Z Adding package 'Microsoft.ApplicationInsights.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.1061372Z Adding package 'Microsoft.WindowsAzure.ConfigurationManager.3.2.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.1171365Z Adding package 'Microsoft.Web.Infrastructure.1.0.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.1291370Z Added package 'Microsoft.Web.Infrastructure.1.0.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.1551372Z Added package 'Microsoft.WindowsAzure.ConfigurationManager.3.2.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.1771365Z Restoring NuGet package Owin.1.0.0. 2016-07-29T12:37:19.1841500Z Restoring NuGet package NWebsec.Owin.2.2.0. 2016-07-29T12:37:19.1881370Z Added package 'CelloSaaS.ExternalDlls.4.6.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.2441362Z Restoring NuGet package Polly.4.2.0. 2016-07-29T12:37:19.3081377Z Adding package 'Mvc2Futures.2.0.50217' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.3921371Z Added package 'Mvc2Futures.2.0.50217' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.4181372Z Restoring NuGet package ServerAppFabric.Client.1.1.2106. 2016-07-29T12:37:19.4191363Z Added package 'Microsoft.ApplicationInsights.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.4551371Z Restoring NuGet package My.Package6.1.2.0. 2016-07-29T12:37:19.4551371Z Adding package 'Microsoft.ApplicationInsights.DependencyCollector.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.5291373Z Added package 'Microsoft.ApplicationInsights.DependencyCollector.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.5291373Z Restoring NuGet package My.Caching.1.1.1. 2016-07-29T12:37:19.6631371Z Adding package 'Owin.1.0.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.6671369Z Adding package 'NWebsec.Owin.2.2.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.7221367Z Added package 'Owin.1.0.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.7231369Z Restoring NuGet package My.Package7.1.2.0. 2016-07-29T12:37:19.7311365Z Added package 'NWebsec.Owin.2.2.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.7561371Z Restoring NuGet package My.Package1.2.1.0. 2016-07-29T12:37:19.8941369Z Adding package 'Microsoft.ApplicationInsights.Agent.Intercept.2.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.8941369Z Adding package 'Microsoft.ApplicationInsights.JavaScript.0.22.19-build00125' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.9361374Z Adding package 'Microsoft.ApplicationInsights.Log4NetAppender.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.9801372Z Added package 'Microsoft.ApplicationInsights.JavaScript.0.22.19-build00125' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:19.9811422Z Restoring NuGet package My.Package2.1.2.2. 2016-07-29T12:37:20.0301366Z Adding package 'NWebsec.Core.1.5.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:20.0991374Z Added package 'Microsoft.ApplicationInsights.Log4NetAppender.2.1.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:20.1241367Z Added package 'NWebsec.Core.1.5.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:20.1421369Z Restoring NuGet package My.Package3.1.0.0-beta4. 2016-07-29T12:37:20.1442952Z Restoring NuGet package My.Package4.2.1.0. 2016-07-29T12:37:20.4151369Z Adding package 'Polly.4.2.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:20.4631361Z Added package 'Microsoft.ApplicationInsights.Agent.Intercept.2.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:20.4891346Z Restoring NuGet package My.Package5.2.0.0-beta5. 2016-07-29T12:37:20.7691373Z Adding package 'Microsoft.Net.Compilers.1.0.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:20.9411373Z Adding package 'ServerAppFabric.Client.1.1.2106' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:20.9421373Z Added package 'Polly.4.2.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:20.9431369Z Restoring NuGet package System.IdentityModel.Tokens.Jwt.4.0.1. 2016-07-29T12:37:21.0061364Z Adding package 'EntityFramework.6.1.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:21.0881372Z Added package 'ServerAppFabric.Client.1.1.2106' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:21.1191369Z Restoring NuGet package Unity.4.0.1. 2016-07-29T12:37:21.1761368Z Added package 'log4net.2.0.5' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:21.2041360Z Restoring NuGet package Unity.Interception.4.0.1. 2016-07-29T12:37:21.9350490Z Adding package 'Newtonsoft.Json.8.0.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:22.0072167Z WARNING: Unable to find version '1.2.0' of package 'My.Package6'. 2016-07-29T12:37:22.0350481Z Adding package 'System.IdentityModel.Tokens.Jwt.4.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:22.0500474Z Restoring NuGet package WebGrease.1.5.2. 2016-07-29T12:37:22.0750466Z Added package 'System.IdentityModel.Tokens.Jwt.4.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:22.0910471Z Restoring NuGet package Moq.4.2.1510.2205. 2016-07-29T12:37:22.1350485Z Adding package 'Unity.Interception.4.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:22.2910479Z Adding package 'Unity.4.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:22.3040484Z Added package 'Unity.Interception.4.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:22.5150490Z WARNING: Unable to find version '1.1.1' of package 'My.Caching'. 2016-07-29T12:37:22.5480558Z Adding package 'NLog.4.3.5' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:22.9380482Z Adding package 'Moq.4.2.1510.2205' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:22.9760481Z Added package 'Microsoft.Net.Compilers.1.0.0' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:22.9770490Z Adding package 'WebGrease.1.5.2' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:22.9820485Z WARNING: Unable to find version '1.2.0' of package 'My.Package7'. 2016-07-29T12:37:22.9840484Z Added package 'Newtonsoft.Json.8.0.3' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:22.9960474Z Added package 'Unity.4.0.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:23.0170481Z Added package 'WebGrease.1.5.2' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:23.0400475Z Added package 'Moq.4.2.1510.2205' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:23.0520477Z Added package 'Microsoft.IdentityModel.Clients.ActiveDirectory.2.24.304111323' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:23.0550470Z Added package 'EntityFramework.6.1.1' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:23.0770466Z Added package 'NLog.4.3.5' to folder 'C:\a\1\s\MY_API\packages' 2016-07-29T12:37:23.4376488Z WARNING: Unable to find version '2.1.0' of package 'My.Package1'. 2016-07-29T12:37:23.8845426Z WARNING: Unable to find version '1.2.2' of package 'My.Package2'. 2016-07-29T12:37:24.3316133Z WARNING: Unable to find version '1.0.0-beta4' of package 'My.Package3'. 2016-07-29T12:37:24.7802732Z WARNING: Unable to find version '2.1.0' of package 'My.Package4'. 2016-07-29T12:37:25.2400670Z WARNING: Unable to find version '2.0.0-beta5' of package 'My.Package5'. 2016-07-29T12:37:25.5700672Z Unable to find version '1.1.1' of package 'My.Caching'. 2016-07-29T12:37:25.5710676Z Unable to find version '1.2.0' of package 'My.Package6'. 2016-07-29T12:37:25.5710676Z Unable to find version '2.0.0-beta5' of package 'My.Package5'. 2016-07-29T12:37:25.5720680Z Unable to find version '2.1.0' of package 'My.Package4'. 2016-07-29T12:37:25.5720680Z Unable to find version '1.0.0-beta4' of package 'My.Package3'. 2016-07-29T12:37:25.5730681Z Unable to find version '1.2.2' of package 'My.Package2'. 2016-07-29T12:37:25.5730681Z Unable to find version '2.1.0' of package 'My.Package1'. 2016-07-29T12:37:25.5740682Z Unable to find version '1.2.0' of package 'My.Package7'. 2016-07-29T12:37:25.6519625Z ##[debug]rc:1 2016-07-29T12:37:25.6519625Z ##[debug]success:false 2016-07-29T12:37:25.6589637Z ##[error]Error: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe failed with return code: 1 2016-07-29T12:37:25.6599636Z ##[error]Packages failed to install 2016-07-29T12:37:25.6599636Z ##[debug]task result: Failed 2016-07-29T12:37:25.6609632Z ##[error]Return code: 1

roberteblackwood commented 8 years ago

Additional info: using nuget.exe 3.3.0 locally (file version 3.3.0.212). We had a separate issue that was previously resolved (https://blogs.msdn.microsoft.com/vsoservice/?p=11975), and in that blog post MS says they rolled back to nuget 3.3, so we're ostensibly using the same version of the tool

roberteblackwood commented 8 years ago

More info: It doesn't seem to be isolated to unlisted packages, and one of our builds' nuget restore task is working fine restoring both listed and unlisted packages from VSTS package management repo. Found one discrepancy in logs that might be helpful:

SUCCESSFUL TASK: 2016-07-29T15:18:18.2503514Z ##[debug]rc:0

FAILING TASK: 2016-07-29T16:35:36.4601813Z ##[debug]rc:1

roberteblackwood commented 8 years ago

Found another discrepancy between the successful and failing tasks, this time in the build json - the failing tasks all have:

"inputs": { ... "preCredProviderNuGet": "false" }

whereas successful task is missing "preCredProviderNuGet" input entirely

cronicshift commented 8 years ago

We are having, what looks like the same issue with this build below succeeding, but the recent ones failing. No build settings were changed between these builds, also all the omitted text is packages from NuGet.org succeeding the ones from our VSO nuget are the ones that fail.

Success: Set workingFolder to default: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.102.0\tasks\NuGetInstaller\0.1.32 2016-07-22T19:36:45.1121311Z Executing the powershell script: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.102.0\tasks\NuGetInstaller\0.1.32\NuGetInstaller.ps1 2016-07-22T19:36:46.8452101Z Setting credentials for nuget.myaccount.com 2016-07-22T19:36:46.9432092Z C:\a\1\NuGet 2016-07-22T19:36:46.9442428Z Saving to C:\a\1\NuGet\newNuGet.config 2016-07-22T19:36:46.9632096Z C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.102.0\agent\worker\tools\NuGet.exe restore "C:\a\1\s\Release\MySolution.sln" -NoCache -NonInteractive -configfile "C:\a\1\NuGet\newNuGet.config" 2016-07-22T19:36:49.5211376Z MSBuild auto-detection: using msbuild version '14.0' from 'C:\Program Files (x86)\MSBuild\14.0\bin'. 2016-07-22T19:36:50.3276669Z Feeds used: 2016-07-22T19:36:50.3276669Z https://api.nuget.org/v3/index.json 2016-07-22T19:36:50.3285773Z https://myaccount.pkgs.visualstudio.com/DefaultCollection/_packaging/nuget/nuget/v3/index.json 2016-07-22T19:36:50.3285773Z C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\ 2016-07-22T19:36:50.3295769Z C:\Program Files\Microsoft SDKs\Service Fabric\packages\ ... 2016-07-22T19:36:52.8994066Z Restoring NuGet package MyPackage.1.0.5974.32310. ... 2016-07-22T19:36:57.9135832Z Adding package 'MyPackage.1.0.5974.32310' to folder 'C:\a\1\s\packages' 2016-07-22T19:36:57.9265831Z Added package 'MyPackage.1.0.5974.32310' to folder 'C:\a\1\s\packages'

Failed: 2016-08-01T16:00:53.6170456Z Set workingFolder to default: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\tasks\NuGetInstaller\0.2.5 2016-08-01T16:00:54.3718604Z ##[debug]agent.workFolder=C:\a 2016-08-01T16:00:54.3728603Z ##[debug]loading inputs and endpoints 2016-08-01T16:00:54.3728603Z ##[debug]loading ENDPOINTAUTH$/ 2016-08-01T16:00:54.3758599Z ##[debug]loading ENDPOINT_AUTHPARAMETER$/_ACCESSTOKEN 2016-08-01T16:00:54.3768595Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN 2016-08-01T16:00:54.3768595Z ##[debug]loading ENDPOINT_AUTHSCHEME$/ 2016-08-01T16:00:54.3778601Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION 2016-08-01T16:00:54.3788595Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION 2016-08-01T16:00:54.3788595Z ##[debug]loading INPUT_NOCACHE 2016-08-01T16:00:54.3798600Z ##[debug]loading INPUT_NUGETCONFIGPATH 2016-08-01T16:00:54.3808600Z ##[debug]loading INPUT_PRECREDPROVIDERNUGET 2016-08-01T16:00:54.3808600Z ##[debug]loading INPUT_RESTOREMODE 2016-08-01T16:00:54.3818603Z ##[debug]loading INPUT_SOLUTION 2016-08-01T16:00:54.3818603Z ##[debug]loading INPUT_VERBOSITY 2016-08-01T16:00:54.3828603Z ##[debug]loaded 15 2016-08-01T16:00:54.5378604Z ##[debug]check path : C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\tasks\NuGetInstaller\0.2.5\task.json 2016-08-01T16:00:54.5388600Z ##[debug]set resource file to: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\tasks\NuGetInstaller\0.2.5\task.json 2016-08-01T16:00:54.5388600Z ##[debug]system.culture=en-US 2016-08-01T16:00:54.5418604Z ##[debug]solution=C:\a\1\s\Release\MySolution.sln 2016-08-01T16:00:54.5428602Z ##[debug]System.DefaultWorkingDirectory=C:\a\1\s 2016-08-01T16:00:54.5428602Z ##[debug]check path : C:\a\1\s\Release\MySolution.sln 2016-08-01T16:00:54.5458595Z ##[debug]noCache=true 2016-08-01T16:00:54.5458595Z ##[debug]nuGetRestoreArgs=null 2016-08-01T16:00:54.5468604Z ##[debug]verbosity=Detailed 2016-08-01T16:00:54.5468604Z ##[debug]preCredProviderNuGet=false 2016-08-01T16:00:54.5478604Z ##[debug]restoreMode=restore 2016-08-01T16:00:54.5478604Z ##[debug]nugetConfigPath=C:\a\1\s\nuget.config 2016-08-01T16:00:54.5488599Z ##[debug]check path : C:\a\1\s\nuget.config 2016-08-01T16:00:54.5488599Z ##[debug]nugetConfigPath=C:\a\1\s\nuget.config 2016-08-01T16:00:54.5488599Z ##[debug]build.sourcesDirectory=C:\a\1\s 2016-08-01T16:00:54.5500274Z ##[debug]nugetConfigPathpath supplied :true 2016-08-01T16:00:54.5508604Z ##[debug]nuGetPath=null 2016-08-01T16:00:54.5508604Z ##[debug]nuGetPath=null 2016-08-01T16:00:54.5508604Z ##[debug]build.sourcesDirectory=C:\a\1\s 2016-08-01T16:00:54.5518602Z ##[debug]nuGetPathpath supplied :true 2016-08-01T16:00:54.5518602Z ##[debug]SYSTEMVSSCONNECTION=https://myaccount.visualstudio.com/ 2016-08-01T16:00:54.5528604Z ##[debug]Agent.HomeDirectory=C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1 2016-08-01T16:00:54.5528604Z ##[debug]looking for tool NuGet 2016-08-01T16:00:54.5538601Z ##[debug]looking for tool variant nuget.exe 2016-08-01T16:00:54.5538601Z ##[debug]checking C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\externals\nuget\nuget.exe 2016-08-01T16:00:54.5548603Z ##[debug]checking C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\NuGetCredentialProvider\nuget.exe 2016-08-01T16:00:54.5548603Z ##[debug]checking C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe 2016-08-01T16:00:54.5558601Z ##[debug]Agent.HomeDirectory=C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1 2016-08-01T16:00:54.5558601Z ##[debug]looking for tool CredentialProvider.TeamBuild.exe 2016-08-01T16:00:54.5568603Z ##[debug]looking for tool variant CredentialProvider.TeamBuild.exe 2016-08-01T16:00:54.5568603Z ##[debug]checking C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\externals\nuget\CredentialProvider.TeamBuild.exe 2016-08-01T16:00:54.5578590Z ##[debug]checking C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\NuGetCredentialProvider\CredentialProvider.TeamBuild.exe 2016-08-01T16:00:54.5588604Z ##[debug]Getting credentials for local feeds 2016-08-01T16:00:54.5588604Z SYSTEMVSSCONNECTION exists true 2016-08-01T16:00:54.5598603Z ##[debug]SYSTEMVSSCONNECTION exists true 2016-08-01T16:00:54.5598603Z ##[debug]Got auth token 2016-08-01T16:00:54.5598603Z ##[debug]discovered URL prefixes: https://myaccount.visualstudio.com/,https://myaccount.pkgs.visualstudio.com/ 2016-08-01T16:00:54.5608604Z ##[debug]NuGetTasks.ExtraUrlPrefixesForTesting=undefined 2016-08-01T16:00:54.5628596Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: restore 2016-08-01T16:00:54.5638603Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: -NonInteractive 2016-08-01T16:00:54.5638603Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe pathArg: C:\a\1\s\Release\MySolution.sln 2016-08-01T16:00:54.5638603Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: C:\a\1\s\Release\MySolution.sln 2016-08-01T16:00:54.5650651Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: -ConfigFile 2016-08-01T16:00:54.5658599Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe pathArg: C:\a\1\s\nuget.config 2016-08-01T16:00:54.5658599Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: C:\a\1\s\nuget.config 2016-08-01T16:00:54.5668591Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: -NoCache 2016-08-01T16:00:54.5668591Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: -Verbosity 2016-08-01T16:00:54.5678592Z ##[debug]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe arg: Detailed 2016-08-01T16:00:54.5678592Z ##[debug]exec tool: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe 2016-08-01T16:00:54.5688604Z ##[debug]Arguments: 2016-08-01T16:00:54.5688604Z ##[debug] restore 2016-08-01T16:00:54.5698595Z ##[debug] -NonInteractive 2016-08-01T16:00:54.5698595Z ##[debug] C:\a\1\s\Release\MySolution.sln 2016-08-01T16:00:54.5708599Z ##[debug] -ConfigFile 2016-08-01T16:00:54.5708599Z ##[debug] C:\a\1\s\nuget.config 2016-08-01T16:00:54.5718605Z ##[debug] -NoCache 2016-08-01T16:00:54.5718605Z ##[debug] -Verbosity 2016-08-01T16:00:54.5728605Z ##[debug] Detailed 2016-08-01T16:00:54.5728605Z [command]C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe restore -NonInteractive C:\a\1\s\Release\MySolution.sln -ConfigFile C:\a\1\s\nuget.config -NoCache -Verbosity Detailed 2016-08-01T16:00:55.9465913Z MSBuild auto-detection: using msbuild version '14.0' from 'C:\Program Files (x86)\MSBuild\14.0\bin'. Use option -MSBuildVersion to force nuget to use a specific version of MSBuild. 2016-08-01T16:00:56.2412942Z Feeds used: 2016-08-01T16:00:56.2412942Z https://api.nuget.org/v3/index.json 2016-08-01T16:00:56.2422939Z https://myaccount.pkgs.visualstudio.com/DefaultCollection/_packaging/nuget/nuget/v3/index.json 2016-08-01T16:00:56.2422939Z C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\ 2016-08-01T16:00:56.2432935Z C:\Program Files\Microsoft SDKs\Service Fabric\packages\ ... 2016-08-01T16:00:58.8062352Z Restoring NuGet package MyPackage.1.0.5974.32310. ... 2016-08-01T16:01:06.7933563Z WARNING: Unable to find version '1.0.5974.32310' of package 'MyPackage'. ... 2016-08-01T16:01:07.2833570Z Unable to find version '1.0.5974.32310' of package 'MyPackage'. 2016-08-01T16:01:07.3053577Z ##[debug]rc:1 2016-08-01T16:01:07.3053577Z ##[debug]success:false 2016-08-01T16:01:07.3133584Z ##[error]Error: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.1\agent\Worker\Tools\nuget.exe failed with return code: 1 2016-08-01T16:01:07.3143575Z ##[error]Packages failed to install 2016-08-01T16:01:07.3153577Z ##[debug]task result: Failed 2016-08-01T16:01:07.3163576Z ##[error]Return code: 1

cilerler commented 8 years ago

It is a confirmed known issue and MSFT is working on it. Here is the service blog link Failures while restoring nuget packages in Visual Studio Team Services – 8/1 – Investigating

cilerler commented 8 years ago

Issue has been resolved