summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Djakov <georgi.djakov@linaro.org>2019-09-04 15:05:07 +0300
committerGeorgi Djakov <georgi.djakov@linaro.org>2019-09-04 15:05:07 +0300
commit43369954c3d8b684137b70d674b55592f25e6713 (patch)
tree5a528cd9c87a2eef7f78fb109ca376812803fee1
parent08ffcc6a5f84a2a28281d2739dc30dc1f146c8ba (diff)
wa: try pinging target before connecting to it
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
-rwxr-xr-xautomated/linux/workload-automation3/workload-automation.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/automated/linux/workload-automation3/workload-automation.sh b/automated/linux/workload-automation3/workload-automation.sh
index 6461c78..dec2abb 100755
--- a/automated/linux/workload-automation3/workload-automation.sh
+++ b/automated/linux/workload-automation3/workload-automation.sh
@@ -99,6 +99,7 @@ grep "PermitRootLogin yes" /etc/ssh/sshd_config
echo "root:linaro123" | chpasswd
/etc/init.d/ssh restart && sleep 3
echo $(lava-target-ip) lava-target-ip >> /etc/hosts
+ping -c3 lava-target-ip
# Ensure that csv is enabled in result processors.
if ! grep -q 'csv' ./config.yaml; then