<div dir="ltr">Dear Clint,<div><br></div><div><br></div><div>thanks, this resolved it!</div><div><br></div><div><br></div><div>Cheers,</div><div><br></div><div>Kristofer</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 15, 2015 at 5:46 PM, Clinton Stimpson <span dir="ltr"><<a href="mailto:clinton@elemtech.com" target="_blank">clinton@elemtech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Friday, May 15, 2015 04:24:35 PM Kristofer Tingdahl wrote:<br>
> Hi,<br>
><br>
> I have a CI which is reporting into a dashboard, and I want my users to get<br>
> an e-mail if they are causing a problem. The problem is that I cannot get<br>
> it working.<br>
><br>
> I have polluted cdash with add_log to understand what is happening. It<br>
> turns out that the SQL query in NNN, for instance:<br>
><br>
> SELECT author,email,committeremail FROM updatefile AS uf,build2update AS<br>
> b2u WHERE b2u.updateid=uf.updateid AND b2u.buildid='65962'<br>
><br>
><br>
> does never return anything. It turns out that the insert into the<br>
> "build2update" that associates the buildid with the update id comes later,<br>
> and at that point, no-one is checking if there should be e-mails sent.<br>
><br>
><br>
> From the ctest side, I see from the log that it alsways sends the Build<br>
> first, followed by the Configure, and last the Update xml files. Since the<br>
> insert into build2update comes at when the update is submitted, I tried to<br>
> reverse the order by having ctest_sumbit (PART ... ), but then I get<br>
> different build-numbers.<br>
><br>
> Any ideas on how to proceed?<br>
><br>
<br>
</span>You could first check to see if this covers your problem:<br>
<a href="https://public.kitware.com/Bug/view.php?id=15453" target="_blank">https://public.kitware.com/Bug/view.php?id=15453</a><br>
<br>
The debugging you are doing so far sounds much like the debugging I did a<br>
while back.<br>
<br>
Its a problem where users are subscribed to receive emails when their own<br>
commits cause problems. When users are subscribed to receive all emails, its<br>
not a problem.<br>
<br>
There is a link to a mailing list discussion about it as well.<br>
<br>
It has been resolved, and there is a fix posted on the mailing list.<br>
Which can be found here:<br>
<a href="https://github.com/Kitware/CDash/commit/d8d550e969173067d292db6e91bf9a0d9a4c6276" target="_blank">https://github.com/Kitware/CDash/commit/d8d550e969173067d292db6e91bf9a0d9a4c6276</a><br>
<br>
Clint<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div></div><div><table><tbody><tr><td><font face="sans-serif"><b>Dr. Kristofer Tingdahl</b></font></td></tr><tr><td><font face="sans-serif"><i>Chief Executive Officer</i></font></td></tr></tbody></table><font color="#48a830" face="sans-serif" style="font-size:20px"><b>______________________________</b></font><br><br><table><tbody><tr><td colspan="2"><font face="face="><b>dGB Earth Sciences</b></font></td></tr><tr><td><font face="sans-serif">Phone:</font></td><td><font face="sans-serif"><a style="color:rgb(17,85,204)">+31 53 4315155</a></font></td></tr><tr><td><font face="sans-serif">Skype:</font></td><td><font face="sans-serif">dgbtingdahl</font></td></tr><tr><td><font face="sans-serif">E-mail:</font></td><td><font face="sans-serif"><a href="mailto:kristofer.tingdahl@dgbes.com" style="color:rgb(17,85,204)" target="_blank">kristofer.tingdahl@dgbes.com</a></font></td></tr><tr><td><font face="sans-serif">Internet:</font></td><td><font face="sans-serif"><a href="http://dgbes.com/" style="color:rgb(17,85,204)" target="_blank">dgbes.com</a> & <a href="http://opendtect.org/" style="color:rgb(17,85,204)" target="_blank">opendtect.org</a></font></td></tr></tbody></table><font color="#48a830" face="sans-serif" style="font-size:20px"><b>______________________________</b></font><br><br></div></div></div>
</div>