[Bismark-devel] some thoughts on continuous builds

Dave Taht dave.taht at gmail.com
Tue Apr 26 11:35:03 EDT 2011


The advantage of a continuous build and test system is that you catch
new bugs early, as they occur in your external trees, and also fold in
fixes to existing bugs and new features quickly.

A disadvantage is that new bugs occur and invalidate previous testing.

At some point in the near future we will need to freeze bismark,
starting with the kernel and core utilities, do extensive QA, and
ship. Until then, builds should be done weekly (preferably daily)

Up until now I have been doing pulls and builds on a rather arbitrary schedule.

In my judgement there are still sufficient bugs outstanding

http://www.bufferbloat.net/projects/bismark/issues

to be doing continuous builds but I haven't been in the loop this week
(I will be more available after may 1)

So I would like to establish a process whereby we have a trigger point
for doing a new major build, and trigger points for new minor ones.

One nice thing about having multiple builders is that it's possible to
at least test the new stuff before committing to using it on other
people.

For example, last night, on my own tree, in my home dir, I did the usual

cd ~/src/openwrt; git pull

# looked over the logs with git log, saw a few interesting changes

cd ~/src/wndr370

./scripts/feeds update # this updates the external packages and rarely
breaks anything
git pull # in my case this pulls from my private copy of openwrt
make menuconfig # and save. you have to do this fairly often as
options do change
echo make -j 8 | batch

And the latest and greatest stuff did, indeed, build. Now, (due to me
not paying attention this week) I am still a bit out of sync with
what's going on in the core ~bismark tree, and don't have the hardware
to test against right now, but I have a reasonable confidence level
that the main trees could be updated and built against.

So, anyway, whenever y'all get to a good "do a complete build" point,
please do so? The pain you incur now will be saved later.

(I hope to be testing a new build w/hardware saturday)

-- 
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
http://the-edge.blogspot.com



More information about the Bismark-devel mailing list