We have been using cabot to monitoring our company's projects for couple of months by using http checks, it works pretty well.
But few days ago, we found that it stopped to do regular auto-checks, and even it was failed in a manual check, it did not send alert messages to subscribers.
We have fixed this issue by updating to latest code (today), but still no ideas what caused the previous problems.
These are the only information we can delivery to trace the problems.
[2014-02-18 09:40:12,513: ERROR/MainProcess] Task app.cabotapp.tasks.update_shifts[b690a241-39b6-49f6-8764-92b119f8ff3e] raised unexpected: ValueE
rror('Content line could not be parsed into parts: \'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><ht
ml><head><meta http-equiv="content-type" content="text/html;charset=utf-8">\': <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.or
g/TR/html4/strict.dtd"><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8">',)
Traceback (most recent call last):
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/celery/app/trace.py", line 238, in trace_task
R = retval = fun(*args, **kwargs)
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/celery/app/trace.py", line 416, in __protected_call__
return self.run(*args, **kwargs)
File "/home/ubuntu/2014-01-17-ea7deb1/app/cabotapp/tasks.py", line 80, in update_shifts
_update_shifts()
File "/home/ubuntu/2014-01-17-ea7deb1/app/cabotapp/models.py", line 668, in update_shifts
events = get_events()
File "/home/ubuntu/2014-01-17-ea7deb1/app/cabotapp/calendar.py", line 16, in get_events
for component in get_calendar_data().walk():
File "/home/ubuntu/2014-01-17-ea7deb1/app/cabotapp/calendar.py", line 10, in get_calendar_data
cal = Calendar.from_ical(resp.content)
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/icalendar/cal.py", line 412, in from_ical
name, params, vals = line.parts()
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/icalendar/parser.py", line 526, in parts
raise ValueError, "Content line could not be parsed into parts: %r: %s" % (self, e)
ValueError: Content line could not be parsed into parts: '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd
"><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8">': <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w
3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8">
[2014-02-18 09:10:12,539: ERROR/MainProcess] Task app.cabotapp.tasks.update_shifts[55c3d9ed-ebda-41c1-adb5-ae0f16e3ac40] raised unexpected: ValueE
rror('Content line could not be parsed into parts: \'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><ht
ml><head><meta http-equiv="content-type" content="text/html;charset=utf-8">\': <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.or
g/TR/html4/strict.dtd"><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8">',)
Traceback (most recent call last):
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/celery/app/trace.py", line 238, in trace_task
R = retval = fun(*args, **kwargs)
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/celery/app/trace.py", line 416, in __protected_call__
return self.run(*args, **kwargs)
File "/home/ubuntu/2014-01-17-ea7deb1/app/cabotapp/tasks.py", line 80, in update_shifts
_update_shifts()
File "/home/ubuntu/2014-01-17-ea7deb1/app/cabotapp/models.py", line 668, in update_shifts
events = get_events()
File "/home/ubuntu/2014-01-17-ea7deb1/app/cabotapp/calendar.py", line 16, in get_events
for component in get_calendar_data().walk():
File "/home/ubuntu/2014-01-17-ea7deb1/app/cabotapp/calendar.py", line 10, in get_calendar_data
cal = Calendar.from_ical(resp.content)
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/icalendar/cal.py", line 412, in from_ical
name, params, vals = line.parts()
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/icalendar/parser.py", line 526, in parts
raise ValueError, "Content line could not be parsed into parts: %r: %s" % (self, e)
ValueError: Content line could not be parsed into parts: '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd
"><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8">': <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w
3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8">
[2014-02-18 08:51:45,650: ERROR/MainProcess] Error on stopping Pool: AssertionError('can only join a started process',)
Traceback (most recent call last):
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/celery/bootsteps.py", line 155, in send_all
fun(parent, *args)
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/celery/bootsteps.py", line 377, in stop
return self.obj.stop()
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/celery/concurrency/base.py", line 119, in stop
self.on_stop()
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/celery/concurrency/prefork.py", line 140, in on_stop
self._pool.join()
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/billiard/pool.py", line 1523, in join
stop_if_not_current(self._result_handler)
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/billiard/pool.py", line 148, in stop_if_not_current
thread.stop(timeout)
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/billiard/pool.py", line 493, in stop
self.on_stop_not_started()
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/celery/concurrency/asynpool.py", line 301, in on_stop_not_started
join_exited_workers(shutdown=True)
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/billiard/pool.py", line 1099, in _join_exited_workers
worker.join()
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/billiard/process.py", line 152, in join
assert self._popen is not None, 'can only join a started process'
AssertionError: can only join a started process
[2014-02-18 08:40:12,508: ERROR/MainProcess] Task app.cabotapp.tasks.update_shifts[a910d857-8346-4ae4-a4f5-e1818b20a776] raised unexpected: ValueE
rror('Content line could not be parsed into parts: \'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><ht
ml><head><meta http-equiv="content-type" content="text/html;charset=utf-8">\': <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.or
g/TR/html4/strict.dtd"><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8">',)
Traceback (most recent call last):
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/celery/app/trace.py", line 238, in trace_task
R = retval = fun(*args, **kwargs)
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/celery/app/trace.py", line 416, in __protected_call__
return self.run(*args, **kwargs)
File "/home/ubuntu/2014-01-17-ea7deb1/app/cabotapp/tasks.py", line 80, in update_shifts
_update_shifts()
File "/home/ubuntu/2014-01-17-ea7deb1/app/cabotapp/models.py", line 668, in update_shifts
events = get_events()
File "/home/ubuntu/2014-01-17-ea7deb1/app/cabotapp/calendar.py", line 16, in get_events
for component in get_calendar_data().walk():
File "/home/ubuntu/2014-01-17-ea7deb1/app/cabotapp/calendar.py", line 10, in get_calendar_data
cal = Calendar.from_ical(resp.content)
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/icalendar/cal.py", line 412, in from_ical
name, params, vals = line.parts()
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/icalendar/parser.py", line 526, in parts
raise ValueError, "Content line could not be parsed into parts: %r: %s" % (self, e)
ValueError: Content line could not be parsed into parts: '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd
"><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8">': <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w
3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8">
[2014-02-18 08:37:45,543: ERROR/MainProcess] Task app.cabotapp.tasks.update_service[6ae91546-90b2-481a-9330-80daf784481e] raised unexpected: Worke
rLostError('Worker exited prematurely: signal 9 (SIGKILL).',)
Traceback (most recent call last):
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/billiard/pool.py", line 1167, in mark_as_worker_lost
human_status(exitcode)),
WorkerLostError: Worker exited prematurely: signal 9 (SIGKILL).