From 0a52198316dfaa5118adfbf22a6f5866680fb50e Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Tue, 7 Apr 2015 13:54:38 -0700 Subject: [PATCH] Reflect the fact that devstack takes 10-15 minutes now With all the assorted devstack configurations and plugins, it rarely takes 5 minutes and commonly takes over 15 minutes. * Update logs to reflect how long we expect this to take * Bump the devstack is slow warning to 20 minutes. Change-Id: I89971ac07c978cc1a40b0178931f8cc2663f323b --- devstack-vm-gate.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/devstack-vm-gate.sh b/devstack-vm-gate.sh index decdf6b4..817255e6 100755 --- a/devstack-vm-gate.sh +++ b/devstack-vm-gate.sh @@ -483,13 +483,13 @@ EOF sudo chown -R stack:stack $BASE echo "Running devstack" - echo "... this takes 5 - 8 minutes (logs in logs/devstacklog.txt.gz)" + echo "... this takes 10 - 15 minutes (logs in logs/devstacklog.txt.gz)" start=$(date +%s) sudo -H -u stack stdbuf -oL -eL ./stack.sh > /dev/null end=$(date +%s) took=$((($end - $start) / 60)) - if [[ "$took" -gt 15 ]]; then - echo "WARNING: devstack run took > 15 minutes, this is a very slow node." + if [[ "$took" -gt 20 ]]; then + echo "WARNING: devstack run took > 20 minutes, this is a very slow node." fi # provide a check that the right db was running