diff options
author | MinSeong Kim <minseong.kim@linaro.org> | 2018-02-23 06:02:59 +0000 |
---|---|---|
committer | MinSeong Kim <minseong.kim@linaro.org> | 2018-03-01 05:58:23 +0000 |
commit | 0e708a3dba0e79635f425fafebae6a3e4919d49e (patch) | |
tree | c0f60946f7cce54606c58a4f3ecc17300d2c1fce /android-master-clang | |
parent | 8b0af02fe3ceaf6a54d6aab46f0dd63cfb026a9d (diff) |
android master clang: add boottime definition.
LAVA job definition from
https://git.linaro.org/qa/test-plans.git/plain/android/hikey-v2/template-boottime.yaml
with new ptable.
This is due to the original job definition is used publicly.
Hence copy the job here with the new ptable.
Change-Id: I34f674a8cd6e1e3c48cbcea80173d4b5f0658fa0
Diffstat (limited to 'android-master-clang')
-rwxr-xr-x | android-master-clang/builders.sh | 2 | ||||
-rw-r--r-- | android-master-clang/lava-job-definitions/boottime-android-master-clang.yaml | 334 |
2 files changed, 335 insertions, 1 deletions
diff --git a/android-master-clang/builders.sh b/android-master-clang/builders.sh index 42ba1954..691d5a38 100755 --- a/android-master-clang/builders.sh +++ b/android-master-clang/builders.sh @@ -73,7 +73,7 @@ LAVA_SERVER=validation.linaro.org/RPC2/ IMAGE_EXTENSION=img.xz FRONTEND_JOB_NAME=${JOB_NAME} DOWNLOAD_URL=http://snapshots.linaro.org/android/${JOB_NAME}/${BUILD_NUMBER}/ -CUSTOM_JSON_URL=https://git.linaro.org/qa/test-plans.git/plain/android/hikey-v2/template-boottime.yaml +CUSTOM_JSON_URL=https://git.linaro.org/ci/job/configs.git/plain/android-master-clang/lava-job-definitions/boottime-android-master-clang.yaml EOF echo "Build finished" diff --git a/android-master-clang/lava-job-definitions/boottime-android-master-clang.yaml b/android-master-clang/lava-job-definitions/boottime-android-master-clang.yaml new file mode 100644 index 00000000..431758e0 --- /dev/null +++ b/android-master-clang/lava-job-definitions/boottime-android-master-clang.yaml @@ -0,0 +1,334 @@ +device_type: hi6220-hikey +job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-boottime" +timeouts: + job: + minutes: 90 + action: + minutes: 15 + connection: + minutes: 2 +priority: high +visibility: public + +metadata: + android.build: "%%ANDROID_META_BUILD%%" + android.name: "%%ANDROID_META_NAME%%" + android.url: "%%ANDROID_META_URL%%" + android.fastboot: "platform-tools_r26.0.0" + +protocols: + lava-lxc: + name: lxc-hikey-test + template: ubuntu + distribution: ubuntu + release: xenial + arch: amd64 + +actions: +- deploy: + namespace: tlxc + timeout: + minutes: 5 + to: lxc + packages: + - wget + - zip + - unzip + os: ubuntu + +- boot: + namespace: tlxc + prompts: + - 'root@(.*):/#' + - 'hikey:/' + - 'console:/' + + timeout: + minutes: 5 + method: lxc + +- test: + namespace: tlxc + timeout: + minutes: 10 + definitions: + - from: inline + name: install-google-fastboot + path: inline/install-google-fastboot.yaml + repository: + metadata: + format: Lava-Test Test Definition 1.0 + name: install-fastboot + description: "Install fastboot provided by google" + run: + steps: + - wget https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip + - unzip platform-tools_r26.0.0-linux.zip + - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot + - ln -s `pwd`/platform-tools/adb /usr/bin/adb + - fastboot --version + +- deploy: + timeout: + minutes: 30 + to: fastboot + namespace: droid + images: + ptable: + reboot: hard-reset + url: http://builds.96boards.org/snapshots/reference-platform/components/uefi-staging/39/hikey/release/ptable-aosp-8g.img + boot: + reboot: hard-reset + 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 + protocols: + lava-lxc: + - action: fastboot-deploy + request: pre-power-command + timeout: + minutes: 2 + +- boot: + namespace: droid + prompts: + - 'root@(.*):/#' + - 'hikey:/' + - 'console:/' + - ':/' + timeout: + minutes: 15 + method: fastboot + +- test: + namespace: tlxc + timeout: + minutes: 300 + definitions: + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/android/boottime/boottime.yaml + name: first-boot + params: + OPERATION: COLLECT + COLLECT_NO: "0" + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/android/boottime/boottime.yaml + name: boottime-first-analyze + params: + OPERATION: ANALYZE + COLLECT_NO: "0" + +- boot: + namespace: droid + prompts: + - 'root@(.*):/#' + - 'hikey:/' + - 'console:/' + - ':/' + timeout: + minutes: 15 + method: fastboot + +- test: + namespace: tlxc + timeout: + minutes: 300 + definitions: + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/android/boottime/boottime.yaml + name: boottime-1 + params: + OPERATION: COLLECT + COLLECT_NO: 1 + +- boot: + namespace: droid + prompts: + - 'root@(.*):/#' + - 'hikey:/' + - 'console:/' + - ':/' + timeout: + minutes: 15 + method: fastboot + +- test: + namespace: tlxc + timeout: + minutes: 300 + definitions: + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/android/boottime/boottime.yaml + name: boottime-2 + params: + OPERATION: COLLECT + COLLECT_NO: 2 + +- boot: + namespace: droid + prompts: + - 'root@(.*):/#' + - 'hikey:/' + - 'console:/' + - ':/' + timeout: + minutes: 15 + method: fastboot + +- test: + namespace: tlxc + timeout: + minutes: 300 + definitions: + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/android/boottime/boottime.yaml + name: boottime-3 + params: + OPERATION: COLLECT + COLLECT_NO: 3 + +- boot: + namespace: droid + prompts: + - 'root@(.*):/#' + - 'hikey:/' + - 'console:/' + - ':/' + timeout: + minutes: 15 + method: fastboot + +- test: + namespace: tlxc + timeout: + minutes: 300 + definitions: + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/android/boottime/boottime.yaml + name: boottime-4 + params: + OPERATION: COLLECT + COLLECT_NO: 4 + +- boot: + namespace: droid + prompts: + - 'root@(.*):/#' + - 'hikey:/' + - 'console:/' + - ':/' + timeout: + minutes: 15 + method: fastboot + +- test: + namespace: tlxc + timeout: + minutes: 300 + definitions: + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/android/boottime/boottime.yaml + name: boottime-5 + params: + OPERATION: COLLECT + COLLECT_NO: 5 + +- boot: + namespace: droid + prompts: + - 'root@(.*):/#' + - 'hikey:/' + - 'console:/' + - ':/' + timeout: + minutes: 15 + method: fastboot + +- test: + namespace: tlxc + timeout: + minutes: 300 + definitions: + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/android/boottime/boottime.yaml + name: boottime-6 + params: + OPERATION: COLLECT + COLLECT_NO: 6 + +- boot: + namespace: droid + prompts: + - 'root@(.*):/#' + - 'hikey:/' + - 'console:/' + - ':/' + timeout: + minutes: 15 + method: fastboot + +- test: + namespace: tlxc + timeout: + minutes: 300 + definitions: + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/android/boottime/boottime.yaml + name: boottime-7 + params: + OPERATION: COLLECT + COLLECT_NO: 7 + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/android/boottime/boottime.yaml + name: boottime-second-analyze + params: + OPERATION: ANALYZE + COLLECT_NO: 7 + + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/android/bootchart/bootchart.yaml + name: bootchart-start + params: + OPERATION: start + +- boot: + namespace: droid + prompts: + - 'root@(.*):/#' + - 'hikey:/' + - 'console:/' + - ':/' + timeout: + minutes: 15 + method: fastboot + +- test: + namespace: tlxc + timeout: + minutes: 300 + definitions: + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/android/bootchart/bootchart.yaml + name: bootchart-stop + params: + OPERATION: stop |