blob: 51bc5dfcd221d8634aedd51f0cbbf36c6ae639cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
metadata:
name: boottime
format: "Lava-Test-Shell Test Definition 1.0"
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 minmun, if run less
than or equal to 3 time, the average will be calculated with
all data"
maintainer:
- yongqin.liu@linaro.org
- chase.qi@linaro.org
os:
- android
scope:
- performance
devices:
- juno
- hi6220-hikey
params:
# Specify device serial no. when more than one device connected.
ANDROID_SERIAL: ""
# Specify timeout in seconds for wait_boot_completed.
BOOT_TIMEOUT: "300"
# Available operations: COLLECT or ANALYZE
OPERATION: "COLLECT"
COLLECT_NO: "1"
# Specify url and token for file uploading.
URL: "https://archive.validation.linaro.org/artifacts/team/qa/"
TOKEN: "4373c97b474497dbd12373689d7d492e"
run:
steps:
- cd ./automated/android/boottime
- ./boottime.sh -s "${ANDROID_SERIAL}" -t "${BOOT_TIMEOUT}" -o "${OPERATION}" -n "${COLLECT_NO}"
- if [ "${OPERATION}" = "ANALYZE" ]; then ../../utils/upload-to-artifactorial.sh -a "output/boottime.tgz" -u "${URL}" -t "${TOKEN}"; fi
- ../../utils/send-to-lava.sh ./output/result.txt
|