Opened 12 years ago

Closed 10 years ago

#389 closed defect (fixed)

"Stop Build" button reports error when pressed before steps are started

Reported by: mmacvicar Owned by: catlee
Priority: major Milestone: 0.8.2
Version: 0.7.7 Keywords:
Cc:

Description (last modified by dustin)

"Stop Build" button reports error when pressed before steps are started

If you are using slave locks, the builds appear on the waterfall while they wait for the slave to unlock. You can click on the build and press the "stop build" button, but that reports this error:

/usr/local/lib/python2.5/site-packages/buildbot/process/base.py, line 500 in stopBuild
498    # TODO: include 'reason' in this point event
499    self.builder.builder_status.addPointEvent(['interrupt'])
500    self.currentStep.interrupt(reason)
501    if 0:
Selfbuilder buildbot.process.builder.Builder instance @ 0x9745d0c
 <Builder 'CausticGLES Linux_x86_32 Release' at 158620940> 
currentStep None 

Localsreason "The web-page 'stop build' button was pressed by 'mark.macvicar': cancelling build for system upgrade
" 
self buildbot.process.base.Build instance @ 0x98a8f8c
 <Build CausticGLES Linux_x86_32 Release> 

<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'interrupt'

Change History (5)

comment:1 Changed 11 years ago by dustin

  • Milestone changed from undecided to 0.7.+

comment:2 Changed 10 years ago by dustin

  • Description modified (diff)
  • Keywords slave lock stop build removed
  • Milestone changed from 0.8.+ to 0.8.1
  • Priority changed from minor to major

comment:3 Changed 10 years ago by catlee

  • Owner set to catlee
  • Status changed from new to assigned

comment:5 Changed 10 years ago by catlee

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.