Document existing Jenkins setup

Bug #978861 reported by Paul Henshaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Low
Lars Butler

Bug Description

Provide a brief description (e.g. in a wiki page) of the current state of the Jenkins CI installation and the steps necessary steps necessary to install and configure it.

Currently (if I am not mistaken) the expectation is that tests run by Jenkins complete within a reasonably short time frame (a few minutes).

As described in
 https://blueprints.launchpad.net/openquake/+spec/infrastructure-for-running-long-tests
it would be useful to execute long-running tests in order to facilitate defect detection.

What additional hardware and/or software/configuration changes would be necessary in order to run all long-running demos in a (minimum) parallel environment on the latest master version of oq-engine in a continuous fashion?

How should developers identify which tests are expected to require longer execution times?

Can a single Jenkins instance run tests on multiple machines (e.g. 32bit, 64bit, parallel environment) or are multiple instances required?

Revision history for this message
Lars Butler (lars-butler) wrote :

Regarding "additional hardware and/or software/configuration changes" needed in order execute larger jobs:

This work is already captured in the scope of bug # 977810 and bug # 977811.

Changed in openquake:
assignee: nobody → Lars Butler (lars-butler)
status: New → Confirmed
Revision history for this message
Lars Butler (lars-butler) wrote :

>>> Currently (if I am not mistaken) the expectation is that tests run by Jenkins complete within a reasonably short time frame (a few minutes).

The current oq-engine build takes about 20-30 minutes to run all tests. That includes Java tests, python unit tests, and QA tests.

>>> How should developers identify which tests are expected to require longer execution times?

If the test takes a long time to run, then we can say that it has a long execution time.
What constitutes a "long execution time" is up to the discretion of the developers and reviewers.

>>> Can a single Jenkins instance run tests on multiple machines (e.g. 32bit, 64bit, parallel environment) or are multiple instances required?

Technically, yes. Jenkins can execute arbitrary shell commands, which means build/test steps can be execute on a remote machine (via ssh, for example).

Changed in openquake:
status: Confirmed → In Progress
importance: Undecided → Low
milestone: none → 0.7.0
Revision history for this message
Lars Butler (lars-butler) wrote :
Revision history for this message
Lars Butler (lars-butler) wrote :
Changed in openquake:
status: In Progress → Fix Committed
Changed in openquake:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.