This is a migrated thread and some comments may be shown as answers.

ThreadAbortException: Thread was being aborted when running on remote computer.

3 Answers 334 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anton
Top achievements
Rank 1
Anton asked on 23 Aug 2012, 02:00 PM

Hello.

i run my tests with jenkins configured building and running tests on remote computer.

tests all ok but each test throw exception

 

Internal error: An unhandled exception occurred.
The exception occurred while test step 'test10' was running.
System.Threading.ThreadAbortException: Thread was being aborted.
   at ArtOfTest.WebAii.Messaging.Process.BrowserRemoted.AsyncListenerThreadEntry()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

tests runs without exception on local computer.

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 28 Aug 2012, 02:48 PM
Hello Anton,

I apologize for the delay getting back to you. We don't have a Jenkins server setup to try and reproduce this. What sort of tests are you trying to run... coded unit tests or Test Studio tests (i.e. .tstest files)? What are you using for a test runner, ArtOfTest.Runner.exe or MSTest or something different? What happens if you try to manually execute your tests from the command line on the Jenkins server? Do you get a similar error?

Kind regards,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Anton
Top achievements
Rank 1
answered on 31 Aug 2012, 05:08 PM

I have coded ui tests using WebAii.

TestRunner: Gallio 3.3.1

if i manually start test on this machine, all good.

I point you that tests trow exception not on jenkins server but on jenkins SLAVE NODE.

I can try this scenario with TeamCity on remote agent on monday.

0
Cody
Telerik team
answered on 05 Sep 2012, 10:12 PM
Hello Anton,

Were you able to try TeamCity? Does that work any better than Jenkins?

Kind regards,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Anton
Top achievements
Rank 1
Answers by
Cody
Telerik team
Anton
Top achievements
Rank 1
Share this question
or