Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ rally task start my_glance_list_old.yaml
- Running Rally version 0.7.1~dev269
- --------------------------------------------------------------------------------
- Preparing input task
- --------------------------------------------------------------------------------
- Input task is:
- ---
- GlanceImages.list_images:
- -
- runner:
- type: "constant"
- times: 10
- concurrency: 1
- context:
- users:
- tenants: 2
- users_per_tenant: 2
- images:
- image_url: "/home/shihai/Downloads/cirros-0.3.4-x86_64-disk.img"
- image_type: "qcow2"
- image_container: "bare"
- images_per_tenant: 4
- sla:
- failure_rate:
- max: 0
- Task syntax is correct :)
- 2017-01-18 01:51:01.752 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Task validation.
- 2017-01-18 01:51:01.782 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Task validation of scenarios names.
- 2017-01-18 01:51:01.785 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Task validation of scenarios names.
- 2017-01-18 01:51:01.785 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Task validation of syntax.
- 2017-01-18 01:51:01.797 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Task validation of syntax.
- 2017-01-18 01:51:01.798 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Task validation of semantic.
- 2017-01-18 01:51:01.798 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Task validation check cloud.
- 2017-01-18 01:51:03.497 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Task validation check cloud.
- 2017-01-18 01:51:03.505 25181 INFO rally.plugins.openstack.context.keystone.users [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Enter context: `users`
- 2017-01-18 01:51:06.318 25181 INFO rally.plugins.openstack.context.keystone.users [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Enter context: `users`
- 2017-01-18 01:51:06.653 25181 INFO rally.plugins.openstack.context.keystone.users [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Exit context: `users`
- 2017-01-18 01:51:10.776 25181 INFO rally.plugins.openstack.context.keystone.users [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Exit context: `users`
- 2017-01-18 01:51:10.776 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Task validation of semantic.
- 2017-01-18 01:51:10.776 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Task validation.
- Task config is valid :)
- --------------------------------------------------------------------------------
- Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058: started
- --------------------------------------------------------------------------------
- Benchmarking... This can take a while...
- To track task status use:
- rally task status
- or
- rally task detailed
- Using task: 32570a4f-17ca-4ffc-8e58-e20d3dd3f058
- 2017-01-18 01:51:10.793 25181 INFO rally.api [-] Benchmark Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 on Deployment dbce29ce-1de8-4b78-8f12-99445144a089
- 2017-01-18 01:51:10.798 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Benchmarking.
- 2017-01-18 01:51:10.878 25181 INFO rally.task.engine [-] Running benchmark with key:
- {
- "kw": {
- "runner": {
- "type": "constant",
- "concurrency": 1,
- "times": 10
- },
- "sla": {
- "failure_rate": {
- "max": 0
- }
- },
- "context": {
- "images": {
- "image_type": "qcow2",
- "image_container": "bare",
- "image_url": "/home/shihai/Downloads/cirros-0.3.4-x86_64-disk.img",
- "images_per_tenant": 4
- },
- "users": {
- "users_per_tenant": 2,
- "tenants": 2
- }
- }
- },
- "name": "GlanceImages.list_images",
- "pos": 0
- }
- 2017-01-18 01:51:10.884 25181 INFO rally.plugins.openstack.context.keystone.users [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Enter context: `users`
- 2017-01-18 01:51:15.682 25181 INFO rally.plugins.openstack.context.keystone.users [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Enter context: `users`
- 2017-01-18 01:51:15.682 25181 INFO rally.plugins.openstack.context.glance.images [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Enter context: `Images`
- 2017-01-18 01:51:35.581 25181 INFO rally.plugins.openstack.context.glance.images [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Enter context: `Images`
- 2017-01-18 01:51:35.599 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 1 START
- 2017-01-18 01:51:36.319 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 1 END: OK
- 2017-01-18 01:51:36.322 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 2 START
- 2017-01-18 01:51:37.064 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 2 END: OK
- 2017-01-18 01:51:37.068 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 3 START
- 2017-01-18 01:51:37.812 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 3 END: OK
- 2017-01-18 01:51:37.814 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 4 START
- 2017-01-18 01:51:38.593 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 4 END: OK
- 2017-01-18 01:51:38.596 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 5 START
- 2017-01-18 01:51:39.322 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 5 END: OK
- 2017-01-18 01:51:39.324 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 6 START
- 2017-01-18 01:51:40.030 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 6 END: OK
- 2017-01-18 01:51:40.033 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 7 START
- 2017-01-18 01:51:40.748 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 7 END: OK
- 2017-01-18 01:51:40.750 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 8 START
- 2017-01-18 01:51:41.478 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 8 END: OK
- 2017-01-18 01:51:41.481 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 9 START
- 2017-01-18 01:51:42.220 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 9 END: OK
- 2017-01-18 01:51:42.223 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 10 START
- 2017-01-18 01:51:43.089 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 10 END: OK
- 2017-01-18 01:51:43.106 25181 INFO rally.plugins.openstack.context.cleanup.user [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: user resources cleanup
- 2017-01-18 01:51:46.373 25181 INFO rally.plugins.openstack.context.cleanup.user [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: user resources cleanup
- 2017-01-18 01:51:46.373 25181 INFO rally.plugins.openstack.context.glance.images [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Exit context: `Images`
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context [-] Context images failed during cleanup.
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context [-] 404 Not Found: Failed to find image 9b0541ad-9310-408b-8943-3d0f31c99a27 to delete (HTTP 404)
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context Traceback (most recent call last):
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context File "/usr/local/lib/python2.7/dist-packages/rally/task/context.py", line 182, in cleanup
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context ctx.cleanup()
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context File "/usr/local/lib/python2.7/dist-packages/rally/common/logging.py", line 197, in wrapper
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context result = f(self, *args, **kwargs)
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context File "/usr/local/lib/python2.7/dist-packages/rally/plugins/openstack/context/glance/images.py", line 134, in cleanup
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context clients.glance().images.delete(image)
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context File "/usr/local/lib/python2.7/dist-packages/glanceclient/v2/images.py", line 222, in delete
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context self.http_client.delete(url)
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context File "/usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 191, in delete
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context return self.request(url, 'DELETE', **kwargs)
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 346, in request
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context return self._handle_response(resp)
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 107, in _handle_response
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context raise exc.from_response(resp, resp.content)
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context HTTPNotFound: 404 Not Found: Failed to find image 9b0541ad-9310-408b-8943-3d0f31c99a27 to delete (HTTP 404)
- 2017-01-18 01:51:47.067 25181 ERROR rally.task.context
- 2017-01-18 01:51:47.070 25181 INFO rally.plugins.openstack.context.keystone.users [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Exit context: `users`
- 2017-01-18 01:51:53.721 25181 INFO rally.plugins.openstack.context.keystone.users [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Exit context: `users`
- 2017-01-18 01:51:55.035 25181 INFO rally.task.engine [-] Load duration is: 7.488754
- 2017-01-18 01:51:55.035 25181 INFO rally.task.engine [-] Full runner duration is: 7.516187
- 2017-01-18 01:51:55.035 25181 INFO rally.task.engine [-] Full duration is 42.83945
- 2017-01-18 01:51:55.130 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Benchmarking.
- --------------------------------------------------------------------------------
- Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058: finished
- --------------------------------------------------------------------------------
- test scenario GlanceImages.list_images
- args position 0
- args values:
- {
- "runner": {
- "type": "constant",
- "concurrency": 1,
- "times": 10
- },
- "hooks": [],
- "args": {},
- "sla": {
- "failure_rate": {
- "max": 0
- }
- },
- "context": {
- "images": {
- "image_type": "qcow2",
- "image_container": "bare",
- "image_url": "/home/shihai/Downloads/cirros-0.3.4-x86_64-disk.img",
- "images_per_tenant": 4
- },
- "users": {
- "users_per_tenant": 2,
- "tenants": 2
- }
- }
- }
- --------------------------------------------------------------------------------
- Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 has 0 error(s)
- --------------------------------------------------------------------------------
- +-----------------------------------------------------------------------------------------------------------------------+
- | Response Times (sec) |
- +--------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
- | Action | Min (sec) | Median (sec) | 90%ile (sec) | 95%ile (sec) | Max (sec) | Avg (sec) | Success | Count |
- +--------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
- | glance.list_images | 0.705 | 0.733 | 0.787 | 0.826 | 0.865 | 0.746 | 100.0% | 10 |
- | total | 0.705 | 0.733 | 0.787 | 0.826 | 0.865 | 0.746 | 100.0% | 10 |
- +--------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
- Load duration: 7.488754
- Full duration: 42.83945
- HINTS:
- * To plot HTML graphics with this data, run:
- rally task report 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 --out output.html
- * To generate a JUnit report, run:
- rally task report 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 --junit --out output.xml
- * To get raw JSON output of task results, run:
- rally task results 32570a4f-17ca-4ffc-8e58-e20d3dd3f058
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement