{"action":"created","comment":{"url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/comments/82635730","pull_request_review_id":3529658,"id":82635730,"diff_hunk":"@@ -85,6 +85,11 @@ if (-not $SkipVS15 -and -not $VS15Installed) {\n \n $BuildErrors = @()\n \n+Invoke-BuildStep 'Clear local caches' {\n+        & nuget locals all -clear -verbosity detailed","path":"runTests.ps1","position":5,"original_position":5,"commit_id":"23f2fefa05d2c6c17c68f31aa6fa8b0e14533f9f","original_commit_id":"23f2fefa05d2c6c17c68f31aa6fa8b0e14533f9f","user":{"login":"dtivel","id":12734758,"avatar_url":"https://avatars.githubusercontent.com/u/12734758?v=3","gravatar_id":"","url":"https://api.github.com/users/dtivel","html_url":"https://github.com/dtivel","followers_url":"https://api.github.com/users/dtivel/followers","following_url":"https://api.github.com/users/dtivel/following{/other_user}","gists_url":"https://api.github.com/users/dtivel/gists{/gist_id}","starred_url":"https://api.github.com/users/dtivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtivel/subscriptions","organizations_url":"https://api.github.com/users/dtivel/orgs","repos_url":"https://api.github.com/users/dtivel/repos","events_url":"https://api.github.com/users/dtivel/events{/privacy}","received_events_url":"https://api.github.com/users/dtivel/received_events","type":"User","site_admin":false},"body":"`Clear-PackageCache` does not clear the `http-cache`.  Why is that?","created_at":"2016-10-10T16:17:16Z","updated_at":"2016-10-10T16:17:17Z","html_url":"https://github.com/NuGet/NuGet.Client/pull/921#discussion_r82635730","pull_request_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/921","_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/comments/82635730"},"html":{"href":"https://github.com/NuGet/NuGet.Client/pull/921#discussion_r82635730"},"pull_request":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/921"}}},"pull_request":{"url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/921","id":88510770,"html_url":"https://github.com/NuGet/NuGet.Client/pull/921","diff_url":"https://github.com/NuGet/NuGet.Client/pull/921.diff","patch_url":"https://github.com/NuGet/NuGet.Client/pull/921.patch","issue_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/921","number":921,"state":"open","locked":false,"title":"Fix flaky unit tests","user":{"login":"dtivel","id":12734758,"avatar_url":"https://avatars.githubusercontent.com/u/12734758?v=3","gravatar_id":"","url":"https://api.github.com/users/dtivel","html_url":"https://github.com/dtivel","followers_url":"https://api.github.com/users/dtivel/followers","following_url":"https://api.github.com/users/dtivel/following{/other_user}","gists_url":"https://api.github.com/users/dtivel/gists{/gist_id}","starred_url":"https://api.github.com/users/dtivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtivel/subscriptions","organizations_url":"https://api.github.com/users/dtivel/orgs","repos_url":"https://api.github.com/users/dtivel/repos","events_url":"https://api.github.com/users/dtivel/events{/privacy}","received_events_url":"https://api.github.com/users/dtivel/received_events","type":"User","site_admin":false},"body":"Fix NuGet/Home#3624.\r\n\r\nThe issue is that concurrent tests sometimes interfere with each other.  This fix has two parts:\r\n\r\n1.  Clear all caches before starting tests and again on successful test completion.  If there are test failures, caches are left as-is for post-mortem investigation.\r\n2.  Ensure each URL used by `MockServer` is unique.  This change is transparent to most tests.  However, for tests which access the requested URL, some string pruning is necessary to strip off the random base path.\r\n\r\nAlso, reenable test `RestoreRetry_PackagesConfigRetryOnFailingV2Source` as it appears to pass consistently.\r\n\r\n@rrelyea @emgarten @joelverhagen @drewgil @alpaix @mishra14 @jainaashish @zhili1208 @rohit21agrawal","created_at":"2016-10-07T21:27:04Z","updated_at":"2016-10-10T16:17:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48d4b01e035e8054c2ff81a43f95333b0e937b52","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/921/commits","review_comments_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/921/comments","review_comment_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/921/comments","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Client/statuses/23f2fefa05d2c6c17c68f31aa6fa8b0e14533f9f","head":{"label":"NuGet:dev-dtivel-fix-flaky-tests","ref":"dev-dtivel-fix-flaky-tests","sha":"23f2fefa05d2c6c17c68f31aa6fa8b0e14533f9f","user":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"repo":{"id":19330736,"name":"NuGet.Client","full_name":"NuGet/NuGet.Client","owner":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NuGet/NuGet.Client","description":"Core client libraries for NuGet Services","fork":false,"url":"https://api.github.com/repos/NuGet/NuGet.Client","forks_url":"https://api.github.com/repos/NuGet/NuGet.Client/forks","keys_url":"https://api.github.com/repos/NuGet/NuGet.Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuGet/NuGet.Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuGet/NuGet.Client/teams","hooks_url":"https://api.github.com/repos/NuGet/NuGet.Client/hooks","issue_events_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/events{/number}","events_url":"https://api.github.com/repos/NuGet/NuGet.Client/events","assignees_url":"https://api.github.com/repos/NuGet/NuGet.Client/assignees{/user}","branches_url":"https://api.github.com/repos/NuGet/NuGet.Client/branches{/branch}","tags_url":"https://api.github.com/repos/NuGet/NuGet.Client/tags","blobs_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Client/statuses/{sha}","languages_url":"https://api.github.com/repos/NuGet/NuGet.Client/languages","stargazers_url":"https://api.github.com/repos/NuGet/NuGet.Client/stargazers","contributors_url":"https://api.github.com/repos/NuGet/NuGet.Client/contributors","subscribers_url":"https://api.github.com/repos/NuGet/NuGet.Client/subscribers","subscription_url":"https://api.github.com/repos/NuGet/NuGet.Client/subscription","commits_url":"https://api.github.com/repos/NuGet/NuGet.Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuGet/NuGet.Client/contents/{+path}","compare_url":"https://api.github.com/repos/NuGet/NuGet.Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuGet/NuGet.Client/merges","archive_url":"https://api.github.com/repos/NuGet/NuGet.Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuGet/NuGet.Client/downloads","issues_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues{/number}","pulls_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls{/number}","milestones_url":"https://api.github.com/repos/NuGet/NuGet.Client/milestones{/number}","notifications_url":"https://api.github.com/repos/NuGet/NuGet.Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuGet/NuGet.Client/labels{/name}","releases_url":"https://api.github.com/repos/NuGet/NuGet.Client/releases{/id}","deployments_url":"https://api.github.com/repos/NuGet/NuGet.Client/deployments","created_at":"2014-04-30T23:46:11Z","updated_at":"2016-10-04T13:59:41Z","pushed_at":"2016-10-10T09:05:17Z","git_url":"git://github.com/NuGet/NuGet.Client.git","ssh_url":"git@github.com:NuGet/NuGet.Client.git","clone_url":"https://github.com/NuGet/NuGet.Client.git","svn_url":"https://github.com/NuGet/NuGet.Client","homepage":null,"size":30975,"stargazers_count":105,"watchers_count":105,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":136,"mirror_url":null,"open_issues_count":20,"forks":136,"open_issues":20,"watchers":105,"default_branch":"dev"}},"base":{"label":"NuGet:dev","ref":"dev","sha":"6481e59520e31b82d5dae902d67d91bf6b6aa9f7","user":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"repo":{"id":19330736,"name":"NuGet.Client","full_name":"NuGet/NuGet.Client","owner":{"login":"NuGet","id":968310,"avatar_url":"https://avatars.githubusercontent.com/u/968310?v=3","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NuGet/NuGet.Client","description":"Core client libraries for NuGet Services","fork":false,"url":"https://api.github.com/repos/NuGet/NuGet.Client","forks_url":"https://api.github.com/repos/NuGet/NuGet.Client/forks","keys_url":"https://api.github.com/repos/NuGet/NuGet.Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuGet/NuGet.Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuGet/NuGet.Client/teams","hooks_url":"https://api.github.com/repos/NuGet/NuGet.Client/hooks","issue_events_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/events{/number}","events_url":"https://api.github.com/repos/NuGet/NuGet.Client/events","assignees_url":"https://api.github.com/repos/NuGet/NuGet.Client/assignees{/user}","branches_url":"https://api.github.com/repos/NuGet/NuGet.Client/branches{/branch}","tags_url":"https://api.github.com/repos/NuGet/NuGet.Client/tags","blobs_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuGet/NuGet.Client/statuses/{sha}","languages_url":"https://api.github.com/repos/NuGet/NuGet.Client/languages","stargazers_url":"https://api.github.com/repos/NuGet/NuGet.Client/stargazers","contributors_url":"https://api.github.com/repos/NuGet/NuGet.Client/contributors","subscribers_url":"https://api.github.com/repos/NuGet/NuGet.Client/subscribers","subscription_url":"https://api.github.com/repos/NuGet/NuGet.Client/subscription","commits_url":"https://api.github.com/repos/NuGet/NuGet.Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuGet/NuGet.Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuGet/NuGet.Client/contents/{+path}","compare_url":"https://api.github.com/repos/NuGet/NuGet.Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuGet/NuGet.Client/merges","archive_url":"https://api.github.com/repos/NuGet/NuGet.Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuGet/NuGet.Client/downloads","issues_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues{/number}","pulls_url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls{/number}","milestones_url":"https://api.github.com/repos/NuGet/NuGet.Client/milestones{/number}","notifications_url":"https://api.github.com/repos/NuGet/NuGet.Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuGet/NuGet.Client/labels{/name}","releases_url":"https://api.github.com/repos/NuGet/NuGet.Client/releases{/id}","deployments_url":"https://api.github.com/repos/NuGet/NuGet.Client/deployments","created_at":"2014-04-30T23:46:11Z","updated_at":"2016-10-04T13:59:41Z","pushed_at":"2016-10-10T09:05:17Z","git_url":"git://github.com/NuGet/NuGet.Client.git","ssh_url":"git@github.com:NuGet/NuGet.Client.git","clone_url":"https://github.com/NuGet/NuGet.Client.git","svn_url":"https://github.com/NuGet/NuGet.Client","homepage":null,"size":30975,"stargazers_count":105,"watchers_count":105,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":136,"mirror_url":null,"open_issues_count":20,"forks":136,"open_issues":20,"watchers":105,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/921"},"html":{"href":"https://github.com/NuGet/NuGet.Client/pull/921"},"issue":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/issues/921"},"comments":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/issues/921/comments"},"review_comments":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/921/comments"},"review_comment":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/921/commits"},"statuses":{"href":"https://api.github.com/repos/NuGet/NuGet.Client/statuses/23f2fefa05d2c6c17c68f31aa6fa8b0e14533f9f"}}}}
{"actor":{"display_login":"dtivel"}}