Activity log for bug #1334035

Date Who What changed Old value New value Message
2014-06-24 22:20:48 Francis Ginther bug added bug
2014-06-24 22:20:48 Francis Ginther attachment added bsbuilder.output.log https://bugs.launchpad.net/bugs/1334035/+attachment/4138566/+files/bsbuilder.output-1.log
2014-06-25 04:00:52 Ursula Junque summary 'message_list' is not defined in bsbuilder watch_ppa: add support to watch the uploaded package series, not only the default one
2014-06-25 04:00:56 Ursula Junque description 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 bsbuilder only checks for packages on saucy series. When a package targeted to another series is uploaded, it will check in the wrong series, never find the package and fail. We need to add support to watch_ppa to watch the proper package series. branch source builder with revision 607, when processing a precise package, failed twice with different errors, as below: 'message_list' is not defined in bsbuilder [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 and 'SubTicketWorkflowStepStatus' has no attribute 'WAITING' in bsbuilder [log snippet:] [2014-06-24 20:23:25,306] 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/2/', 'name': u'hello', 'version': u'2.8-4ubuntu3', 'location': '/tmp/tmpp3_gK3', 'id': 2, 'architecture': 'any'}] [2014-06-24 20:23:35,740] bsbuilder:INFO:subticket_status: [{'status': 210, 'step': 100, 'version': u'2.8-4ubuntu3', 'resource': u'/api/v1/fullsubticket/2/', 'name': u'hello', 'artifacts': None, 'step_text': 'Queued', 'message': None, 'status_text': 'Not started', 'id': 2}] [2014-06-24 20:23:35,749] bsbuilder:INFO:Going to sleep for 10 ... [2014-06-24 20:43:30,833] bsbuilder:INFO:subticket_status: [{'status': 210, 'step': 100, 'version': u'2.8-4ubuntu3', 'resource': u'/api/v1/fullsubticket/2/', 'name': u'hello', 'artifacts': None, 'step_text': 'Queued', 'message': None, 'status_text': 'Not started', 'id': 2}] [2014-06-24 20:43:30,833] bsbuilder:INFO:Going to sleep for 10 [2014-06-24 20:43:44,738] 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 340, in watch_ppa if package['status'] == SubTicketWorkflowStepStatus.WAITING.value: AttributeError: type object 'SubTicketWorkflowStepStatus' has no attribute 'WAITING'
2014-06-25 04:01:42 Ursula Junque tags airline bsbuilder
2014-06-25 20:14:23 Paul Larson uci-engine: importance Undecided High
2014-06-25 20:15:01 Paul Larson uci-engine: assignee Ursula Junque (ursinha)