Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created September 23, 2014 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notmyname/d52c4d939386331df085 to your computer and use it in GitHub Desktop.
Save notmyname/d52c4d939386331df085 to your computer and use it in GitHub Desktop.
======================================================================
ERROR: test_plot (test.unit.common.middleware.test_xprofile.Test_html_viewer)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/swift/swift/test/unit/common/middleware/test_xprofile.py", line 450, in test_plot
content, headers = self.viewer.plot(self.log_files)
File "/home/swift/swift/swift/common/middleware/x_profile/html_viewer.py", line 434, in plot
raise ProfileException(_('plotting results failed due to %s') % ex)
ProfileException: Profiling Error: Profiling Error: plotting results failed due to an integer is required
-------------------- >> begin captured stdout << ---------------------
Ordered by: internal time
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_render (test.unit.common.middleware.test_xprofile.Test_html_viewer)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/swift/swift/test/unit/common/middleware/test_xprofile.py", line 358, in test_render
plot_dict, None)
File "/home/swift/swift/swift/common/middleware/x_profile/html_viewer.py", line 269, in render
plot_type)
File "/home/swift/swift/swift/common/middleware/x_profile/html_viewer.py", line 434, in plot
raise ProfileException(_('plotting results failed due to %s') % ex)
ProfileException: Profiling Error: Profiling Error: plotting results failed due to an integer is required
-------------------- >> begin captured stdout << ---------------------
Ordered by: internal time
List reduced from 5 to 2 due to restriction <'getcwd'>
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: test_call (test.unit.common.middleware.test_xprofile.TestProfileMiddleware)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/swift/swift/test/unit/common/middleware/test_xprofile.py", line 146, in test_call
self.assertEqual(self.got_statuses, ['200 OK'])
AssertionError: Lists differ: ['500 Internal Server Error'] != ['200 OK']
First differing element 0:
500 Internal Server Error
200 OK
- ['500 Internal Server Error']
+ ['200 OK']
-------------------- >> begin captured stdout << ---------------------
Ordered by: internal time
--------------------- >> end captured stdout << ----------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment