This is an automated email from the ASF dual-hosted git repository.

gary pushed a commit to branch release-1.11
in repository

The following commit(s) were added to refs/heads/release-1.11 by this push:
     new 6a4714f  [FLINK-17794][tests] Tear down installed software in reverse 
6a4714f is described below

commit 6a4714fdeff96d54db5fde5fac9b0eb355886b47
Author: Gary Yao <>
AuthorDate: Mon May 18 10:48:34 2020 +0200

    [FLINK-17794][tests] Tear down installed software in reverse order
    Tear down installed software in reverse order in Jepsen tests. This
    mitigates the issue that sometimes YARN's NodeManager directories cannot
    be removed using 'rm -rf' because Flink processes keep running and
    generate files after the YARN NodeManager is shut down. rm -r removes
    files recursively but if files are created in the background
    concurrently, the command can still fail with a non-zero exit code.
 flink-jepsen/src/jepsen/flink/db.clj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-jepsen/src/jepsen/flink/db.clj 
index 61743b1..71c6716 100644
--- a/flink-jepsen/src/jepsen/flink/db.clj
+++ b/flink-jepsen/src/jepsen/flink/db.clj
@@ -109,7 +109,7 @@
     (teardown! [_ test node]
-          (doseq [db dbs] (db/teardown! db test node))
+          (doseq [db (reverse dbs)] (db/teardown! db test node))
           (finally (fu/stop-all-supervised-services!)))))
     (log-files [_ test node]

Reply via email to