neutron/neutron/tests/fullstack/resources
Slawek Kaplonski 6d1c96e36e Limit usage of resources in the fullstack tests job
To limit usage of resources (mostly memory) in the fullstack job and
to avoid oom killer to kill e.g. mysqld service, this patch:

* Makes number of API workers changeable by tests, as a parameter to
  EnvironmentDescription and defaults its value to 1. As neutron server
  is spawned separately for each test and is used only to process just
  few API requests during that single test so this should be still
  enough there, and where more API workers are needed (like some dhcp HA
  tests: TestDhcpAgentHARaceCondition) it can be changed,
* reduces number of test run workers from 4 to 3 - job will run slower
  but hopefully more stable,
* in the functional and fullstack tests job definition disable etcd3
  service - this will not save us a lot of memory but still it's not
  needed at all so why to run it there.

Conflicts:
    neutron/tests/fullstack/resources/environment.py
    neutron/tests/fullstack/test_dhcp_agent.py
    zuul.d/base.yaml

Change-Id: If19803ab6db144e2d17d6805d379c1c76d8fa343
Closes-Bug: #1906366
(cherry picked from commit f63dc09206)
2021-01-18 14:53:46 +01:00
..
__init__.py Define fullstack router/network/subnet management fixture 2015-07-21 23:33:19 +02:00
client.py Check "security_group_rule" quota during security group creation 2020-01-31 17:59:07 +00:00
config.py Limit usage of resources in the fullstack tests job 2021-01-18 14:53:46 +01:00
environment.py Limit usage of resources in the fullstack tests job 2021-01-18 14:53:46 +01:00
machine.py Filter only IPv4 addresses when looking for gateway 2019-09-13 10:43:46 +00:00
process.py Fullstack test for placement sync 2019-05-17 17:56:45 +02:00