View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012555CDash(No Category)public2011-11-02 18:522012-02-02 07:21
ReporterJean-Christophe Fillion-Robin 
Assigned ToJulien Jomier 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target VersionFixed in Version2.0 
Summary0012555: Asynchronous processing of submission fails with drop site of the form:
Note that in both of the cases described below, the submission and the queuing of processing jobs are properly done.

In case 1), the queued job are also processed as expected.

Nevertheless, in case 2) the jobs seems not to be processed.

Case 1:

set(CTEST_DROP_LOCATION "/submit.php?project=Slicer4")

Case 2:

set(CTEST_DROP_LOCATION "/submit.php?project=Slicer4")

Seems that the code setting currentUri line 211 of do_submit.php is not handling both case adequately.
TagsNo tags attached.
Attached Files


Jean-Christophe Fillion-Robin (reporter)
2011-11-02 19:02

Consider the following syntax instead ... (lead to a similar result but set t drop site and drop location variables properly.

Case 1:
set(CTEST_DROP_LOCATION "/slicer4/submit.php?project=Slicer4")

Case 2:
set(CTEST_DROP_LOCATION "/submit.php?project=Slicer4")
Jean-Christophe Fillion-Robin (reporter)
2011-11-03 10:19


Just did a test and using the following:

set(CTEST_DROP_LOCATION "/submit.php?project=Slicer4")

and it still prevents the job from being processed after being queued.

Since the server is used also for Paraview and VTK, is it safe to change the parameter to "" ? Would it make more send in that case to have a per-project settings ?

I am fine keeping "" in my CTestConfig, just keep me posted when things will change.

I updated it back to "" last night and it works well today.

See [^]
Jean-Christophe Fillion-Robin (reporter)
2011-11-03 13:49

From Dave Cole> What we need here is a uniform way for CDash to call a script of its
own via curl from its own code. Regardless of the URL used by a client
to get into the code...

I would recommend isolating curl calls to "other cdash" code into a
function and letting that new function construct the correct URL that
is independent of the caller's URL.
Jean-Christophe Fillion-Robin (reporter)
2011-11-03 13:50

JJ> This is very tricky to achieve in a reliable manner. Because of Apache proxy and potential redirection, the server name variable might be completely bogus and sometimes not even accessible locally. I'll check if there is a way to get the full URL, but last time I tried, this broke on some crazy proxy forwarding setup.
Julien Jomier (manager)
2012-02-02 07:21

After looking into this issue a little bit more, I think I found a nice way (as Dave suggested) to make this more robust. I have pushed the changes to

 Issue History
Date Modified Username Field Change
2011-11-02 18:52 Jean-Christophe Fillion-Robin New Issue
2011-11-02 19:02 Jean-Christophe Fillion-Robin Note Added: 0027712
2011-11-03 02:50 Julien Jomier Assigned To => Julien Jomier
2011-11-03 02:50 Julien Jomier Status new => assigned
2011-11-03 10:19 Jean-Christophe Fillion-Robin Note Added: 0027716
2011-11-03 13:49 Jean-Christophe Fillion-Robin Note Added: 0027718
2011-11-03 13:50 Jean-Christophe Fillion-Robin Note Added: 0027719
2012-02-02 07:21 Julien Jomier Note Added: 0028449
2012-02-02 07:21 Julien Jomier Status assigned => resolved
2012-02-02 07:21 Julien Jomier Fixed in Version => 2.0
2012-02-02 07:21 Julien Jomier Resolution open => fixed

Copyright © 2000 - 2018 MantisBT Team