Re: [CMake] Fwd: Submitting to CDash fails with error 417

2010-11-08 Thread Julien Jomier

Dear Gerhard,

My guess is that your server is not supporting HTTP PUT protocol. I 
believe you have to explicitly enable the protocol for lighttpd.


Let us know if that was the problem,
Julien


-- Forwarded message --
From: *Gerhard Gappmeier* mailto:gerhard.gappme...@ascolab.com>>
Date: Mon, Nov 8, 2010 at 10:14 AM
Subject: [CMake] Submitting to CDash fails with error 417
To: cmake@cmake.org 


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 ...   Passed0.00 sec
Start 2: NegativeTest
2/3 Test #2: NegativeTest .   Passed0.00 sec
Start 3: DoubleNegativeTest
3/3 Test #3: DoubleNegativeTest ...   Passed0.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
___
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



--
Phone: 1-518-836-2174
Ext: 304

___
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


Re: [CMake] Fwd: Submitting to CDash fails with error 417

2010-11-08 Thread Gerhard Gappmeier
Hi Julien

you were right. HTTP PUT didn't work.
The line 'server.reject-expect-100-with-417 = "disable"' did the trick.

No I can submit the results without error,
but I still cannot see the result on the website.
It still shows zero builds in all categories.
Any ideas what can be missing?

On Monday 08 November 2010 16:46:14 Julien Jomier wrote:
> Dear Gerhard,
> 
> My guess is that your server is not supporting HTTP PUT protocol. I
> believe you have to explicitly enable the protocol for lighttpd.
> 
> Let us know if that was the problem,
> Julien
> 
> > -- Forwarded message --
> > From: *Gerhard Gappmeier*  > >
> > Date: Mon, Nov 8, 2010 at 10:14 AM
> > Subject: [CMake] Submitting to CDash fails with error 417
> > To: cmake@cmake.org 
> > 
> > 
> > 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 ...   Passed0.00 sec
> > 
> > Start 2: NegativeTest
> > 
> > 2/3 Test #2: NegativeTest .   Passed0.00 sec
> > 
> > Start 3: DoubleNegativeTest
> > 
> > 3/3 Test #3: DoubleNegativeTest ...   Passed0.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
> > ___
> > 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
> > 
> > 
> > 
> > --
> > Phone: 1-518-836-2174
> > Ext: 304

-- 
mit freundlichen Grüßen / best regards

*Gerhard Gappmeier*
ascola