aboutsummaryrefslogtreecommitdiff
path: root/health-checks/pixel.yaml
blob: 299944f46b6a89accafec1654464be30a5273aa7 (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
device_type: pixel
job_name: Pixel health check
timeouts:
  job:
    minutes: 60
  action:
    minutes: 30
  connection:
    minutes: 2
priority: medium
visibility: public
reboot_to_fastboot: false

metadata:
  source: https://git.linaro.org/lava-team/refactoring.git
  path: health-checks/pixel.yaml

protocols:
  lava-lxc:
    name: lxc-pixel-test
    template: debian
    distribution: debian
    release: jessie
    mirror: http://ftp.uk.debian.org/debian/
    security_mirror: http://mirror.csclub.uwaterloo.ca/debian-security/

actions:
- deploy:
    namespace: tlxc
    timeout:
      minutes: 5
    to: lxc
    packages:
    - android-tools-adb
    - android-tools-fastboot

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

- deploy:
    timeout:
      minutes: 40
    to: fastboot
    namespace: droid
    images:
      boot:
        url: http://snapshots.linaro.org/android/android-generic-build/10/aosp_sailfish-userdebug/boot.img
      userdata:
        url: http://snapshots.linaro.org/android/android-generic-build/10/aosp_sailfish-userdebug/userdata.img
      system_a:
        url: http://snapshots.linaro.org/android/android-generic-build/10/aosp_sailfish-userdebug/system.img
      system_b:
        url: http://snapshots.linaro.org/android/android-generic-build/10/aosp_sailfish-userdebug/system_other.img
      vendor:
        url: http://snapshots.linaro.org/android/android-generic-build/10/aosp_sailfish-userdebug/vendor.img

- boot:
    namespace: droid
    timeout:
      minutes: 15
    method: fastboot

- test:
    namespace: tlxc
    timeout:
      minutes: 5
    definitions:
    - repository: https://git.linaro.org/lava-team/lava-functional-tests.git
      from: git
      path: lava-test-shell/android/get-adb-serial.yaml
      name: get-pixel-serial