Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#3053 closed defect (fixed)

Interrupting an SVN operation can result in locked working copies on slaves that require manual intervention

Reported by: bdash Owned by: Mark Rowe <mrowe@…>
Priority: major Milestone: 0.8.x
Version: 0.8.9 Keywords: svn
Cc: mrowe@…

Description

With buildbot v0.8.9 and master-side SVN steps, if an SVN operation is interrupted it can result in the working copy on the slave being left in a locked state. This causes further operations to fail immediately with the error:

svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted

buildbot treats this error as a fatal error, rather than one that it can recover from. This currently requires manual intervention to correct. Ideally buildbot would recover by running "svn cleanup" as suggested. Alternatively, it could fall back to clobbering the working copy as is done for other classes of errors.

Attachments (1)

buildbot-E155037.patch (2.3 KB) - added by bdash 5 years ago.
Straw man patch that falls back to clobbering if E155037 is encountered

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by bdash

Straw man patch that falls back to clobbering if E155037 is encountered

comment:1 Changed 5 years ago by bdash

  • Cc mrowe@… added

comment:2 Changed 5 years ago by sa2ajj

  • Milestone changed from undecided to 0.8.x

comment:3 Changed 5 years ago by Mark Rowe <mrowe@…>

  • Owner set to Mark Rowe <mrowe@…>
  • Resolution set to fixed
  • Status changed from new to closed

In ac48c4ff7d6a1b070282d8b65f70c3da21f14694:

recover from the SVN operation being interrupted

  • in case 'svn info' returns 'E155037' (run 'cleanup' if it was interrupted), clobber the checkout

Fixes ticket:3053

comment:4 Changed 5 years ago by Mark Rowe <mrowe@…>

In 318aac48b2c38be1af43d16b2d742915894353d3:

(port from eight) recover from the SVN operation being interrupted

  • in case 'svn info' returns 'E155037' (run 'cleanup' if it was interrupted), clobber the checkout

See ticket:3053

Conflicts:

master/buildbot/steps/source/svn.py
master/docs/relnotes/index.rst

Note: See TracTickets for help on using tickets.