]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add more rally benchmarks related to Cinder
authorBoris Pavlovic <boris@pavlovic.me>
Wed, 7 Jan 2015 21:26:11 +0000 (00:26 +0300)
committerBoris Pavlovic <boris@pavlovic.me>
Thu, 8 Jan 2015 14:27:55 +0000 (17:27 +0300)
Some of Rally benchmarks related to Cinder are failing often.
Especially benchmarks that attach volumes.

Adding all Cinder related benchmarks to cinder gate to help
Cinder team to fix issues.

As well make this job put to Jenkins +1/-1.
For that we added for every benchmark sla section
that checks that there is no failed iterations.

Change-Id: I3b32dd91792445d26755e8d469edb5d3f82ebca2

rally-jobs/cinder.yaml

index 3ff7193c85785e8fa1ba220b26fae1c95c30f0cf..9ccb5b8d2d377853a1c58244ca7711612a543504 100644 (file)
@@ -1,4 +1,20 @@
 ---
+  CinderVolumes.create_and_delete_volume:
+    -
+      args:
+        size: 1
+      runner:
+        type: "constant"
+        times: 12
+        concurrency: 4
+      context:
+        users:
+          tenants: 2
+          users_per_tenant: 2
+      sla:
+        failure_rate:
+          max: 0
+
   CinderVolumes.create_and_list_volume:
     -
       args:
         detailed: True
       runner:
         type: "constant"
-        times: 3
-        concurrency: 1
+        times: 10
+        concurrency: 5
       context:
         users:
           tenants: 1
           users_per_tenant: 1
+      sla:
+        failure_rate:
+          max: 0
+
+  CinderVolumes.create_volume:
+    -
+      args:
+        size: 1
+      runner:
+        type: "constant"
+        times: 12
+        concurrency: 4
+      context:
+        users:
+          tenants: 2
+          users_per_tenant: 2
+      sla:
+        failure_rate:
+          max: 0
+
+  CinderVolumes.create_and_delete_snapshot:
+    -
+      args:
+        force: false
+      runner:
+        type: "constant"
+        times: 12
+        concurrency: 4
+      context:
+        users:
+          tenants: 2
+          users_per_tenant: 2
+        volumes:
+          size: 1
+      sla:
+        failure_rate:
+          max: 0
+
+  CinderVolumes.create_and_attach_volume:
+    -
+      args:
+        size: 1
+        image:
+          name: "^cirros.*uec$"
+        flavor:
+          name: "m1.tiny"
+      runner:
+        type: "constant"
+        times: 12
+        concurrency: 4
+      context:
+        users:
+          tenants: 2
+          users_per_tenant: 2
+      sla:
+        failure_rate:
+          max: 0
+
+  CinderVolumes.create_snapshot_and_attach_volume:
+    -
+      args:
+          volume_type: false
+          size:
+              min: 1
+              max: 2
+      runner:
+        type: "constant"
+        times: 12
+        concurrency: 3
+      context:
+        users:
+          tenants: 2
+          users_per_tenant: 1
+        servers:
+          image:
+            name: "^cirros.*uec$"
+          flavor:
+            name: "m1.tiny"
+          servers_per_tenant: 2
+      sla:
+          failure_rate:
+            max: 0
+    -
+      args:
+          volume_type: true
+          size:
+              min: 1
+              max: 2
+      runner:
+        type: "constant"
+        times: 12
+        concurrency: 3
+      context:
+        users:
+          tenants: 1
+          users_per_tenant: 1
+        servers:
+          image:
+            name: "^cirros.*uec$"
+          flavor:
+            name: "m1.tiny"
+          servers_per_tenant: 1
+      sla:
+          failure_rate:
+            max: 0
+
+  CinderVolumes.create_nested_snapshots_and_attach_volume:
+    -
+      args:
+          size:
+              min: 1
+              max: 2
+          nested_level:
+              min: 2
+              max: 2
+      runner:
+        type: "constant"
+        times: 12
+        concurrency: 3
+      context:
+        users:
+          tenants: 2
+          users_per_tenant: 1
+        servers:
+          image:
+            name: "^cirros.*uec$"
+          flavor:
+            name: "m1.tiny"
+          servers_per_tenant: 2
+      sla:
+          failure_rate:
+            max: 0