'SubTicketWorkflowStepStatus' has no attribute 'WAITING' in bsbuilder

Bug #1334036 reported by Francis Ginther
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
New
Undecided
Unassigned

Bug Description

Stack trace in branch source builder with revision 607.

[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'

Revision history for this message
Francis Ginther (fginther) wrote :

Her's the full logfile.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.