[CMake] Submitting to CDash fails with error 417
Gerhard Gappmeier
gerhard.gappmeier at ascolab.com
Mon Nov 8 10:14:00 EST 2010
Hi all,
I've setup CDash locally using lighttpd and created a test project
"helloworld".
I configured CTestConfig.txt to find my local CDash.
When I now run "make Nightly" submitting the results fails.
Did I forget some configuration? Maybe authentification options?
Or does CDash just not work with lighttpd?
CTestConfig.cmake:
## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
## # The following are required to uses Dart and the Cdash dashboard
## ENABLE_TESTING()
## INCLUDE(CTest)
set(CTEST_PROJECT_NAME "helloworld")
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "localhost")
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=helloworld")
set(CTEST_DROP_SITE_CDASH TRUE)
Output from "make Nightly":
Site: lt-gergap.ascolab.com
Build name: Linux-
Determine Nightly Start Time
Specified time: 00:00:00 EDT
Create new tag: 20101108-0400 - Nightly
Updating the repository: /home/gergap/work/helloworld/src
Cannot find UpdateCommand configuration key.
Configure project
Each . represents 1024 bytes of output
. Size of output: 0K
Build project
Each symbol represents 1024 bytes of output.
'!' represents an error and '*' a warning.
..... Size of output: 4K
0 Compiler errors
0 Compiler warnings
Test project /home/gergap/work/helloworld/bldRelease
Start 1: SimpleTest
1/3 Test #1: SimpleTest ....................... Passed 0.00 sec
Start 2: NegativeTest
2/3 Test #2: NegativeTest ..................... Passed 0.00 sec
Start 3: DoubleNegativeTest
3/3 Test #3: DoubleNegativeTest ............... Passed 0.00 sec
100% tests passed, 0 tests failed out of 3
Total Test time (real) = 0.01 sec
Performing coverage
Cannot find any coverage files. Ignoring Coverage request.
Submit files (using http)
Using HTTP submit method
Drop site:http://localhost/CDash/submit.php?project=helloworld
Error when uploading file:
/home/gergap/work/helloworld/bldRelease/Testing/20101108-0400/Build.xml
Error message was: The requested URL returned error: 417
Problems when submitting via HTTP
Errors while running CTest
make[3]: *** [CMakeFiles/Nightly] Error 65
make[2]: *** [CMakeFiles/Nightly.dir/all] Error 2
make[1]: *** [CMakeFiles/Nightly.dir/rule] Error 2
make: *** [Nightly] Error 2
Complete source for testing is available here:
git clone git://github.com/gergap/helloworld.git
--
mit freundlichen Grüßen / best regards
*Gerhard Gappmeier*
ascolab GmbH - automation systems communication laboratory
Tel.: +49 9131 691 123
Fax: +49 9131 691 128
Web: http://www.ascolab.com
GPG Key Id: 5AAC50C4
GPG Fingerprint: 967A 15F1 2788 164D CCA3 6C46 07CD 6F82 5AAC 50C4
--
*ascolab GmbH*
Geschäftsführer: Gerhard Gappmeier, Matthias Damm, Uwe Steinkrauß
Sitz der Gesellschaft: Am Weichselgarten 7 . 91058 Erlangen . Germany
Registernummer: HRB 9360
Registergericht: Amtsgericht Fürth
More information about the CMake
mailing list