Bug 13698 - buildbot got this traceback when running stable/thud-nut
Summary: buildbot got this traceback when running stable/thud-nut
Status: RESOLVED OBSOLETE
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: 2.7.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: Future
Assignee: Unassigned
QA Contact:
URL: https://autobuilder.yoctoproject.org/...
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-12-10 21:19 UTC by Armin Kuster
Modified: 2021-12-16 16:06 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.