Are there errors in the cdash.log file?<div><br><br><div class="gmail_quote">On Tue, May 29, 2012 at 7:17 AM, Julien Jomier <span dir="ltr"><<a href="mailto:julien.jomier@kitware.com" target="_blank">julien.jomier@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Martin,<br>
<br>
Could you send me the XML files (maybe in private) so I can check if there is something wrong?<span class="HOEnZb"><font color="#888888"><br>
<br>
Julien</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 29/05/2012 11:41, Martin Apel wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Julien,<br>
<br>
the XML files I have submitted are visible in the backup directory.<br>
I have access to the database, so I checked the following:<br>
The submissions are visible in table 'submission'.<br>
I also found the build in table 'build', but there the start and end times<br>
are zero, so this seems to be the problem somehow.<br>
Then I checked the times in the submission table, which seem to be OK,<br>
but I assume that these are the submission start and end times, not the ones<br>
of the build or test. So it seems to me, that CDash does not accept my<br>
modified<br>
XML files.<br>
<br>
The relevant part of the Test.xml file is as follows:<br>
     BuildStamp="20120528-2200-<u></u>Nightly"<br>
     <StartDateTime>May 29 09:00 CEST</StartDateTime><br>
     <StartTestTime>1338274821</<u></u>StartTestTime><br>
     <EndDateTime>May 29 09:01 CEST</EndDateTime><br>
     <EndTestTime>1338274881</<u></u>EndTestTime><br>
<ElapsedMinutes>1.0</<u></u>ElapsedMinutes></Testing><br>
<br>
Is there anything else I need to adjust for CDash to accept it?<br>
<br>
Martin<br>
<br>
<br>
On 29/05/12 10:02, Julien Jomier wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Martin,<br>
<br>
Could you check the backup directory and see if you have any XML related<br>
to this submission? Do you have access to the database? You can look in<br>
the table build and see if the latest one is the one you just submitted.<br>
<br>
Julien<br>
<br>
On 29/05/2012 09:49, Martin Apel wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Julien,<br>
<br>
I finally got around to try out the approach we discussed.<br>
I adjusted the XML files as suggested and used the following CTest<br>
script to submit<br>
the files:<br>
<br>
SET (CTEST_SOURCE_DIRECTORY "/scratch/simbuild/s_9XXX_64/<u></u>develop")<br>
SET (CTEST_PROJECT_NAME "Test")<br>
SITE_NAME(CTEST_SITE)<br>
SET(CTEST_BUILD_NAME linux64-opt-Weekly)<br>
SET (CTEST_BINARY_DIRECTORY<br>
"/scratch/s_9XXX_64/dyn/<u></u>Weekly-opt64-120527-0830")<br>
SET (CTEST_TEST_TIMEOUT 3600)<br>
SET (CTEST_BUILD_COMMAND "make -i -j8")<br>
SET (CTEST_COVERAGE_COMMAND "gcov")<br>
SET (CTEST_CONFIGURE_COMMAND "cmake -DCMAKE_BUILD_TYPE=Release<br>
${CTEST_SOURCE_DIRECTORY}")<br>
ctest_start(Nightly)<br>
ctest_submit(FILES<br>
${CTEST_BINARY_DIRECTORY}/<u></u>Testing/20120526-2200/<u></u>Configure.xml<br>
<br>
${CTEST_BINARY_DIRECTORY}/<u></u>Testing/20120526-2200/Build.<u></u>xml<br>
                     ${CTEST_BINARY_DIRECTORY}/<u></u>Testing/20120526-2200/Test.<u></u>xml)<br>
<br>
Uploading the results seems to work. However I do not see anything on<br>
the Dashboard for these uploads.<br>
The monitor page shows the submissions for these three files, but I had<br>
the impression, that they weren't processed at all,<br>
because the server load did not rise for even a second.<br>
<br>
Do you have any idea, how I can find out, what went wrong?<br>
<br>
Martin<br>
<br>
<br>
<br>
On 21/03/12 16:27, Julien Jomier wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Martin,<br>
<br>
There is currently no way to make the test results visible for longer<br>
than 24h since this timeframe is hardcoded in CDash. It would require<br>
some efforts to make this configurable.<br>
<br>
It looks like the best option is to resubmit the test results every<br>
night and as you mentioned you would need to tweak the XML files. You<br>
will need to change the "BuildStamp" as well as the "StartDateTime" and<br>
"StartBuildTime" (and the corresponding EndDateTime and EndBuildTime).<br>
<br>
Hope that helps,<br>
Julien<br>
<br>
On 21/03/2012 15:26, Martin Apel wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
we are using weekly tests for long-running tests, which can only be<br>
carried out on weekends, not during our nightly builds.<br>
We start these tests on Saturday, but unfortunately test failures are<br>
regularly overseen, because CDash does not show the results<br>
on Monday anymore. The results are available for Sunday, but people tend<br>
to forget, they have to switch back to Sunday to see them.<br>
Is there any way to make test results visible for longer than one day?<br>
<br>
I also thought about resubmitting test results every night using a<br>
cronjob, but this would probably require some tweaking of the XML files,<br>
because they contain the build date. Would this be a possibility?<br>
<br>
Best Regards,<br>
<br>
Martin<br>
______________________________<u></u>_________________<br>
Cdash mailing list<br>
<a href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-<u></u>bin/mailman/listinfo/cdash</a><br>
<br>
</blockquote></blockquote>
<br>
</blockquote></blockquote>
<br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
Cdash mailing list<br>
<a href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-<u></u>bin/mailman/listinfo/cdash</a><br>
</div></div></blockquote></div><br></div>