[CMake] CTest 2.8.0 not reporting SVN Update failure to CDash

Rick Gould rick at transpireinc.com
Fri Jan 15 18:29:15 EST 2010


We had a situation where files were not being updated because the SVN
hostname was not in the hosts table, but that error was not submitted
by CTest as an Update failure to the CDash dashboard.  If this problem
recurs (or some other SVN Update failure), we'd like to see it
reported as an Update failure to the dashboard.

I haven't found any indication this is a known bug - Has anyone else
seen this problem?  Is there a work-around?  Or shall I go ahead and
file a bug report?

Details follow.

Thanks,

 - Rick Gould

-----

Here's the applicable part of our build log.  Note the "Update command failed":

-- Configuring done
-- Generating done
-- Build files have been written to:
/net/infinitron/scratch/regress/acurosbv/Release_gcc432_gfortran/build
Run ctest command: /usr/local/bin/ctest -D NightlyStart -D
NightlyUpdate -D NightlyConfigure -D NightlyBuild -D NightlyTest -D
NightlySubmit
   Site: infinitron
   Build name: Linux64_Release_gfortran
Determine Nightly Start Time
   Specified time: 00:00:00 PST
Create new tag: 20100115-0800 - Nightly
Updating the repository
   Updating the repository:
/global_scratch/regress/acurosbv/Release_gcc432_gfortran/source
   Use SVN repository type
   Old revision of repository is: 13886
Determine Nightly Start Time
   Specified time: 00:00:00 PST
   New revision of repository is: 13886
   Gathering version information (one . per revision):

   Update command failed: "/usr/bin/svn" "update" "--non-interactive"
"-r{2010-01-15 08:00:00 +0000}"
Configure project
   Each . represents 1024 bytes of output
    .... Size of output: 3K
Build project


-----

Here's the corresponding LastUpdate.log.  Note the "up-err> ssh:
gluon: Name or service not known":

--- Begin Cleanup ---
"/usr/bin/svn" "cleanup"
--- End Cleanup ---
"/usr/bin/svn" "info"
info-out> Path: .
info-out> URL: svn+ssh://gluon/radiative/svnrepository/trunk/acuros
info-out> Repository UUID: 8d87aed0-b509-0410-814d-bb6f83bfd053
info-out> Revision: 13886
info-out> Node Kind: directory
info-out> Schedule: normal
info-out> Last Changed Author: mcghee
info-out> Last Changed Rev: 13879
info-out> Last Changed Date: 2010-01-12 12:34:17 -0800 (Tue, 12 Jan 2010)
info-out> Properties Last Updated: 2009-12-17 11:26:45 -0800 (Thu, 17 Dec 2009)
info-out>
Revision before update: 13886
--- Begin Update ---
"/usr/bin/svn" "update" "--non-interactive" "-r{2010-01-15 08:00:00 +0000}"
up-err> ssh: gluon: Name or service not known
up-err> svn: Connection closed unexpectedly
--- End Update ---
"/usr/bin/svn" "info"
info-out> Path: .
info-out> URL: svn+ssh://gluon/radiative/svnrepository/trunk/acuros
info-out> Repository UUID: 8d87aed0-b509-0410-814d-bb6f83bfd053
info-out> Revision: 13886
info-out> Node Kind: directory
info-out> Schedule: normal
info-out> Last Changed Author: mcghee
info-out> Last Changed Rev: 13879
info-out> Last Changed Date: 2010-01-12 12:34:17 -0800 (Tue, 12 Jan 2010)
info-out> Properties Last Updated: 2009-12-17 11:26:45 -0800 (Thu, 17 Dec 2009)
info-out>
Revision after update: 13886
URL = svn+ssh://gluon/radiative/svnrepository/trunk/acuros
Root =
Base =
--- Begin Revisions ---
"/usr/bin/svn" "log" "--xml" "-v" "-r13886"
log-err> ssh: gluon: Name or service not known
log-err> svn: Connection closed unexpectedly
log-out> <?xml version="1.0" encoding="utf-8"?>
log-out> <log>
Error parsing svn log xml: no element found
"/usr/bin/svn" "status" "--non-interactive"
--- End Revisions ---


-----

Finally, here's the Update.xml submitted by CTest to CDash, which does
not include any indication that there was an Update error:

<?xml version="1.0" encoding="UTF-8"?>
<Update mode="Client" Generator="ctest-2.8.0">
        <Site>infinitron</Site>
        <BuildName>Linux64_Release_gfortran</BuildName>
        <BuildStamp>20100115-0800-Nightly</BuildStamp>
        <StartDateTime>Jan 15 01:10 PST</StartDateTime>
        <StartTime>1263546655</StartTime>
        <UpdateCommand>&quot;/usr/bin/svn&quot; &quot;update&quot;
&quot;--non-interactive&quot; &quot;-r{2010-01-15 08:00:00
+0000}&quot;</UpdateCommand>
        <UpdateType>SVN</UpdateType>
        <EndDateTime>Jan 15 01:10 PST</EndDateTime>
        <EndTime>1263546658</EndTime>
<ElapsedMinutes>0</ElapsedMinutes>
        <UpdateReturnStatus></UpdateReturnStatus>
</Update>
Update.xml

(END)


More information about the CMake mailing list