# Failed tests not displayed

**URL:** https://www.finalbuilder.com/forums/t/failed-tests-not-displayed/5832
**Category:** Bugs
**Created:** [July 1, 2013, 12:06pm UTC](https://www.finalbuilder.com/forums/t/failed-tests-not-displayed/5832 "2013-07-01T12:06:55Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![christian.leh](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/67e7ee/32.png) [@christian.leh](https://www.finalbuilder.com/forums/u/christian.leh)
#### Post date: [July 1, 2013, 12:06pm UTC](https://www.finalbuilder.com/forums/t/failed-tests-not-displayed/5832/1 "2013-07-01T12:06:55Z")

</div>

Finally i was able to finish the setup of our build process.

Runs 2 times faster than FinalBuilder Server before. Thats good.

But now, i see that 125 tests failed but i cannot list them by pressing the "Failed" button on the "Unit Tests" tab.

If i click the "Total" or "Passed" one, everything is ok. Only "Failed" does not work. I get an empty list.

Changing the values of "Display By" doesn't help either.

Any ideas?

---

<div class="post-metadata">

### Author: ![davem](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@davem](https://www.finalbuilder.com/forums/u/davem)
#### Post date: [July 2, 2013, 1:23am UTC](https://www.finalbuilder.com/forums/t/failed-tests-not-displayed/5832/2 "2013-07-02T01:23:06Z")

</div>

Hi Christian,   
  
 can you check your Continua event log and see if any errors are being thrown when you try to access the failed tests? Also, can you send through some screenshots of the failed list so we can see what is going on? It may also be worth checking if any javascript errors are being thrown when you switch to the failed tests link

---

<div class="post-metadata">

### Author: ![christian.leh](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/67e7ee/32.png) [@christian.leh](https://www.finalbuilder.com/forums/u/christian.leh)
#### Post date: [July 2, 2013, 8:28am UTC](https://www.finalbuilder.com/forums/t/failed-tests-not-displayed/5832/3 "2013-07-02T08:28:12Z")

</div>

JavaScript is working fine. In the event log appear 520 errors 😄

Picking some of them point out show me: \<

UnitTests

NHibernate.Exceptions.GenericADOException: could not insert: Continua.Modules.Builds.UnitTests.UnitTest#d19b3b5b-3641-44b9-bfb6-a1ee017ae8c5  
SQL: INSERT INTO builds\_unittest (buildid, configurationid, stageid, assemblyname, namespace, fixture, name, messages, stacktrace, result, success, executed, testtime, hash, changed, isnew, shelved, firstfailedbuildid, firstfailedbuildversion, Id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)] —\> Npgsql.NpgsqlException: FEHLER: 23502: NULL-Wert in Spalte »namespace« verletzt Not-Null-Constraint   
 at Npgsql.NpgsqlState.\<ProcessBackendResponses\_Ver\_3\>d\_\_a.MoveNext()   
 at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject()   
 at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription()   
 at Npgsql.ForwardsOnlyDataReader.NextResult()   
 at Npgsql.ForwardsOnlyDataReader…ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) <br> at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) <br> at Npgsql.NpgsqlCommand.ExecuteNonQuery() <br> at NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery(IDbCommand cmd) <br> at NHibernate.AdoNet.NonBatchingBatcher.AddToBatch(IExpectation expectation) <br> at NHibernate.Persister.Entity.AbstractEntityPersister.Insert(Object id, Object&#91;&#93; fields, Boolean&#91;&#93; notNull, Int32 j, SqlCommandInfo sql, Object obj, ISessionImplementor session) <br> --- End of inner exception stack trace --- <br> at NHibernate.Persister.Entity.AbstractEntityPersister.Insert(Object id, Object&#91;&#93; fields, Boolean&#91;&#93; notNull, Int32 j, SqlCommandInfo sql, Object obj, ISessionImplementor session) <br> at NHibernate.Persister.Entity.AbstractEntityPersister.Insert(Object id, Object&#91;&#93; fields, Object obj, ISessionImplementor session) <br> at NHibernate.Impl.StatelessSessionImpl.Insert(String entityName, Object entity) <br> at NHibernate.Impl.StatelessSessionImpl.Insert(Object entity) <br> at Continua.Modules.Builds.UnitTests.UnitTestManager.RegisterUnitTests(Int32 buildId, Guid stageId, IList`1 unitTests, IEnumerable`1 metrics, Boolean updateMetrics)

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [July 2, 2013, 8:59am UTC](https://www.finalbuilder.com/forums/t/failed-tests-not-displayed/5832/4 "2013-07-02T08:59:43Z")

</div>

Hi Christian   
  
 What unit test framework are you using? Are you able to cut your unit tests project down to a single unit test that reproduces this error? It looks like our xml test parsing is failing to find a namespace for the tests.

---

<div class="post-metadata">

### Author: ![christian.leh](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/67e7ee/32.png) [@christian.leh](https://www.finalbuilder.com/forums/u/christian.leh)
#### Post date: [July 2, 2013, 9:15am UTC](https://www.finalbuilder.com/forums/t/failed-tests-not-displayed/5832/5 "2013-07-02T09:15:43Z")

</div>

we are using MSTest. Hm, we have 15 test projects, i need to have a look to find it out. Would the TRX file help you?

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [July 2, 2013, 9:26am UTC](https://www.finalbuilder.com/forums/t/failed-tests-not-displayed/5832/6 "2013-07-02T09:26:04Z")

</div>

Yes, can you send the trx file to support @ [finalbuilder.com](http://finalbuilder.com) - we can run through it with the debugger and see what is failing.

---

<div class="post-metadata">

### Author: ![christian.leh](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/67e7ee/32.png) [@christian.leh](https://www.finalbuilder.com/forums/u/christian.leh)
#### Post date: [July 2, 2013, 9:30am UTC](https://www.finalbuilder.com/forums/t/failed-tests-not-displayed/5832/7 "2013-07-02T09:30:59Z")

</div>

Done.

---

<div class="post-metadata">

### Author: ![davem](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@davem](https://www.finalbuilder.com/forums/u/davem)
#### Post date: [July 3, 2013, 2:46am UTC](https://www.finalbuilder.com/forums/t/failed-tests-not-displayed/5832/8 "2013-07-03T02:46:28Z")

</div>

Hi Christian,   
  
 We have fixed the issue with the failed tests not showing. Basically we had a bug in the way we were parsing the namespaces in mstests. This fix will be in the latest build which should be released this afternoon. Ill let you know when the latest build is released.

---

<div class="post-metadata">

### Author: ![christian.leh](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/67e7ee/32.png) [@christian.leh](https://www.finalbuilder.com/forums/u/christian.leh)
#### Post date: [July 3, 2013, 8:16am UTC](https://www.finalbuilder.com/forums/t/failed-tests-not-displayed/5832/9 "2013-07-03T08:16:29Z")

</div>

thank you. always very nice, fast support and fixes. good job. i hope continua will be what finalbuilder server never was 🙂

---

<div class="post-metadata">

### Author: ![davem](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@davem](https://www.finalbuilder.com/forums/u/davem)
#### Post date: [July 3, 2013, 9:08am UTC](https://www.finalbuilder.com/forums/t/failed-tests-not-displayed/5832/10 "2013-07-03T09:08:45Z")

</div>

Hey Christian, I have just uploaded the latest build (v1.0.0.2256) which includes the fix for your MStest issues. It is not yet live on the main site, instead you should use the links below.  
  
[64-bit server and agent installer](http://downloads.finalbuilder.com/downloads/continua/1.0/ContinuaCI.Server.Setup_x64_1.0.0.2256.exe)  
  
[32-bit server and agent installer](http://downloads.finalbuilder.com/downloads/continua/1.0/ContinuaCI.Server.Setup_1.0.0.2256.exe)

---

<div class="post-metadata">

### Author: ![christian.leh](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/67e7ee/32.png) [@christian.leh](https://www.finalbuilder.com/forums/u/christian.leh)
#### Post date: [July 3, 2013, 2:46am UTC](https://www.finalbuilder.com/forums/t/failed-tests-not-displayed/5832/11 "2013-07-03T02:46:46Z")

</div>

seems to work. no more errors in the event log.
