summaryrefslogtreecommitdiff
path: root/automated/android/bootchart/bootchart.yaml
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2017-04-14 17:23:55 +0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2017-05-24 08:52:42 +0000
commit48f4a4a692724719024ef49addf518333a732356 (patch)
tree1510285781f55375a7392fbfb95eec64aa74a897 /automated/android/bootchart/bootchart.yaml
parentfd6dd1e143da1b780a68b9645017ca84171892af (diff)
automated: android: add bootchart test
* Migrate bootchart to v2. * Generate bootchart graphic. Change-Id: Iea19523d30d036a8197ee6cfc1a39a58512725f7 Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'automated/android/bootchart/bootchart.yaml')
-rw-r--r--automated/android/bootchart/bootchart.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/automated/android/bootchart/bootchart.yaml b/automated/android/bootchart/bootchart.yaml
new file mode 100644
index 0000000..410948c
--- /dev/null
+++ b/automated/android/bootchart/bootchart.yaml
@@ -0,0 +1,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