Add telemetry gabbits tests to smoke
Add test_autoscaling gabbis tests to smoke
Related-prod: PRODX-8123
Change-Id: I9099ac728eea1b8538a7324366cece2ecb691d80
diff --git a/telemetry_tempest_plugin/scenario/telemetry_integration_gabbits/autoscaling.yaml b/telemetry_tempest_plugin/scenario/telemetry_integration_gabbits/autoscaling.yaml
index 900aa76..4cf2c3c 100644
--- a/telemetry_tempest_plugin/scenario/telemetry_integration_gabbits/autoscaling.yaml
+++ b/telemetry_tempest_plugin/scenario/telemetry_integration_gabbits/autoscaling.yaml
@@ -3,21 +3,21 @@
x-auth-token: $ENVIRON['USER_TOKEN']
tests:
- - name: list alarms none
+ - name: list alarms none smoke
desc: Lists alarms, none yet exist
url: $ENVIRON['AODH_SERVICE_URL']/v2/alarms
method: GET
response_strings:
- "[]"
- - name: list servers none
+ - name: list servers none smoke
desc: List servers, none yet exists
url: $ENVIRON['NOVA_SERVICE_URL']/servers
method: GET
response_strings:
- "[]"
- - name: create stack
+ - name: create stack smoke
desc: Create an autoscaling stack
url: $ENVIRON['HEAT_SERVICE_URL']/stacks
method: POST
@@ -26,7 +26,7 @@
data: <@create_stack.json
status: 201
- - name: control stack status
+ - name: control stack status smoke
desc: Checks the stack have been created successfully
url: $ENVIRON['HEAT_SERVICE_URL']/stacks/$ENVIRON['STACK_NAME']
redirects: true
@@ -38,7 +38,7 @@
response_json_paths:
$.stack.stack_status: "CREATE_COMPLETE"
- - name: list servers grow
+ - name: list servers grow smoke
desc: Wait the autoscaling stack grow to two servers
url: $ENVIRON['NOVA_SERVICE_URL']/servers/detail
method: GET
@@ -52,7 +52,7 @@
$.servers[1].status: ACTIVE
$.servers.`len`: 2
- - name: check gnocchi resources
+ - name: check gnocchi resources smoke
desc: Check the gnocchi resources for this two servers exists
url: $ENVIRON['GNOCCHI_SERVICE_URL']/v1/search/resource/instance
method: POST
@@ -67,7 +67,7 @@
response_json_paths:
$.`len`: 2
- - name: check event
+ - name: check event smoke
desc: Check panko for new instance.create.end event
url: $ENVIRON['PANKO_SERVICE_URL']/v2/events
method: GET
@@ -91,7 +91,7 @@
$[0].event_type: compute.instance.create.end
$[0].traits[?(@.name='resource_id')].value: $HISTORY['list servers grow'].$RESPONSE['$.servers[0].id']
- - name: check alarm
+ - name: check alarm smoke
desc: Check the aodh alarm and its state
url: $ENVIRON['AODH_SERVICE_URL']/v2/alarms
method: GET
@@ -103,19 +103,19 @@
response_json_paths:
$[0].state: alarm
- - name: get stack location
+ - name: get stack location smoke
desc: Get the stack location
url: $ENVIRON['HEAT_SERVICE_URL']/stacks/$ENVIRON['STACK_NAME']
method: GET
status: 302
- - name: delete stack
+ - name: delete stack smoke
desc: Delete the stack
url: $LOCATION
method: DELETE
status: 204
- - name: get deleted stack
+ - name: get deleted stack smoke
desc: Check the stack have been deleted
url: $ENVIRON['HEAT_SERVICE_URL']/stacks/$ENVIRON['STACK_NAME']
redirects: true
@@ -125,14 +125,14 @@
delay: 1
status: 404
- - name: list alarms deleted
+ - name: list alarms deleted smoke
desc: List alarms, no more exist
url: $ENVIRON['AODH_SERVICE_URL']/v2/alarms
method: GET
response_strings:
- "[]"
- - name: list servers deleted
+ - name: list servers deleted smoke
desc: List servers, no more exists
url: $ENVIRON['NOVA_SERVICE_URL']/servers
method: GET