Ticket #39 (closed defect: fixed)
reconfig reports incorrect changes between locks
| Reported by: | darraghbailey | Owned by: | warner |
|---|---|---|---|
| Priority: | patches-accepted | Milestone: | 0.8.+ |
| Version: | Keywords: | ||
| Cc: |
Description
When performing a reconfig after updating the locks being used to include a new lock the following was the output into the log file and onto the screen.
locks changed from [(<class buildbot.locks.MasterLock at 0x2000000000fed350>, 'serverbuilds'), (<class buildbot.locks.MasterLock at 0x2000000000fed350>, 'machine3_serverbuilds'), (<class buildbot.locks.MasterLock at 0x2000000000fed350>, 'machine3')] to [(<class buildbot.locks.MasterLock at 0x2000000000fed350>, 'serverbuilds'), (<class buildbot.locks.MasterLock at 0x2000000000fed350>, 'machine3')]
It should read
locks changed from [(<class buildbot.locks.MasterLock at 0x2000000000fed350>, 'serverbuilds'), (<class buildbot.locks.MasterLock at 0x2000000000fed350>, 'machine3')] to [(<class buildbot.locks.MasterLock at 0x2000000000fed350>, 'serverbuilds'), (<class buildbot.locks.MasterLock at 0x2000000000fed350>, 'machine3_serverbuilds'), (<class buildbot.locks.MasterLock at 0x2000000000fed350>, 'machine3')]
Since I was adding the new lock machine3_serverbuilds, not removing it.
Attachments
Change History
Changed 6 years ago by darraghbailey
-
attachment
buildbot-reconfig-locks-reorder.patch
added
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
patch to print the correct order