neutron/neutron/tests/fullstack
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
..
agents Import "oslo_config.cfg" before "eventlet" 2020-10-09 09:54:29 +00:00
resources Limit usage of resources in the fullstack tests job 2021-01-18 14:53:46 +01:00
servers Fullstack test for placement sync 2019-05-17 17:56:45 +02:00
README Moved fullstack test doc content to TESTING.rst 2015-12-03 17:02:54 -05:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Randomize BaseFullStackTestCase._find_available_ips 2020-01-31 12:51:57 +00:00
test_agent_bandwidth_report.py Fullstack test for placement sync 2019-05-17 17:56:45 +02:00
test_connectivity.py Drop of_interface option 2019-05-24 10:33:48 +02:00
test_dhcp_agent.py Limit usage of resources in the fullstack tests job 2021-01-18 14:53:46 +01:00
test_firewall.py Drop of_interface option 2019-05-24 10:33:48 +02:00
test_l3_agent.py Use admin context when updating router gateway 2019-10-21 17:44:57 +00:00
test_logging.py Drop of_interface option 2019-05-24 10:33:48 +02:00
test_mtu.py Check mtu on network update 2019-12-31 13:13:52 +00:00
test_port_shut_down.py [OVS] Shut down the port on changing the admin-state to false 2018-01-04 01:44:01 -05:00
test_ports_api.py Rehome api tests for propagate_uplink_status 2020-11-16 13:45:56 +01:00
test_ports_binding.py [Follow Up] Add Smart NIC representor port to integration bridge 2019-06-24 06:58:18 +00:00
test_ports_rebind.py Make port binding attempt after agent is revived 2018-10-22 18:43:33 +02:00
test_qos.py TestMinBwQoSOvs must call the correct methods 2019-11-13 17:34:00 +00:00
test_securitygroup.py Check "security_group_rule" quota during security group creation 2020-01-31 17:59:07 +00:00
test_segmentation_id.py Add fullstack tests for update network's segmentation_id 2019-07-11 16:20:15 +02:00
test_trunk.py Fullstack: init trunk agent's driver only when necessary 2017-11-03 16:49:12 +00:00

README

Please see neutron/TESTING.rst.