Wierd email notification when test fail on exxception

The following is anemail recieved from TeamCity when test fails on exception. Our opinion is, that is a bug in teamcity. It should just send an classic report in formated table(we use pretty email notifier). But we see that the email format is malformed. What do you think?



at oracle.dataaccess.client.oracleexception.handleerrorhelper(int32
errcode, oracleconnection conn, intptr opserrctx, oposqlvalctx*
poposqlvalctx, object src, string procedure, boolean bcheck)
   at
oracle.dataaccess.client.oracleexception.handleerror(int32 errcode,
oracleconnection conn, string procedure, intptr opserrctx, oposqlvalctx*
poposqlvalctx, object src, boolean bcheck)
   at
oracle.dataaccess.client.oraclecommand.executenonquery()
   at
ndbunit.oracleclient.oracleclientdboperation.enabledisabletableconstraints(string
enabledisable, datatable datatable, idbtransaction dbtransaction)
   at
ndbunit.oracleclient.oracleclientdboperation.enabletableconstraints(datatable
datatable, idbtransaction dbtransaction)
   at
ndbunit.core.dboperation.enablealltableconstraints(dataset dataset,
idbtransaction transaction)
   at ndbunit.core.dboperation.insert(dataset
ds, idbcommandbuilder dbcommandbuilder, idbtransaction dbtransaction)

   at ndbunit.core.ndbunittest.performdboperation(dboperationflag
dboperationflag)
   at
limits2.integrationtests.mapping.maptestbase.loadtestdata() in
d:\teamcityroot\teamcity\buildagent\work\6755296a870bbf4\limits2\limits2.integrationtests\mapping\maptestbase.cs:line
58
   at limits2.integrationtests.mapping.dbreadonlyhelperfixture.setup()
in
d:\teamcityroot\teamcity\buildagent\work\6755296a870bbf4\limits2\limits2.integrationtests\mapping\dbreadonlyhelperfixture.cs:line
19
   at limits2.integrationtests.mapping.dbreadonlyhelperfixture..ctor()
in
d:\teamcityroot\teamcity\buildagent\work\6755296a870bbf4\limits2\limits2.integrationtests\mapping\dbreadonlyhelperfixture.cs:line
26)
MIME-Version: 1.0
Content-Type: multipart/mixed;
           boundary="----=_Part_181_12857183.1343826277575"

------=_Part_181_12857183.1343826277575
Content-Type: multipart/related;
           boundary="----=_Part_182_142155.1343826277575"

------=_Part_182_142155.1343826277575
Content-Type: text/html; charset=Cp1250
Content-Transfer-Encoding: quoted-printable

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

<html><head>

<style>
=09body, td {
=09=09color:#3f3f3f;
=09=09font-family:tahoma,verdana,arial,sans-serif;
=09=09font-size:82%;
=09}

=09table {
=09  background-color: #fff;
=09  padding:0px;
=09  margin:0px;
=09  border:1px;
=09  border-color:#010101;
=09}

=09table.heading, tr.heading, td.heading {
=09  background-color: #E3E9EF;
=09  color: #101010;
=09  font-size:110%;
=09  padding:1px;
=09  margin:0px;
=09}

table.heading {
  margin-bottom: 1.5em;
}

=09td.heading a:link, td.heading a:hover, td.heading a:visited {
=09=09  color: #101010;
=09}
=09
=09td.heading a:link, td.heading a:visited {
=09  text-decoration:none;
=09}
=09
=09td.heading a:hover {
=09  text-decoration:underline;
=09}
=09
=09td.heading-link {
=09  text-align: right;
=09  font-weight: bold;
=09}

=09td.name { width:20%; }
=09td.value{ width:38%; }
=09td.valueWide ( width:76%; }
=09td {
=09=09  padding:0.25em;
=09=09  font-size:85%;
=09}

=09tr.changes td {
=09  font-weight: bold;
=09}

tr.changetop {
  background-color: #eee;
}

dd {
  margin-bottom: 0.5em;
  font-family:monospace;
}

.compiler-error {
  color:#D00000;
  /* display:inline; */
  font-family:monospace;
  white-space:normal;
}

ul.compile {
  list-style-image:none;
  list-style-position:outside;
  list-style-type:none;
  display: block;
}

</style></head>
<body>



<table width=3D95% class=3D"heading">
  <tr class=3Dheading>
    <td class=3Dheading> <img src=3D'cid:buildState000'> 
     <a href=3D"http://mis51:88/project.html?projectId=3Dproject6">Limits2<=
/a> -=20
     <a href=3D"http://mis51:88/viewType.html?buildTypeId=3Dbt7">Limits2</a=
> -=20
     <a href=3D"http://mis51:88/viewLog.html?buildId=3D314&buildTypeId=3Dbt=
