aboutsummaryrefslogtreecommitdiff
path: root/release/hi6220-r2-hikey-aosp-oe-aep.yaml
blob: 228abf5daeb33256f4c56b8dc596b0b8dd423248 (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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
device_type: hi6220-hikey-r2
job_name: AOSP OE hikey with ARM energy probe
timeouts:
  job:
    minutes: 60
  action:
    minutes: 15
  connection:
    minutes: 2
priority: medium
visibility: public

tags:
  - arm-energy-probe

notify:
  criteria:
    status: incomplete
  verbosity: quiet
  recipients:
  - to:
     user: neil.williams
     method: email
  - to:
     user: matthew.hart
     method: email
  - to:
     user: stevan.radakovic
     method: email
  - to:
     user: remi.duraffort
     method: email
  - to:
     user: senthil.kumaran
     method: email
  - to:
     user: dean.arnold
     method: email

metadata:
  source: https://git.linaro.org/lava-team/refactoring.git
  path: release/hi6220-r2-hikey-aosp-oe-aep.yaml
  build: morty-mainline-588
  original.build: http://snapshots.linaro.org/openembedded/lkft/morty/hikey/rpb/linux-mainline/588/
  reference.job: https://staging.validation.linaro.org/scheduler/job/192744/definition
  stage: hikey-merge
  uefi-build: 55
  uefi-url: https://snapshots.linaro.org/96boards/reference-platform/components/uefi-staging/55/hikey/release/

protocols:
  lava-lxc:
    name: lxc-hikey-test
    template: debian
    distribution: debian
    release: stretch
    mirror: http://mirror.bytemark.co.uk/debian

actions:
- deploy:
    namespace: tlxc
    timeout:
      minutes: 5
    to: lxc
    packages:
    - adb
    - fastboot
    os: debian

- boot:
    namespace: tlxc
    prompts:
    - 'root@(.*):'
    timeout:
      minutes: 5
    method: lxc

- deploy:
    timeout:
      minutes: 15
    # AOSP deployment
    to: fastboot
    namespace: hikey
    images:
      ptable:
        url: http://images.validation.linaro.org/snapshots.linaro.org/96boards/reference-platform/components/uefi-staging/59/hikey/release/ptable-aosp-8g.img
        reboot: hard-reset
      boot:
        url: http://images.validation.linaro.org/builds.96boards.org/snapshots/hikey/linaro/aosp-master/357/boot.img.xz
        compression: xz
        reboot: hard-reset
      cache:
        url: http://images.validation.linaro.org/builds.96boards.org/snapshots/hikey/linaro/aosp-master/357/cache.img.xz
        compression: xz
      userdata:
        url: http://images.validation.linaro.org/builds.96boards.org/snapshots/hikey/linaro/aosp-master/357/userdata.img.xz
        compression: xz
      system:
        url: http://images.validation.linaro.org/builds.96boards.org/snapshots/hikey/linaro/aosp-master/357/system.img.xz
        compression: xz
    os: debian
    protocols:
        lava-lxc:
        - action: fastboot-deploy
          request: pre-power-command
          timeout:
              minutes: 2

- boot:
    namespace: hikey
    prompts:
    - 'healthd: No battery devices found'
    - 'hikey:'
    timeout:
      minutes: 15
    method: fastboot

- test:
    namespace: tlxc
    timeout:
      minutes: 20
    definitions:
    - repository: https://git.linaro.org/lava-team/refactoring.git/
      from: git
      path: android/lava-android-basic-lxc.yaml
      name: v2-make-adb-connection
    - repository: https://git.linaro.org/lava-team/refactoring.git
      from: git
      path: testdefs/arm-probe.yaml
      name: arm-probe-aosp

- deploy:
    timeout:
      minutes: 45
    to: fastboot
    # OE deployment
    namespace: hikey
    connection: lxc
    images:
      ptable:
        url: http://images.validation.linaro.org/builds.96boards.org/snapshots/reference-platform/components/uefi-staging/49/hikey/release/ptable-linux-8g.img
        reboot: hard-reset
      boot:
        url: http://images.validation.linaro.org/snapshots.linaro.org/openembedded/lkft/morty/hikey/rpb/linux-mainline/588/boot-0.0+AUTOINC+06e4def583-fb1158a365-r0-hikey-20180128213254-588.uefi.img
        reboot: hard-reset
      system:
        url: http://images.validation.linaro.org/snapshots.linaro.org/openembedded/lkft/morty/hikey/rpb/linux-mainline/588/rpb-console-image-hikey-20180128213254-588.rootfs.img.gz
        compression: gz
        apply-overlay: true
    os: oe
    protocols:
      lava-lxc:
      - action: fastboot-deploy
        request: pre-power-command
        timeout:
          minutes: 2
- boot:
    namespace: hikey
    prompts:
    - 'root@hikey:~#'
    auto_login:
      login_prompt: 'login:'
      username: root
    timeout:
      minutes: 5
    method: grub
    commands: installed
    protocols:
      lava-lxc:
      - action: grub-sequence-action
        request: pre-os-command
        timeout:
          minutes: 2

- test:
    namespace: hikey
    timeout:
      minutes: 5
    definitions:
    - repository: http://git.linaro.org/lava-team/lava-functional-tests.git
      from: git
      path: lava-test-shell/smoke-tests-basic.yaml
      name: smoke-tests-basic-oe
    - repository:
        metadata:
          format: Lava-Test Test Definition 1.0
          name: device-helper
          description: "check helpers"
          os:
          - debian
          scope:
          - functional
        run:
          steps:
          - lava-target-mac
          - lava-target-ip
      from: inline
      name: device-helpers
      path: inline/device-helpers.yaml

- test:
   namespace: tlxc
   timeout:
     minutes: 15
   definitions:
    - repository: http://git.linaro.org/lava-team/lava-functional-tests.git
      from: git
      path: lava-test-shell/smoke-tests-basic.yaml
      name: smoke-tests-basic-lxc
    - repository: https://git.linaro.org/lava-team/refactoring.git
      from: git
      path: testdefs/arm-probe.yaml
      name: arm-probe-oe