Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.80 KB | None | 0 0
  1. $ rally task start my_glance_list_old.yaml
  2. Running Rally version 0.7.1~dev269
  3. --------------------------------------------------------------------------------
  4. Preparing input task
  5. --------------------------------------------------------------------------------
  6.  
  7. Input task is:
  8.  
  9. ---
  10. GlanceImages.list_images:
  11. -
  12. runner:
  13. type: "constant"
  14. times: 10
  15. concurrency: 1
  16. context:
  17. users:
  18. tenants: 2
  19. users_per_tenant: 2
  20. images:
  21. image_url: "/home/shihai/Downloads/cirros-0.3.4-x86_64-disk.img"
  22. image_type: "qcow2"
  23. image_container: "bare"
  24. images_per_tenant: 4
  25. sla:
  26. failure_rate:
  27. max: 0
  28.  
  29. Task syntax is correct :)
  30. 2017-01-18 01:51:01.752 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Task validation.
  31. 2017-01-18 01:51:01.782 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Task validation of scenarios names.
  32. 2017-01-18 01:51:01.785 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Task validation of scenarios names.
  33. 2017-01-18 01:51:01.785 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Task validation of syntax.
  34. 2017-01-18 01:51:01.797 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Task validation of syntax.
  35. 2017-01-18 01:51:01.798 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Task validation of semantic.
  36. 2017-01-18 01:51:01.798 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Task validation check cloud.
  37. 2017-01-18 01:51:03.497 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Task validation check cloud.
  38. 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`
  39. 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`
  40. 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`
  41. 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`
  42. 2017-01-18 01:51:10.776 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Task validation of semantic.
  43. 2017-01-18 01:51:10.776 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Task validation.
  44. Task config is valid :)
  45. --------------------------------------------------------------------------------
  46. Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058: started
  47. --------------------------------------------------------------------------------
  48.  
  49. Benchmarking... This can take a while...
  50.  
  51. To track task status use:
  52.  
  53. rally task status
  54. or
  55. rally task detailed
  56.  
  57. Using task: 32570a4f-17ca-4ffc-8e58-e20d3dd3f058
  58. 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
  59. 2017-01-18 01:51:10.798 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Starting: Benchmarking.
  60. 2017-01-18 01:51:10.878 25181 INFO rally.task.engine [-] Running benchmark with key:
  61. {
  62. "kw": {
  63. "runner": {
  64. "type": "constant",
  65. "concurrency": 1,
  66. "times": 10
  67. },
  68. "sla": {
  69. "failure_rate": {
  70. "max": 0
  71. }
  72. },
  73. "context": {
  74. "images": {
  75. "image_type": "qcow2",
  76. "image_container": "bare",
  77. "image_url": "/home/shihai/Downloads/cirros-0.3.4-x86_64-disk.img",
  78. "images_per_tenant": 4
  79. },
  80. "users": {
  81. "users_per_tenant": 2,
  82. "tenants": 2
  83. }
  84. }
  85. },
  86. "name": "GlanceImages.list_images",
  87. "pos": 0
  88. }
  89. 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`
  90. 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`
  91. 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`
  92. 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`
  93. 2017-01-18 01:51:35.599 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 1 START
  94. 2017-01-18 01:51:36.319 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 1 END: OK
  95. 2017-01-18 01:51:36.322 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 2 START
  96. 2017-01-18 01:51:37.064 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 2 END: OK
  97. 2017-01-18 01:51:37.068 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 3 START
  98. 2017-01-18 01:51:37.812 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 3 END: OK
  99. 2017-01-18 01:51:37.814 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 4 START
  100. 2017-01-18 01:51:38.593 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 4 END: OK
  101. 2017-01-18 01:51:38.596 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 5 START
  102. 2017-01-18 01:51:39.322 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 5 END: OK
  103. 2017-01-18 01:51:39.324 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 6 START
  104. 2017-01-18 01:51:40.030 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 6 END: OK
  105. 2017-01-18 01:51:40.033 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 7 START
  106. 2017-01-18 01:51:40.748 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 7 END: OK
  107. 2017-01-18 01:51:40.750 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 8 START
  108. 2017-01-18 01:51:41.478 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 8 END: OK
  109. 2017-01-18 01:51:41.481 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 9 START
  110. 2017-01-18 01:51:42.220 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 9 END: OK
  111. 2017-01-18 01:51:42.223 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 10 START
  112. 2017-01-18 01:51:43.089 25531 INFO rally.task.runner [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | ITER: 10 END: OK
  113. 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
  114. 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
  115. 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`
  116. 2017-01-18 01:51:47.067 25181 ERROR rally.task.context [-] Context images failed during cleanup.
  117. 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)
  118. 2017-01-18 01:51:47.067 25181 ERROR rally.task.context Traceback (most recent call last):
  119. 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
  120. 2017-01-18 01:51:47.067 25181 ERROR rally.task.context ctx.cleanup()
  121. 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
  122. 2017-01-18 01:51:47.067 25181 ERROR rally.task.context result = f(self, *args, **kwargs)
  123. 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
  124. 2017-01-18 01:51:47.067 25181 ERROR rally.task.context clients.glance().images.delete(image)
  125. 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
  126. 2017-01-18 01:51:47.067 25181 ERROR rally.task.context self.http_client.delete(url)
  127. 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
  128. 2017-01-18 01:51:47.067 25181 ERROR rally.task.context return self.request(url, 'DELETE', **kwargs)
  129. 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
  130. 2017-01-18 01:51:47.067 25181 ERROR rally.task.context return self._handle_response(resp)
  131. 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
  132. 2017-01-18 01:51:47.067 25181 ERROR rally.task.context raise exc.from_response(resp, resp.content)
  133. 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)
  134. 2017-01-18 01:51:47.067 25181 ERROR rally.task.context
  135. 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`
  136. 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`
  137. 2017-01-18 01:51:55.035 25181 INFO rally.task.engine [-] Load duration is: 7.488754
  138. 2017-01-18 01:51:55.035 25181 INFO rally.task.engine [-] Full runner duration is: 7.516187
  139. 2017-01-18 01:51:55.035 25181 INFO rally.task.engine [-] Full duration is 42.83945
  140. 2017-01-18 01:51:55.130 25181 INFO rally.task.engine [-] Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 | Completed: Benchmarking.
  141.  
  142. --------------------------------------------------------------------------------
  143. Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058: finished
  144. --------------------------------------------------------------------------------
  145.  
  146. test scenario GlanceImages.list_images
  147. args position 0
  148. args values:
  149. {
  150. "runner": {
  151. "type": "constant",
  152. "concurrency": 1,
  153. "times": 10
  154. },
  155. "hooks": [],
  156. "args": {},
  157. "sla": {
  158. "failure_rate": {
  159. "max": 0
  160. }
  161. },
  162. "context": {
  163. "images": {
  164. "image_type": "qcow2",
  165. "image_container": "bare",
  166. "image_url": "/home/shihai/Downloads/cirros-0.3.4-x86_64-disk.img",
  167. "images_per_tenant": 4
  168. },
  169. "users": {
  170. "users_per_tenant": 2,
  171. "tenants": 2
  172. }
  173. }
  174. }
  175.  
  176. --------------------------------------------------------------------------------
  177. Task 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 has 0 error(s)
  178. --------------------------------------------------------------------------------
  179.  
  180. +-----------------------------------------------------------------------------------------------------------------------+
  181. | Response Times (sec) |
  182. +--------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
  183. | Action | Min (sec) | Median (sec) | 90%ile (sec) | 95%ile (sec) | Max (sec) | Avg (sec) | Success | Count |
  184. +--------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
  185. | glance.list_images | 0.705 | 0.733 | 0.787 | 0.826 | 0.865 | 0.746 | 100.0% | 10 |
  186. | total | 0.705 | 0.733 | 0.787 | 0.826 | 0.865 | 0.746 | 100.0% | 10 |
  187. +--------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
  188.  
  189. Load duration: 7.488754
  190. Full duration: 42.83945
  191.  
  192. HINTS:
  193. * To plot HTML graphics with this data, run:
  194. rally task report 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 --out output.html
  195.  
  196. * To generate a JUnit report, run:
  197. rally task report 32570a4f-17ca-4ffc-8e58-e20d3dd3f058 --junit --out output.xml
  198.  
  199. * To get raw JSON output of task results, run:
  200. rally task results 32570a4f-17ca-4ffc-8e58-e20d3dd3f058
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement