SA Bugzilla – Bug 5367
t/spamd_hup.t fails a lot
Last modified: 2007-03-14 13:08:48 UTC
this test has been failing intermittently on the zone, and in my checkout. We should probably try and figure out why before 3.2.0 release-- hopefully it's just a buggy test, rather than a race in spamd.
some more data points: - it's not just spamd_hup.t, it's also spamd_kill_restart.t and spamd_kill_restart_rr.t. all 3 tests share a lot of logic and code. I suspect race conditions in test code. - it's not very frequent -- there are about 5-10 spamd_hup.t failures in 640 buildbot test suite runs. so quite rare. I think it's a race condition, where the test script spots a new pid-file and goes to read it before the spamd has _written_ any spamd PID into it. I think I may have fixed it in trunk now -- let's see how it goes.
ok, that seems to have helped...