{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/2872","repository_url":"https://api.github.com/repos/Microsoft/vsts-tasks","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/2872/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/2872/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/2872/events","html_url":"https://github.com/Microsoft/vsts-tasks/issues/2872","id":182827091,"number":2872,"title":"Run functional tests: System.AccessViolationException","user":{"login":"ffnoname","id":6808922,"avatar_url":"https://avatars.githubusercontent.com/u/6808922?v=3","gravatar_id":"","url":"https://api.github.com/users/ffnoname","html_url":"https://github.com/ffnoname","followers_url":"https://api.github.com/users/ffnoname/followers","following_url":"https://api.github.com/users/ffnoname/following{/other_user}","gists_url":"https://api.github.com/users/ffnoname/gists{/gist_id}","starred_url":"https://api.github.com/users/ffnoname/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffnoname/subscriptions","organizations_url":"https://api.github.com/users/ffnoname/orgs","repos_url":"https://api.github.com/users/ffnoname/repos","events_url":"https://api.github.com/users/ffnoname/events{/privacy}","received_events_url":"https://api.github.com/users/ffnoname/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels/Area:%20Test","name":"Area: Test","color":"b60205"}],"state":"open","locked":false,"assignee":{"login":"SatishThareja","id":15210210,"avatar_url":"https://avatars.githubusercontent.com/u/15210210?v=3","gravatar_id":"","url":"https://api.github.com/users/SatishThareja","html_url":"https://github.com/SatishThareja","followers_url":"https://api.github.com/users/SatishThareja/followers","following_url":"https://api.github.com/users/SatishThareja/following{/other_user}","gists_url":"https://api.github.com/users/SatishThareja/gists{/gist_id}","starred_url":"https://api.github.com/users/SatishThareja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatishThareja/subscriptions","organizations_url":"https://api.github.com/users/SatishThareja/orgs","repos_url":"https://api.github.com/users/SatishThareja/repos","events_url":"https://api.github.com/users/SatishThareja/events{/privacy}","received_events_url":"https://api.github.com/users/SatishThareja/received_events","type":"User","site_admin":false},"assignees":[{"login":"SatishThareja","id":15210210,"avatar_url":"https://avatars.githubusercontent.com/u/15210210?v=3","gravatar_id":"","url":"https://api.github.com/users/SatishThareja","html_url":"https://github.com/SatishThareja","followers_url":"https://api.github.com/users/SatishThareja/followers","following_url":"https://api.github.com/users/SatishThareja/following{/other_user}","gists_url":"https://api.github.com/users/SatishThareja/gists{/gist_id}","starred_url":"https://api.github.com/users/SatishThareja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatishThareja/subscriptions","organizations_url":"https://api.github.com/users/SatishThareja/orgs","repos_url":"https://api.github.com/users/SatishThareja/repos","events_url":"https://api.github.com/users/SatishThareja/events{/privacy}","received_events_url":"https://api.github.com/users/SatishThareja/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/milestones/6","html_url":"https://github.com/Microsoft/vsts-tasks/milestones/Dev15.Update1","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/milestones/6/labels","id":2072065,"number":6,"title":"Dev15.Update1","description":"","creator":{"login":"DavidStaheli","id":1767415,"avatar_url":"https://avatars.githubusercontent.com/u/1767415?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidStaheli","html_url":"https://github.com/DavidStaheli","followers_url":"https://api.github.com/users/DavidStaheli/followers","following_url":"https://api.github.com/users/DavidStaheli/following{/other_user}","gists_url":"https://api.github.com/users/DavidStaheli/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidStaheli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidStaheli/subscriptions","organizations_url":"https://api.github.com/users/DavidStaheli/orgs","repos_url":"https://api.github.com/users/DavidStaheli/repos","events_url":"https://api.github.com/users/DavidStaheli/events{/privacy}","received_events_url":"https://api.github.com/users/DavidStaheli/received_events","type":"User","site_admin":false},"open_issues":45,"closed_issues":1,"state":"open","created_at":"2016-10-15T20:03:52Z","updated_at":"2016-10-18T11:50:20Z","due_on":"2017-02-17T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-10-13T15:46:05Z","updated_at":"2016-10-18T16:03:41Z","closed_at":null,"body":"Hey there,\r\n\r\nwe are permanently running into test runs that get stuck. it happens quite randomly on different test machines, with different configurations. We had those exact same (virtual) machines running our tests with TFS 2012 in a lab environment just fine.\r\n\r\nlooking into DTAExecutionHost.exe.txt on the test machines, we always find this error message:\r\n\r\n> V, 1408, 101, 2016/10/13, 16:15:34.094, 62721708734, DTAExecutionHost.exe, TestRunRequest:SendTestRunMessage: Starting.\r\nI, 1408, 101, 2016/10/13, 16:15:34.094, TestMachineName\\DTAExecutionHost, DefaultTestRunEvenHandler.OnTestRunMessage : VstestAdapter.Execution - RunMessage : System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.\r\n\r\n> I, 1408, 101, 2016/10/13, 16:15:34.094, 62721710791, DTAExecutionHost.exe, TestRunRequest:SendTestRunMessage: Completed.\r\n\r\nFollowed by endless repeating entries like this.\r\n\r\n> V, 1408, 103, 2016/10/13, 16:16:00.688, TestMachineName\\DTAExecutionHost, TestExecutionServiceCommandQueueListener.DispatchAsync : Getting Command for Test Agent Microsoft.TeamFoundation.Test.WebApi.TestAgent\r\nWeb method running: [http://ourtfsadress:8080/tfs/DefaultCollection/_apis/test/Agents/1766/Commands/1] (GET)1[test]\r\nWeb method response: [http://ourtfsadress:8080/tfs/DefaultCollection/_apis/test/Agents/1766/Commands/1] (GET)1[test] 11 ms\r\nV, 1408, 106, 2016/10/13, 16:16:00.688, TestMachineName\\DTAExecutionHost, TestExecutionServiceCommandQueueListener:DispatchAsync\r\n\r\nAny more info that I should provide?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments/254555463","html_url":"https://github.com/Microsoft/vsts-tasks/issues/2872#issuecomment-254555463","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/2872","id":254555463,"user":{"login":"ffnoname","id":6808922,"avatar_url":"https://avatars.githubusercontent.com/u/6808922?v=3","gravatar_id":"","url":"https://api.github.com/users/ffnoname","html_url":"https://github.com/ffnoname","followers_url":"https://api.github.com/users/ffnoname/followers","following_url":"https://api.github.com/users/ffnoname/following{/other_user}","gists_url":"https://api.github.com/users/ffnoname/gists{/gist_id}","starred_url":"https://api.github.com/users/ffnoname/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffnoname/subscriptions","organizations_url":"https://api.github.com/users/ffnoname/orgs","repos_url":"https://api.github.com/users/ffnoname/repos","events_url":"https://api.github.com/users/ffnoname/events{/privacy}","received_events_url":"https://api.github.com/users/ffnoname/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T16:03:40Z","updated_at":"2016-10-18T16:03:40Z","body":"hey @SatishThareja. We were able to figure out 2 things:\r\n1.) System.AccessViolationException was caused by our code under test\r\n2.) was also happening with the old environment.\r\n\r\nThat being sad I think the real issue now is, that the System.AccessViolationException is not letting the test fail properly (in contrast to the old environment) but it somehow puts the test agent into an idle state that it does not come back from. Unfortunately I did not save any logs with that error message and now they have been overridden by new test results. We also have fixed the underlying problem in our code that was causing the Exception. If it comes back I will provide the logs."}}
{"actor":{"display_login":"ffnoname"}}