automated/android/boottime/boottime
Description
collect the boottime data many times and try to analyse, when run more than 4 times(including), the average will be calculated without the maximum and the minimum, if run less than or equal to 3 times, the average will be calculated with all data. If there are multiple android devices connected to the host, please export the android serial number via the ANDROID_SERIAL environment variable before running the scripts
Maintainer
- yongqin.liu@linaro.org
- chase.qi@linaro.org
OS
- android
Scope
- performance
Devices
- juno
- hi6220-hikey
Steps to reproduce
- cd ./automated/android/boottime
- ./boottime.sh -S "${SKIP_INSTALL}" -t "${BOOT_TIMEOUT}" -o "${OPERATION}" -n "${COLLECT_NO}" -v "${ANDROID_VERSION}"
- if [ -n "${SQUAD_UPLOAD_URL}" ] && [ "${OPERATION}" = "ANALYZE" ]; then ../../utils/upload-to-squad.sh -a "output/boottime.tgz" -u "${SQUAD_UPLOAD_URL}"; fi
- if [ -z "${SQUAD_UPLOAD_URL}" ] && [ "${OPERATION}" = "ANALYZE" ]; then ../../utils/upload-to-artifactorial.sh -a "output/boottime.tgz" -u "${URL}" -t "${TOKEN}"; fi
- ../../utils/send-to-lava.sh ./output/boot_result.txt
- ../../utils/send-to-lava.sh ./output/result.txt