Here's a log with --debug and -VV options, hope it can help to understand the problem :
D:\Dev\Client>ctest -S mymachine.ctest --debug -VV C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2427 * Extra verbosity turned on C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestScri ptHandler.cxx:610 Reading Script: D:/Dev/Client/mymachine.ctest C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestHand lerCommand.cxx:193 Set RETURN_VALUE to res C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestHand lerCommand.cxx:73 Initialize handler C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2771 SetCTestConfiguration:DropMethod:http C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2771 SetCTestConfiguration:DropSite:my.cdash.org C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2771 SetCTestConfiguration:DropLocation:/submit.php?sitename=mrsmall&systemname=Windo ws-XP-32bits&submitinfo=1 C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2771 SetCTestConfiguration:IsCDash:TRUE C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2771 SetCTestConfiguration:BuildDirectory:D:/Dev/Client/tmp/dummybin C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2771 SetCTestConfiguration:SourceDirectory:D:/Dev/Client/tmp/dummysource C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestSubm itHandler.cxx:1241 Submit files (using http) C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestSubm itHandler.cxx:1319 Using HTTP submit method Drop site:http:// C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestSubm itHandler.cxx:1337 my.cdash.org/submit.php?sitename=mrsmall&systemname=Windows-X P-32bits&submitinfo=1 C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestSubm itHandler.cxx:482 Upload file: mymachine.cdash.xml to http://my.cdash.org/sub mit.php?sitename=mrsmall&systemname=Windows-XP-32bits&submitinfo=1&FileName=____ __-Experimental___XML___mymachine.cdash.xml&MD5=b2b64263ba4264de8833b10df39616c7 Size: 641 C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestSubm itHandler.cxx:536 CURL debug output: [About to connect() to my.cdash.orgport 80 (#0) Trying 66.194.253.26... connected Connected to my.cdash.org (66.194.253.26) port 80 (#0) PUT /submit.php?sitename=mrsmall&systemname=Windows-XP-32bits&submitinfo=1&FileN ame=______-Experimental___XML___mymachine.cdash.xml&MD5=b2b64263ba4264de8833b10d f39616c7 HTTP/1.1 Host: my.cdash.org Accept: */* Content-Length: 641 Expect: 100-continue HTTP/1.1 100 Continue <?xml version="1.0" encoding="UTF-8"?> <cdash> <system> <platform>Windows</platform> <version>XP</version> <bits>32</bits> <basedirectory>D:/Dev/Client/base</basedirectory> </system> <compiler> <name>MSVC</name> <version>2010</version> <generator>Visual Studio 10</generator> </compiler> <cmake> <version>2.8</version> <path>C:/Program Files/CMake 2.8/bin</path> </cmake> <program> <name>git</name> <version>1.7</version> <path>C:/Program Files/Git/bin/git.exe</path> </program> <allowedproject>Ozz</allowedproject> </cdash>HTTP/1.1 200 OK Date: Mon, 11 Mar 2013 21:02:07 GMT Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch16 X-Powered-By: PHP/5.2.0-8+etch16 Content-Length: 0 Content-Type: text/html; charset=ISO-8859-1 Connection #0 to host my.cdash.org left intact ] C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestSubm itHandler.cxx:623 Uploaded: mymachine.cdash.xml C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestSubm itHandler.cxx:1372 Submission successful SiteId=13 Running script C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestScri ptHandler.cxx:610 Reading Script: D:/Dev/Client/tmp/ctestscript.cdash C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2771 SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2771 SetCTestConfiguration:BuildDirectory:D:/Dev/Client/base/Ozz-bin C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestStar tCommand.cxx:104 Run dashboard with model Experimental Source directory: D:/Dev/Client/base/Ozz Build directory: D:/Dev/Client/base/Ozz-bin C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestVC.c xx:52 First perform the initial checkout: git clone -b wip_cdash https://code .google.com/p/ozz-animation/ Ozz C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestVC.c xx:57 Perform checkout in directory: D:/Dev/Client/base C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestVC.c xx:84 Initial checkout failed! CMake Error at tmp/ctestscript.cdash:77 (ctest_start): ctest_start unknown error. C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestHand lerCommand.cxx:193 Set SOURCE to D:/Dev/Client/base/Ozz C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestHand lerCommand.cxx:73 Initialize handler C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2771 SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2896 SetCTestConfigurationFromCMakeVariable:UpdateCommand:CTEST_UPDATE_COMMAND C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2771 SetCTestConfiguration:UpdateCommand:git C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2771 SetCTestConfiguration:BuildDirectory:D:/Dev/Client/base/Ozz-bin C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestHand lerCommand.cxx:111 Set source directory to: D:/Dev/Client/base/Ozz C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/cmCTest.cxx:2771 SetCTestConfiguration:SourceDirectory:D:/Dev/Client/base/Ozz C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestUpda teHandler.cxx:205 Updating the repository: D:/Dev/Client/base/Ozz C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestUpda teHandler.cxx:323 Check directory: D:/Dev/Client/base/Ozz C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestUpda teHandler.cxx:124 Determine update type from command: git and type: C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestUpda teHandler.cxx:153 Type not specified, check command: git C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestUpda teHandler.cxx:215 Use GIT repository type C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestGene ricHandler.cxx:127 Current Tag empty, this may mean NightlyStartTime / CTEST_NIG HTLY_START_TIME was not set correctly. Or maybe you forgot to call ctest_start() before calling ctest_configure(). C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestUpda teHandler.cxx:241 Cannot open log file C:/cygwin/home/dashboard/CMakeReleaseDirectory/1d3b35fd/Source/CTest/cmCTestScri ptHandler.cxx:453 Error in read script: D:/Dev/Client/tmp/ctestscript.cdash DONE Running script Nothing to do... On Sun, Mar 10, 2013 at 9:18 PM, Guillaume Blanc < [email protected]> wrote: > 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
