Comment 3 for bug 1017113

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: FTBFS: Sveral tests fails

Hi Martin. These are basically timeouts because each test needs to finish in less than 5 seconds. Some of them take 1 - 2 seconds normally, so if your system gets busy for a second, that can be enough to push a few of them over 5 seconds.

A few tips:

1) I use sbuild, not pbuilder. If you use the 'mk-sbuild' script to build your chroot, you can pass it --eatmydata, which will help a lot. The tests run zookeeper, which fsyncs every write to disk. --eatmydata sets up your schroot to run everything inside 'eatmydata' which disables fsync and so de-couples your build from having to flush to disk.

2) If you have access to a machine with an SSD, that also helps a lot. On a non-SSD box, the tests take 7 minutes. With eatmydata, that drops to 5. With an SSD machine those numbers are cut in half. Thus, each tests is faster and so has less chance to cross over 5 seconds.

Anyway, I think this is worth re-titling to "test suite fails sporadically" and mark as an upstream bug.