sourcepackagerecipebuilds break builder history page

Bug #615562 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Aaron Bentley

Bug Description

Because there is no adaptor named RECIPEBRANCHBUILD for converting a build into a ISpecificBuildFarmJob, the page displaying history oopses:

Traceback (most recent call last):

    * Module zope.publisher.publish, line 134, in publish
      result = publication.callObject(request, obj)
    * Module canonical.launchpad.webapp.publication, line 426, 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/staging.launchpad.net/staging/launchpad/lib/lp/soyuz/browser/../templates/builds.pt instance at 0xc5112d0>
    * Module zope.publisher.publish, line 115, in debug_call
      return obj(*args)
    * Module canonical.launchpad.webapp.publisher, line 279, 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 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 742, in do_insertStructure_tal
      structure = self.engine.evaluateStructure(expr)
    * Module zope.tales.tales, line 696, in evaluate
      return expression(self)
      /srv/staging.launchpad.net/staging/launchpad/lib/lp/soyuz/browser/../templates/builds.pt
      Line 11, Column 6
      Expression: <PathExpr standard:u'context/@@+builds-list'>
         - Names:
            {'args': (),
             'context': <Builder at 0x2aae0473c550>,
             'default': <object object at 0x2aadebd6f230>,
             'loop': {},
             'nothing': None,
             'options': {},
             'repeat': {},
             'request': <lp.code.publisher.CodeBrowserRequest instance URL=https://code.staging.launchpad.net/builders/clementine/+history>,
             'template': <z3c.ptcompat.ViewPageTemplateFile object at 0x8c58690>,
             'view': <zope.browserpage.metaconfigure.SimpleViewClass from /srv/staging.launchpad.net/staging/launchpad/lib/lp/soyuz/browser/../templates/builds.pt object at 0xc5112d0>,
             'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x2aae0473c090>}
    * Module zope.tales.expressions, line 217, in __call__
      return self._eval(econtext)
    * Module zope.tales.expressions, line 211, in _eval
      return ob()
    * Module canonical.launchpad.webapp.publisher, line 279, 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 851, in do_condition
      if not self.tal or self.engine.evaluateBoolean(condition):
    * Module zope.tales.tales, line 701, in evaluateBoolean
      return not not self.evaluate(expr)
    * Module zope.tales.tales, line 696, in evaluate
      return expression(self)
      /srv/staging.launchpad.net/staging/launchpad/lib/lp/soyuz/browser/../templates/builds-list.pt
      Line 1, Column 0
      Expression: <NotExpr u'view/setupBuildList'>
         - Names:
            {'args': (),
             'context': <Builder at 0x2aae0473c550>,
             'default': <object object at 0x2aadebd6f230>,
             'loop': {},
             'nothing': None,
             'options': {},
             'repeat': {},
             'request': <lp.code.publisher.CodeBrowserRequest instance URL=https://code.staging.launchpad.net/builders/clementine/+history>,
             'template': <z3c.ptcompat.ViewPageTemplateFile object at 0x8c58750>,
             'view': <zope.browserpage.metaconfigure.SimpleViewClass from /srv/staging.launchpad.net/staging/launchpad/lib/lp/soyuz/browser/../templates/builds-list.pt object at 0x2aae01518a50>,
             'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x2aae01518e10>}
    * Module zope.tales.expressions, line 280, in __call__
      return int(not econtext.evaluateBoolean(self._c))
    * Module zope.tales.tales, line 701, in evaluateBoolean
      return not not self.evaluate(expr)
    * Module zope.tales.tales, line 696, in evaluate
      return expression(self)
      /srv/staging.launchpad.net/staging/launchpad/lib/lp/soyuz/browser/../templates/builds-list.pt
      Line 1, Column 0
      Expression: <PathExpr standard:u'view/setupBuildList'>
         - Names:
            {'args': (),
             'context': <Builder at 0x2aae0473c550>,
             'default': <object object at 0x2aadebd6f230>,
             'loop': {},
             'nothing': None,
             'options': {},
             'repeat': {},
             'request': <lp.code.publisher.CodeBrowserRequest instance URL=https://code.staging.launchpad.net/builders/clementine/+history>,
             'template': <z3c.ptcompat.ViewPageTemplateFile object at 0x8c58750>,
             'view': <zope.browserpage.metaconfigure.SimpleViewClass from /srv/staging.launchpad.net/staging/launchpad/lib/lp/soyuz/browser/../templates/builds-list.pt object at 0x2aae01518a50>,
             'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x2aae01518e10>}
    * 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.browser.build, line 392, in setupBuildList
      self.batchnav.currentBatch())
    * Module lp.soyuz.browser.build, line 316, in setupCompleteBuilds
      builds = [build.getSpecificJob() for build in batch]
    * Module lp.buildmaster.model.buildfarmjob, line 326, in getSpecificJob
      self.job_type.name))

InconsistentBuildFarmJobError: No adapter was found for the build farm job type RECIPEBRANCHBUILD.<br />

Related branches

Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in launchpad-code:
milestone: none → 10.08
tags: added: qa-needstesting
Changed in launchpad-code:
status: Triaged → Fix Committed
summary: - sourcepackagerecipebuilds break branch history page
+ sourcepackagerecipebuilds break builder history page
Aaron Bentley (abentley)
tags: added: qa-ok
removed: qa-needstesting
Changed in launchpad-code:
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.