-
Notifications
You must be signed in to change notification settings - Fork 82
CDash
Our CDash gives an overview of our nightly builds as well as all continuous integration test run by Jenkins.
What | Location |
---|---|
Configuration | /web/cdash.seqan.de/cdash/CDash/config/config.local.php |
Error log | /web/cdash.seqan.de/log/error.log |
General log | /web/cdash.seqan.de/cdash/CDash/log/cdash.log |
Storage of asynchronously submitted builds | /web/cdash.seqan.de/cdash/CDash/backup |
PHP scripts, some callable from browser | /web/cdash.seqan.de/cdash/CDash/public /web/cdash.seqan.de/cdash/CDash/public/ajax |
If the submissions are handled sequential, each submission is also processed immediately. This has the advantage that no temporary files need to be stored. The main drawback is that other submitting servers have to wait until the processing is done which may lead to timeouts.
When parallel submissions are enabled, the submitted XML
files are stored under the backup
directory and are processed independently of the submission process - submitters don't have to wait until the previous submission is processed.
To do so, CDash has to send a curl
request to itself in order to trigger submission processing; this will require some configuration on our part.
You can check the status at https://cdash.seqan.de/monitor.php after logging into your CDash account.
$CDASH_ASYNCHRONOUS_SUBMISSION = true;
enables parallel submission.
$CDASH_ASYNC_WORKERS = 1;
, even though we use MySQL, which should support parallel access, setting this to anything higher than 1
results in stalled processing.
We also need these carefully chosen parameters:
$CDASH_CURL_REQUEST_LOCALHOST='0';
$CDASH_CURL_LOCALHOST_PREFIX='';
$CDASH_BASE_URL='';
$CDASH_SERVER_NAME = '';
$CDASH_SERVER_PORT = '';
Not setting these parameters results in a failed request to process the submissions, i.e. the server can report to CDash, but the reports are never processed, resulting in an empty overview in CDash.
This should only be done when the status check reveals unprocessed submissions and no submissions are currently processed.
Open in your browser: https://cdash.seqan.de/ajax/processsubmissions.php?projectid=4
If this failed because some handle couldn't be acquired, call https://cdash.seqan.de/ajax/processsubmissions.php?projectid=4&force=true
Leave tab open until done.
If the monitor shows several hundred submission to be processed (Pending Submissions
) and there is no progress, try to clear the contents of the backup
folder and run the submission processing as described above.