aboutsummaryrefslogtreecommitdiff
path: root/x15-aosp-lcr.yaml
blob: 075d799093566010631a5aa1720734a9e35daa4d (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
device_type: x15

job_name: AOSP x15 LCR
timeouts:
  job:
    minutes: 15
  action:
    minutes: 10
  connection:
    minutes: 2
priority: medium
visibility: public

metadata:
  source: https://git.linaro.org/lava-team/refactoring.git
  path: x15-aosp-lcr.yaml
  series: x15-reliability

protocols:
  lava-lxc:
    name: lxc-x15-test
    template: debian
    distribution: debian
    release: jessie

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

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

- deploy:
    timeout:
      minutes: 15
    to: fastboot
    namespace: droid
    images:
      boot:
        url: http://images.validation.linaro.org/snapshots.linaro.org/android/android-lcr-reference-x15-n/23/boot.img
      userdata:
        url: http://images.validation.linaro.org/snapshots.linaro.org/android/android-lcr-reference-x15-n/23/userdata.img
      system:
        url: http://images.validation.linaro.org/snapshots.linaro.org/android/android-lcr-reference-x15-n/23/system.img
      cache:
        url: http://images.validation.linaro.org/snapshots.linaro.org/android/android-lcr-reference-x15-n/23/cache.img

- boot:
    namespace: droid
    prompts:
    - 'root@(.*):/#'
    - 'shell@am57xevm:/'
    timeout:
      minutes: 15
    method: fastboot

- test:
    namespace: tlxc
    timeout:
      minutes: 10
    definitions:
    - repository: https://git.linaro.org/lava-team/lava-functional-tests.git
      from: git
      path: lava-test-shell/android/get-adb-serial-jessie.yaml
      name: get-x15-serial
    - repository: http://git.linaro.org/lava-team/lava-functional-tests.git
      from: git
      path: lava-test-shell/smoke-tests-basic.yaml
      name: smoke-tests-lxc