Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Never ending test execution
BohumilJanda
#1 Posted : Wednesday, May 16, 2012 1:01:12 PM(UTC)
Rank: Member

Groups: Registered
Joined: 5/16/2012(UTC)
Posts: 13
Location: Litoměřice

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
Thank you for the great tool, that NCrunch really is.

But on both my machines the versions >= 38 (v37 is fine) show strange behavior.
Passing tests work well, but failing tests and tests passing with expected exception thrown, seems to never finish ("Running (First time run), Impacted").
So I never see any red marked coverage.

I think the relevant part of the log is (inconclusive test, but same result with other failing asserts):

Code:

Process 5768: 14:36:12.0814 - 10 MSTest Exception was thrown: Microsoft.VisualStudio.TestTools.UnitTesting.AssertInconclusiveException: Assert.Inconclusive failed. Matrix4 unit tests
Process 5768: v Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Inconclusive(String message, Object[] parameters)
Process 5768: v Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Inconclusive(String message)
Process 5768: v CADTeam.Isometric.Math_ToDoList.Math_Matrix_Tests() v D:\Isometric\Source.9.6\Isometric.Math_Test\ToDoList.cs:řádek 37
Process 5768: 14:36:12.0814 - System.ArgumentOutOfRangeException: Délka nemůže být menší než nula.
Process 5768: Název parametru: length
Process 5768: v System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
Process 5768: v nCrunch.TestExecution.ParsedException.#=qQbvnheWkBQFqDpTCtIFX9QtnTxhWxvCXmzx0Noz2cEg=(String #=qj7ubCJxBxzu_C2uSb6yIWwLNdTghdW7v4RVeqmXdS5w=, TestId #=qvf5uddLkvGHSS07FG2d7XA==)
Process 5768: v #=q4iEciqKEn0_pHtIeIlpQ6Hy1T8EODdmBUofvxsJFQAFcSGkUq$eqBX6XKe5AK2j4.#=qnFkBrVbPoh2xSNeWbEPVYA==(Boolean #=qQVMaxpcOq$5gOFGeybRa9A==, String #=qgV4gAYUP7OmC4p9RfhTK27Q0vN0IPzCdKR8yPqYy$GM=, TimeSpan #=qOPjxXvwV9XDUk1dfApFOMg==)
Process 5768: v #=q92eHOlQ2c_aLmKpJyKRTuUNKNXlkkzPlj7VL7fNaNsOv_KFccu3hIEwurrsyyCDP3ma8PwfMMfiHBf4pC5r6og==.#=qlPmuFo$pff8g9bW4aecn6A==(#=qvc18cdiL6yc1aJ5xHIj4dwAUSRDRq9PMKupgWms3hn0ZxFzRoN2LBnpS8jcqu884IiatOUBTcX3kxgN800g7Bw== #=qrjyEzpqMKi8iwT3g5bWbeA==)
Process 5768: v #=qRAvNqOfGW_gDnGlLan6s3S7xkR$sLLSeQJY8YpauNV5WjzVNCNpK9NdlCXq7M4kg5SL7mJdua0SSDR9dzpDOGQ==.#=q57Bn5_2lsPRPKwGb7j3AIjoCvp17k$GKkJ5fnSc9$ZM=(IList`1 #=qJGShiJNhf30EEqwX7TOqCw==, TestOutput #=qs91PSQ1u9f5xFsSJl5BFQA==)
Process 5768: v #=qRAvNqOfGW_gDnGlLan6s3S7xkR$sLLSeQJY8YpauNV5WjzVNCNpK9NdlCXq7M4kg5SL7mJdua0SSDR9dzpDOGQ==.#=q9trkZF2onfp$xf8tFBHA5g==(IList`1 #=qV2wQa28lJiLu3fWFbmulSw==, TestOutput #=qhuEpPoeE0eDtTCK7lC09tA==)
Process 5768: v nCrunch.TestExecution.Frameworks.MSTest.MSTestFramework.#=q2XKgKXNsGmbzK9IM7qoeWNPf$8HFliaAv4IMD7w14LM=.#=qGMR7Sjgu9aKXlSqEdKfmrQ==()
Process 5768: v #=qB8X_z5RT_Njd_dT1gO94_h9hW41kYhoPmj6SOQJ27rQdHMpYLMvIlvJ_6FI8qQ6k.#=qsFOJMHUNaNySUqAnDJhGodvs7LhVnUA86G2$KLTA7ao=(Action #=qe6PF5ZjA$EwiKzi4h$iXka5Q84b7bGM4J1y6fP6feBc=)
Process 5768: v nCrunch.TestExecution.Frameworks.MSTest.MSTestFramework.RunTests(TestOutput output, IList`1 testsToRun, TestExecutionMapSet testMapSet, Boolean considerInconclusiveTestsAsPassing)
Process 5768: v nCrunch.TestExecution.TestRunnerThread.#=q4repr3Wd8XZErk7WzkV51Q==(ComponentTestExecutionMap[] #=q6nzpvewP3qsR3UJ9T_X3_4iRoYowhuAkDKFgmllhRvA=, IList`1 #=qpDwW8juuukm_mvBH8kK3$A==, Boolean #=qXCecC8qhXzbJ67h8KZxBQpGHtIA726WCxuf9LQV2$XOuvYpsNyYtIMOkoaBhDM4y)
Process 5768:
[14:36:12.0814-TestExecutionTask-41] ERROR (Internal): System.ArgumentOutOfRangeException: Délka nemůže být menší než nula.
Název parametru: length
v System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
v nCrunch.TestExecution.ParsedException.#=qQbvnheWkBQFqDpTCtIFX9QtnTxhWxvCXmzx0Noz2cEg=(String #=qj7ubCJxBxzu_C2uSb6yIWwLNdTghdW7v4RVeqmXdS5w=, TestId #=qvf5uddLkvGHSS07FG2d7XA==)
v #=q4iEciqKEn0_pHtIeIlpQ6Hy1T8EODdmBUofvxsJFQAFcSGkUq$eqBX6XKe5AK2j4.#=qnFkBrVbPoh2xSNeWbEPVYA==(Boolean #=qQVMaxpcOq$5gOFGeybRa9A==, String #=qgV4gAYUP7OmC4p9RfhTK27Q0vN0IPzCdKR8yPqYy$GM=, TimeSpan #=qOPjxXvwV9XDUk1dfApFOMg==)
v #=q92eHOlQ2c_aLmKpJyKRTuUNKNXlkkzPlj7VL7fNaNsOv_KFccu3hIEwurrsyyCDP3ma8PwfMMfiHBf4pC5r6og==.#=qlPmuFo$pff8g9bW4aecn6A==(#=qvc18cdiL6yc1aJ5xHIj4dwAUSRDRq9PMKupgWms3hn0ZxFzRoN2LBnpS8jcqu884IiatOUBTcX3kxgN800g7Bw== #=qrjyEzpqMKi8iwT3g5bWbeA==)
v #=qRAvNqOfGW_gDnGlLan6s3S7xkR$sLLSeQJY8YpauNV5WjzVNCNpK9NdlCXq7M4kg5SL7mJdua0SSDR9dzpDOGQ==.#=q57Bn5_2lsPRPKwGb7j3AIjoCvp17k$GKkJ5fnSc9$ZM=(IList`1 #=qJGShiJNhf30EEqwX7TOqCw==, TestOutput #=qs91PSQ1u9f5xFsSJl5BFQA==)
v #=qRAvNqOfGW_gDnGlLan6s3S7xkR$sLLSeQJY8YpauNV5WjzVNCNpK9NdlCXq7M4kg5SL7mJdua0SSDR9dzpDOGQ==.#=q9trkZF2onfp$xf8tFBHA5g==(IList`1 #=qV2wQa28lJiLu3fWFbmulSw==, TestOutput #=qhuEpPoeE0eDtTCK7lC09tA==)
v nCrunch.TestExecution.Frameworks.MSTest.MSTestFramework.#=q2XKgKXNsGmbzK9IM7qoeWNPf$8HFliaAv4IMD7w14LM=.#=qGMR7Sjgu9aKXlSqEdKfmrQ==()
v #=qB8X_z5RT_Njd_dT1gO94_h9hW41kYhoPmj6SOQJ27rQdHMpYLMvIlvJ_6FI8qQ6k.#=qsFOJMHUNaNySUqAnDJhGodvs7LhVnUA86G2$KLTA7ao=(Action #=qe6PF5ZjA$EwiKzi4h$iXka5Q84b7bGM4J1y6fP6feBc=)
v nCrunch.TestExecution.Frameworks.MSTest.MSTestFramework.RunTests(TestOutput output, IList`1 testsToRun, TestExecutionMapSet testMapSet, Boolean considerInconclusiveTestsAsPassing)
v nCrunch.TestExecution.TestRunnerThread.#=q4repr3Wd8XZErk7WzkV51Q==(ComponentTestExecutionMap[] #=q6nzpvewP3qsR3UJ9T_X3_4iRoYowhuAkDKFgmllhRvA=, IList`1 #=qpDwW8juuukm_mvBH8kK3$A==, Boolean #=qXCecC8qhXzbJ67h8KZxBQpGHtIA726WCxuf9LQV2$XOuvYpsNyYtIMOkoaBhDM4y)

[14:36:12.0814-TestExecutionTask-41] Storing process 5768 in pool
[14:36:12.0814-TestExecutionTask-41] Task processing complete for [TestExecutionTask: [SnapshotComponent: Isometric.Math_Test, 13, 66149674], 1 test(s), MSTest, BeingProcessed], processing time: 00:00:00


Box1: Windows 7 64b, Czech
Box2: Vista 32b, Czech
Project/IDE: VS2010.SP1 Professional, MS test, C#

I hope that helps.
Remco
#2 Posted : Wednesday, May 16, 2012 11:25:50 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,143

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi -

Thanks for reporting this problem. It looks to me like this is a localization issue where NCrunch is having difficulty parsing Czech exception strings. I'll see what I can do about getting this fixed in a future revision.


Cheers,

Remco
Remco
#3 Posted : Wednesday, May 23, 2012 11:56:23 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,143

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
I've created a development build to specifically fix this problem (and other problems related to non-english language packs). You can grab it from the download links below:

http://files.ncrunch.net...runch_VS2008_1.40.1b.msi
http://files.ncrunch.net...runch_VS2010_1.40.1b.msi
http://files.ncrunch.net...runch_VS2011_1.40.1b.msi

Note that this fix will also be included in all NCrunch versions from 1.40 onwards.
1 user thanked Remco for this useful post.
BohumilJanda on 5/24/2012(UTC)
BohumilJanda
#4 Posted : Thursday, May 24, 2012 9:54:41 AM(UTC)
Rank: Member

Groups: Registered
Joined: 5/16/2012(UTC)
Posts: 13
Location: Litoměřice

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
Thank you, I tried it right away and it seems to work.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.036 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download