Skip to content

Instantly share code, notes, and snippets.

View admc's full-sized avatar

Adam Christian admc

View GitHub Profile
2010-05-13 19:14:53,263 - beanstalk[manage_doc:96] - ERROR - Problem with tunnel f545d52ef524d7f758abb1daf303ce56: <type 'exceptions.Exception'>,Could not get status for instance_id 'ecbf7924-e2b8-6ea5-6c55-234056604cf6@chirashi#maki200' for 184.73.0.223: <class 'node.lvirt.NoDomainError'> Domain 'ecbf7924-e2b8-6ea5-6c55-234056604cf6' not found or unexpectedly disappeared.
2010-05-13 19:14:53,372 - beanstalk[update_instantiated_sauce_tunnel:500] - WARNING - sauce-tunnel(f545d52ef524d7f758abb1daf303d1c1,running,e6697d8a-1cd5-eadb-05e7-eb97f33b91b5@chirashi#maki208) could not retrieve client info: <type 'exceptions.Exception'>,Could not get status for instance_id 'e6697d8a-1cd5-eadb-05e7-eb97f33b91b5@chirashi#maki208' for 184.73.0.223: <class 'node.lvirt.NoDomainError'> Domain 'e6697d8a-1cd5-eadb-05e7-eb97f33b91b5' not found or unexpectedly disappeared.
2010-05-13 19:14:53,378 - beanstalk[manage_doc:96] - ERROR - Problem with tunnel f545d52ef524d7f758abb1daf303d1c1: <type 'exceptions.Exception'>,Could not get s
File '/usr/local/lib/python2.6/dist-packages/weberror/evalexception.py', line 431 in respond
app_iter = self.application(environ, detect_start_response)
File '/usr/local/lib/python2.6/dist-packages/beaker/middleware.py', line 73 in __call__
return self.app(environ, start_response)
File '/usr/local/lib/python2.6/dist-packages/beaker/middleware.py', line 152 in __call__
return self.wrap_app(environ, session_start_response)
File '/usr/local/lib/python2.6/dist-packages/routes/middleware.py', line 131 in __call__
response = self.app(environ, start_response)
File '/usr/local/lib/python2.6/dist-packages/pylons/wsgiapp.py', line 124 in __call__
response = self.dispatch(controller, environ, start_response)
TypeError: No object (name: buffet) has been registered for this thread
import functest
from functest import reports
from xml.etree import ElementTree
class JUnitReporter(reports.FunctestReportInterface):
def summary(self, test_list, totals_dict, stdout_capture):
if functest.registry.get('report', False):
total_sec = reduce(lambda x, y: (y.endtime - y.starttime).seconds + x, test_list, 0)
e = ElementTree.Element('testsuite')
e.attrib['errors'] = e.attrib['failures'] = str(totals_dict['fail'])
(windmill_ve)(adam@Archie-2)(%:100:Projects): virtualenv windmill_ve
New python executable in windmill_ve/bin/python
Installing setuptools............done.
(windmill_ve)(adam@Archie-2)(%:102:Projects): source windmill_ve/bin/activate
(windmill_ve)(adam@Archie-2)(%:104:Projects): easy_install pip
Searching for pip
Best match: pip 0.6.3
Processing pip-0.6.3-py2.6.egg
Removing pip 0.6.3 from easy-install.pth file
Adding pip 0.6.3 to easy-install.pth file
(adam@Aires)(%:4:~): windmill firefox http://www.apple.com
windmill.bin.shell_objects: INFO ['/Applications/Firefox.app/Contents/MacOS/firefox-bin', '-profile', '/var/folders/mg/mgG0ZZXRH3CZnS7vemDcpU+++TI/-Tmp-/tmpQADoZU.mozrunner', 'http://www.apple.com/windmill-serv/start.html']
Exception happened during processing of request from ('127.0.0.1', 50941)
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/SocketServer.py", line 558, in process_request_thread
self.finish_request(request, client_address)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/SocketServer.py", line 320, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/Users/adam/Documents/projects/windmill/windmill/server/https.py", line 151, in __init__
BaseHTTPRequestHandler.__init__(self, request, client_address, server)
Status Code: 500
Exception:
Stacktrace:
net.sf.json.JSONException: Unterminated string at character 505 of {"name": "Media", "description": "", "admin_unittest": false, "Clear Disk Space on VM Denman": false, "Clear Disk Space on VM Harwood": false, "Clear Disk Space on VM Hornby": false, "Clear Disk Space on VM Lopez": false, "Clear Disk Space on VM Nanaimo": false, "Clear Disk Space on VM Orcas": false, "Clear Disk Space on VM Pados": false, "Clear Disk Space on VM SanJuan": false, "Clear Disk Space on VM Srilanka": false, "Code Review": false, "Documentation": false, "email_importers": false, "FB SPP B
at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512)
at net.sf.json.util.JSONTokener.nextString(JSONTokener.java:244)
at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:352)
at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:834)
at net.sf.json.JSONObject._fromString(JSONObject.java:1039)
Status Code: 500
Exception:
Stacktrace:
net.sf.json.JSONException: Unterminated string at character 940 of {"name": "Live", "description": "", "admin_unittest": false, "Clear Disk Space on VM Denman": false, "Clear Disk Space on VM Harwood": false, "Clear Disk Space on VM Hornby": false, "Clear Disk Space on VM Lopez": false, "Clear Disk Space on VM Nanaimo": false, "Clear Disk Space on VM Orcas": false, "Clear Disk Space on VM Pados": false, "Clear Disk Space on VM SanJuan": false, "Clear Disk Space on VM Srilanka": false, "Code Review": false, "Documentation": true, "email_importers": false, "FB SPP Buy Less Then 5 Gold": false, "FS Comments v2": false, " Part - Add": false, " Part - Forward": false, " Part - UI": false, " Part - View": false, "FS Global Comments": false, "FS Quizzes": false, "FS Related Videos v2": false, "FS Sanity Publisher": false, " Part - Allowed": false, " Part - Not Allowed": false, "FS Viral Events every_time_and_never": false, "FS Viral Events friend_comments": false, "FS Viral E
Traceback (most recent call last):
File "/nail/monkey/bt/util/publisher.py", line 184, in handler
return do_handler(req)
File "/nail/monkey/bt/util/publisher.py", line 146, in do_handler
response_buffer = servlet_instance.execute()
File "/nail/monkey/bt/cmds/_smart_logic_cmd.py", line 111, in execute
return super(ViewLogicCmd, self).execute()
File "/nail/monkey/bt/cmds/_smart_cmd.py", line 253, in execute
rv = self.return_hitlog( self.do_invoke(self.view), self.__class__.__name__ )
File "/nail/monkey/bt/cmds/_application.py", line 195, in do_invoke
def setup_module(module):
client = WindmillTestClient(__name__)
# precondition: set the locale to English
client.waits.forElement(timeout=u'60000', id=u'locale_selector_dialog_onclick')
#client.execJS(js=u'intl_locale_selector_dialog("http://www.facebook.com/");')
client.click(xpath=u"//div[@id='locale_selector_dialog_onclick']/a")
try:
client.waits.forElement(link=u'English (US)', timeout=u'60000')
client.click(link=u'English (US)')