{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4491","repository_url":"https://api.github.com/repos/Microsoft/vsts-tasks","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4491/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4491/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4491/events","html_url":"https://github.com/Microsoft/vsts-tasks/issues/4491","id":234503241,"number":4491,"title":"Run Functional Tests Task - Error: Could not load file or assembly 'Microsoft.VisualStudio.Utilities.Internal","user":{"login":"MSTestAuto","id":29276768,"avatar_url":"https://avatars0.githubusercontent.com/u/29276768?v=3","gravatar_id":"","url":"https://api.github.com/users/MSTestAuto","html_url":"https://github.com/MSTestAuto","followers_url":"https://api.github.com/users/MSTestAuto/followers","following_url":"https://api.github.com/users/MSTestAuto/following{/other_user}","gists_url":"https://api.github.com/users/MSTestAuto/gists{/gist_id}","starred_url":"https://api.github.com/users/MSTestAuto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSTestAuto/subscriptions","organizations_url":"https://api.github.com/users/MSTestAuto/orgs","repos_url":"https://api.github.com/users/MSTestAuto/repos","events_url":"https://api.github.com/users/MSTestAuto/events{/privacy}","received_events_url":"https://api.github.com/users/MSTestAuto/received_events","type":"User","site_admin":false},"labels":[{"id":391088422,"url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels/Area:%20Test","name":"Area: Test","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"login":"nigurr","id":15208679,"avatar_url":"https://avatars1.githubusercontent.com/u/15208679?v=3","gravatar_id":"","url":"https://api.github.com/users/nigurr","html_url":"https://github.com/nigurr","followers_url":"https://api.github.com/users/nigurr/followers","following_url":"https://api.github.com/users/nigurr/following{/other_user}","gists_url":"https://api.github.com/users/nigurr/gists{/gist_id}","starred_url":"https://api.github.com/users/nigurr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nigurr/subscriptions","organizations_url":"https://api.github.com/users/nigurr/orgs","repos_url":"https://api.github.com/users/nigurr/repos","events_url":"https://api.github.com/users/nigurr/events{/privacy}","received_events_url":"https://api.github.com/users/nigurr/received_events","type":"User","site_admin":false},"assignees":[{"login":"nigurr","id":15208679,"avatar_url":"https://avatars1.githubusercontent.com/u/15208679?v=3","gravatar_id":"","url":"https://api.github.com/users/nigurr","html_url":"https://github.com/nigurr","followers_url":"https://api.github.com/users/nigurr/followers","following_url":"https://api.github.com/users/nigurr/following{/other_user}","gists_url":"https://api.github.com/users/nigurr/gists{/gist_id}","starred_url":"https://api.github.com/users/nigurr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nigurr/subscriptions","organizations_url":"https://api.github.com/users/nigurr/orgs","repos_url":"https://api.github.com/users/nigurr/repos","events_url":"https://api.github.com/users/nigurr/events{/privacy}","received_events_url":"https://api.github.com/users/nigurr/received_events","type":"User","site_admin":false},{"login":"RanjanarMS","id":24820768,"avatar_url":"https://avatars2.githubusercontent.com/u/24820768?v=3","gravatar_id":"","url":"https://api.github.com/users/RanjanarMS","html_url":"https://github.com/RanjanarMS","followers_url":"https://api.github.com/users/RanjanarMS/followers","following_url":"https://api.github.com/users/RanjanarMS/following{/other_user}","gists_url":"https://api.github.com/users/RanjanarMS/gists{/gist_id}","starred_url":"https://api.github.com/users/RanjanarMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RanjanarMS/subscriptions","organizations_url":"https://api.github.com/users/RanjanarMS/orgs","repos_url":"https://api.github.com/users/RanjanarMS/repos","events_url":"https://api.github.com/users/RanjanarMS/events{/privacy}","received_events_url":"https://api.github.com/users/RanjanarMS/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2017-06-08T11:58:16Z","updated_at":"2017-06-12T14:49:03Z","closed_at":null,"body":"I have been trying to set up automated Coded UI Tests with the new vNext Release - Run Coded UI Tests task. (We had it previously working for older XAML build and with Test Agent/Controller 2013.)\r\n\r\nBut there is an error when the test is run under Test Plan Test Selection. (Test Assembly works fine. ) Only one test runs out of several and the others are not failed but aborted.\r\n\r\nI think the source of the error is this in the Dta Logs:\r\nTelemetrySession: Error in Telemetry for unit test run session : Could not load file or assembly 'Microsoft.VisualStudio.Utilities.Internal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.\r\n\r\nI have just installed/updated the Test Agent with the Visual Studio Test Agent Deployment task, which installed the Microsoft Agents for Visual Studio 2015 with Update 3.\r\n\r\nThis issue is probably related to the one here:\r\nhttps://github.com/Microsoft/vsts-tasks/issues/4350\r\nI have looked into it, but vstest.console.exe is not installed along with the agent. \r\n\r\nI've attached the full log for Dta:\r\n[DTAExecutionHost.exe.log.txt](https://github.com/Microsoft/vsts-tasks/files/1060895/DTAExecutionHost.exe.log.txt)\r\n\r\nAlso, here is the logs for the release:\r\n[TFS Release Log.txt](https://github.com/Microsoft/vsts-tasks/files/1060898/TFS.Release.Log.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments/307812516","html_url":"https://github.com/Microsoft/vsts-tasks/issues/4491#issuecomment-307812516","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4491","id":307812516,"user":{"login":"MSTestAuto","id":29276768,"avatar_url":"https://avatars0.githubusercontent.com/u/29276768?v=3","gravatar_id":"","url":"https://api.github.com/users/MSTestAuto","html_url":"https://github.com/MSTestAuto","followers_url":"https://api.github.com/users/MSTestAuto/followers","following_url":"https://api.github.com/users/MSTestAuto/following{/other_user}","gists_url":"https://api.github.com/users/MSTestAuto/gists{/gist_id}","starred_url":"https://api.github.com/users/MSTestAuto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSTestAuto/subscriptions","organizations_url":"https://api.github.com/users/MSTestAuto/orgs","repos_url":"https://api.github.com/users/MSTestAuto/repos","events_url":"https://api.github.com/users/MSTestAuto/events{/privacy}","received_events_url":"https://api.github.com/users/MSTestAuto/received_events","type":"User","site_admin":false},"created_at":"2017-06-12T14:49:03Z","updated_at":"2017-06-12T14:49:03Z","body":"@kaadhina \r\n\r\nI couldn't send the email to that address:\r\n\"The groups only accept messages from people in their organization or on their allowed senders list, and your email address isn't on the lists.\"\r\n\r\nSo, I will post the contents here.\r\n\r\nTrying to get the points configuration fails – by name:\r\n$resource = 'http://trh-dev-tfs:8080/tfs/DefaultCollection/DotNetRetailSolutions/_apis/test/plans/52397/suites/52398/points?configuration=Default Test Configuration&api-version=1.0'\r\n\r\nInvoke-RestMethod -Uri $resource -cred $cred | ConvertTo-Json\r\n\r\nInvoke-RestMethod : {\"$id\":\"1\",\"innerException\":null,\"message\":\"Test plan 52397 not found.\",\"typeName\":\"Microsoft.TeamFoundation.TestManagement.WebApi.TestObjectNotFoundException, Microsoft.TeamFoundation.TestManagement.WebApi, Version=14.0.0.0, Culture=neu\r\ntral, PublicKeyToken=b03f5f7f11d50a3a\",\"typeKey\":\"TestObjectNotFoundException\",\"errorCode\":0,\"eventId\":3000}\r\nAt line:7 char:1\r\n+ Invoke-RestMethod -Uri $resource -cred $cred | ConvertTo-Json\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException\r\n    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand \r\n\r\nBy id(I wasn’t sure which one it accepts):\r\n$resource = 'http://trh-dev-tfs:8080/tfs/DefaultCollection/DotNetRetailSolutions/_apis/test/plans/52397/suites/52398/points?configuration=12'\r\n\r\nInvoke-RestMethod -Uri $resource -cred $cred | ConvertTo-Json\r\n\r\nInvoke-RestMethod : {\"$id\":\"1\",\"innerException\":null,\"message\":\"Test plan 52397 not found.\",\"typeName\":\"Microsoft.TeamFoundation.TestManagement.WebApi.TestObjectNotFoundException, Microsoft.TeamFoundation.TestManagement.WebApi, Version=14.0.0.0, Culture=neu\r\ntral, PublicKeyToken=b03f5f7f11d50a3a\",\"typeKey\":\"TestObjectNotFoundException\",\"errorCode\":0,\"eventId\":3000}\r\nAt line:7 char:1\r\n+ Invoke-RestMethod -Uri $resource -cred $cred | ConvertTo-Json\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException\r\n    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand \r\n\r\nGetting test points itself has an error:\r\n$resource = 'http://trh-dev-tfs:8080/tfs/DefaultCollection/DotNetRetailSolutions/_apis/test/plans/52397/suites/52398/points?api-version=1.0'\r\n\r\nInvoke-RestMethod -Uri $resource -cred $cred | ConvertTo-Json\r\n\r\nInvoke-RestMethod : {\"$id\":\"1\",\"innerException\":null,\"message\":\"Test plan 52397 not found.\",\"typeName\":\"Microsoft.TeamFoundation.TestManagement.WebApi.TestObjectNotFoundException, Microsoft.TeamFoundation.TestManagement.WebApi, Version=14.0.0.0, Culture=neu\r\ntral, PublicKeyToken=b03f5f7f11d50a3a\",\"typeKey\":\"TestObjectNotFoundException\",\"errorCode\":0,\"eventId\":3000}\r\nAt line:7 char:1\r\n+ Invoke-RestMethod -Uri $resource -cred $cred | ConvertTo-Json\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException\r\n    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand \r\n\r\nThe Test Configurations:\r\nInvoke-RestMethod -Uri $resource -cred $cred | ConvertTo-Json\r\n\r\n{\r\n    \"value\":  [\r\n                  {\r\n                      \"id\":  2,\r\n                      \"name\":  \"BackOffice Test Configuration\",\r\n                      \"url\":  \"http://trh-dev-tfs:8080/tfs/DefaultCollection/DotNetRetailSolutions/_apis/test/Configurations/2\",\r\n                      \"project\":  \"@{name=DotNetRetailSolutions; url=http://trh-dev-tfs:8080/tfs/DefaultCollection/_apis/projects/DotNetRetailSolutions}\",\r\n                      \"description\":  \"\",\r\n                      \"lastUpdatedBy\":  \"@{id=e619a77f-27a3-4051-90a5-4c0a50116078; displayName=[User]; uniqueName=[ADUser]; url=http://trh-dev-tfs:8080/tfs/DefaultCollection/_apis/Identities/e619a77f-27a3-4051-90a5-4c0a50116078; i\r\nmageUrl=http://trh-dev-tfs:8080/tfs/DefaultCollection/_api/_common/identityImage?id=e619a77f-27a3-4051-90a5-4c0a50116078}\",\r\n                      \"lastUpdatedDate\":  \"2016-05-18T12:17:48.903Z\",\r\n                      \"area\":  \"@{id=0; name=DotNetRetailSolutions}\",\r\n                      \"revision\":  6,\r\n                      \"values\":  \"@{Browser=Internet Explorer 11; OS=Windows 7}\",\r\n                      \"state\":  \"inactive\"\r\n                  },\r\n                  {\r\n                      \"id\":  12,\r\n                      \"name\":  \"Default Test Configuration\",\r\n                      \"url\":  \"http://trh-dev-tfs:8080/tfs/DefaultCollection/DotNetRetailSolutions/_apis/test/Configurations/12\",\r\n                      \"project\":  \"@{name=DotNetRetailSolutions; url=http://trh-dev-tfs:8080/tfs/DefaultCollection/_apis/projects/DotNetRetailSolutions}\",\r\n                      \"description\":  \"\",\r\n                      \"lastUpdatedBy\":  \"@{id=e619a77f-27a3-4051-90a5-4c0a50116078; displayName=[User]; uniqueName=[ADUser]; url=http://trh-dev-tfs:8080/tfs/DefaultCollection/_apis/Identities/e619a77f-27a3-4051-90a5-4c0a50116078; i\r\nmageUrl=http://trh-dev-tfs:8080/tfs/DefaultCollection/_api/_common/identityImage?id=e619a77f-27a3-4051-90a5-4c0a50116078}\",\r\n                      \"lastUpdatedDate\":  \"2016-05-18T12:18:02.9Z\",\r\n                      \"area\":  \"@{id=0; name=DotNetRetailSolutions}\",\r\n                      \"isDefault\":  true,\r\n                      \"revision\":  4,\r\n                      \"values\":  \"@{Browser=Internet Explorer 11; OS=Windows 7}\",\r\n                      \"state\":  \"active\"\r\n                  }\r\n              ],\r\n    \"count\":  2\r\n} \r\n"}}
{"actor":{"display_login":"MSTestAuto"}}