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 5d633e77cd
commit 87c68a7492
3 changed files with 7 additions and 0 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]