magnum/magnum
Hongbin Lu dca02f1d98 Reduce memory consumption of gate tests
Recently, the gate jobs took too long to complete (between 2 to 8
hours). The reason is jenkins slave agent die during the test, which
cause the CI to re-start the whole test in a new VM.

The failure mainly occurred at magnum-api pipeline, but also occurred
at other pipelines. In term of distribution of test nodes, this
failure mainly occurred at OVH nodes, in which there is no dedicated
swap device. As a result, at OVH nodes, local disk is used for swap
when memory is over-consuming. It looks this leads to resource
starvation, which cause the failure.

This patch attempted to reduce the memory consumption of the gate
tests. In the api test, the number of worker nodes was reduced from
2 to 1. In all tests (api/k8s/swarm/mesos), the memory of worker node
was reduced from 1G to 512M.

Closes-Bug: #1542386
Change-Id: If7822d07f95ebc935a8763b92f038f10cf07b5ca
2016-02-09 14:05:19 -05:00
..
api Merge "Change Bay#status type to wtypes.Enum" 2016-02-08 14:55:30 +00:00
cmd Fix invalid import order 2016-02-07 22:54:41 -08:00
common Fix invalid import order 2016-02-07 22:54:41 -08:00
conductor Fix invalid import order 2016-02-07 22:54:41 -08:00
db Adds volume_driver in db api 2016-01-26 05:42:11 +00:00
hacking WSGI enfore fails should return 403 instead of 500 2016-01-04 16:36:30 -05:00
locale Imported Translations from Zanata 2016-01-18 06:03:23 +00:00
objects Fix invalid import order 2016-02-07 22:54:41 -08:00
public/css Incorporate feedback from the Initial commit review 2014-11-18 14:25:08 +00:00
service Fix invalid import order 2016-02-07 22:54:41 -08:00
servicegroup Cleanup MagnumService Object usage 2016-01-29 15:39:28 +08:00
templates Fix gate issues with functional-api job 2016-02-05 15:43:45 -05:00
tests Reduce memory consumption of gate tests 2016-02-09 14:05:19 -05:00
MANIFEST.in Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
__init__.py Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
i18n.py Setup for translation 2015-05-24 03:13:55 +00:00
opts.py Create trust_id for bay 2015-12-15 11:28:23 +08:00
version.py Remove coding:utf-8 2015-08-03 23:28:22 +08:00