aboutsummaryrefslogtreecommitdiff
path: root/android/hikey/template-cts-focused1-v8a.yaml
blob: 424ed852d69dcef9b8cb5ecd70b418a96ed84341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
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