Estimated dispatch times for suspended builds cause an OOPS

Bug #526969 reported by Muharem Hrnjadovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Muharem Hrnjadovic

Bug Description

Traceback (most recent call last):

    * Module zope.publisher.publish, line 134, in publish
      result = publication.callObject(request, obj)
    * Module canonical.launchpad.webapp.publication, line 397, in callObject
      return mapply(ob, request.getPositionalArguments(), request)
    * Module zope.publisher.publish, line 109, in mapply
      return debug_call(obj, args)
      __traceback_info__: <security proxied zope.browserpage.metaconfigure.SimpleViewClass from /srv/launchpad.net/codelines/trunk/lib/lp/soyuz/browser/../templates/build-index.pt instance at 0xe0e960c>
    * Module zope.publisher.publish, line 115, in debug_call
      return obj(*args)
    * Module canonical.launchpad.webapp.publisher, line 283, in __call__
      return self.render()
    * Module canonical.launchpad.webapp.publisher, line 264, in render
      return self.template()
    * Module zope.app.pagetemplate.viewpagetemplatefile, line 83, in __call__
      return self.im_func(im_self, *args, **kw)
    * Module zope.app.pagetemplate.viewpagetemplatefile, line 51, in __call__
      sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
    * Module zope.pagetemplate.pagetemplate, line 115, in pt_render
      strictinsert=0, sourceAnnotations=sourceAnnotations)()
    * Module zope.tal.talinterpreter, line 271, in __call__
      self.interpret(self.program)
    * Module zope.tal.talinterpreter, line 343, in interpret
      handlers[opcode](self, args)
    * Module zope.tal.talinterpreter, line 888, in do_useMacro
      self.interpret(macro)
    * Module zope.tal.talinterpreter, line 343, in interpret
      handlers[opcode](self, args)
    * Module zope.tal.talinterpreter, line 533, in do_optTag_tal
      self.do_optTag(stuff)
    * Module zope.tal.talinterpreter, line 518, in do_optTag
      return self.no_tag(start, program)
    * Module zope.tal.talinterpreter, line 513, in no_tag
      self.interpret(program)
    * Module zope.tal.talinterpreter, line 343, in interpret
      handlers[opcode](self, args)
    * Module zope.tal.talinterpreter, line 531, in do_optTag_tal
      self.no_tag(stuff[-2], stuff[-1])
    * Module zope.tal.talinterpreter, line 513, in no_tag
      self.interpret(program)
    * Module zope.tal.talinterpreter, line 343, in interpret
      handlers[opcode](self, args)
    * Module zope.tal.talinterpreter, line 946, in do_defineSlot
      self.interpret(slot)
    * Module zope.tal.talinterpreter, line 343, in interpret
      handlers[opcode](self, args)
    * Module zope.tal.talinterpreter, line 888, in do_useMacro
      self.interpret(macro)
    * Module zope.tal.talinterpreter, line 343, in interpret
      handlers[opcode](self, args)
    * Module zope.tal.talinterpreter, line 533, in do_optTag_tal
      self.do_optTag(stuff)
    * Module zope.tal.talinterpreter, line 518, in do_optTag
      return self.no_tag(start, program)
    * Module zope.tal.talinterpreter, line 513, in no_tag
      self.interpret(program)
    * Module zope.tal.talinterpreter, line 343, in interpret
      handlers[opcode](self, args)
    * Module zope.tal.talinterpreter, line 852, in do_condition
      self.interpret(block)
    * Module zope.tal.talinterpreter, line 343, in interpret
      handlers[opcode](self, args)
    * Module zope.tal.talinterpreter, line 533, in do_optTag_tal
      self.do_optTag(stuff)
    * Module zope.tal.talinterpreter, line 518, in do_optTag
      return self.no_tag(start, program)
    * Module zope.tal.talinterpreter, line 513, in no_tag
      self.interpret(program)
    * Module zope.tal.talinterpreter, line 343, in interpret
      handlers[opcode](self, args)
    * Module zope.tal.talinterpreter, line 583, in do_setLocal_tal
      self.engine.setLocal(name, self.engine.evaluateValue(expr))
    * Module zope.tales.tales, line 696, in evaluate
      return expression(self)
      /srv/launchpad.net/codelines/trunk/lib/lp/soyuz/browser/../templates/build-index.pt
      Line 150, Column 8
      Expression: <PathExpr standard:u'context/buildqueue_record/getEstimatedJobStartTime'>
         - Names:
            {'args': (),
             'context': <Build at 0xe0e910c>,
             'default': <object object at 0x401c6590>,
             'loop': {},
             'nothing': None,
             'options': {},
             'repeat': {},
             'request': <canonical.launchpad.webapp.servers.LaunchpadBrowserRequest instance URL=https://dogfood.launchpad.net/ubuntu/+archive/519665-test-02/+build/1344791/+index>,
             'template': <z3c.ptcompat.ViewPageTemplateFile object at 0xc4506cc>,
             'view': <zope.browserpage.metaconfigure.SimpleViewClass from /srv/launchpad.net/codelines/trunk/lib/lp/soyuz/browser/../templates/build-index.pt object at 0xe0e960c>,
             'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0xeb66dcc>}
    * Module zope.tales.expressions, line 217, in __call__
      return self._eval(econtext)
    * Module zope.tales.expressions, line 211, in _eval
      return ob()
    * Module lp.soyuz.model.buildqueue, line 444, in getEstimatedJobStartTime
      "The start time is only estimated for pending jobs.")

AssertionError: The start time is only estimated for pending jobs.<br />

Tags: lp-soyuz

Related branches

Changed in soyuz:
status: New → Triaged
assignee: nobody → Muharem Hrnjadovic (al-maisan)
milestone: none → 10.02
importance: Undecided → High
Changed in soyuz:
status: Triaged → In Progress
Revision history for this message
Diogo Matsubara (matsubara) wrote : Bug fixed by a commit
Changed in soyuz:
status: In Progress → Fix Committed
Changed in soyuz:
status: Fix Committed → Fix Released
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.