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:
parent
b4bb5105b6
commit
1f18660719
@ -43,6 +43,7 @@ tempest_network_tenant_network_mask_bits: 28
|
|||||||
tempest_dashboard_login_url: "https://{{ external_lb_vip_address }}/auth/login/"
|
tempest_dashboard_login_url: "https://{{ external_lb_vip_address }}/auth/login/"
|
||||||
tempest_dashboard_url: "https://{{ external_lb_vip_address }}/"
|
tempest_dashboard_url: "https://{{ external_lb_vip_address }}/"
|
||||||
|
|
||||||
|
tempest_service_available_aodh: False
|
||||||
tempest_service_available_ceilometer: False
|
tempest_service_available_ceilometer: False
|
||||||
tempest_service_available_cinder: True
|
tempest_service_available_cinder: True
|
||||||
tempest_service_available_glance: True
|
tempest_service_available_glance: True
|
||||||
|
@ -67,6 +67,11 @@ function gen_test_list_cinder_backup {
|
|||||||
egrep 'tempest\.api\.volume\.admin\.test_volumes_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
|
# Run smoke tests
|
||||||
function gen_test_list_smoke {
|
function gen_test_list_smoke {
|
||||||
# this specific test fails frequently and is making our multi node nightly
|
# this specific test fails frequently and is making our multi node nightly
|
||||||
|
@ -177,6 +177,7 @@ nova = {{ tempest_service_available_nova }}
|
|||||||
heat = {{ tempest_service_available_heat }}
|
heat = {{ tempest_service_available_heat }}
|
||||||
ceilometer = {{ tempest_service_available_ceilometer }}
|
ceilometer = {{ tempest_service_available_ceilometer }}
|
||||||
horizon = {{ tempest_service_available_horizon }}
|
horizon = {{ tempest_service_available_horizon }}
|
||||||
|
aodh = {{ tempest_service_available_aodh }}
|
||||||
|
|
||||||
|
|
||||||
[stress]
|
[stress]
|
||||||
|
@ -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
|
## 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
|
## is able to dig into tempest/the updated/deprecated config(s). This test should
|
||||||
## go back to being the scenario tests.
|
## 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 RUN_TEMPEST_OPTS=${RUN_TEMPEST_OPTS:-'--serial'}
|
||||||
export TESTR_OPTS=${TESTR_OPTS:-''}
|
export TESTR_OPTS=${TESTR_OPTS:-''}
|
||||||
|
|
||||||
|
@ -46,6 +46,7 @@ cinder_service_backup_program_enabled: True
|
|||||||
|
|
||||||
## Tempest settings
|
## Tempest settings
|
||||||
tempest_service_available_ceilometer: True
|
tempest_service_available_ceilometer: True
|
||||||
|
tempest_service_available_aodh: True
|
||||||
tempest_public_subnet_cidr: 172.29.248.0/22
|
tempest_public_subnet_cidr: 172.29.248.0/22
|
||||||
tempest_volume_backup_enabled: True
|
tempest_volume_backup_enabled: True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user