aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2017-03-02 17:34:17 +0800
committerChase Qi <chase.qi@linaro.org>2017-03-02 18:36:52 +0800
commit1be61fe4dd24df43c38319dca646c76069e79338 (patch)
tree352e5c4494c5d4009c8ddba9cd0ab9a12f63b856
parent559a2fd7408399428222002a8668e13f8995d42a (diff)
android: add hikey cts focused* test templates for LAVA V2
Change-Id: I01b9f6c7f0467fccf7a431a4a157815be049a543 Signed-off-by: Chase Qi <chase.qi@linaro.org>
-rw-r--r--android/hikey/template-cts-focused1-v7a.yaml94
-rw-r--r--android/hikey/template-cts-focused1-v8a.yaml94
-rw-r--r--android/hikey/template-cts-focused2-v7a.yaml94
-rw-r--r--android/hikey/template-cts-focused2-v8a.yaml94
4 files changed, 376 insertions, 0 deletions
diff --git a/android/hikey/template-cts-focused1-v7a.yaml b/android/hikey/template-cts-focused1-v7a.yaml
new file mode 100644
index 0000000..cd622a8
--- /dev/null
+++ b/android/hikey/template-cts-focused1-v7a.yaml
@@ -0,0 +1,94 @@
+device_type: hi6220-hikey
+job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-cts-focused1-v7a"
+timeouts:
+ job:
+ minutes: 360
+ action:
+ minutes: 15
+ connection:
+ minutes: 2
+priority: medium
+visibility: public
+
+metadata:
+ android.build: "%%ANDROID_META_BUILD%%"
+ android.name: "%%ANDROID_META_NAME%%"
+ android.url: "%%ANDROID_META_URL%%"
+
+protocols:
+ lava-lxc:
+ name: lxc-hikey-test
+ template: debian
+ distribution: debian
+ release: sid
+ arch: amd64
+
+actions:
+- deploy:
+ namespace: tlxc
+ timeout:
+ minutes: 5
+ to: lxc
+ packages:
+ - adb
+ - fastboot
+ - systemd
+ - systemd-sysv
+ os: debian
+
+- boot:
+ namespace: tlxc
+ prompts:
+ - 'root@(.*):/#'
+ - 'hikey:/'
+ timeout:
+ minutes: 5
+ method: lxc
+
+- deploy:
+ timeout:
+ minutes: 30
+ to: fastboot
+ namespace: droid
+ connection: lxc
+ images:
+ ptable:
+ url: http://builds.96boards.org/snapshots/reference-platform/components/uefi/latest/release/hikey/ptable-aosp-8g.img
+ boot:
+ url: "%%DOWNLOAD_URL%%/boot.img.xz"
+ compression: xz
+ cache:
+ url: "%%ANDROID_CACHE%%"
+ compression: xz
+ userdata:
+ url: "%%ANDROID_DATA%%"
+ compression: xz
+ system:
+ url: "%%ANDROID_SYSTEM%%"
+ compression: xz
+ os: debian
+
+- boot:
+ namespace: droid
+ connection: serial
+ prompts:
+ - 'root@(.*):/#'
+ - 'hikey:/'
+ timeout:
+ minutes: 15
+ method: uefi-menu
+ commands: fastboot
+
+- test:
+ namespace: tlxc
+ connection: lxc
+ timeout:
+ minutes: 300
+ definitions:
+ - repository: https://git.linaro.org/qa/test-definitions.git
+ from: git
+ path: automated/android/cts/cts.yaml
+ params:
+ TEST_PARAMS: "run cts-focused1 --abi armeabi-v7a --disable-reboot --skip-preconditions --skip-device-info"
+ CTS_URL: "http://testdata.validation.linaro.org/cts/android-cts-7.1_r2.zip"
+ name: cts-focused1-v7a
diff --git a/android/hikey/template-cts-focused1-v8a.yaml b/android/hikey/template-cts-focused1-v8a.yaml
new file mode 100644
index 0000000..424ed85
--- /dev/null
+++ b/android/hikey/template-cts-focused1-v8a.yaml
@@ -0,0 +1,94 @@
+device_type: hi6220-hikey
+job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-cts-focused1-v8a"
+timeouts:
+ job:
+ minutes: 360
+ action:
+ minutes: 15
+ connection:
+ minutes: 2
+priority: medium
+visibility: public
+
+metadata:
+ android.build: "%%ANDROID_META_BUILD%%"
+ android.name: "%%ANDROID_META_NAME%%"
+ android.url: "%%ANDROID_META_URL%%"
+
+protocols:
+ lava-lxc:
+ name: lxc-hikey-test
+ template: debian
+ distribution: debian
+ release: sid
+ arch: amd64
+
+actions:
+- deploy:
+ namespace: tlxc
+ timeout:
+ minutes: 5
+ to: lxc
+ packages:
+ - adb
+ - fastboot
+ - systemd
+ - systemd-sysv
+ os: debian
+
+- boot:
+ namespace: tlxc
+ prompts:
+ - 'root@(.*):/#'
+ - 'hikey:/'
+ timeout:
+ minutes: 5
+ method: lxc
+
+- deploy:
+ timeout:
+ minutes: 30
+ to: fastboot
+ namespace: droid
+ connection: lxc
+ images:
+ ptable:
+ url: http://builds.96boards.org/snapshots/reference-platform/components/uefi/latest/release/hikey/ptable-aosp-8g.img
+ boot:
+ url: "%%DOWNLOAD_URL%%/boot.img.xz"
+ compression: xz
+ cache:
+ url: "%%ANDROID_CACHE%%"
+ compression: xz
+ userdata:
+ url: "%%ANDROID_DATA%%"
+ compression: xz
+ system:
+ url: "%%ANDROID_SYSTEM%%"
+ compression: xz
+ os: debian
+
+- boot:
+ namespace: droid
+ connection: serial
+ prompts:
+ - 'root@(.*):/#'
+ - 'hikey:/'
+ timeout:
+ minutes: 15
+ method: uefi-menu
+ commands: fastboot
+
+- test:
+ namespace: tlxc
+ connection: lxc
+ timeout:
+ minutes: 300
+ definitions:
+ - repository: https://git.linaro.org/qa/test-definitions.git
+ from: git
+ path: automated/android/cts/cts.yaml
+ params:
+ TEST_PARAMS: "run cts-focused1 --abi arm64-v8a --disable-reboot --skip-preconditions --skip-device-info"
+ CTS_URL: "http://testdata.validation.linaro.org/cts/android-cts-7.1_r2.zip"
+ name: cts-focused1-v8a
diff --git a/android/hikey/template-cts-focused2-v7a.yaml b/android/hikey/template-cts-focused2-v7a.yaml
new file mode 100644
index 0000000..0509f07
--- /dev/null
+++ b/android/hikey/template-cts-focused2-v7a.yaml
@@ -0,0 +1,94 @@
+device_type: hi6220-hikey
+job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-cts-focused2-v7a"
+timeouts:
+ job:
+ minutes: 360
+ action:
+ minutes: 15
+ connection:
+ minutes: 2
+priority: medium
+visibility: public
+
+metadata:
+ android.build: "%%ANDROID_META_BUILD%%"
+ android.name: "%%ANDROID_META_NAME%%"
+ android.url: "%%ANDROID_META_URL%%"
+
+protocols:
+ lava-lxc:
+ name: lxc-hikey-test
+ template: debian
+ distribution: debian
+ release: sid
+ arch: amd64
+
+actions:
+- deploy:
+ namespace: tlxc
+ timeout:
+ minutes: 5
+ to: lxc
+ packages:
+ - adb
+ - fastboot
+ - systemd
+ - systemd-sysv
+ os: debian
+
+- boot:
+ namespace: tlxc
+ prompts:
+ - 'root@(.*):/#'
+ - 'hikey:/'
+ timeout:
+ minutes: 5
+ method: lxc
+
+- deploy:
+ timeout:
+ minutes: 30
+ to: fastboot
+ namespace: droid
+ connection: lxc
+ images:
+ ptable:
+ url: http://builds.96boards.org/snapshots/reference-platform/components/uefi/latest/release/hikey/ptable-aosp-8g.img
+ boot:
+ url: "%%DOWNLOAD_URL%%/boot.img.xz"
+ compression: xz
+ cache:
+ url: "%%ANDROID_CACHE%%"
+ compression: xz
+ userdata:
+ url: "%%ANDROID_DATA%%"
+ compression: xz
+ system:
+ url: "%%ANDROID_SYSTEM%%"
+ compression: xz
+ os: debian
+
+- boot:
+ namespace: droid
+ connection: serial
+ prompts:
+ - 'root@(.*):/#'
+ - 'hikey:/'
+ timeout:
+ minutes: 15
+ method: uefi-menu
+ commands: fastboot
+
+- test:
+ namespace: tlxc
+ connection: lxc
+ timeout:
+ minutes: 300
+ definitions:
+ - repository: https://git.linaro.org/qa/test-definitions.git
+ from: git
+ path: automated/android/cts/cts.yaml
+ params:
+ TEST_PARAMS: "run cts-focused2 --abi armeabi-v7a --disable-reboot --skip-preconditions --skip-device-info"
+ CTS_URL: "http://testdata.validation.linaro.org/cts/android-cts-7.1_r2.zip"
+ name: cts-focused2-v7a
diff --git a/android/hikey/template-cts-focused2-v8a.yaml b/android/hikey/template-cts-focused2-v8a.yaml
new file mode 100644
index 0000000..1d8389c
--- /dev/null
+++ b/android/hikey/template-cts-focused2-v8a.yaml
@@ -0,0 +1,94 @@
+device_type: hi6220-hikey
+job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-cts-focused2-v8a"
+timeouts:
+ job:
+ minutes: 360
+ action:
+ minutes: 15
+ connection:
+ minutes: 2
+priority: medium
+visibility: public
+
+metadata:
+ android.build: "%%ANDROID_META_BUILD%%"
+ android.name: "%%ANDROID_META_NAME%%"
+ android.url: "%%ANDROID_META_URL%%"
+
+protocols:
+ lava-lxc:
+ name: lxc-hikey-test
+ template: debian
+ distribution: debian
+ release: sid
+ arch: amd64
+
+actions:
+- deploy:
+ namespace: tlxc
+ timeout:
+ minutes: 5
+ to: lxc
+ packages:
+ - adb
+ - fastboot
+ - systemd
+ - systemd-sysv
+ os: debian
+
+- boot:
+ namespace: tlxc
+ prompts:
+ - 'root@(.*):/#'
+ - 'hikey:/'
+ timeout:
+ minutes: 5
+ method: lxc
+
+- deploy:
+ timeout:
+ minutes: 30
+ to: fastboot
+ namespace: droid
+ connection: lxc
+ images:
+ ptable:
+ url: http://builds.96boards.org/snapshots/reference-platform/components/uefi/latest/release/hikey/ptable-aosp-8g.img
+ boot:
+ url: "%%DOWNLOAD_URL%%/boot.img.xz"
+ compression: xz
+ cache:
+ url: "%%ANDROID_CACHE%%"
+ compression: xz
+ userdata:
+ url: "%%ANDROID_DATA%%"
+ compression: xz
+ system:
+ url: "%%ANDROID_SYSTEM%%"
+ compression: xz
+ os: debian
+
+- boot:
+ namespace: droid
+ connection: serial
+ prompts:
+ - 'root@(.*):/#'
+ - 'hikey:/'
+ timeout:
+ minutes: 15
+ method: uefi-menu
+ commands: fastboot
+
+- test:
+ namespace: tlxc
+ connection: lxc
+ timeout:
+ minutes: 300
+ definitions:
+ - repository: https://git.linaro.org/qa/test-definitions.git
+ from: git
+ path: automated/android/cts/cts.yaml
+ params:
+ TEST_PARAMS: "run cts-focused2 --abi arm64-v8a --disable-reboot --skip-preconditions --skip-device-info"
+ CTS_URL: "http://testdata.validation.linaro.org/cts/android-cts-7.1_r2.zip"
+ name: cts-focused2-v8a