{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/672","repository_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks","labels_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/672/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/672/comments","events_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/672/events","html_url":"https://github.com/Microsoft/vso-agent-tasks/issues/672","id":112923040,"number":672,"title":"NuGet Restore Task Fails sometime using -DisableParallelProcessing helps","user":{"login":"johnkattenhorn","id":616249,"avatar_url":"https://avatars.githubusercontent.com/u/616249?v=3","gravatar_id":"","url":"https://api.github.com/users/johnkattenhorn","html_url":"https://github.com/johnkattenhorn","followers_url":"https://api.github.com/users/johnkattenhorn/followers","following_url":"https://api.github.com/users/johnkattenhorn/following{/other_user}","gists_url":"https://api.github.com/users/johnkattenhorn/gists{/gist_id}","starred_url":"https://api.github.com/users/johnkattenhorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnkattenhorn/subscriptions","organizations_url":"https://api.github.com/users/johnkattenhorn/orgs","repos_url":"https://api.github.com/users/johnkattenhorn/repos","events_url":"https://api.github.com/users/johnkattenhorn/events{/privacy}","received_events_url":"https://api.github.com/users/johnkattenhorn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"vtbassmatt","id":714283,"avatar_url":"https://avatars.githubusercontent.com/u/714283?v=3","gravatar_id":"","url":"https://api.github.com/users/vtbassmatt","html_url":"https://github.com/vtbassmatt","followers_url":"https://api.github.com/users/vtbassmatt/followers","following_url":"https://api.github.com/users/vtbassmatt/following{/other_user}","gists_url":"https://api.github.com/users/vtbassmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/vtbassmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtbassmatt/subscriptions","organizations_url":"https://api.github.com/users/vtbassmatt/orgs","repos_url":"https://api.github.com/users/vtbassmatt/repos","events_url":"https://api.github.com/users/vtbassmatt/events{/privacy}","received_events_url":"https://api.github.com/users/vtbassmatt/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-10-23T01:26:42Z","updated_at":"2016-02-23T22:55:33Z","closed_at":"2016-02-23T22:06:48Z","body":"It's 2AM and I know this sounds strange but I've been working on this all day. \r\n\r\nWe have a .sln which has been building for months without the need for the separate Task for NuGet Restore; we just used to tick the box on the build task to perform the restore.\r\n\r\nThen something happened, I think someone introduced a 4.5.2 project which pulled in some packages which would not restore. They came back with a message along the lines of you must use NuGet3 to install System.Linq.xxx.\r\n\r\nSo I added NuGet 3.x to the git repo and added an additional NuGet Restore Task, again everything was fine. Then after a few days I start to get restore failures,\r\n \r\n```Unable to find version '3.3.3' of package 'Castle.Core'.\r\nNuGet.CommandLineException: Exception of type 'NuGet.CommandLineException' was thrown.\r\nat NuGet.CommandLine.RestoreCommand.<ExecuteCommandAsync>d__18.MoveNext()\r\nUnexpected exit code 1 returned from tool nuget.exe```\r\n\r\nSo after a while I found that the projects which were 4.5.2 are now 4.5.1 but they are referencing some NuGet packages which seem to only work with 4.5.2 (can't remember the whole list but things like `System.Runtime`.\r\n\r\nSo I removed these packages and the build starts working again for a few hours until, stops working again, same failure as before, sometimes `Autofac` or `Autofac.DynamicProxy` but the reason of the message is the same.\r\n\r\nThe problem becomes serious, every single build then starts to fail as of today and the only way I can get a build to work sometimes is with `-NoCache -DisableParallelProcessing` but fail more often that not.\r\n\r\nCan anyone suggest how I might be able to fault find the route cause of this problem ? Anybody seen anything like this before ?\r\n\r\nWe have a couple of other team VSO subscriptions which have similar configurations to this one in terms of steps but they are absolutely fine."},"comment":{"url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/comments/187952537","html_url":"https://github.com/Microsoft/vso-agent-tasks/issues/672#issuecomment-187952537","issue_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/672","id":187952537,"user":{"login":"yishaigalatzer","id":1238711,"avatar_url":"https://avatars.githubusercontent.com/u/1238711?v=3","gravatar_id":"","url":"https://api.github.com/users/yishaigalatzer","html_url":"https://github.com/yishaigalatzer","followers_url":"https://api.github.com/users/yishaigalatzer/followers","following_url":"https://api.github.com/users/yishaigalatzer/following{/other_user}","gists_url":"https://api.github.com/users/yishaigalatzer/gists{/gist_id}","starred_url":"https://api.github.com/users/yishaigalatzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yishaigalatzer/subscriptions","organizations_url":"https://api.github.com/users/yishaigalatzer/orgs","repos_url":"https://api.github.com/users/yishaigalatzer/repos","events_url":"https://api.github.com/users/yishaigalatzer/events{/privacy}","received_events_url":"https://api.github.com/users/yishaigalatzer/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T22:55:33Z","updated_at":"2016-02-23T22:55:33Z","body":"I disagree with that, 3.4 is not close it is months away. Look at the bug list for 3.3, and you will see it is not small. Last if we don't get feedback for 3.3 we won't fix it in 3.4"}}