Move all the octavia tests to fs062

octavia-tempest-plugin for train release is pinned to a
good know hash in rdoinfo [1] where smoke tests [2]does not work
and we cannot bump it to latest version as python3-httpx is not
available for train release.
It is very hard to carry overrides in the branched job due to
master parenting.

So we are moving all the tests in fs062 itself and enable the
same based on conditions.

For train periodic, we are running a good set of working tests.
Since we are already running traffic smoke tests in integration
line, so we are adding a known set of tests in check line
which will get executed in job time frame.

Links:
[1] https://review.rdoproject.org/r/c/rdoinfo/+/32936
[2] https://review.rdoproject.org/r/c/rdo-jobs/+/32279

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Id0c32575c011e254e92578d5837fea3d1ca0a49d
This commit is contained in:
Chandan Kumar (raukadah) 2021-04-14 14:44:25 +05:30
parent 5a955af4be
commit 253b7b59bc
1 changed files with 40 additions and 2 deletions

View File

@ -32,8 +32,46 @@ test_ping: false
use_os_tempest: true
tempest_test_whitelist:
- 'octavia_tempest_plugin.tests.scenario'
# Tests for train release
# octavia-tempest-plugin is pinned to a particular hash, not all
# tests can be runned there, so we are trimming it
tempest_test_train:
- 'octavia_tempest_plugin.tests.scenario.v2.test_healthmonitor'
- 'octavia_tempest_plugin.tests.scenario.v2.test_l7policy'
- 'octavia_tempest_plugin.tests.scenario.v2.test_load_balancer'
- 'octavia_tempest_plugin.tests.scenario.v2.test_pool'
- 'octavia_tempest_plugin.tests.scenario.v2.test_listener'
- 'octavia_tempest_plugin.tests.scenario.v2.test_l7rule'
- 'octavia_tempest_plugin.tests.scenario.v2.test_member'
# In Integration line, we run only smoke tests
tempest_test_integration:
- 'octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops.TrafficOperationsScenarioTest.test_basic_http_traffic'
- 'octavia_tempest_plugin.tests.scenario.v2.test_pool'
tempest_test_periodic: >-
{% if 'train' in release -%}
{{ tempest_test_train }}
{%- else -%}
{{ tempest_test_integration }}
{%- endif -%}
# As the whole test suite take time, so we are trimming the testlist
tempest_test_check:
- 'octavia_tempest_plugin.tests.scenario.v2.test_healthmonitor'
- 'octavia_tempest_plugin.tests.scenario.v2.test_listener'
- 'octavia_tempest_plugin.tests.scenario.v2.test_member'
- 'octavia_tempest_plugin.tests.scenario.v2.test_load_balancer'
tempest_test_whitelist: >-
{% if ('periodic' in zuul.pipeline and not job.force_non_periodic|default(false)|bool) or (job.force_periodic|default(false)|bool) -%}
{{ tempest_test_periodic }}
{%- elif 'train' not in release -%}
{{ tempest_test_check }}
{%- else -%}
{{ tempest_test_train }}
{%- endif -%}
tempest_services:
- octavia
- neutron