blob: 410948ca443839c27c6ee0fc802082293ec90cb1 (
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
|
metadata:
name: bootchart
format: "Lava-Test-Shell Test Definition 1.0"
description: "Collect the bootchart data and try to analyse."
maintainer:
- yongqin.liu@linaro.org
- chase.qi@linaro.org
os:
- android
scope:
- functional
devices:
- juno
- hi6220-hikey
params:
SKIP_INSTALL: "false"
# 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: start or stop.
OPERATION: "start"
BOOTCHART_TIME: "120"
# Specify url and token for publishing artifacts.
ARTIFACTORIAL_URL: "https://archive.validation.linaro.org/artifacts/team/qa/"
ARTIFACTORIAL_TOKEN: ""
run:
steps:
- cd ./automated/android/bootchart/
- ./bootchart.sh -S "${SKIP_INSTALL}" -t "${BOOT_TIMEOUT}" -s "${ANDROID_SERIAL}" -o "${OPERATION}" -T "${BOOTCHART_TIME}"
- ../../utils/upload-to-artifactorial.sh -a "./output/output-bootchart.tar.xz" -u "${ARTIFACTORIAL_URL}" -t "${ARTIFACTORIAL_TOKEN}"
- ../../utils/send-to-lava.sh ./output/result.txt
|