Reduce amount of time in gates

1) Remove boot_and_bounce soft_restart action. It takes about
   2 mintues to run soft delete. And this functionallity is already
   tested in gate-rally-dsvm-neutron. So remove it.

2) Reduce 10 times duration of test plugin ~10 sec -> ~1 second

3) Reduce amount of run of some benchmarks

4) Make concurency == times

Change-Id: Ic460b46f625c5cbeb1241c3e8d052506a32470a6
This commit is contained in:
Boris Pavlovic 2014-11-27 05:33:45 +04:00
parent 33e2c22a5d
commit 28da80dcac
3 changed files with 61 additions and 63 deletions

View File

@ -24,11 +24,11 @@ class FakePlugin(base.Scenario):
@base.atomic_action_timer("test1")
def _test1(self, factor):
time.sleep(random.random())
time.sleep(random.random() * 0.1)
@base.atomic_action_timer("test2")
def _test2(self, factor):
time.sleep(random.random() * factor * 10)
time.sleep(random.random() * factor)
@base.scenario()
def testplugin(self, factor=1):

View File

@ -65,8 +65,8 @@
subnets_per_network: 2
runner:
type: "constant"
times: 40
concurrency: 20
times: 30
concurrency: 30
context:
users:
tenants: 1
@ -89,8 +89,8 @@
router_create_args:
runner:
type: "constant"
times: 40
concurrency: 20
times: 15
concurrency: 15
context:
users:
tenants: 1
@ -109,10 +109,10 @@
args:
network_create_args:
port_create_args:
ports_per_network: 5
ports_per_network: 4
runner:
type: "constant"
times: 40
times: 20
concurrency: 20
context:
users:
@ -189,7 +189,7 @@
name: "_router_updated"
runner:
type: "constant"
times: 10
times: 5
concurrency: 5
context:
users:
@ -282,8 +282,8 @@
ports_per_network: 10
runner:
type: "constant"
times: 40
concurrency: 20
times: 15
concurrency: 15
context:
users:
tenants: 1
@ -305,8 +305,8 @@
name: "^cirros.*uec$"
runner:
type: "constant"
times: 6
concurrency: 3
times: 4
concurrency: 4
context:
users:
tenants: 3
@ -324,8 +324,8 @@
name: "^cirros.*uec$"
runner:
type: "constant"
times: 6
concurrency: 3
times: 4
concurrency: 4
context:
users:
tenants: 3
@ -344,8 +344,8 @@
detailed: True
runner:
type: "constant"
times: 6
concurrency: 3
times: 4
concurrency: 4
context:
users:
tenants: 3
@ -431,8 +431,8 @@
name: "^cirros.*uec$"
runner:
type: "constant"
times: 2
concurrency: 4
times: 3
concurrency: 3
context:
users:
tenants: 3
@ -469,8 +469,8 @@
template_path: '/home/jenkins/.rally/extra/server_with_ports.yaml.template'
runner:
type: "constant"
times: 4
concurrency: 2
times: 3
concurrency: 3
context:
users:
tenants: 2

View File

@ -478,7 +478,7 @@
template_path: '/home/jenkins/.rally/extra/server_with_volume.yaml.template'
runner:
type: "constant"
times: 4
times: 2
concurrency: 2
context:
users:
@ -671,7 +671,7 @@
runner:
type: "constant"
times: 3
concurrency: 2
concurrency: 3
context:
users:
tenants: 2
@ -720,7 +720,7 @@
runner:
type: "constant"
times: 3
concurrency: 2
concurrency: 3
context:
users:
tenants: 2
@ -742,7 +742,7 @@
runner:
type: "constant"
times: 3
concurrency: 2
concurrency: 3
context:
users:
tenants: 2
@ -756,11 +756,11 @@
args:
volume_type: false
min_volume_size: 1
max_volume_size: 5
max_volume_size: 2
runner:
type: "constant"
times: 4
concurrency: 2
times: 3
concurrency: 3
context:
users:
tenants: 2
@ -778,21 +778,21 @@
args:
volume_type: true
min_volume_size: 1
max_volume_size: 5
max_volume_size: 2
runner:
type: "constant"
times: 4
concurrency: 2
times: 3
concurrency: 3
context:
users:
tenants: 2
tenants: 1
users_per_tenant: 1
servers:
image:
name: "^cirros.*uec$"
flavor:
name: "m1.tiny"
servers_per_tenant: 2
servers_per_tenant: 1
sla:
failure_rate:
max: 0
@ -806,8 +806,8 @@
disk_format: "qcow2"
runner:
type: "constant"
times: 6
concurrency: 6
times: 5
concurrency: 5
context:
users:
tenants: 2
@ -845,8 +845,8 @@
number_instances: 2
runner:
type: "constant"
times: 4
concurrency: 2
times: 3
concurrency: 3
context:
users:
tenants: 3
@ -859,8 +859,8 @@
-
runner:
type: "constant"
times: 5
concurrency: 5
times: 4
concurrency: 4
context:
users:
tenants: 2
@ -883,8 +883,8 @@
name: "^cirros.*uec$"
runner:
type: "constant"
times: 4
concurrency: 2
times: 3
concurrency: 3
context:
users:
tenants: 3
@ -901,8 +901,8 @@
force_delete: true
runner:
type: "constant"
times: 4
concurrency: 2
times: 3
concurrency: 3
context:
users:
tenants: 3
@ -921,11 +921,11 @@
detailed: True
runner:
type: "constant"
times: 4
concurrency: 4
times: 3
concurrency: 3
context:
users:
tenants: 4
tenants: 3
users_per_tenant: 1
sla:
failure_rate:
@ -943,11 +943,11 @@
confirm: true
runner:
type: "constant"
times: 3
concurrency: 3
times: 2
concurrency: 2
context:
users:
tenants: 4
tenants: 2
users_per_tenant: 1
sla:
failure_rate:
@ -963,19 +963,17 @@
actions:
-
hard_reboot: 1
-
soft_reboot: 1
-
stop_start: 1
-
rescue_unrescue: 1
runner:
type: "constant"
times: 3
concurrency: 3
times: 2
concurrency: 2
context:
users:
tenants: 4
tenants: 2
users_per_tenant: 1
sla:
failure_rate:
@ -1011,8 +1009,8 @@
volume_size: 1
runner:
type: "constant"
times: 4
concurrency: 2
times: 3
concurrency: 3
context:
users:
tenants: 2
@ -1034,7 +1032,7 @@
concurrency: 2
context:
users:
tenants: 3
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
@ -1050,8 +1048,8 @@
auto_assign_nics: false
runner:
type: "constant"
times: 4
concurrency: 2
times: 3
concurrency: 3
context:
users:
tenants: 3
@ -1067,8 +1065,8 @@
name: "^cirros.*uec$"
runner:
type: "constant"
times: 4
concurrency: 2
times: 3
concurrency: 3
context:
users:
tenants: 3
@ -1155,8 +1153,8 @@
-
args:
url: "http://www.google.com"
response: 302
response: 200
runner:
type: "constant"
times: 10
times: 5
concurrency: 5