Skip to content

Instantly share code, notes, and snippets.

@antoniou
Created June 24, 2015 10:07
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 antoniou/775154d7767b7046b43b to your computer and use it in GitHub Desktop.
Save antoniou/775154d7767b7046b43b to your computer and use it in GitHub Desktop.
WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0xd2e3e0 pid: 26935 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (and the only) (pid: 26935, cores: 4)
DEBUG:apscheduler.scheduler:Looking for jobs to run
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.scheduler:Looking for jobs to run
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.scheduler:Looking for jobs to run
DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
/home/eorchestra/venv/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py:574: SAWarning: Unicode type received non-unicode bind param value.
processors[key](compiled_params[key])
DEBUG:root:CREATE local TASK for action create_election with ID 6cae56a2-7733-4006-b434-54aeb0622ab7
/home/eorchestra/venv/local/lib/python2.7/site-packages/sqlalchemy/sql/type_api.py:860: SAWarning: Unicode type received non-unicode bind param value.
return impl_processor(process_param(value, dialect))
DEBUG:root:SEND task MESSAGE to https://local-auth1:5000/api/queues, TASK id = 6cae56a2-7733-4006-b434-54aeb0622ab7
DEBUG:root:SENDING MESSAGE id 2302292a-0000-4c53-849f-8756741032c4 with action create_election to https://local-auth1:5000/api/queues/launch_task/
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): local-auth1
DEBUG:root:RECEIVED MESSAGE in queue launch_task
DEBUG:requests.packages.urllib3.connectionpool:Setting read timeout to None
DEBUG:root:The MESSAGE is LOCAL and with id 2302292a-0000-4c53-849f-8756741032c4
INFO:root:adding job in sched for queue launch_task
INFO:apscheduler.scheduler:Added job "call_action_handler (trigger: now, next run at: 2015-06-24 10:03:05.232416)" to job store "default"
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:requests.packages.urllib3.connectionpool:"POST /api/queues/launch_task/ HTTP/1.1" 200 0
[pid: 26935|app: 0|req: 2/1] 192.168.50.2 () {44 vars in 2759 bytes} [Wed Jun 24 10:03:05 2015] POST /api/queues/launch_task/ => generated 0 bytes in 31 msecs (HTTP/1.1 200) 2 headers in 78 bytes (1 switches on core 1)
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
DEBUG:apscheduler.threadpool:Started worker thread
INFO:apscheduler.scheduler:Running job "call_action_handler (trigger: now, next run at: None)" (scheduled at 2015-06-24 10:03:05.232416)
DEBUG:root:EXEC ACTION handler for MESSAGE id 2302292a-0000-4c53-849f-8756741032c4 (QUEUE launch_task)
[pid: 26935|app: 0|req: 2/2] 192.168.50.2 () {44 vars in 2753 bytes} [Wed Jun 24 10:03:05 2015] POST /public_api/election => generated 15 bytes in 112 msecs (HTTP/1.1 202) 2 headers in 85 bytes (2 switches on core 0)
DEBUG:root:EXEC TASK with id 6cae56a2-7733-4006-b434-54aeb0622ab7
killing previous vfork instances..
DEBUG:root:CREATE local SEQUENTIAL TASK with ID c186c93b-1aa5-4522-9ab2-4ecb14d17d68
DEBUG:root:CREATE local TASK for action generate_private_info with ID c82ffce7-1c8a-4930-a85b-d9aacc763b1b
DEBUG:root:CREATE local TASK for action merge_protinfo with ID 6b6b9a05-ab26-4748-90e9-95114c6833ac
DEBUG:root:CREATE local TASK for action return_election with ID 62e3fc1e-11f7-4608-9d5d-3144cc0c6583
DEBUG:root:SENDING TASK c82ffce7-1c8a-4930-a85b-d9aacc763b1b
DEBUG:root:SEND task MESSAGE to https://local-auth1:5000/api/queues, TASK id = c82ffce7-1c8a-4930-a85b-d9aacc763b1b
DEBUG:root:SENDING MESSAGE id f450dc28-6568-439f-b1a4-c2373075cc15 with action generate_private_info to https://local-auth1:5000/api/queues/orchestra_performer/
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): local-auth1
DEBUG:root:RECEIVED MESSAGE in queue orchestra_performer
DEBUG:root:The MESSAGE is LOCAL and with id f450dc28-6568-439f-b1a4-c2373075cc15
INFO:root:adding job in sched for queue orchestra_performer
INFO:apscheduler.scheduler:Added job "call_action_handler (trigger: now, next run at: 2015-06-24 10:03:05.686633)" to job store "default"
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:requests.packages.urllib3.connectionpool:Setting read timeout to None
DEBUG:requests.packages.urllib3.connectionpool:"POST /api/queues/orchestra_performer/ HTTP/1.1" 200 0
[pid: 26935|app: 0|req: 3/3] 192.168.50.2 () {44 vars in 2777 bytes} [Wed Jun 24 10:03:05 2015] POST /api/queues/orchestra_performer/ => generated 0 bytes in 7 msecs (HTTP/1.1 200) 2 headers in 78 bytes (1 switches on core 2)
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
DEBUG:apscheduler.threadpool:Started worker thread
INFO:apscheduler.scheduler:Running job "call_action_handler (trigger: now, next run at: None)" (scheduled at 2015-06-24 10:03:05.686633)
DEBUG:root:EXEC ACTION handler for MESSAGE id f450dc28-6568-439f-b1a4-c2373075cc15 (QUEUE orchestra_performer)
DEBUG:root:EXEC TASK with id c82ffce7-1c8a-4930-a85b-d9aacc763b1b
INFO:apscheduler.scheduler:Job "call_action_handler (trigger: now, next run at: None)" executed successfully
DEBUG:root:CREATE local TASK for action generate_private_info_vfork with ID 103674ad-bcd3-495e-ae3d-74f9327ceef8
DEBUG:root:SENDING TASK 103674ad-bcd3-495e-ae3d-74f9327ceef8
DEBUG:root:SEND task MESSAGE to https://local-auth1:5000/api/queues, TASK id = 103674ad-bcd3-495e-ae3d-74f9327ceef8
DEBUG:root:SENDING MESSAGE id 7120aa98-9827-4c22-aa06-68af4becdd92 with action generate_private_info_vfork to https://local-auth1:5000/api/queues/orchestra_performer/
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): local-auth1
DEBUG:root:RECEIVED MESSAGE in queue orchestra_performer
DEBUG:root:The MESSAGE is LOCAL and with id 7120aa98-9827-4c22-aa06-68af4becdd92
INFO:root:adding job in sched for queue orchestra_performer
INFO:apscheduler.scheduler:Added job "call_action_handler (trigger: now, next run at: 2015-06-24 10:03:05.779652)" to job store "default"
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:requests.packages.urllib3.connectionpool:Setting read timeout to None
[pid: 26935|app: 0|req: 4/4] 192.168.50.2 () {44 vars in 2775 bytes} [Wed Jun 24 10:03:05 2015] POST /api/queues/orchestra_performer/ => generated 0 bytes in 6 msecs (HTTP/1.1 200) 2 headers in 78 bytes (1 switches on core 3)
DEBUG:requests.packages.urllib3.connectionpool:"POST /api/queues/orchestra_performer/ HTTP/1.1" 200 0
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
DEBUG:apscheduler.threadpool:Started worker thread
INFO:apscheduler.scheduler:Running job "call_action_handler (trigger: now, next run at: None)" (scheduled at 2015-06-24 10:03:05.779652)
DEBUG:root:EXEC ACTION handler for MESSAGE id 7120aa98-9827-4c22-aa06-68af4becdd92 (QUEUE orchestra_performer)
DEBUG:root:EXEC TASK with id 103674ad-bcd3-495e-ae3d-74f9327ceef8
INFO:apscheduler.scheduler:Job "call_action_handler (trigger: now, next run at: None)" executed successfully
killing previous vfork instances..
DEBUG:root:SENDING TASK 6b6b9a05-ab26-4748-90e9-95114c6833ac
DEBUG:root:SEND task MESSAGE to https://local-auth1:5000/api/queues, TASK id = 6b6b9a05-ab26-4748-90e9-95114c6833ac
DEBUG:root:SENDING MESSAGE id 885c344a-6305-44af-82fd-db6011e1528e with action merge_protinfo to https://local-auth1:5000/api/queues/orchestra_director/
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): local-auth1
DEBUG:apscheduler.threadpool:Exiting worker thread
DEBUG:root:RECEIVED MESSAGE in queue orchestra_director
DEBUG:root:The MESSAGE is LOCAL and with id 885c344a-6305-44af-82fd-db6011e1528e
DEBUG:requests.packages.urllib3.connectionpool:Setting read timeout to None
INFO:root:adding job in sched for queue orchestra_director
INFO:apscheduler.scheduler:Added job "call_action_handler (trigger: now, next run at: 2015-06-24 10:03:06.725470)" to job store "default"
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:requests.packages.urllib3.connectionpool:"POST /api/queues/orchestra_director/ HTTP/1.1" 200 0
[pid: 26935|app: 0|req: 5/5] 192.168.50.2 () {44 vars in 2773 bytes} [Wed Jun 24 10:03:06 2015] POST /api/queues/orchestra_director/ => generated 0 bytes in 6 msecs (HTTP/1.1 200) 2 headers in 78 bytes (1 switches on core 1)
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
DEBUG:apscheduler.threadpool:Started worker thread
INFO:apscheduler.scheduler:Running job "call_action_handler (trigger: now, next run at: None)" (scheduled at 2015-06-24 10:03:06.725470)
DEBUG:root:EXEC ACTION handler for MESSAGE id 885c344a-6305-44af-82fd-db6011e1528e (QUEUE orchestra_director)
DEBUG:root:EXEC TASK with id 6b6b9a05-ab26-4748-90e9-95114c6833ac
INFO:apscheduler.scheduler:Job "call_action_handler (trigger: now, next run at: None)" executed successfully
DEBUG:root:CREATE local SEQUENTIAL TASK with ID 043431af-ca3f-4de3-a37b-1518c95fdc98
killing previous vfork instances..
DEBUG:apscheduler.threadpool:Exiting worker thread
ERROR: Invalid usage form, please use "vmni -h" for usage information!
Traceback (most recent call last):
File "/home/eorchestra/venv/local/lib/python2.7/site-packages/frestq/tasks.py", line 1312, in post_task
task_output = task.run_action_handler()
File "/home/eorchestra/venv/local/lib/python2.7/site-packages/frestq/tasks.py", line 278, in run_action_handler
return self.action_handler(self)
File "/home/eorchestra/venv/local/lib/python2.7/site-packages/frestq/decorators.py", line 106, in __call__
return self.func(*args)
File "./create_election/director_jobs.py", line 218, in merge_protinfo_task
protinfo_file = codecs.open(protinfo_path, 'r', encoding='utf-8')
File "/home/eorchestra/venv/lib/python2.7/codecs.py", line 878, in open
file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: u'/home/eorchestra/election-orchestra/datastore/private/1422/0-fc4ae2a0-5275-4c16-916b-f9ae66f1143d/protInfo.xml'
INFO:apscheduler.scheduler:Job "call_action_handler (trigger: now, next run at: None)" executed successfully
DEBUG:apscheduler.threadpool:Exiting worker thread
DEBUG:apscheduler.threadpool:Exiting worker thread
[pid: 26935|app: 0|req: 6/6] 192.168.50.2 () {44 vars in 2753 bytes} [Wed Jun 24 10:05:17 2015] POST /public_api/election => generated 15 bytes in 7 msecs (HTTP/1.1 202) 2 headers in 85 bytes (1 switches on core 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment