Zuul can't enqueue a change whose child is a Gerrit draft

Bug #1260836 reported by Jeremy Stanley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zuul
Confirmed
Low
Unassigned

Bug Description

Scenario... 61689,1 (a draft) depends on 61681,1 which depends on 60851,10 (approved) which depends on 60850,4 (approved) which depends on no unmerged changes. When zuul tries to enqueue 60850,4 and 60851,10 it ends up attempting to inspect other dependent changes in case they might also be approved, but throws an exception when it reaches the 61689,1 draft change and fails to add any changes from this set into the dependent pipeline as a result.

    2013-12-13 01:36:38,355 INFO zuul.Gerrit: Updating information for 61689,1
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 102, in run
        self._handleEvent()
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 92, in _handleEvent
        refresh=True)
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 306, in getChange
        self.updateChange(change)
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 360, in updateChange
        dep = self.getChange(dep_num, dep_ps)
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 306, in getChange
        self.updateChange(change)
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 360, in updateChange
        dep = self.getChange(dep_num, dep_ps)
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 306, in getChange
        self.updateChange(change)
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 351, in updateChange
        dep = self.getChange(dep_num, dep_ps)
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 306, in getChange
        self.updateChange(change)
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 360, in updateChange
        dep = self.getChange(dep_num, dep_ps)
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 306, in getChange
        self.updateChange(change)
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 360, in updateChange
        dep = self.getChange(dep_num, dep_ps)
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 306, in getChange
        self.updateChange(change)
      File "/usr/local/lib/python2.7/dist-packages/zuul/trigger/gerrit.py", line 323, in updateChange
        change.patchset))
    Exception: Change 61689,1 not found

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.