{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7621","repository_url":"https://api.github.com/repos/Microsoft/vsts-tasks","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7621/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7621/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7621/events","html_url":"https://github.com/Microsoft/vsts-tasks/issues/7621","id":337897961,"node_id":"MDU6SXNzdWUzMzc4OTc5NjE=","number":7621,"title":"Windows Machine File Copy task fails due to multiple connections","user":{"login":"NPeete","id":1939337,"node_id":"MDQ6VXNlcjE5MzkzMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1939337?v=4","gravatar_id":"","url":"https://api.github.com/users/NPeete","html_url":"https://github.com/NPeete","followers_url":"https://api.github.com/users/NPeete/followers","following_url":"https://api.github.com/users/NPeete/following{/other_user}","gists_url":"https://api.github.com/users/NPeete/gists{/gist_id}","starred_url":"https://api.github.com/users/NPeete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NPeete/subscriptions","organizations_url":"https://api.github.com/users/NPeete/orgs","repos_url":"https://api.github.com/users/NPeete/repos","events_url":"https://api.github.com/users/NPeete/events{/privacy}","received_events_url":"https://api.github.com/users/NPeete/received_events","type":"User","site_admin":false},"labels":[{"id":391088230,"node_id":"MDU6TGFiZWwzOTEwODgyMzA=","url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels/Area:%20Release","name":"Area: Release","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"SumiranAgg","id":8316321,"node_id":"MDQ6VXNlcjgzMTYzMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/8316321?v=4","gravatar_id":"","url":"https://api.github.com/users/SumiranAgg","html_url":"https://github.com/SumiranAgg","followers_url":"https://api.github.com/users/SumiranAgg/followers","following_url":"https://api.github.com/users/SumiranAgg/following{/other_user}","gists_url":"https://api.github.com/users/SumiranAgg/gists{/gist_id}","starred_url":"https://api.github.com/users/SumiranAgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SumiranAgg/subscriptions","organizations_url":"https://api.github.com/users/SumiranAgg/orgs","repos_url":"https://api.github.com/users/SumiranAgg/repos","events_url":"https://api.github.com/users/SumiranAgg/events{/privacy}","received_events_url":"https://api.github.com/users/SumiranAgg/received_events","type":"User","site_admin":false},"assignees":[{"login":"SumiranAgg","id":8316321,"node_id":"MDQ6VXNlcjgzMTYzMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/8316321?v=4","gravatar_id":"","url":"https://api.github.com/users/SumiranAgg","html_url":"https://github.com/SumiranAgg","followers_url":"https://api.github.com/users/SumiranAgg/followers","following_url":"https://api.github.com/users/SumiranAgg/following{/other_user}","gists_url":"https://api.github.com/users/SumiranAgg/gists{/gist_id}","starred_url":"https://api.github.com/users/SumiranAgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SumiranAgg/subscriptions","organizations_url":"https://api.github.com/users/SumiranAgg/orgs","repos_url":"https://api.github.com/users/SumiranAgg/repos","events_url":"https://api.github.com/users/SumiranAgg/events{/privacy}","received_events_url":"https://api.github.com/users/SumiranAgg/received_events","type":"User","site_admin":false},{"login":"kmkumaran","id":11780076,"node_id":"MDQ6VXNlcjExNzgwMDc2","avatar_url":"https://avatars2.githubusercontent.com/u/11780076?v=4","gravatar_id":"","url":"https://api.github.com/users/kmkumaran","html_url":"https://github.com/kmkumaran","followers_url":"https://api.github.com/users/kmkumaran/followers","following_url":"https://api.github.com/users/kmkumaran/following{/other_user}","gists_url":"https://api.github.com/users/kmkumaran/gists{/gist_id}","starred_url":"https://api.github.com/users/kmkumaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmkumaran/subscriptions","organizations_url":"https://api.github.com/users/kmkumaran/orgs","repos_url":"https://api.github.com/users/kmkumaran/repos","events_url":"https://api.github.com/users/kmkumaran/events{/privacy}","received_events_url":"https://api.github.com/users/kmkumaran/received_events","type":"User","site_admin":false},{"login":"arjgupta","id":20121532,"node_id":"MDQ6VXNlcjIwMTIxNTMy","avatar_url":"https://avatars0.githubusercontent.com/u/20121532?v=4","gravatar_id":"","url":"https://api.github.com/users/arjgupta","html_url":"https://github.com/arjgupta","followers_url":"https://api.github.com/users/arjgupta/followers","following_url":"https://api.github.com/users/arjgupta/following{/other_user}","gists_url":"https://api.github.com/users/arjgupta/gists{/gist_id}","starred_url":"https://api.github.com/users/arjgupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjgupta/subscriptions","organizations_url":"https://api.github.com/users/arjgupta/orgs","repos_url":"https://api.github.com/users/arjgupta/repos","events_url":"https://api.github.com/users/arjgupta/events{/privacy}","received_events_url":"https://api.github.com/users/arjgupta/received_events","type":"User","site_admin":false}],"milestone":null,"comments":24,"created_at":"2018-07-03T13:24:58Z","updated_at":"2018-07-27T12:36:32Z","closed_at":null,"author_association":"NONE","body":"We have multiple Windows Machine File Copy tasks on different Release Agents (+ and different target machines), the target dirs are specified for folders (like D:\\TargetFolder), the target machine lists contain fqdn machine names. \r\nLately we *randomly* started to get the following error:\r\n\r\n`Failed to Create PSDrive with Destination: '\\\\TargetMachineFQDN\\D$\\TargetFolder', ErrorMessage: 'Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again'\r\n`\r\n\r\nSuspicious thing to me:\r\nhttps://github.com/Microsoft/vsts-tasks/blob/ea589633e6eb5c3aec562076a240dd4f2f781b0b/Tasks/WindowsMachineFileCopyV2/RoboCopyJob.ps1#L219-L225\r\n\r\nFor this there isn't a matching Remove-PSDrive command - can it be the issue that the release agents started to run out of free network shares?"},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments/408406191","html_url":"https://github.com/Microsoft/vsts-tasks/issues/7621#issuecomment-408406191","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7621","id":408406191,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODQwNjE5MQ==","user":{"login":"Mibe8","id":33321036,"node_id":"MDQ6VXNlcjMzMzIxMDM2","avatar_url":"https://avatars0.githubusercontent.com/u/33321036?v=4","gravatar_id":"","url":"https://api.github.com/users/Mibe8","html_url":"https://github.com/Mibe8","followers_url":"https://api.github.com/users/Mibe8/followers","following_url":"https://api.github.com/users/Mibe8/following{/other_user}","gists_url":"https://api.github.com/users/Mibe8/gists{/gist_id}","starred_url":"https://api.github.com/users/Mibe8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mibe8/subscriptions","organizations_url":"https://api.github.com/users/Mibe8/orgs","repos_url":"https://api.github.com/users/Mibe8/repos","events_url":"https://api.github.com/users/Mibe8/events{/privacy}","received_events_url":"https://api.github.com/users/Mibe8/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T12:36:32Z","updated_at":"2018-07-27T12:36:32Z","author_association":"NONE","body":"I can see we are using version 2.1.2 of this task, but we still get this error. I can't see any sessions open from the agent. "}}
{"actor":{"display_login":"Mibe8"}}