Skip to content

Instantly share code, notes, and snippets.

@ruescasd
Created October 27, 2013 21:21
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 ruescasd/7188016 to your computer and use it in GitHub Desktop.
Save ruescasd/7188016 to your computer and use it in GitHub Desktop.
DEBUG:requests.packages.urllib3.connectionpool:"POST /api/queues/orchestra_director/ HTTP/1.1" 200 0
DEBUG:apscheduler.threadpool:Started worker thread
INFO:apscheduler.scheduler:Running job "call_action_handler (trigger: now, next run at: None)" (scheduled at 2013-10-27 21:17:58.452791)
DEBUG:root:EXEC ACTION handler for MESSAGE id 4f0ae6bd-596e-4d25-ad26-ec5a16ebbcd1 (QUEUE orchestra_director)
DEBUG:root:EXEC TASK with id 34305258-8d51-4821-86f8-3576fcd83048
[pid: 4787|app: 0|req: 234/234] 172.31.47.237 () {44 vars in 2093 bytes} [Sun Oct 27 21:17:58 2013] POST /public_api/tally => generated 51 bytes in 152 msecs (HTTP/1.1 202) 2 headers in 85 bytes (1 switches on core 3)
DEBUG:root:CREATE local PARALLEL TASK with ID b867ff30-7284-4de0-9459-78230ac8b4a9
DEBUG:root:CREATE local TASK for action review_tally with ID df846e82-06ab-4e4f-84f5-73db68165c0e
DEBUG:root:CREATE local TASK for action review_tally with ID 726da413-eccd-4434-9f71-c3fddf18733d
DEBUG:root:CREATE local SEQUENTIAL TASK with ID 65d34ae9-8f7a-4fc9-ba24-3b2c25d524a5
DEBUG:root:CREATE local SYNCHRONIZED TASK with ID b6765b5e-0247-4546-b123-8c3a1e52140d
DEBUG:root:CREATE local TASK for action perform_tally with ID c355285a-70b1-4dd9-856c-35f1a0bc0420
DEBUG:root:CREATE local TASK for action perform_tally with ID d3c9727a-e0a9-4214-81f3-cfaa13ad244c
DEBUG:root:CREATE local PARALLEL TASK with ID a405fb72-ee9c-48d4-9a06-3d5a31719555
DEBUG:root:CREATE local TASK for action verify_and_publish_tally with ID 6001dfd4-f922-44b5-89c7-0c7762f20ac6
DEBUG:root:CREATE local TASK for action verify_and_publish_tally with ID 5deea319-98f2-46cc-afc4-47e00240d809
DEBUG:root:CREATE local TASK for action return_tally with ID 29984077-fce4-412c-9b3b-63ad4e3124d9
INFO:root:adding job in sched for queue orchestra_performer
INFO:apscheduler.scheduler:Added job "execute_task (trigger: now, next run at: 2013-10-27 21:17:58.834570)" to job store "default"
INFO:root:adding job in sched for queue orchestra_performer
DEBUG:apscheduler.scheduler:Looking for jobs to run
INFO:apscheduler.scheduler:Added job "execute_task (trigger: now, next run at: 2013-10-27 21:17:58.835038)" to job store "default"
INFO:apscheduler.scheduler:Job "call_action_handler (trigger: now, next run at: None)" executed successfully
DEBUG:apscheduler.threadpool:Started worker thread
INFO:apscheduler.scheduler:Running job "execute_task (trigger: now, next run at: 2013-10-27 21:17:58.834570)" (scheduled at 2013-10-27 21:17:58.834570)
INFO:apscheduler.scheduler:Removed job "execute_task (trigger: now, next run at: None)"
INFO:apscheduler.scheduler:Removed job "execute_task (trigger: now, next run at: None)"
DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
DEBUG:apscheduler.threadpool:Started worker thread
INFO:apscheduler.scheduler:Running job "execute_task (trigger: now, next run at: None)" (scheduled at 2013-10-27 21:17:58.835038)
DEBUG:root:SENDING TASK df846e82-06ab-4e4f-84f5-73db68165c0e
DEBUG:root:SEND task MESSAGE to https://ec2-54-229-251-203.eu-west-1.compute.amazonaws.com:5000/api/queues, TASK id = df846e82-06ab-4e4f-84f5-73db68165c0e
DEBUG:root:SENDING TASK 726da413-eccd-4434-9f71-c3fddf18733d
DEBUG:root:SEND task MESSAGE to https://ec2-54-229-221-33.eu-west-1.compute.amazonaws.com:5000/api/queues, TASK id = 726da413-eccd-4434-9f71-c3fddf18733d
DEBUG:root:SENDING MESSAGE id 334850ed-e89e-4fa0-b3d9-ccf7ff2faa0c with action review_tally to https://ec2-54-229-251-203.eu-west-1.compute.amazonaws.com:5000/api/queues/orchestra_performer/
DEBUG:root:SENDING MESSAGE id ff8e0521-845f-4e55-8dab-3c20363f7857 with action review_tally to https://ec2-54-229-221-33.eu-west-1.compute.amazonaws.com:5000/api/queues/orchestra_performer/
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): ec2-54-229-251-203.eu-west-1.compute.amazonaws.com
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): ec2-54-229-221-33.eu-west-1.compute.amazonaws.com
DEBUG:root:RECEIVED MESSAGE in queue orchestra_performer
DEBUG:root:The MESSAGE is LOCAL and with id 334850ed-e89e-4fa0-b3d9-ccf7ff2faa0c
INFO:root:adding job in sched for queue orchestra_performer
INFO:apscheduler.scheduler:Added job "call_action_handler (trigger: now, next run at: 2013-10-27 21:17:58.950436)" to job store "default"
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:apscheduler.threadpool:Started worker thread
INFO:apscheduler.scheduler:Removed job "call_action_handler (trigger: now, next run at: None)"
DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
INFO:apscheduler.scheduler:Running job "call_action_handler (trigger: now, next run at: None)" (scheduled at 2013-10-27 21:17:58.950436)
DEBUG:root:EXEC ACTION handler for MESSAGE id 334850ed-e89e-4fa0-b3d9-ccf7ff2faa0c (QUEUE orchestra_performer)
[pid: 4787|app: 0|req: 235/235] 172.31.31.70 () {44 vars in 2975 bytes} [Sun Oct 27 21:17:58 2013] POST /api/queues/orchestra_performer/ => generated 0 bytes in 10 msecs (HTTP/1.1 200) 2 headers in 78 bytes (1 switches on core 0)
DEBUG:requests.packages.urllib3.connectionpool:"POST /api/queues/orchestra_performer/ HTTP/1.1" 200 0
DEBUG:root:EXEC TASK with id df846e82-06ab-4e4f-84f5-73db68165c0e
DEBUG:requests.packages.urllib3.connectionpool:"POST /api/queues/orchestra_performer/ HTTP/1.1" 200 0
INFO:apscheduler.scheduler:Job "execute_task (trigger: now, next run at: None)" executed successfully
INFO:apscheduler.scheduler:Job "execute_task (trigger: now, next run at: None)" executed successfully
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): congresotransparente.com
DEBUG:apscheduler.threadpool:Exiting worker thread
DEBUG:apscheduler.threadpool:Exiting worker thread
DEBUG:apscheduler.threadpool:Exiting worker thread
DEBUG:requests.packages.urllib3.connectionpool:"GET /media/elections/14/2ecc1b71-f8de-475c-be77-9502eefab8dd/votes HTTP/1.1" 200 5298
Traceback (most recent call last):
File "/home/eorchestra/venv/local/lib/python2.7/site-packages/frestq-0.0.1-py2.7.egg/frestq/tasks.py", line 1261, in post_task
task_output = task.run_action_handler()
File "/home/eorchestra/venv/local/lib/python2.7/site-packages/frestq-0.0.1-py2.7.egg/frestq/tasks.py", line 286, in run_action_handler
return self.action_handler(self)
File "./tally_election/performer_jobs.py", line 168, in review_tally
line_data = json.loads(line)
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 369, in decode
raise ValueError(errmsg("Extra data", s, end, len(s)))
ValueError: Extra data: line 1 column 2648 - line 1 column 5298 (char 2648 - 5298)
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): congresotransparente.com
DEBUG:requests.packages.urllib3.connectionpool:"POST /api/v1/update/election/14/do_tally/ HTTP/1.1" 200 None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment