← Back to team overview

maria-developers team mailing list archive

Buildbot confused by non-monotonicity of revision numbers in the tree



Buildbot seems to have a wrong idea about the order of bazaar's revision
numbers. It also shows only last five pushes, and these two issues together 
make it impossible to see the recent status.

The problem can be observed in maria-5.1-table-elimination tree:

it's building but won't let you see the status.

I got the tree into this state as follows:
1. branch off maria-5.1
2. make a number of sequential commits, so that the number of the tip revision
   grows to be much greater than that of mainline tree.
3. Meanwhile, a few csets were commited into the main maria-5.1
4. Do a maria-5.1 -> maria-5.1-table-elimination merge, using the recommended procedure
   - make a branch of main
   - bzr merge --pull from maria-5.1-table-elimination to there.

As a result, tip revision in maria-5.1-table-elimination becomes a number which
is less than it used to be (all csets made in #2 are collapsed into one Merge
cset), and buildbot is confused - it assumes that the revision numbers are
monotonically increasing, and that assumption puts my latest revision between
some dated revisions. 

Besides the ordering problem, there might be an identity problem. At the moment
the tree has a tip revision number #2723. The problem is that there already was
a moment in the past when the tree was in a different state and had a tip
revision number 2723.  Does this mean that the new test results will overwrite
the old ones?

Sergey Petrunia, Software Developer
Monty Program AB, http://askmonty.org
Blog: http://s.petrunia.net/blog

Follow ups