<HTML>
<HEAD>
<TITLE>Re: [CMake] Submitting build and test results to dashboard separately</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Done. &nbsp;Thanks.<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><a href="http://www.paraview.org/Bug/view.php?id=10060">http://www.paraview.org/Bug/view.php?id=10060</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
-Ken<BR>
<BR>
<BR>
On 12/17/09 6:49 AM, &quot;David Cole&quot; &lt;<a href="david.cole@kitware.com">david.cole@kitware.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>This sounds like we need to change ctest such that you can do a submit in an &quot;already ctest_start()-ed&quot; tree without getting the error.<BR>
<BR>
Your first instinct, to try leaving off the ctest_start() in the 2nd script sounds completely reasonable to me.<BR>
<BR>
If you are running multiple scripts sequentially, there's no good reason I can think of that the 2nd and later scripts can't reuse the TAG from the first ctest_start call.<BR>
<BR>
Can you submit a bug to the bug tracker requesting this ability...?<BR>
<BR>
<BR>
Thanks,<BR>
David<BR>
<BR>
<BR>
On Thu, Dec 17, 2009 at 8:37 AM, Moreland, Kenneth &lt;<a href="kmorel@sandia.gov">kmorel@sandia.gov</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>No.  That does not help.  I still get two entries on the dashboard.  Is there anything else I can do?<BR>
<BR>
-Ken<BR>
<BR>
<BR>
<BR>
On 12/16/09 2:38 PM, &quot;Alexander Neundorf&quot; &lt;<a href="a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a> &lt;<a href="http://a.neundorf-work@gmx.net">http://a.neundorf-work@gmx.net</a>&gt; &gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>On Wednesday 16 December 2009, Moreland, Kenneth wrote:<BR>
&gt; I am setting up a ParaView dashboard for a cluster in which I have to<BR>
&gt; compile on one computer and then submit a job to run parallel tests on<BR>
&gt; another computer. This means I have to run one dashboard script to update<BR>
&gt; and build the code.  At the end of this script I submit a parallel job to<BR>
&gt; run the tests.  The problem I am having is that I cannot seem to submit the<BR>
&gt; results to the dashboard in such a way that I get both the build and test<BR>
&gt; information on the same entry.<BR>
&gt;<BR>
&gt; My current configuration is as follows.  To update, configure, and build<BR>
&gt; the latest version I have a CTest script like the following:<BR>
&gt;<BR>
&gt; -Setup CMake variables-<BR>
...<BR>
&gt; I am sure that the CMake variables are setup the same in both the build and<BR>
&gt; test scripts; I am actually using the same script to setup both.<BR>
&gt;<BR>
&gt; Now here is the problem: each of the CTEST_SUBMIT()  create their own entry<BR>
&gt; in the dashboard.  The first one creates one that reports on the build but<BR>
&gt; is missing the test information.  The second one has the results of the<BR>
&gt; test but has bogus information for the build.  Does anyone know how to get<BR>
&gt; the the second submit to simply add the test information to the existing<BR>
&gt; build information?  I tried simply removing the CTEST_START command from<BR>
&gt; the test script, but in that case the submission fails outright.  I get<BR>
&gt; output like the following:<BR>
&gt;<BR>
&gt; Test project /home/kmorel/dashboard/builds/ParaView3Experimental<BR>
&gt; Cannot create directory /Testing/Temporary<BR>
&gt; Cannot create log file: LastTest.log<BR>
&gt;     Start 1: QVTK-TestQtInitialization<BR>
&gt; 1/1 Test #1: QVTK-TestQtInitialization ........   Passed    9.38 sec<BR>
&gt;<BR>
&gt; 100% tests passed, 0 tests failed out of 1<BR>
&gt;<BR>
&gt; Total Test time (real) =  11.53 sec<BR>
&gt; Cannot create directory /Testing<BR>
&gt; Cannot open notes file<BR>
&gt;    Use HTTP Proxy: wwwproxy.sandia.gov:80 &lt;<a href="http://wwwproxy.sandia.gov:80">http://wwwproxy.sandia.gov:80</a>&gt; <BR>
&gt; Cannot create directory /Testing/Temporary<BR>
&gt; Cannot create log file: LastSubmit.log<BR>
&gt; Submit files (using http)<BR>
&gt;    Using HTTP submit method<BR>
&gt;    Drop site:<a href="http://">http://</a><BR>
&gt;    Submission successful<BR>
&gt; Error in read script:<BR>
&gt; /home/kmorel/dashboard/scripts/ParaView3Experimental.cmake<BR>
&gt;<BR>
&gt; Any ideas?<BR>
&gt;<BR>
<BR>
Does CTEST_SUBMIT(PARTS ... ) what you want ?<BR>
It's here under &quot;CDash Subprojects&quot; :<BR>
<a href="http://www.kitware.com/products/archive/kitware_quarterly0709.pdf">http://www.kitware.com/products/archive/kitware_quarterly0709.pdf</a><BR>
<BR>
Alex<BR>
_______________________________________________<BR>
Powered by www.kitware.com &lt;<a href="http://www.kitware.com">http://www.kitware.com</a>&gt; <BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
<BR>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
   ****      Kenneth Moreland<BR>
    ***      Sandia National Laboratories<BR>
***********  <BR>
*** *** ***  email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a> &lt;<a href="http://kmorel@sandia.gov">http://kmorel@sandia.gov</a>&gt; <BR>
**  ***  **  phone: (505) 844-8919<BR>
    ***      web:   <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
_______________________________________________<BR>
Powered by www.kitware.com &lt;<a href="http://www.kitware.com">http://www.kitware.com</a>&gt; <BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
<BR>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
*********** &nbsp;<BR>
*** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>