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

Notification

Icon
Error

Console tool, determine on which grid node a test failed on?
GreenMoose
#1 Posted : Thursday, June 21, 2018 10:18:04 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
I see test failures in build log, but how can I determine on what grid node test was executed on?
Code:

[12:00:33] :         [NUnitTests : XXX.Tests.NUnitTests.DALFixtures.GroupFixtures.SomeFixture.CanDoSomething] [Test Output]
at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update(ISessionFactory sessionFactory)
...
at XXX.Common.UnitTest.SchemaPreservingTestDbHelper.ResetDatabase(Boolean alwaysResetDb) in X:\Utils\XXX.Common.UnitTest\SchemaPreservingTestDbHelper.cs:line 37
at XXX.Common.UnitTest.PersistenceFixture.ResetDatabase(Boolean alwaysResetDb) in X:\Tests\XXX.Tests.BaseFixtures\PersistenceFixture.cs:line 541
at XXX.Common.UnitTest.PersistenceFixture.PersistenceFixtureSetUp() in X:\Tests\XXX.Tests.BaseFixtures\PersistenceFixture.cs:line 140


I see that grid nodes were used, earlier in the log, and later, but I guess the output between includes tests output both from (local) as well as grid nodes?
Code:

[12:00:33] :     [Step 6/8] [Core-37] Grid node algol.ls.local reports task completed: [LocalTestExecutionTask: [SnapshotComponent: NUnitTests, 4, 55591983], 2 test(s), NUnit, ProcessingSucceeded, NODE, adbeb1e1-e049-455b-9ae0-e1fcae72c171]


Thanks.
Remco
#2 Posted : Thursday, June 21, 2018 10:28:20 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,968

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
At the moment, this isn't being reported to TeamCity. It can be found by checking the results in the NCrunch HTML report instead.
Remco
#3 Posted : Wednesday, August 1, 2018 8:31:28 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,968

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
The just released v3.18 will now report the grid node used to execute the task to Team City.
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.021 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download