Skip to content

Instantly share code, notes, and snippets.

    Action         | Min (sec) | Avg (sec) | Max (sec) | 90  percentile | 95 percentile | Success | Count

-----------------------|-----------|-----------|-----------|----------------|---------------|---------|------- neutron.create_network | 0.115 | 0.296 | 0.653 | 0.541 | 0.565 | 86.0% | 100

# Create Networks
Min 50
50th percentile 93
75th percentile 161
95th percentile 259
99th percentile 366
Max 269
Mean 143
Std Deviation 8
# Rally
Action Min (sec) Avg (sec) Max (sec) 90 percentile 95 percentile Success Count
neutron.create_network 0.293 0.829 1.974 1.271 1.414 81.0% 100
neutron.delete_network 0.084 0.119 0.222 0.162 0.179 81.0% 100
total 0.413 0.948 2.136 1.451 1.517 81.0% 100
"atomic_actions": {
"neutron.create_network": 0.3678889274597168,
"neutron.delete_network": 0.11631393432617188
},
+--------------------------------------------------------------------------------------+
| Response Times (sec) |
+---------------------+-----+--------+--------+--------+-------+-----+---------+-------+
| action | min | median | 90%ile | 95%ile | max | avg | success | count |
+---------------------+-----+--------+--------+--------+-------+-----+---------+-------+
| dummy_fail_test | 0.0 | 0.0 | 0.0 | 0.0 | 0.001 | 0.0 | 56.0% | 100 |
| dummy_fail_test (2) | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 30.0% | 100 |
| total | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 30.0% | 100 |
+---------------------+-----+--------+--------+--------+-------+-----+---------+-------+
@meteorfox
meteorfox / gist:4e681adf70ff7ed212a1
Created March 6, 2015 18:24
Shell Output tox -e cli
AttributeError: 'Module_six_moves_urllib_parse' object has no attribute 'SplitResult'
======================================================================
FAIL: test_cli_deployment.DeploymentTestCase.test_check_success
test_cli_deployment.DeploymentTestCase.test_check_success
----------------------------------------------------------------------
_StringException
----------------------------------------------------------------------
@meteorfox
meteorfox / gist:558408e6138fac5d90ed
Created February 26, 2015 00:17
Full UnixBench output causing Regex error
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,
$ rally task start concurrent-boot-and-delete.yaml --task-args "{'nr_times': 20, 'nr_concurrent': 2}"
{
"context": {
"users": {
"tenants": 3,
"users_per_tenant": 2,
"endpoint_type": "internal"
}
}
}
diff --git a/rally/benchmark/context/users.py b/rally/benchmark/context/users.py
index f79d21c..c07b7a9 100644
--- a/rally/benchmark/context/users.py
+++ b/rally/benchmark/context/users.py
@@ -182,11 +182,13 @@ class UserGenerator(base.Context):
user = client.create_user(username, password,
"%s@email.me" % username,
tenant_id, user_dom)
+ endpoint_type = self.context["admin"]["endpoint"]["endpoint_type"]
user_endpoint = objects.Endpoint(