View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012555 | CDash | (No Category) | public | 2011-11-02 18:52 | 2012-02-02 07:21 | ||||
Reporter | Jean-Christophe Fillion-Robin | ||||||||
Assigned To | Julien Jomier | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | 2.0 | |||||||
Summary | 0012555: Asynchronous processing of submission fails with drop site of the form: slicer4.cdash.org | ||||||||
Description | 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_METHOD "http") set(CTEST_DROP_SITE "www.cdash.org/slicer4") set(CTEST_DROP_LOCATION "/submit.php?project=Slicer4") set(CTEST_DROP_SITE_CDASH TRUE) Case 2: set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "slicer.cdash.org") set(CTEST_DROP_LOCATION "/submit.php?project=Slicer4") set(CTEST_DROP_SITE_CDASH TRUE) Seems that the code setting currentUri line 211 of do_submit.php is not handling both case adequately. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0027712) 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_SITE "www.cdash.org") set(CTEST_DROP_LOCATION "/slicer4/submit.php?project=Slicer4") Case 2: set(CTEST_DROP_SITE "slicer.cdash.org") set(CTEST_DROP_LOCATION "/submit.php?project=Slicer4") |
(0027716) Jean-Christophe Fillion-Robin (reporter) 2011-11-03 10:19 |
JJ, Just did a test and using the following: set(CTEST_DROP_SITE "slicer.cdash.org") 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 "slicer.cdash.org" ? Would it make more send in that case to have a per-project settings ? I am fine keeping "www.cdash.org/slicer4/submit.php" in my CTestConfig, just keep me posted when things will change. I updated it back to "www.cdash.org/slicer4/submit.php" last night and it works well today. See https://github.com/Slicer/Slicer/commit/306407384087e37e8e50e4cad4dcae66d69e2bbe [^] |
(0027718) 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. |
(0027719) 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. |
(0028449) 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 trunk.cdash.org. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |