Comment 0 for bug 1334035

Revision history for this message
Francis Ginther (fginther) wrote : 'message_list' is not defined in bsbuilder

Stack trace in branch source builder with revision 607.

[Log snippet:]
[2014-06-24 21:26:20,223] bsbuilder:INFO:upload_list: [{'files': [u'hello_2.8-4ubuntu3_source.changes', u'hello_2.8-4ubuntu3.debian.tar.gz', u'hello_2.8-4ubuntu3.dsc'], 'resource': u'/api/v1/fullsubticket/4/', 'name': u'hello', 'version': u'2.8-4ubuntu3', 'location': '/tmp/tmpe6Ukp3', 'id': 4, 'architecture': 'any'}]
[2014-06-24 21:26:32,584] bsbuilder:INFO:subticket_status: [{'status': 210, 'step': 100, 'version': u'2.8-4ubuntu3', 'resource': u'/api/v1/fullsubticket/4/', 'name': u'hello', 'artifacts': None, 'step_text': 'Queued', 'message': None, 'status_text': 'Not started', 'id': 4}]
[2014-06-24 21:26:32,593] bsbuilder:INFO:Going to sleep for 10
...
[2014-06-24 21:46:18,059] bsbuilder:INFO:subticket_status: [{'status': 210, 'step': 100, 'version': u'2.8-4ubuntu3', 'resource': u'/api/v1/fullsubticket/4/', 'name': u'hello', 'artifacts': None, 'step_text': 'Queued', 'message': None, 'status_text': 'Not started', 'id': 4}]
[2014-06-24 21:46:18,059] bsbuilder:INFO:Going to sleep for 10
[2014-06-24 21:46:32,517] bsbuilder:ERROR:Unexpected exception occurred
Traceback (most recent call last):
  File "/srv/ci-airline-bsb-worker/ci-utils/ci_utils/amqp_worker.py", line 198, in _on_message
    amqp_cb, ret = self.handle_request(params, logger)
  File "./branch-source-builder/bsbuilder/run_worker.py", line 126, in handle_request
    upload_list)
  File "/srv/ci-airline-bsb-worker/branch-source-builder/watch_ppa.py", line 346, in watch_ppa
    message_list.append(MISSING_SOURCE_MESSAGE.format(
NameError: global name 'message_list' is not defined