Add telemetry testing to gate

This commit adds a new variable `tempest_service_available_aodh` to the
tempest role and adds a new function to openstack_tempest_gate.sh.j2 to
run telemetry tests.  We then update run-tempest.sh to also run the
telemetry tests.

At present we run all telemetry tests, but this is only ~ 9 tests which
complete very quickly.  In future we may want to be more limited to
what we run but it would be best to have someone with ceilometer
knowledge determine which those should be.

Change-Id: I8842e60c3c50f774119c8219f224069ff32394f8
This commit is contained in:
Matt Thompson 2016-02-10 16:20:17 +00:00
parent b4bb5105b6
commit 1f18660719
5 changed files with 9 additions and 1 deletions

View File

@ -43,6 +43,7 @@ tempest_network_tenant_network_mask_bits: 28
tempest_dashboard_login_url: "https://{{ external_lb_vip_address }}/auth/login/"
tempest_dashboard_url: "https://{{ external_lb_vip_address }}/"
tempest_service_available_aodh: False
tempest_service_available_ceilometer: False
tempest_service_available_cinder: True
tempest_service_available_glance: True

View File

@ -67,6 +67,11 @@ function gen_test_list_cinder_backup {
egrep 'tempest\.api\.volume\.admin\.test_volumes_backup'
}
# Run ceilometer api tests
function gen_test_list_ceilometer_api {
egrep 'tempest\.api\.telemetry'
}
# Run smoke tests
function gen_test_list_smoke {
# this specific test fails frequently and is making our multi node nightly

View File

@ -177,6 +177,7 @@ nova = {{ tempest_service_available_nova }}
heat = {{ tempest_service_available_heat }}
ceilometer = {{ tempest_service_available_ceilometer }}
horizon = {{ tempest_service_available_horizon }}
aodh = {{ tempest_service_available_aodh }}
[stress]

View File

@ -22,7 +22,7 @@ export TEMPEST_SCRIPT_PATH=${TEMPEST_SCRIPT_PATH:-/opt/openstack_tempest_gate.sh
## TODO(someone) this needs to be changed back to the normal tests once someone
## is able to dig into tempest/the updated/deprecated config(s). This test should
## go back to being the scenario tests.
export TEMPEST_SCRIPT_PARAMETERS=${TEMPEST_SCRIPT_PARAMETERS:-"scenario heat_api cinder_backup"}
export TEMPEST_SCRIPT_PARAMETERS=${TEMPEST_SCRIPT_PARAMETERS:-"scenario heat_api cinder_backup ceilometer_api"}
export RUN_TEMPEST_OPTS=${RUN_TEMPEST_OPTS:-'--serial'}
export TESTR_OPTS=${TESTR_OPTS:-''}

View File

@ -46,6 +46,7 @@ cinder_service_backup_program_enabled: True
## Tempest settings
tempest_service_available_ceilometer: True
tempest_service_available_aodh: True
tempest_public_subnet_cidr: 172.29.248.0/22
tempest_volume_backup_enabled: True