{"action":"created","issue":{"url":"https://api.github.com/repos/nunit/nunit/issues/2328","repository_url":"https://api.github.com/repos/nunit/nunit","labels_url":"https://api.github.com/repos/nunit/nunit/issues/2328/labels{/name}","comments_url":"https://api.github.com/repos/nunit/nunit/issues/2328/comments","events_url":"https://api.github.com/repos/nunit/nunit/issues/2328/events","html_url":"https://github.com/nunit/nunit/issues/2328","id":245171294,"number":2328,"title":"Test execution hangs without any progress.","user":{"login":"VHaravy","id":4202877,"avatar_url":"https://avatars2.githubusercontent.com/u/4202877?v=4","gravatar_id":"","url":"https://api.github.com/users/VHaravy","html_url":"https://github.com/VHaravy","followers_url":"https://api.github.com/users/VHaravy/followers","following_url":"https://api.github.com/users/VHaravy/following{/other_user}","gists_url":"https://api.github.com/users/VHaravy/gists{/gist_id}","starred_url":"https://api.github.com/users/VHaravy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VHaravy/subscriptions","organizations_url":"https://api.github.com/users/VHaravy/orgs","repos_url":"https://api.github.com/users/VHaravy/repos","events_url":"https://api.github.com/users/VHaravy/events{/privacy}","received_events_url":"https://api.github.com/users/VHaravy/received_events","type":"User","site_admin":false},"labels":[{"id":78332245,"url":"https://api.github.com/repos/nunit/nunit/labels/confirm","name":"confirm","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":{"login":"jnm2","id":8040367,"avatar_url":"https://avatars2.githubusercontent.com/u/8040367?v=4","gravatar_id":"","url":"https://api.github.com/users/jnm2","html_url":"https://github.com/jnm2","followers_url":"https://api.github.com/users/jnm2/followers","following_url":"https://api.github.com/users/jnm2/following{/other_user}","gists_url":"https://api.github.com/users/jnm2/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm2/subscriptions","organizations_url":"https://api.github.com/users/jnm2/orgs","repos_url":"https://api.github.com/users/jnm2/repos","events_url":"https://api.github.com/users/jnm2/events{/privacy}","received_events_url":"https://api.github.com/users/jnm2/received_events","type":"User","site_admin":false},"assignees":[{"login":"jnm2","id":8040367,"avatar_url":"https://avatars2.githubusercontent.com/u/8040367?v=4","gravatar_id":"","url":"https://api.github.com/users/jnm2","html_url":"https://github.com/jnm2","followers_url":"https://api.github.com/users/jnm2/followers","following_url":"https://api.github.com/users/jnm2/following{/other_user}","gists_url":"https://api.github.com/users/jnm2/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm2/subscriptions","organizations_url":"https://api.github.com/users/jnm2/orgs","repos_url":"https://api.github.com/users/jnm2/repos","events_url":"https://api.github.com/users/jnm2/events{/privacy}","received_events_url":"https://api.github.com/users/jnm2/received_events","type":"User","site_admin":false}],"milestone":null,"comments":23,"created_at":"2017-07-24T18:38:40Z","updated_at":"2017-11-17T03:39:03Z","closed_at":null,"author_association":"NONE","body":"Recently we started encountering strange issues with our NUnit tests. In the middle of the execution, progress stops. If we attach to the application we see that no test is actually executed - NUnit just waits for the previous test to finish and apparently there is no one to signal that. After some investigation, we believe this is due to the following exception that we keep encountering:\r\n\r\n````\r\nSystem.Threading.ThreadAbortException occurred\r\n  HResult=-2146233040\r\n  Message=Thread was being aborted.\r\n  Source=nunit.framework\r\n  StackTrace:\r\n       at NUnit.Framework.Internal.TestExecutionContext.get_ExecutionStatus() in C:\\Sources\\NUnit\\src\\NUnitFramework\\framework\\Internal\\TestExecutionContext.cs:line 275\r\n  InnerException: \r\n````\r\n\r\nThe stack trace for this exception is as follows:\r\n\r\n````\r\n>\tnunit.framework.dll!NUnit.Framework.Internal.TestExecutionContext.ExecutionStatus.get() Line 277\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.TestExecutionContext.ExecutionStatus.get() Line 275\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.TestExecutionContext.ExecutionStatus.get() Line 275\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.TestExecutionContext.ExecutionStatus.get() Line 275\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.TestExecutionContext.ExecutionStatus.get() Line 275\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.CompositeWorkItem.CheckForCancellation() Line 145\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.CompositeWorkItem.RunChildren() Line 274\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.CompositeWorkItem.PerformWork() Line 100\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.WorkItem.RunOnCurrentThread() Line 442\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.WorkItem.Execute() Line 226\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.SimpleWorkItemDispatcher.Dispatch(NUnit.Framework.Internal.Execution.WorkItem work) Line 75\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.CompositeWorkItem.RunChildren() Line 285\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.CompositeWorkItem.PerformWork() Line 100\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.WorkItem.RunOnCurrentThread() Line 442\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.WorkItem.Execute() Line 226\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.SimpleWorkItemDispatcher.Dispatch(NUnit.Framework.Internal.Execution.WorkItem work) Line 75\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.CompositeWorkItem.RunChildren() Line 285\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.CompositeWorkItem.PerformWork() Line 100\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.WorkItem.RunOnCurrentThread() Line 442\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.WorkItem.Execute() Line 226\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.SimpleWorkItemDispatcher.Dispatch(NUnit.Framework.Internal.Execution.WorkItem work) Line 75\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.CompositeWorkItem.RunChildren() Line 285\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.CompositeWorkItem.PerformWork() Line 100\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.WorkItem.RunOnCurrentThread() Line 442\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.WorkItem.Execute() Line 226\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.SimpleWorkItemDispatcher.Dispatch(NUnit.Framework.Internal.Execution.WorkItem work) Line 75\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.CompositeWorkItem.RunChildren() Line 285\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.CompositeWorkItem.PerformWork() Line 100\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.WorkItem.RunOnCurrentThread() Line 442\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.WorkItem.Execute() Line 226\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.SimpleWorkItemDispatcher.Dispatch(NUnit.Framework.Internal.Execution.WorkItem work) Line 75\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.CompositeWorkItem.RunChildren() Line 285\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.CompositeWorkItem.PerformWork() Line 100\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.WorkItem.RunOnCurrentThread() Line 442\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.WorkItem.Execute() Line 226\tC#\r\n \tnunit.framework.dll!NUnit.Framework.Internal.Execution.SimpleWorkItemDispatcher.RunnerThreadProc() Line 81\tC#\r\n \tmscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state)\tUnknown\r\n \tmscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)\tUnknown\r\n \tmscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)\tUnknown\r\n \tmscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state)\tUnknown\r\n \tmscorlib.dll!System.Threading.ThreadHelper.ThreadStart()\tUnknown\r\n \t[Native to Managed Transition]\t\r\n````\r\n\r\nWe are using custom built NUnit framework in order to be able to debug it. Any suggestions would be much appreciated. We are ready to do some work ourselves - just need some pointers on what might be the issue. The whole setup is rather complex, event the test causing the hang is different every time."},"comment":{"url":"https://api.github.com/repos/nunit/nunit/issues/comments/345136693","html_url":"https://github.com/nunit/nunit/issues/2328#issuecomment-345136693","issue_url":"https://api.github.com/repos/nunit/nunit/issues/2328","id":345136693,"user":{"login":"CharliePoole","id":2678661,"avatar_url":"https://avatars2.githubusercontent.com/u/2678661?v=4","gravatar_id":"","url":"https://api.github.com/users/CharliePoole","html_url":"https://github.com/CharliePoole","followers_url":"https://api.github.com/users/CharliePoole/followers","following_url":"https://api.github.com/users/CharliePoole/following{/other_user}","gists_url":"https://api.github.com/users/CharliePoole/gists{/gist_id}","starred_url":"https://api.github.com/users/CharliePoole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CharliePoole/subscriptions","organizations_url":"https://api.github.com/users/CharliePoole/orgs","repos_url":"https://api.github.com/users/CharliePoole/repos","events_url":"https://api.github.com/users/CharliePoole/events{/privacy}","received_events_url":"https://api.github.com/users/CharliePoole/received_events","type":"User","site_admin":false},"created_at":"2017-11-17T03:39:03Z","updated_at":"2017-11-17T03:39:03Z","author_association":"OWNER","body":"@jnm2 What? Did you mean this for a different issue?"}}
{"actor":{"display_login":"CharliePoole"}}