Several issues, including: * "make autotest" should not use -C This cleans up logs, making it impossible to debug test failures. This option no longer kills daemons, so is no longer needed in versions >=4.10. * ctdb detach test is flakey The attach/detach commands have an asynchronous effects, so tests need to wait a while for the commands to take effect. * Some tests can fail due to a cat process in onnode exiting due to EAGAIN This can occur when try_command_on_node() produces too much output. Commands that produce a lot of output should have their output saved to a file.
Some of the test fixes here depend on bug 13923
Created attachment 15155 [details] Patch for 4.9
Created attachment 15156 [details] Patch for 4.10
For 4.9 these patches are omitted: dd9c6417461 ctdb-tests: Actually restart if cluster doesn't become healthy 91ab6055806 ctdb-tests: Remove old socket wrapper state directory during setup The first is irrelevant and the 2nd probably isn't worth backporting to the old test infrastructure. For patches that modify ctdb/tests/simple/02_ctdb_tunables.sh, these are backported to 4.9 so that they modify ctdb/tests/simple/02_ctdb_listvars.sh and ctdb/tests/simple/03_ctdb_getvar.sh instead.
Hi Karolin, This is ready for v4-9 and v4-10. Thanks.
(In reply to Amitay Isaacs from comment #5) Pushed to autobuild-v4-{10,9}-test.
(In reply to Karolin Seeger from comment #6) Pushed to both branches. Closing out bug report. Thanks!