aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2020-10-14 21:24:15 -0700
committerArthur She <arthur.she@linaro.org>2020-10-14 21:24:15 -0700
commit9d8918eec0380f4bacb23a97bce7dcaa04d29796 (patch)
treede3348eced2e6079d2a0d636d0b492d6462fc5ba
parent8dc51eaa0cb40a113b90f2b2d34c36fa330dda9d (diff)
igt: upload result log
Signed-off-by: Arthur She <arthur.she@linaro.org>
-rw-r--r--automated/linux/igt/igt-test-upload-test-log.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/automated/linux/igt/igt-test-upload-test-log.yaml b/automated/linux/igt/igt-test-upload-test-log.yaml
index fda5d03..bdf284e 100644
--- a/automated/linux/igt/igt-test-upload-test-log.yaml
+++ b/automated/linux/igt/igt-test-upload-test-log.yaml
@@ -32,12 +32,12 @@ run:
- ping -c 2 www.google.com || lava-test-raise "Target-network-failed"
- if [ "${TEST_LIST}" = "CHAMELIUM" ]; then
# Reboot Chamelium
- #- echo -e "\nReboot the chamelium\n"
- #- ./control_chamelium.sh ${CHAMELIUM_REBOOT_ARG}; sleep 30
+ - echo -e "\nReboot the chamelium\n"
+ - ./control_chamelium.sh ${CHAMELIUM_REBOOT_ARG}; sleep 30
# Check if Chamelium is available. ${CHAMELIUM_IP} is from LAVA device dictionary
- ping -c 2 ${CHAMELIUM_IP} || lava-test-raise "Chamelium-is-not-available"
- #- while [ ${CHAMELIUM_PING_RETRY} -gt 0 ]; do PC=`ping -c 2 ${CHAMELIUM_IP}|grep '100% packet loss'`||true; if [ -n "${PC}" ]; then ./control_chamelium.sh ${CHAMELIUM_REBOOT_ARG}; sleep 30; (( CHAMELIUM_PING_RETRY-- )); else break; fi; done
- #- test -n "${CHAMELIUM_IP}" && test ${CHAMELIUM_PING_RETRY} -gt 0 && lava-test-case "Ping-Chamelium" --result pass || lava-test-raise "Ping-Chamelium"
+ - while [ ${CHAMELIUM_PING_RETRY} -gt 0 ]; do PC=`ping -c 2 ${CHAMELIUM_IP}|grep '100% packet loss'`||true; if [ -n "${PC}" ]; then ./control_chamelium.sh ${CHAMELIUM_REBOOT_ARG}; sleep 30; (( CHAMELIUM_PING_RETRY-- )); else break; fi; done
+ - test -n "${CHAMELIUM_IP}" && test ${CHAMELIUM_PING_RETRY} -gt 0 && lava-test-case "Ping-Chamelium" --result pass || lava-test-raise "Ping-Chamelium"
# Check Chamelium uboot console status
- ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@${CHAMELIUM_IP} /usr/bin/lock_u_boot_console || true
# Showing the uptime of Chamelium