frustrating random Travis failures

Dirk Hohndel dirk at hohndel.org
Sat Oct 7 10:30:16 PDT 2017


If someone has the time to play with this... here's a reminder of a problem that I've pointed out before.

About 1/3 of the time (?) the Travis CI tests fail with this problem:

FAIL!  : TestParse::testParse() Compared values are not the same
   Actual   (written.takeFirst().trimmed()): "<sample time='0:00 min' depth='2.68 m' temp='11.0 C' ndl='240:00 min' po2='0.7 bar' />"
   Expected (readin.takeFirst().trimmed()) : "<sample time='0:00 min' depth='2.68 m' temp='11.0 C' ndl='240:00 min' />"
   Loc: [/home/travis/build/Subsurface-divelog/subsurface/tests/testparse.cpp(153)]

We add a "po2='0.7bar'" attribute to that sample. But we don't do this all the time. And I cannot wrap my mind around why this happens and especially why it is non-deterministic...

Help?

/D


More information about the subsurface mailing list