<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Julien found the reason: There was a typo in one of the adjusted XML
    files, so it was rejected by CDash, unfortunately without any error
    message<br>
    in the logs. Now I can continue to automate the process by creating
    a script, which does the necessary steps every night.<br>
    <br>
    Thanks again,<br>
    <br>
    Martin<br>
    <br>
    On 29/05/12 15:20, David Cole wrote:
    <blockquote
cite="mid:CAAdwe9Wy3FK2ibgqVnxTAjh=PA2zs7s=f7XD68Xkd-gu+9m9mw@mail.gmail.com"
      type="cite">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 moz-do-not-send="true"
              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-Nightly"<br>
                      <StartDateTime>May 29 09:00
                  CEST</StartDateTime><br>
                      <StartTestTime>1338274821</StartTestTime><br>
                      <EndDateTime>May 29 09:01
                  CEST</EndDateTime><br>
                      <EndTestTime>1338274881</EndTestTime><br>
                  <ElapsedMinutes>1.0</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/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/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}/Testing/20120526-2200/Configure.xml<br>
                      <br>
                      ${CTEST_BINARY_DIRECTORY}/Testing/20120526-2200/Build.xml<br>
                                          ${CTEST_BINARY_DIRECTORY}/Testing/20120526-2200/Test.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>
                          _______________________________________________<br>
                          Cdash mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:Cdash@public.kitware.com"
                            target="_blank">Cdash@public.kitware.com</a><br>
                          <a moz-do-not-send="true"
                            href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash"
                            target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cdash</a><br>
                          <br>
                        </blockquote>
                      </blockquote>
                      <br>
                    </blockquote>
                  </blockquote>
                  <br>
                  <br>
                </blockquote>
                _______________________________________________<br>
                Cdash mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a><br>
                <a moz-do-not-send="true"
                  href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash"
                  target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cdash</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <tt><br>
    </tt>
    <div class="moz-signature">-- <br>
      <pre>Martin Apel                                    
Software Architect                              
Phone:   + 49 8105 77266-53
E-Mail:  <a class="moz-txt-link-abbreviated" href="mailto:martin.apel@simpack.de">martin.apel@simpack.de</a>

SIMPACK AG
Friedrichshafener Strasse 1, 82205 Gilching, Germany
<a class="moz-txt-link-abbreviated" href="mailto:info@simpack.de">info@simpack.de</a>, <a class="moz-txt-link-abbreviated" href="http://www.simpack.com">www.simpack.com</a>
Phone: + 49 8105 77266-0
Fax:   + 49 8105 77266-11


Executive Board: Dr. Alexander Eichberger, Dr. Lutz Mauer
Chair of Supervisory Board: Silvia Förster (CPA)
Commercial Register München HRB 181 229
</pre>
    </div>
  </body>
</html>