diff options
Diffstat (limited to 'lkft/lava-job-definitions/common/template-lkft.yaml')
-rw-r--r-- | lkft/lava-job-definitions/common/template-lkft.yaml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/lkft/lava-job-definitions/common/template-lkft.yaml b/lkft/lava-job-definitions/common/template-lkft.yaml index fe1df18a4a..369e0931f5 100644 --- a/lkft/lava-job-definitions/common/template-lkft.yaml +++ b/lkft/lava-job-definitions/common/template-lkft.yaml @@ -2,6 +2,7 @@ {% endblock global_settings %} device_type: {% block device_type %}{% endblock device_type %} +{% block device_tags %}{% endblock device_tags %} job_name: {% block job_name %}{% endblock job_name %} {% block priority %} @@ -22,6 +23,13 @@ metadata: android.name: "{{JOB_NAME}}" android.url: "{{REFERENCE_BUILD_URL}}" android.version: "{{ANDROID_VERSION}}" +{% if ANDROID_VENDOR_FINGERPRINT is defined %} + android.build.vendor.fingerprint: "{{ANDROID_VENDOR_FINGERPRINT}}" +{% endif %} +{% if ANDROID_GSI_FINGERPRINT is defined %} + android.build.gsi.url: "{{ANDROID_GSI_URL}}" + android.build.gsi.fingerprint: "{{ANDROID_GSI_FINGERPRINT}}" +{% endif %} git branch: "{{KERNEL_BRANCH}}" git repo: "{{KERNEL_REPO}}" git commit: "{{KERNEL_COMMIT}}" @@ -41,6 +49,7 @@ protocols: {% block protocols %} lava-lxc: name: lxc-test + template: download distribution: ubuntu release: bionic arch: amd64 @@ -109,11 +118,10 @@ actions: description: "android-boot" run: steps: - - lava-test-case "android-boot-sleep-3mins" --shell sleep 180 + - lava-test-case "android-boot-sleep-30secs" --shell sleep 30 - lava-test-case "android-boot-lsusb-v" --shell lsusb -v - - lava-test-case "android-boot-wait-for-device" --shell adb wait-for-device - - lava-test-case "android-boot-sleep-1mins" --shell adb shell sleep 60 - - lava-test-case "android-boot" --shell adb shell getprop sys.boot_completed + - lava-test-case "android-boot-boot-completed" --shell "while ! adb shell getprop sys.boot_completed|grep 1; do sleep 2; done" + - lava-test-case "android-boot-set-power-stayon" --shell adb shell su 0 svc power stayon true - lava-test-case "android-boot-screencap" --shell adb shell screencap -p /data/local/tmp/screencap.png {% block test_target %} |