diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2017-11-07 21:36:20 +0530 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2017-11-08 13:11:49 +0000 |
commit | f8c67ea44a27dec43a215f2c9eac7596a2c3fda1 (patch) | |
tree | fc9756de0ec909bd8cb29fbf4287b627bf1ea17b /lkft | |
parent | 67aa46e9fb04fa6e24e810c390344995e1cfdbd2 (diff) |
lkft: android: break long running ltp test
It is generally seen that ltp tests takes more than
5 hours to run. Generally we run into this bug:
https://bugs.linaro.org/show_bug.cgi?id=3406
Need to check if this reduces the occurrance of the
bug.
This will break the test into 2 running 150 minutes
each.
Change-Id: I2b0103aeba3b5e3de805f4e1598c8540e94083e4
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'lkft')
-rw-r--r-- | lkft/lava-job-definitions/hi6220-hikey/template-vts-kernel-part2.yaml | 4 | ||||
-rw-r--r-- | lkft/lava-job-definitions/hi6220-hikey/template-vts-kernel-part4.yaml | 132 |
2 files changed, 134 insertions, 2 deletions
diff --git a/lkft/lava-job-definitions/hi6220-hikey/template-vts-kernel-part2.yaml b/lkft/lava-job-definitions/hi6220-hikey/template-vts-kernel-part2.yaml index ab7ff4fc07..0c609c0260 100644 --- a/lkft/lava-job-definitions/hi6220-hikey/template-vts-kernel-part2.yaml +++ b/lkft/lava-job-definitions/hi6220-hikey/template-vts-kernel-part2.yaml @@ -1,5 +1,5 @@ device_type: hi6220-hikey -job_name: "lkft-android-${KERNEL_BRANCH}-${BUILD_NUMBER}-vts-kernel-ltp" +job_name: "lkft-android-${KERNEL_BRANCH}-${BUILD_NUMBER}-vts-kernel-ltp-arm64-v8a" timeouts: job: @@ -126,7 +126,7 @@ actions: path: automated/android/tradefed/tradefed.yaml params: TEST_URL: "http://testdata.validation.linaro.org/vts/209/android-vts.zip" - TEST_PARAMS: "run vts-kernel --module VtsKernelLtp --skip-device-info" + TEST_PARAMS: "run vts-kernel --module VtsKernelLtp -a arm64-v8a --skip-device-info" TEST_PATH: "android-vts" RESULTS_FORMAT: "atomic" name: vts-test diff --git a/lkft/lava-job-definitions/hi6220-hikey/template-vts-kernel-part4.yaml b/lkft/lava-job-definitions/hi6220-hikey/template-vts-kernel-part4.yaml new file mode 100644 index 0000000000..bb52d47c65 --- /dev/null +++ b/lkft/lava-job-definitions/hi6220-hikey/template-vts-kernel-part4.yaml @@ -0,0 +1,132 @@ +device_type: hi6220-hikey +job_name: "lkft-android-${KERNEL_BRANCH}-${BUILD_NUMBER}-vts-kernel-ltp-armeabi-v7a" + +timeouts: + job: + minutes: 540 + action: + minutes: 15 + connection: + minutes: 2 +priority: medium +visibility: + group: + - lkft + +metadata: + android.build: "${BUILD_NUMBER}" + android.name: "${JOB_NAME}" + android.url: "${BUILD_URL}" + git branch: "${KERNEL_BRANCH}" + git repo: "${KERNEL_REPO}" + git commit: "${KERNEL_COMMIT}" + git describe: "${KERNEL_DESCRIBE}" + build-url: "${BUILD_URL}" + series: lkft + +protocols: + lava-lxc: + name: lxc-hikey-test + distribution: ubuntu + release: xenial + arch: amd64 + verbose: true + +secrets: + ARTIFACTORIAL_TOKEN: "${ARTIFACTORIAL_TOKEN}" + +actions: +- deploy: + namespace: tlxc + timeout: + minutes: 15 + to: lxc + packages: + - wget + - unzip + os: debian + +- boot: + namespace: tlxc + prompts: + - 'root@(.*):/#' + - 'hikey:/' + 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: 15 + to: fastboot + namespace: droid + images: + ptable: + url: http://builds.96boards.org/releases/reference-platform/aosp/hikey/16.03/bootloader/ptable-aosp-8g.img + reboot: hard-reset + boot: + url: "${DOWNLOAD_URL}/boot.img.xz" + compression: xz + reboot: hard-reset + cache: + url: "${REFERENCE_BUILD_URL}/cache.img.xz" + compression: xz + userdata: + url: "${REFERENCE_BUILD_URL}/userdata.img.xz" + compression: xz + system: + url: "${REFERENCE_BUILD_URL}/system.img.xz" + compression: xz + os: debian + protocols: + lava-lxc: + - action: fastboot-deploy + request: pre-power-command + timeout: + minutes: 2 + +- boot: + namespace: droid + prompts: + - 'root@(.*):/#' + - 'hikey:/' + timeout: + minutes: 15 + method: fastboot + +- test: + namespace: tlxc + connection: lxc + timeout: + minutes: 480 + definitions: + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/android/tradefed/tradefed.yaml + params: + TEST_URL: "http://testdata.validation.linaro.org/vts/209/android-vts.zip" + TEST_PARAMS: "run vts-kernel --module VtsKernelLtp -a armeabi-v7a --skip-device-info" + TEST_PATH: "android-vts" + RESULTS_FORMAT: "atomic" + name: vts-test |