[CMake] cdash : no proxy option ? (trouble uploading submits on local cdash server)

Jean-Francois Rit jean-francois.rit at der.edf.fr
Fri Mar 1 13:04:34 EST 2013


Hello,

I am trying to setup a local cdash server (apache2, mysql on a Debian
squeeze) since I have to work behind a strong firewall.

So far, the server accepts submissions only if the DropSite is
localhost. When it is set to anything else, including 127.0.1.1, the
http connection fails.

When I must deal with local http connections, I generally use a
"no-proxy" option as a magic remedy to a strong local http proxy policy
that I cannot handle.

So my questions are  : 
  1- is it possible to give a no-proxy option to cdash for connections
with the server ? 
  2- How do I get more feedback on the http connection failure than the
following traces ?

In case you would be so kind to look further into my problem here are :
 
 - the DartConfiguration.tcl file (with DropSite 127.0.1.1 that fails)
 - A trace of Submit to cdash that fails with DropSite 127.0.1.1
 - A trace of Submit to cdash that succeeds with DropSite localhosts

#################### DartConfiguration.tcl ############################
#  this file is hand configured, by
# filling in the required variables.
# Post install testing so Update, Configure, Build, MemoryCheck and
Coverage
# are irrelevant. Only Start, Test, Submit can be performed.


# Configuration directories and files
BuildDirectory: /home/A32132/buildspace/mapbuilds/devinstall/share/map/tests

# Where to place the cost data store
CostDataFile:

# Site is something like machine.domain, i.e. pragmatic.crd
Site: ret20ex

# Build name is osname-revision-compiler, i.e. Linux-2.4.2-2smp-c++
BuildName: Linux-c++

# Submission information
IsCDash: TRUE
CDashVersion:
QueryCDashVersion:
DropSite: localhost
DropLocation: /CDash/submit.php?project=MAP
DropSiteUser:
DropSitePassword:
DropSiteMode:
DropMethod: http
TriggerSite:
ScpCommand: /usr/bin/scp

# Dashboard start time
NightlyStartTime: 01:00:00 UTC

# Commands for the build/test/submit cycle
DefaultCTestConfigurationType: Release

# Subversion options
SVNCommand: /usr/bin/svn
SVNUpdateOptions:

# Generic update command
UpdateCommand: /usr/bin/svn
UpdateOptions:
UpdateType: svn

# Compiler info
Compiler: /usr/bin/c++

# Cluster commands
SlurmBatchCommand: SLURM_SBATCH_COMMAND-NOTFOUND
SlurmRunCommand: SLURM_SRUN_COMMAND-NOTFOUND

# Testing options
# TimeOut is the amount of time in seconds to wait for processes
# to complete during testing.  After TimeOut seconds, the
# process will be summarily terminated.
# Currently set to 25 minutes
TimeOut: 1500

UseLaunchers:
CurlOptions:
# warning, if you add new options here that have to do with submit,
# you have to update cmCTestSubmitCommand.cxx

###################################################################
Failed upload
###################################################################

A32132 at ret20ex:/scratch/A32132/build/mapbuilds/devinstall/share/map/tests$ ctest -D ExperimentalSubmit -R empty -V
UpdateCTestConfiguration
from :/scratch/A32132/build/mapbuilds/devinstall/share/map/tests/DartConfiguration.tcl
Parse Config
file:/scratch/A32132/build/mapbuilds/devinstall/share/map/tests/DartConfiguration.tcl
   Site: ret20ex
   Build name: Linux-c++
UpdateCTestConfiguration
from :/home/A32132/buildspace/mapbuilds/devinstall/share/map/tests/DartConfiguration.tcl
Parse Config
file:/home/A32132/buildspace/mapbuilds/devinstall/share/map/tests/DartConfiguration.tcl
Submit files (using http)
   Using HTTP submit method
   Drop site:http://127.0.1.1/CDash/submit.php?project=MAP
   Upload
file: /home/A32132/buildspace/mapbuilds/devinstall/share/map/tests/Testing/20130301-1619/Test.xml to http://127.0.1.1/CDash/submit.php?project=MAP&FileName=ret20ex___Linux-c%2B%2B___20130301-1619-Experimental___XML___Test.xml Size: 4989
   Error when uploading
file: /home/A32132/buildspace/mapbuilds/devinstall/share/map/tests/Testing/20130301-1619/Test.xml
   Error message was: couldn't connect to host
   Problems when submitting via HTTP
Errors while running CTest

#################################################################
Successful upload
#################################################################
A32132 at ret20ex:/scratch/A32132/build/mapbuilds/devinstall/share/map/tests$ ctest -D ExperimentalSubmit -R empty -V
UpdateCTestConfiguration
from :/scratch/A32132/build/mapbuilds/devinstall/share/map/tests/DartConfiguration.tcl
Parse Config
file:/scratch/A32132/build/mapbuilds/devinstall/share/map/tests/DartConfiguration.tcl
   Site: ret20ex
   Build name: Linux-c++
UpdateCTestConfiguration
from :/home/A32132/buildspace/mapbuilds/devinstall/share/map/tests/DartConfiguration.tcl
Parse Config
file:/home/A32132/buildspace/mapbuilds/devinstall/share/map/tests/DartConfiguration.tcl
Submit files (using http)
   Using HTTP submit method
   Drop site:http://localhost/CDash/submit.php?project=MAP
   Upload
file: /home/A32132/buildspace/mapbuilds/devinstall/share/map/tests/Testing/20130301-1619/Test.xml to http://localhost/CDash/submit.php?project=MAP&FileName=ret20ex___Linux-c%2B%2B___20130301-1619-Experimental___XML___Test.xml Size: 4989

Uploaded: /home/A32132/buildspace/mapbuilds/devinstall/share/map/tests/Testing/20130301-1619/Test.xml
   Submission successful



-----
Jean-Francois Rit

j-f.rit at edf.fr
Tél: + 33 1 60 73 64 60



More information about the CMake mailing list