<div>Yes I think repository string (which is <a href="https://code.google.com/p/ozz-animation/">https://code.google.com/p/ozz-animation/</a>) is set correctly. To test it I copied/pasted the clone command (taken from the log below) to the git bash, and it works fine.</div>
<div><br></div><div>Also if I add git/bin directory to my path environment variable, ctest script runs well.</div><div><br></div><div>How does ctest call git ? Does it prepend the path? Does it change the path environment variable locally ?</div>
<div>Can I log ctest calls/commands to understand what's going on ?</div><div><br></div><div>D:\Dev\Client>ctest -S mymachine.ctest -VV</div><div>* Extra verbosity turned on</div><div>Reading Script: D:/Dev/Client/mymachine.ctest</div>
<div>SetCTestConfiguration:DropMethod:http</div><div>SetCTestConfiguration:DropSite:<a href="http://my.cdash.org">my.cdash.org</a></div><div>SetCTestConfiguration:DropLocation:/submit.php?sitename=mrsmall&systemname=Windo</div>
<div>ws-XP-32bits&submitinfo=1</div><div>SetCTestConfiguration:IsCDash:TRUE</div><div>SetCTestConfiguration:BuildDirectory:D:/Dev/Client/tmp/dummybin</div><div>SetCTestConfiguration:SourceDirectory:D:/Dev/Client/tmp/dummysource</div>
<div>Submit files (using http)</div><div> Using HTTP submit method</div><div> Drop site:<a href="http://my.cdash.org/submit.php?sitename=mrsmall&systemname=Windows-">http://my.cdash.org/submit.php?sitename=mrsmall&systemname=Windows-</a></div>
<div>XP-32bits&submitinfo=1</div><div> Upload file: mymachine.cdash.xml to <a href="http://my.cdash.org/submit.php?sitename=m">http://my.cdash.org/submit.php?sitename=m</a></div><div>rsmall&systemname=Windows-XP-32bits&submitinfo=1&FileName=______-Experimental___</div>
<div>XML___mymachine.cdash.xml&MD5=b2b64263ba4264de8833b10df39616c7 Size: 641</div><div> Uploaded: mymachine.cdash.xml</div><div> Submission successful</div><div>SiteId=13</div><div>Running script</div><div>Reading Script: D:/Dev/Client/tmp/ctestscript.cdash</div>
<div>SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz</div><div>SetCTestConfiguration:BuildDirectory:D:/Dev/Client/base/Ozz-bin</div><div>Run dashboard with model Experimental</div><div> Source directory: D:/Dev/Client/base/Ozz</div>
<div> Build directory: D:/Dev/Client/base/Ozz-bin</div><div> First perform the initial checkout: git clone -b wip_cdash <a href="https://code.googl">https://code.googl</a></div><div><a href="http://e.com/p/ozz-animation/">e.com/p/ozz-animation/</a> Ozz</div>
<div> Perform checkout in directory: D:/Dev/Client/base</div><div>Initial checkout failed!</div><div>CMake Error at tmp/ctestscript.cdash:71 (ctest_start):</div><div> ctest_start unknown error.</div><div><br></div><div>
<br></div><div>SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz</div><div>SetCTestConfigurationFromCMakeVariable:UpdateCommand:CTEST_UPDATE_COMMAND</div><div>SetCTestConfiguration:UpdateCommand:git</div><div>SetCTestConfiguration:BuildDirectory:D:/Dev/Client/base/Ozz-bin</div>
<div>SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz</div><div> Updating the repository: D:/Dev/Client/base/Ozz</div><div> Use GIT repository type</div><div>Current Tag empty, this may mean NightlyStartTime / CTEST_NIGHTLY_START_TIME was</div>
<div> not set correctly. Or maybe you forgot to call ctest_start() before calling cte</div><div>st_configure().</div><div>Cannot open log file</div><div>Error in read script: D:/Dev/Client/tmp/ctestscript.cdash</div><div>
DONE Running script</div><div>Nothing to do...</div><div>Nothing to do...</div><br><div class="gmail_quote">On Sun, Mar 10, 2013 at 3:36 PM, David Cole <span dir="ltr"><<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Calibri,'Segoe UI',Meiryo,'Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:16px">
<div>Is the repository string set correctly for anonymous checkout in the CDash project settings?</div><div> </div><div> </div>        <div style="border-top-color:rgb(225,225,225);border-top-width:1px;border-top-style:solid">                <strong>From:</strong> Guillaume Blanc<br>
                <strong>Sent:</strong> March 10, 2013 3:56 AM<br>                <strong>To:</strong> David Cole<br>                        <strong>CC:</strong> <a href="mailto:cmake@cmake.org" target="_blank">cmake@cmake.org</a><br>                <strong>Subject:</strong> Re: [CMake] [CDash] Set program path on the client-side, with client.cdash.xml <program><br>
        </div><div><div class="h5">        <div> </div>This is how it appears in ctestscript.cdash<div><br></div><div><div>SET(CLIENT_EXECUTABLE_GIT "C:/Program Files/Git/bin/git.exe")</div><div>SET(CLIENT_EXECUTABLE_GIT_1_7 "C:/Program Files/Git/bin/git.exe")</div>
<div><br></div><div>Regards</div><div>Guillaume</div></div><br><div class="gmail_quote">On Sat, Mar 9, 2013 at 6:21 PM, Guillaume Blanc <span dir="ltr"><<a href="mailto:guillaumeblanc.sc@gmail.com" target="_blank">guillaumeblanc.sc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">Hi,<div><br></div><div>No it doesn't make it work. I've got this error message : Initial checkout failed!<div>
<div>
<br></div><div>I double checked git path and I'm sure it is ok. </div><div><br></div><div>Here's the full log:</div>
<div><div><br></div><div>D:\Dev\Client>ctest -S mymachine.ctest -VV</div><div>* Extra verbosity turned on</div><div>Reading Script: D:/Dev/Client/mymachine.ctest</div><div>SetCTestConfiguration:DropMethod:http</div><div>
SetCTestConfiguration:DropSite:<a href="http://my.cdash.org" target="_blank">my.cdash.org</a></div><div>SetCTestConfiguration:DropLocation:/submit.php?sitename=mrsmall&systemname=Windo</div><div>ws-XP-32bits&submitinfo=1</div>
<div>
SetCTestConfiguration:IsCDash:TRUE</div><div>SetCTestConfiguration:BuildDirectory:D:/Dev/Client/tmp/dummybin</div><div>SetCTestConfiguration:SourceDirectory:D:/Dev/Client/tmp/dummysource</div><div>Submit files (using http)</div>
<div> Using HTTP submit method</div><div> Drop site:<a href="http://my.cdash.org/submit.php?sitename=mrsmall&systemname=Windows-" target="_blank">http://my.cdash.org/submit.php?sitename=mrsmall&systemname=Windows-</a></div>
<div>
XP-32bits&submitinfo=1</div><div> Upload file: mymachine.cdash.xml to <a href="http://my.cdash.org/submit.php?sitename=m" target="_blank">http://my.cdash.org/submit.php?sitename=m</a></div><div>rsmall&systemname=Windows-XP-32bits&submitinfo=1&FileName=______-Experimental___</div>
<div>XML___mymachine.cdash.xml&MD5=b2b64263ba4264de8833b10df39616c7 Size: 641</div><div> Uploaded: mymachine.cdash.xml</div><div> Submission successful</div><div>SiteId=13</div><div>Nothing to do...</div><div>Nothing to do...</div>
<div>Running script</div><div>Reading Script: D:/Dev/Client/tmp/ctestscript.cdash</div><div>SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz</div><div>SetCTestConfiguration:BuildDirectory:D:/Dev/Client/base/Ozz-bin</div>
<div>Run dashboard with model Experimental</div><div> Source directory: D:/Dev/Client/base/Ozz</div><div> Build directory: D:/Dev/Client/base/Ozz-bin</div><div> First perform the initial checkout: git clone -b wip_cdash <a href="https://code.googl" target="_blank">https://code.googl</a></div>
<div><a href="http://e.com/p/ozz-animation/" target="_blank">e.com/p/ozz-animation/</a> Ozz</div><div> Perform checkout in directory: D:/Dev/Client/base</div><div>Initial checkout failed!</div><div>CMake Error at tmp/ctestscript.cdash:67 (ctest_start):</div>
<div> ctest_start unknown error.</div><div><br></div><div>SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz</div><div>SetCTestConfigurationFromCMakeVariable:UpdateCommand:CTEST_UPDATE_COMMAND</div><div>SetCTestConfiguration:UpdateCommand:git</div>
<div>SetCTestConfiguration:BuildDirectory:D:/Dev/Client/base/Ozz-bin</div><div>SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz</div><div> Updating the repository: D:/Dev/Client/base/Ozz</div><div> Use GIT repository type</div>
<div>Current Tag empty, this may mean NightlyStartTime / CTEST_NIGHTLY_START_TIME was</div><div> not set correctly. Or maybe you forgot to call ctest_start() before calling cte</div><div>st_configure().</div><div>Cannot open log file</div>
<div>Error in read script: D:/Dev/Client/tmp/ctestscript.cdash</div><div>DONE Running script</div><div>Nothing to do...</div><div><div><div><br></div><div><br></div><br><div class="gmail_quote">On Sat, Mar 9, 2013 at 2:38 PM, David Cole <span dir="ltr"><<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="auto"><div>Add "/git.exe" to the path value. Does that make it work?</div>
<div><div><div>
<br>On Mar 9, 2013, at 4:56 AM, Guillaume Blanc <<a href="mailto:guillaumeblanc.sc@gmail.com" target="_blank">guillaumeblanc.sc@gmail.com</a>> wrote:<br><br></div><div><span></span></div><blockquote><div>
<div>Hi,</div><div><br></div><div>I'm setuping a client machine to run CDash nightly builds of my project, scheduled from <a href="http://my.cdash.org/" target="_blank">my.cdash.org</a>.</div><div>My issue is that initial checkout (git clone) fails because Git command fails.</div>
<div>I found that it was solved by adding Git to the Path environment variable.</div><div><br></div><div>It seems that it's not the right solution though, because from my understanding mymachine.cdash.xml aims to solve that. So I tried to add the following section to mymachine.cdash.xml, but I didn't manage to make it work:</div>
<div><br></div><div> <program></div><div> <name>git</name></div><div> <version>1.7</version></div><div> <path>C:/Program Files/Git/bin</path></div><div> </program></div>
<div><br></div><div>- Am I wrong to think that <program> enumerated in this mymachine.cdash.xml are aimed to give client program path (amongst other tings) so that cdash can run those programs on the client side ?</div>
<div>- Is my <program> description wrong ?</div><div><br></div><div>Windows XP</div>CMake 2.8.9<div><a href="http://my.cdash.org/" target="_blank">my.cdash.org</a></div><div><br></div><div>Regards</div><span><font color="#888888">Guillaume</font></span><div>
<span><font color="#888888"><br></font></span></div>
</div></blockquote></div></div><span><font color="#888888"><blockquote><div><span>--</span><br><span></span><br><span>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a></span><br>
<span></span><br><span>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a></span><br><span></span><br>
<span>Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a></span><br><span></span><br><span>Follow this link to subscribe/unsubscribe:</span><br>
<span><a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a></span></div></blockquote></font></span></div></blockquote></div><br></div></div></div></div></div>
</blockquote></div><br>
</div></div></div></div></blockquote></div><br>