[CMake] CTest with SCP on Windows

Andy Cedilnik andy.cedilnik at kitware.com
Fri Jun 17 10:42:10 EDT 2005


Hi Brad,

Could you send me your DartConfiguration.tcl. You can extract the
relevant lines.

Thank you.

       Andy

Bradley Lowekamp wrote:

> Ok, I got my ctest script to what I thought was working on windows,
> but  I ran again into some problems with the scp submission. I am
> using  cygwins ssh/scp and I have the keys enables so I don't have to
> type in  a password. So that is working there. This is the output:
>
> Submit files (using scp)
> Execute "C:/cygwin/bin/scp.exe" ""C:\Documents and 
> Settings\blowekamp\My Documen
> ts\Dart\build\Testing\20050616-0600\Configure.xml"" "blowek1 at sercer:/v
> ar/dart_incoming/client___Win32-vs7net___20050616-0600-
> Nightly___XML___Config
> ure.xml"
> ssh: C scp \\Documents and Settings\\blowekamp\\My 
> Documents\\Dart\\build\\Testi
> ng\\20050616-0600\\Configure.xml: no address associated with name
>         SCP returned: 1
> Execute "C:/cygwin/bin/scp.exe" ""C:\Documents and 
> Settings\blowekamp\My Documen
> ts\Dart\build\Testing\20050616-0600\Build.xml"" "blowek1 at server:/var/d
> art_incoming/client___Win32-vs7net___20050616-0600-
> Nightly___XML___Build.xml"
>
> At this point it appears to hang. There appears to be too may quotes 
> there! But that does not explain why it hangs. I think this version
> of  cmake is from the 10th of this month.
>
> Should I just put this into the bug tracker or something?
>
> Thanks!
>
> ========================================================
> Bradley Lowekamp
> Management Systems Designers Contractor for
> Office of High Performance Computing and Communications
> National Library of Medicine
> 'blowekamp at mail.nih.gov
>
>
> On Jun 16, 2005, at 12:06 PM, Bradley Lowekamp wrote:
>
>> Hello Andy,
>>
>> This is occurring on versions from the 6th and 14th of this month.
>>
>> Thanks for the link, looks like what I need.
>>
>> I have also just noticed that the DashboardStart and DashboardEnd 
>> targets have been removed from the generated makefiles. I guess that 
>> it because Dart 2 has different requirements. Should be a simple 
>> matter to edit crontab for that :)
>>
>>
>> On Jun 16, 2005, at 11:39 AM, Andy Cedilnik wrote:
>>
>>> Hi Brad,
>>>
>>> What version of CTest is this? The 'Unknown submission method: "scp" '
>>> looks bad. That said, when using SCP submission method, it is up to 
>>> the
>>> server to do the actual trigger.
>>>
>>> So, what you should have is a script on the server that periodically
>>> gathers submissions.
>>>
>>> You may want to look at:
>>>
>>> http://www.cmake.org/Wiki/CTest:Submission_Issues
>>>
>>>        Andy
>>>
>>> Bradley Lowekamp wrote:
>>>
>>>>
>>>> I am trying out some the ctest functionality. I have been using the
>>>> Dart TCL client for a long time, and looking into switching to the
>>>> CTest because of the ease of using the CTest scripting on Window.
>>>> I  am
>>>> quite excited about this feature!  However, I have a couple of 
>>>> questions.
>>>>
>>>> The ctest dart client seems to be "submitting" the files with scp but
>>>> I am getting an error message. When I run ctest -V -D
>>>> NightlySubmit   I
>>>> am  getting output along the lines of this:
>>>>
>>>> Submit files (using scp)
>>>> Execute "scp" "....########-####/Update.xml"
>>>> "me at sever:/incoming/long_prefix_Update.xml"
>>>> Execute "scp" "....########-####/Configure.xml"
>>>> "me at sever:/incoming/long_prefix_Configure.xml"
>>>> Execute "scp" "....########-####/Build.xml"
>>>> "me at sever:/incoming/long_prefix_Build.xml"
>>>> Execute "scp" "....########-####/Test.xml"
>>>> "me at sever:/incoming/long_prefix_Test.xml"
>>>>     Submission successful
>>>>          Unknown submission mehtod: "scp"
>>>>
>>>>
>>>> It is that last line that I don't know why it is complaining. Is it a
>>>> error message because it doesn't have anything to trigger?
>>>>
>>>> The second problem is with the dart server trigger. I read that ctest
>>>> with scp dose not use the HTML based trigger to copy the xml files
>>>> into the correct location into the Dart server directory. So I will
>>>> need to create a script for the convert long_prefix into a long path?
>>>>
>>>> Thanks!
>>>>
>>>>
>>>> ========================================================
>>>> Bradley Lowekamp
>>>> Management Systems Designers Contractor for
>>>> Office of High Performance Computing and Communications
>>>> National Library of Medicine
>>>> 'blowekamp at mail.nih.gov
>>>>
>>>> _______________________________________________
>>>> CMake mailing list
>>>> CMake at cmake.org
>>>> http://www.cmake.org/mailman/listinfo/cmake
>>>
>>>
>>>
>>>
>>> -- 
>>> Andy Cedilnik
>>> Kitware Inc.
>>>
>>
>> _______________________________________________
>> CMake mailing list
>> CMake at cmake.org
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake



-- 
Andy Cedilnik
Kitware Inc.



More information about the CMake mailing list