Yes I think repository string (which is https://code.google.com/p/ozz-animation/) 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.
Also if I add git/bin directory to my path environment variable, ctest script runs well. How does ctest call git ? Does it prepend the path? Does it change the path environment variable locally ? Can I log ctest calls/commands to understand what's going on ? D:\Dev\Client>ctest -S mymachine.ctest -VV * Extra verbosity turned on Reading Script: D:/Dev/Client/mymachine.ctest SetCTestConfiguration:DropMethod:http SetCTestConfiguration:DropSite:my.cdash.org SetCTestConfiguration:DropLocation:/submit.php?sitename=mrsmall&systemname=Windo ws-XP-32bits&submitinfo=1 SetCTestConfiguration:IsCDash:TRUE SetCTestConfiguration:BuildDirectory:D:/Dev/Client/tmp/dummybin SetCTestConfiguration:SourceDirectory:D:/Dev/Client/tmp/dummysource Submit files (using http) Using HTTP submit method Drop site: http://my.cdash.org/submit.php?sitename=mrsmall&systemname=Windows- XP-32bits&submitinfo=1 Upload file: mymachine.cdash.xml to http://my.cdash.org/submit.php?sitename=m rsmall&systemname=Windows-XP-32bits&submitinfo=1&FileName=______-Experimental___ XML___mymachine.cdash.xml&MD5=b2b64263ba4264de8833b10df39616c7 Size: 641 Uploaded: mymachine.cdash.xml Submission successful SiteId=13 Running script Reading Script: D:/Dev/Client/tmp/ctestscript.cdash SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz SetCTestConfiguration:BuildDirectory:D:/Dev/Client/base/Ozz-bin Run dashboard with model Experimental Source directory: D:/Dev/Client/base/Ozz Build directory: D:/Dev/Client/base/Ozz-bin First perform the initial checkout: git clone -b wip_cdash https://code.googl e.com/p/ozz-animation/ Ozz Perform checkout in directory: D:/Dev/Client/base Initial checkout failed! CMake Error at tmp/ctestscript.cdash:71 (ctest_start): ctest_start unknown error. SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz SetCTestConfigurationFromCMakeVariable:UpdateCommand:CTEST_UPDATE_COMMAND SetCTestConfiguration:UpdateCommand:git SetCTestConfiguration:BuildDirectory:D:/Dev/Client/base/Ozz-bin SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz Updating the repository: D:/Dev/Client/base/Ozz Use GIT repository type Current Tag empty, this may mean NightlyStartTime / CTEST_NIGHTLY_START_TIME was not set correctly. Or maybe you forgot to call ctest_start() before calling cte st_configure(). Cannot open log file Error in read script: D:/Dev/Client/tmp/ctestscript.cdash DONE Running script Nothing to do... Nothing to do... On Sun, Mar 10, 2013 at 3:36 PM, David Cole <[email protected]> wrote: > Is the repository string set correctly for anonymous checkout in the CDash > project settings? > > > *From:* Guillaume Blanc > *Sent:* March 10, 2013 3:56 AM > *To:* David Cole > *CC:* [email protected] > *Subject:* Re: [CMake] [CDash] Set program path on the client-side, with > client.cdash.xml <program> > > This is how it appears in ctestscript.cdash > > SET(CLIENT_EXECUTABLE_GIT "C:/Program Files/Git/bin/git.exe") > SET(CLIENT_EXECUTABLE_GIT_1_7 "C:/Program Files/Git/bin/git.exe") > > Regards > Guillaume > > On Sat, Mar 9, 2013 at 6:21 PM, Guillaume Blanc < > [email protected]> wrote: > >> Hi, >> >> No it doesn't make it work. I've got this error message : Initial >> checkout failed! >> >> I double checked git path and I'm sure it is ok. >> >> Here's the full log: >> >> D:\Dev\Client>ctest -S mymachine.ctest -VV >> * Extra verbosity turned on >> Reading Script: D:/Dev/Client/mymachine.ctest >> SetCTestConfiguration:DropMethod:http >> SetCTestConfiguration:DropSite:my.cdash.org >> >> SetCTestConfiguration:DropLocation:/submit.php?sitename=mrsmall&systemname=Windo >> ws-XP-32bits&submitinfo=1 >> SetCTestConfiguration:IsCDash:TRUE >> SetCTestConfiguration:BuildDirectory:D:/Dev/Client/tmp/dummybin >> SetCTestConfiguration:SourceDirectory:D:/Dev/Client/tmp/dummysource >> Submit files (using http) >> Using HTTP submit method >> Drop site: >> http://my.cdash.org/submit.php?sitename=mrsmall&systemname=Windows- >> XP-32bits&submitinfo=1 >> Upload file: mymachine.cdash.xml to >> http://my.cdash.org/submit.php?sitename=m >> >> rsmall&systemname=Windows-XP-32bits&submitinfo=1&FileName=______-Experimental___ >> XML___mymachine.cdash.xml&MD5=b2b64263ba4264de8833b10df39616c7 Size: 641 >> Uploaded: mymachine.cdash.xml >> Submission successful >> SiteId=13 >> Nothing to do... >> Nothing to do... >> Running script >> Reading Script: D:/Dev/Client/tmp/ctestscript.cdash >> SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz >> SetCTestConfiguration:BuildDirectory:D:/Dev/Client/base/Ozz-bin >> Run dashboard with model Experimental >> Source directory: D:/Dev/Client/base/Ozz >> Build directory: D:/Dev/Client/base/Ozz-bin >> First perform the initial checkout: git clone -b wip_cdash >> https://code.googl >> e.com/p/ozz-animation/ Ozz >> Perform checkout in directory: D:/Dev/Client/base >> Initial checkout failed! >> CMake Error at tmp/ctestscript.cdash:67 (ctest_start): >> ctest_start unknown error. >> >> SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz >> SetCTestConfigurationFromCMakeVariable:UpdateCommand:CTEST_UPDATE_COMMAND >> SetCTestConfiguration:UpdateCommand:git >> SetCTestConfiguration:BuildDirectory:D:/Dev/Client/base/Ozz-bin >> SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz >> Updating the repository: D:/Dev/Client/base/Ozz >> Use GIT repository type >> Current Tag empty, this may mean NightlyStartTime / >> CTEST_NIGHTLY_START_TIME was >> not set correctly. Or maybe you forgot to call ctest_start() before >> calling cte >> st_configure(). >> Cannot open log file >> Error in read script: D:/Dev/Client/tmp/ctestscript.cdash >> DONE Running script >> Nothing to do... >> >> >> >> On Sat, Mar 9, 2013 at 2:38 PM, David Cole <[email protected]> wrote: >> >>> Add "/git.exe" to the path value. Does that make it work? >>> >>> On Mar 9, 2013, at 4:56 AM, Guillaume Blanc <[email protected]> >>> wrote: >>> >>> Hi, >>> >>> I'm setuping a client machine to run CDash nightly builds of my project, >>> scheduled from my.cdash.org. >>> My issue is that initial checkout (git clone) fails because Git command >>> fails. >>> I found that it was solved by adding Git to the Path environment >>> variable. >>> >>> 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: >>> >>> <program> >>> <name>git</name> >>> <version>1.7</version> >>> <path>C:/Program Files/Git/bin</path> >>> </program> >>> >>> - 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 ? >>> - Is my <program> description wrong ? >>> >>> Windows XP >>> CMake 2.8.9 >>> my.cdash.org >>> >>> Regards >>> Guillaume >>> >>> -- >>> >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the CMake FAQ at: >>> http://www.cmake.org/Wiki/CMake_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://www.cmake.org/mailman/listinfo/cmake >>> >>> >> >
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
