Bug 13698

Summary: buildbot got this traceback when running stable/thud-nut
Product: [Infrastructure] AutoBuilder Reporter: Armin Kuster <akuster>
Component: autobuilderAssignee: Unassigned <unassigned>
Status: RESOLVED OBSOLETE QA Contact:
Severity: normal    
Priority: Medium CC: infras.ab.watcher, Infras.watcher, pidge, randy.macleod
Version: 2.7.2   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
URL: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/567
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Armin Kuster 2019-12-10 21:19:09 UTC
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/local/lib/python3.5/dist-packages/twisted/internet/defer.py", line 1475, in gotResult
    _inlineCallbacks(r, g, status)
  File "/usr/local/lib/python3.5/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/local/lib/python3.5/dist-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
  File "/usr/local/lib/python3.5/dist-packages/buildbot/process/buildstep.py", line 566, in startStep
    self.results = yield self.run()
  File "/usr/local/lib/python3.5/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/local/lib/python3.5/dist-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/usr/local/lib/python3.5/dist-packages/buildbot/steps/trigger.py", line 306, in run
    results = yield self.worstStatus(results, rclist, unimportant_brids)
  File "/usr/local/lib/python3.5/dist-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
    result = g.send(result)
  File "/usr/local/lib/python3.5/dist-packages/buildbot/steps/trigger.py", line 200, in worstStatus
    if set(unimportant_brids).issuperset(set(brids_dict.values())):
builtins.UnboundLocalError: local variable 'brids_dict' referenced before assignment
Comment 1 Armin Kuster 2019-12-12 16:53:30 UTC
this is a known issue when a configuration is reloaded while builds are running.
Comment 2 Randy MacLeod 2021-12-16 16:06:44 UTC
This doesn't seem to happen anymore. We may just be avoiding this issue so re-open if seen in the newer versions of buildbot.