[Buildbot-commits] [Buildbot] #2360: Buildbot updates to wrong SVN version

Buildbot nobody at buildbot.net
Fri Aug 24 01:39:09 UTC 2012


#2360: Buildbot updates to wrong SVN version
--------------------+-------------------------------------------
Reporter:  flashm   |      Owner:
    Type:  defect   |     Status:  new
Priority:  major    |  Milestone:  undecided
 Version:  0.8.6p1  |   Keywords:  svn source revision externals
--------------------+-------------------------------------------
 I'm using new master-side SVN source step.
 I have multiple SVNPoller instances, checking my main trunk and different
 external repositories I use.

 Problem case:
 For example, my main trunk on 8000 revision, and one of the externals on
 300 revision. Change happens in external, popping it's version to 301.

 Current behavior:
 Buildbot tries to sync my main branch to revision 301. =(

 Expected behavior variants (either will go):
 1. buildbot should detect change in external and sync to the head revision
 instead of some specific revision
 2. buildbot should sync to timestamp instead of revision number in such
 cases


 Everything is even worse if some changes from different repositories are
 merged together.

 Another problem case:
 For example, my main trunk on 8000 revision, and one of the externals on
 300 revision. Multiple changes happen in main trunk, popping it's version
 to 8010. Change happens in external, popping it's version to 301.

 Current behavior:
 sourcestamp.revision initialized with last revision found and buildbot
 syncs to that last found revision. It may be revision 8010, or 301,
 depending on order. Moreover, even if revision 8010 was the last one, if
 someone decide to rebuild this build, no one would ever sync external to
 correct revision 301.

 Expected behavior:
 sourcestamp.revision, sourcestamp.repository and sourcestamp.branch fields
 should not be initialized if we have changes from different
 repositories/branches.
 To fix rebuilds, the only viable option here is to use timestamps instead
 of revision numbers.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2360>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list