Daily Usage Issues

Console tool, determine on which grid node a test failed on?

Started by GreenMoose on 4,068 views

I see test failures in build log, but how can I determine on what grid node test was executed on?

[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?

[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.
At the moment, this isn't being reported to TeamCity. It can be found by checking the results in the NCrunch HTML report instead.
The just released v3.18 will now report the grid node used to execute the task to Team City.

Post a reply

Log in to reply.