From 75ff68608baab31f6ac9e5395a9841c08c62e092 Mon Sep 17 00:00:00 2001 From: Sagi Shnaidman Date: Thu, 7 Feb 2019 15:40:34 +0200 Subject: [PATCH] Prevent second logs collection for OVB jobs Closes-Bug: #1815048 Change-Id: I6d15291846a884e951b2535099bbfe1230d9473f --- roles/run-test/templates/toci_quickstart.sh.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/run-test/templates/toci_quickstart.sh.j2 b/roles/run-test/templates/toci_quickstart.sh.j2 index 4c618faf0..26aa9da63 100755 --- a/roles/run-test/templates/toci_quickstart.sh.j2 +++ b/roles/run-test/templates/toci_quickstart.sh.j2 @@ -172,6 +172,7 @@ done {% if environment_type == "ovb" -%} echo "Running collect logs now, before the nodes are destryed by te broker" /usr/bin/timeout --preserve-status 40m bash $LOGS_DIR/collect_logs.sh > $LOGS_DIR/quickstart_collect_logs.log + mv $LOGS_DIR/collect_logs.sh $LOGS_DIR/ovb_collect_logs.sh {% else %} echo "Running Collect Logs in post" {% endif %}