Skip to content
Enrico Seiler edited this page Jun 18, 2020 · 11 revisions

General

Our CDash gives an overview of our nightly builds as well as all continuous integration test run by Jenkins.

HowTo

File Locations

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

Asynchronous Submission

General

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.

Check Status

You can check the status at https://cdash.seqan.de/monitor.php after logging into your CDash account.

Needed Configuration Parameters

$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.

Manually Trigger Submission Processing

This should only be done when the status check reveals unprocessed submissions and no submissions are currently processed.

Open in your browser (click to reveal)
https://cdash.seqan.de/ajax/processsubmissions.php?projectid=4
If this failed because some handle couldn't be acquired, call (click to reveal)
https://cdash.seqan.de/ajax/processsubmissions.php?projectid=4&force=true

Leave tab open until done.

Troubleshooting

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.

Clone this wiki locally