7"># 184</a>
   </td>
  </tr>
  <tr class=3D"heading">
    <td class=3D"heading">
      <table width=3D100%>
  =09      <tr><td class=3Dname>Result:</td><td colspan=3D3 class=3DvalueWi=
de>Class failed: Limits2.IntegrationTests.Services.Change.ChangeSetDetailQu=
eryTests: Oracle.DataAccess.Client.OracleException : ORA-02298: cannot vali=
date (LIMITS2_DEV_CI.FK_PRODUCT_PRODUCT_TOLERANCE) - parent keys not found
   at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errC=
ode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, =
Object src, String procedure, Boolean bCheck)
   at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, O=
racleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOp=
oSqlValCtx, Object src, Boolean bCheck)
   at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
   at NDbUnit.OracleClient.OracleClientDbOperation.enableDisableTableConstr=
aints(String enableDisable, DataTable dataTable, IDbTransaction dbTransacti=
on)
   at NDbUnit.OracleClient.OracleClientDbOperation.EnableTableConstraints(D=
ataTable dataTable, IDbTransaction dbTransaction)
   at NDbUnit.Core.DbOperation.EnableAllTableConstraints(DataSet dataSet, I=
DbTransaction transaction)
   at NDbUnit.Core.DbOperation.Insert(DataSet ds, IDbCommandBuilder dbComma=
ndBuilder, IDbTransaction dbTransaction)
   at NDbUnit.Core.NDbUnitTest.PerformDbOperation(DbOperationFlag dbOperati=
onFlag)
   at Limits2.IntegrationTests.Mapping.MapTestBase.LoadTestData() in d:\Tea=
mCityRoot\TeamCity\buildAgent\work\6755296a870bbf4\Limits2\Limits2.Integrat=
ionTests\Mapping\MapTestBase.cs:line 58
   at Limits2.IntegrationTests.Mapping.DbReadOnlyHelperFixture.Setup() in d=
:\TeamCityRoot\TeamCity\buildAgent\work\6755296a870bbf4\Limits2\Limits2.Int=
egrationTests\Mapping\DbReadOnlyHelperFixture.cs:line 19
   at Limits2.IntegrationTests.Mapping.DbReadOnlyHelperFixture..ctor() in d=
:\TeamCityRoot\TeamCity\buildAgent\work\6755296a870bbf4\Limits2\Limits2.Int=
egrationTests\Mapping\DbReadOnlyHelperFixture.cs:line 26</td></tr>
        <tr><td class=3Dname>Time:</td><td class=3Dvalue>01 VIII 12 15:03 -=
15:04 (1m:14s)</td><td class=3Dname>Triggered:</td><td class=3Dvalue>Ond?e=
j Novotn=FD</td></tr>
        <tr><td class=3Dname>Changes:</td>
=09            <td class=3Dvalue>1 change</td>
=09  =09=09=09          <td class=3Dname>Agent:</td><td class=3Dvalue>MIS51=
</td></tr>
      =09  <tr>
=09            <td class=3Dname>Tests:</td>
=09            <td colspan=3D3 class=3DvalueWide>10 failed, 10 new, 8 passe=
d, 1 ignored=09</td>
=09      =09  </tr>
=09      =09</table>
=09    </td>
=09  </tr>
=09</table>
<table width=3D95% class=3D"heading">
  <tr class=3D"heading">
    <td class=3D"heading">Compilation Errors</td>
    <td class=3D"heading-link">
     =09 View build output: <a href=3D"http://mis51:88/viewLog.html?buildId=
=3D314&buildTypeId=3Dbt7&tab=3DbuildLog">short</a>
     =09  | <a href=3D"http://mis51:88/viewLog.html?buildId=3D314&buildType=
Id=3Dbt7&tab=3DbuildLog&all=3Dtrue">long</a>
    </td>
  </tr>
  <tr class=3D"heading">
    <td class=3D"heading" colspan=3D2>
      <table width=3D100%>
        <tr><td colspan=3D4>
        None
                </td></tr>
      </table>
            </td>
          </tr>
        </table>
=09=09=09=09<table width=3D95% class=3D"heading">
  <tr class=3Dheading>
    <td class=3Dheading>Tests - 10 failed,=20
10 new,=20
8 passed,=20
1 ignored
      (Only first 5 failed tests shown)
      </td>
    <td class=3D"heading-link">
     =09 <a href=3D"http://mis51:88/viewLog.html?buildId=3D314&buildTypeId=
=3Dbt7&tab=3DtestsInfo">View tests in TeamCity</a>
    </td>
  </tr>
  <tr class=3D"heading">
    <td class=3D"heading" colspan=3D2>
      <table width=3D100%>
        <tr><td colspan=3D4>
=09=09=09  =09=09=09  <dl>
                  <dt>
                   <img src=3D'cid:newTest000'> 
                <strong>ChangeSet mapping, ChangeSetMap > should lookup cha=
ngeset by id</strong> ()</dt><dd>Oracle.DataAccess.Client.OracleException&n=
bsp;ORA-02298: cannot validate (LIMITS2_DEV_CI.FK_PRODUCT_PR=
ODUCT_TOLERANCE) - parent keys not found &nbs=
p;  at Oracle.DataAccess.Client.OracleException.HandleErrorH=
elper(Int32 errCode, OracleConnection conn, IntPtr&nbsp=
;opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src,&nb=
sp;String procedure, Boolean bCheck)<br />
   at Oracle.DataAccess.Client.OracleException.HandleEr=
ror(Int32 errCode, OracleConnection conn, String p=
rocedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx=
, Object src, Boolean bCheck)<br />
   at Oracle.DataAccess.Client.OracleCommand.ExecuteNon=
Query()</dd>
                        <dt>
                   <img src=3D'cid:newTest000'> 
                <strong>ChangeSet mapping, ChangeSetMap > should lookup cha=
ngeset by number</strong> ()</dt><dd>Oracle.DataAccess.Client.OracleExcepti=
on ORA-02298: cannot validate (LIMITS2_DEV_CI.FK_PRODUC=
T_PRODUCT_TOLERANCE) - parent keys not found =
   at Oracle.DataAccess.Client.OracleException.HandleEr=
rorHelper(Int32 errCode, OracleConnection conn, IntPtr&=
nbsp;opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src=
, String procedure, Boolean bCheck)<br />
   at Oracle.DataAccess.Client.OracleException.HandleEr=
ror(Int32 errCode, OracleConnection conn, String p=
rocedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx=
, Object src, Boolean bCheck)<br />
   at Oracle.DataAccess.Client.OracleCommand.ExecuteNon=
Query()</dd>
                        <dt>
                   <img src=3D'cid:newTest000'> 
                <strong>Product mapping, ProductMap > should lookup cat pro=
duct by id</strong> ()</dt><dd>Oracle.DataAccess.Client.OracleException&nbs=
p;ORA-02298: cannot validate (LIMITS2_DEV_CI.FK_PRODUCT_PROD=
UCT_TOLERANCE) - parent keys not found  =
  at Oracle.DataAccess.Client.OracleException.HandleErrorHel=
per(Int32 errCode, OracleConnection conn, IntPtr o=
psErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src,&nbsp=
;String procedure, Boolean bCheck)<br />
   at Oracle.DataAccess.Client.OracleException.HandleEr=
ror(Int32 errCode, OracleConnection conn, String p=
rocedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx=
, Object src, Boolean bCheck)<br />
   at Oracle.DataAccess.Client.OracleCommand.ExecuteNon=
Query()</dd>
                        <dt>
                   <img src=3D'cid:newTest000'> 
                <strong>Product mapping, ProductMap > should lookup cat pro=
duct by name</strong> ()</dt><dd>Oracle.DataAccess.Client.OracleException&n=
bsp;ORA-02298: cannot validate (LIMITS2_DEV_CI.FK_PRODUCT_PR=
ODUCT_TOLERANCE) - parent keys not found &nbs=
p;  at Oracle.DataAccess.Client.OracleException.HandleErrorH=
elper(Int32 errCode, OracleConnection conn, IntPtr&nbsp=
;opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src,&nb=
sp;String procedure, Boolean bCheck)<br />
   at Oracle.DataAccess.Client.OracleException.HandleEr=
ror(Int32 errCode, OracleConnection conn, String p=
rocedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx=
, Object src, Boolean bCheck)<br />
   at Oracle.DataAccess.Client.OracleCommand.ExecuteNon=
Query()</dd>
                        <dt>
                   <img src=3D'cid:newTest000'> 
                <strong>Product mapping, ProductMap > should lookup ta prod=
uct by id</strong> ()</dt><dd>Oracle.DataAccess.Client.OracleException&nbsp=
;ORA-02298: cannot validate (LIMITS2_DEV_CI.FK_PRODUCT_PRODU=
CT_TOLERANCE) - parent keys not found  &=
nbsp; at Oracle.DataAccess.Client.OracleException.HandleErrorHelp=
er(Int32 errCode, OracleConnection conn, IntPtr op=
sErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, =
String procedure, Boolean bCheck)<br />
   at Oracle.DataAccess.Client.OracleException.HandleEr=
ror(Int32 errCode, OracleConnection conn, String p=
rocedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx=
, Object src, Boolean bCheck)<br />
   at Oracle.DataAccess.Client.OracleCommand.ExecuteNon=
Query()</dd>
                                                              </dl>
=09=09=09  =09        </td></tr>
      </table>
=09    </td>
=09  </tr>
=09</table>=09=09=09=09<table width=3D95% class=3D"heading">
  <tr class=3D"heading">
    <td class=3D"heading">Changes - There are 1 changes since the last succ=
essful build</td>
    <td class=3D"heading-link">
     =09 <a href=3D"http://mis51:88/viewLog.html?buildId=3D314&buildTypeId=
=3Dbt7&tab=3DbuildChangesDiv">View changes in TeamCity</a>
    </td>   =20
  </tr>
  <tr class=3D"heading">
    <td class=3D"heading" colspan=3D2>
      <table width=3D100%>
      <tr class=3D"changes"><td>User</td><td colspan=3D2>Description</td><t=
d>Revision</td></tr>
=09

        <tr class=3D"changetop"><td valign=3Dtop>novotnyo (1 files)</td><td=
colspan=3D2>zanaky komentaru /* nebo */  a -- na novy radek
</td><td>3635</td></tr>
          <tr><td></td><td colspan=3D3>db/testdata/test_definitions.sql</td=
></tr>
        </table>
=09    </td>
=09  </tr>
=09</table>
</body>
</html>
------=_Part_182_142155.1343826277575
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Disposition: inline
Content-ID: <buildState000>

R0lGODlhEAAQAOZ+AP6DXdnS1dKajeomAvXBvttaNblcWfEWAv2MacMJAf7OwcVdWs+2sdUKAf1+
W6sbF+YOAb0hG/5cLr0IAfMdAv1kN/5wRckKAfo2A94MAcWbnO0VAfnBvukNAdoMAc4JAcOcnawH
Afo/DuANAf/8/N/j6O8OAddlRd7h5tnZ3P51S/gnAs+/vfzRv9/k6dnc4M/Bv8+VhsycnOpdVf1O
HfgtAruFhv/Sv8+up+BvTP6jgtxPKf1QH/CSc9tbVfucf7AIAdt/ZNUgF/rBvtOFcfpNHPxKGtcT
AdfQ1P6aev1ADv6ylvtcMPGQb+tXLfyPb+1dM/GghPd3Tf3Iu9Cinvp4Tvc9DcgfF/s4BvNBE/3b
y/dpVfiggNC0rv6nh9uJbqshG9OKdfUnAtCQh/e2oP67pPvayv7Vyf/dzf6tkvyYfLEiG/jErv7D
rfrIs/7Ltv2Wdd0KAf7QxP6RceuYeeucfs+0r/vCvv6zm+ExBs+env/TwfubiPPBvuPp7////yH5
BAEAAH4ALAAAAAAQABAAAAfpgH6Cfi8sMScFYQwpg4MuMF9RbC0tZE05XSWODHVmN3hwCAAIVU4C
mn4wdFpoaWd/sBUSIgNUhEFue21PcrB/RlgrB0IBLD1vZV4OCr4YKxQmGTIxXEs6cxbMsDUHJh0j
Cyc/SQAqEmqwU9AdEHERBU8AFhU8DrB8B+wZDRFEUioVaCjBIIbCBggjPDS4YMAOFCZFRNTYcofD
jAwKP0zQkGJHFisFh5AgQaDBhwsJHiDxgyPPgIMcRhL4kGBCCBCCSow5MiLDDAJ9fNQMYQPFoBJ6
rlxYWhPIAxBGG/kJIGPBGjAGNKwcFAgAOw==
------=_Part_182_142155.1343826277575
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Disposition: inline
Content-ID: <newTest000>

R0lGODlhEAAQANU+AP/ae//Va7x9Qv/24dWPSZxbG9R6F7+ES9KTUrp8P65oJsWAP7ZwL96BIumQ
Kr5+Qs91E712MLtjDvHx9eLZ26NoMv/Tav+SJv/89/+PJv/MSf+2Mf/FUM5lCv+yVf/HUPKaM/Sn
N//45f/cnf/orf+oO+l9E/qNGf/z0f+TH//rtf/eiP/st/+0QP/14f+kQOuYLP/Ha//KUf/z0v/w
zv68a//y0P/MZP+LKv/irv/35vB6Ge2pTv/PU////wAAACH5BAEAAD4ALAAAAAAQABAAAAZpQJ9w
SCwaj8jh4ZAkIhwORFMYGeUiU1/DNWggCRKIATSw1QwQCYG42OgwopkKEODgFkVGiIZi0T8ZDEcP
MCR0PRcPSAI8KxYyGiUCSAoxNykmHi0KSAUvOxQUHScFSAkVE0ITFQlZrlNBADs=
------=_Part_182_142155.1343826277575--

------=_Part_181_12857183.1343826277575--

Please sign in to leave a comment.