Skip to content

Instantly share code, notes, and snippets.

@mwasilew
Created August 8, 2019 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwasilew/e6e80a351d43388b1c3342098012ec5c to your computer and use it in GitHub Desktop.
Save mwasilew/e6e80a351d43388b1c3342098012ec5c to your computer and use it in GitHub Desktop.
device_type: hi6220-hikey-r2
job_name: lkft-android-android-4.19-q-hikey-34-cts
priority: medium
visibility:
group:
- lkft
timeouts:
job:
minutes: 360
action:
minutes: 15
connection:
minutes: 2
metadata:
android.build: '34'
android.name: lkft-hikey-android-9.0-4.19
android.url: https://snapshots.linaro.org/android/android-lcr-reference-hikey-p/130
android.version: android-9.0.0_r34
git branch: android-4.19-q-hikey
git repo: https://github.com/tom-gall/hikey-linaro
git commit: 3aef56cb5808574f608f980b66b67d34bae64110
git describe: v4.19.65-595-g3aef56cb5808
build-url: https://ci.linaro.org/job/lkft-hikey-android-9.0-4.19/34/
toolchain: clang-r353983e
series: lkft
cts-manifest: http://people.linaro.org/~yongqin.liu/lkft/pie/cts/9.0_r7//pinned-manifest.xml
cts-version: 9.0_r7
cts-plan: cts-lkft
secrets:
ARTIFACTORIAL_TOKEN: ****
AP_SSID: ****
AP_KEY: ****
protocols:
lava-lxc:
name: lxc-test
distribution: ubuntu
release: xenial
arch: amd64
verbose: true
actions:
- deploy:
namespace: tlxc
timeout:
minutes: 10
to: lxc
packages:
- wget
- unzip
- git
- trace-cmd
os: ubuntu
- boot:
namespace: tlxc
prompts:
- root@(.*):/#
- :/
timeout:
minutes: 5
method: lxc
- test:
namespace: tlxc
timeout:
minutes: 10
definitions:
- repository: https://git.linaro.org/qa/test-definitions.git
from: git
path: automated/linux/android-platform-tools/install.yaml
name: install-android-platform-tools-r2800
parameters:
LINK: https://dl.google.com/android/repository/platform-tools_r28.0.0-linux.zip
- deploy:
timeout:
minutes: 15
to: fastboot
namespace: target
connection: lxc
images:
ptable:
url: http://images.validation.linaro.org/snapshots.linaro.org/96boards/reference-platform/components/uefi-staging/69/hikey/release/ptable-aosp-8g.img
reboot: hard-reset
boot:
reboot: hard-reset
url: http://snapshots.linaro.org/android/lkft/lkft-hikey-android-9.0-4.19/34//lkft-hikey-android-9.0-4.19-boot.img.xz
compression: xz
userdata:
url: https://snapshots.linaro.org/android/android-lcr-reference-hikey-p/130/userdata.img.xz
compression: xz
system:
url: https://snapshots.linaro.org/android/android-lcr-reference-hikey-p/130/system.img.xz
compression: xz
vendor:
url: https://snapshots.linaro.org/android/android-lcr-reference-hikey-p/130/vendor.img.xz
compression: xz
protocols:
lava-lxc:
- action: fastboot-deploy
request: pre-power-command
timeout:
minutes: 2
- boot:
namespace: target
prompts:
- root@(.*):/#
- hikey:/
- console:/
- :/
timeout:
minutes: 15
method: fastboot
- test:
namespace: tlxc
connection: lxc
timeout:
minutes: 100
definitions:
- from: inline
path: android-boot.yaml
name: android-boot
repository:
metadata:
format: Lava-Test Test Definition 1.0
name: android-boot
description: android-boot
run:
steps:
- lava-test-case "android-boot-wait-for-device" --shell adb wait-for-device
- lava-test-case "android-boot-sleep-2mins" --shell adb shell sleep 120
- lava-test-case "android-boot" --shell adb shell getprop sys.boot_completed
- test:
namespace: tlxc
connection: lxc
timeout:
minutes: 360
definitions:
- repository: https://git.linaro.org/qa/test-definitions.git
from: git
path: automated/android/noninteractive-tradefed/tradefed.yaml
params:
TEST_PARAMS: cts-lkft --disable-reboot
TEST_URL: http://people.linaro.org/~yongqin.liu/lkft/pie/cts/9.0_r7//android-cts.zip
TEST_PATH: android-cts
RESULTS_FORMAT: atomic
ANDROID_VERSION: android-9.0.0_r34
name: cts-lkft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment