aboutsummaryrefslogtreecommitdiff
path: root/android-hikey-linaro-4.14-pmwg/lava-job-definitions/hi960-hikey/multimedia-template.yaml
blob: 5029ba3528bdcc61d1f575ab963bcf3b6b42149d (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
device_type: hi960-hikey
job_name: ${KERNEL_BRANCH}-hi960-multimedia-${BUILD_NUMBER}
timeouts:
  job:
    minutes: 420
  action:
    minutes: 10
  connection:
    minutes: 2
  connections:
    lava-test-shell:
      seconds: 10

priority: medium
visibility: personal

metadata:
  git branch: ${GIT_BRANCH}
  git repo: ${GIT_URL}
  git commit: ${GIT_COMMIT}
  build-url: ${BUILD_URL}
  build-location: ${PUBLISH_SERVER}${PUB_DEST}
  series: pmwg

protocols:
  lava-lxc:
    name: lxc-hikey-test
    distribution: ubuntu
    release: xenial
    arch: amd64
    verbose: true

actions:
- deploy:
    namespace: tlxc
    timeout:
      minutes: 15
    to: lxc
    packages:
    - git
    - unzip
    - wget
    - trace-cmd
    os: debian

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

- test:
    namespace: tlxc
    timeout:
      minutes: 10
    definitions:
    - repository: https://git.linaro.org/qa/test-definitions.git
      from: git
      path: automated/android/workload-automation3/aep-install.yaml
      name: aep-install
      parameters:
        AEP_CONFIG_REF: wa3_support

- test:
    namespace: tlxc
    timeout:
      minutes: 10
    definitions:
    - repository: https://git.linaro.org/qa/test-definitions.git
      from: git
      path: automated/linux/android-platform-tools/install.yaml
      name: install-android-platform-tools-r2600
      parameters:
        LINK: 'https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip'

- deploy:
    timeout:
      minutes: 15
    to: fastboot
    namespace: hikey-android
    images:
      ptable:
        url: http://testdata.linaro.org/pmwg/hikey960-06122018/prm_ptable.img
        reboot: hard-reset
      boot:
        url: ${PUBLISH_SERVER}/${PUB_DEST}/boot.img.xz
        compression: xz
        reboot: hard-reset
      vendor:
        url: ${REFERENCE_BUILD_URL}/vendor-4.14.img.xz
        compression: xz
      userdata:
        url: ${REFERENCE_BUILD_URL}/userdata.img.xz
        compression: xz
      system:
        url: ${REFERENCE_BUILD_URL}/system.img.xz
        compression: xz
    os: debian
    protocols:
      lava-lxc:
      - action: fastboot-deploy
        request: pre-power-command
        timeout:
          minutes: 2

- boot:
    namespace: hikey-android
    prompts:
    - 'root@(.*):/#'
    - ':/'
    - '(.*)bootanim(.*)'
    timeout:
      minutes: 15
    method: fastboot

- test:
    namespace: tlxc
    timeout:
      minutes: 360
    definitions:
    - repository: https://git.linaro.org/qa/test-definitions.git
      from: git
      path: automated/android/workload-automation3/workload-automation.yaml
      parameters:
         WA_TAG: master
         WA_EXTENSION_PATHS: "/root/energy-probe-ext"
         WA_TEMPLATES_REPO: "https://git.linaro.org/power/wa3-lava.git"
         TEMPLATES_BRANCH: master
         BUILD_TOOLS_URL: "http://testdata.linaro.org/apks/pmwg/build-tools.tar.gz"
         WA_HOME_URL: "http://testdata.linaro.org/apks/pmwg/workload_automation_home_v0.8.tar.gz"
         AGENDA: "agenda/android-multimedia-aep.yaml"
         CONFIG: "config/generic-android.yaml"
         OUTPUT: /root/output
      name: wa-lxc-test

- test:
    namespace: tlxc
    timeout:
      minutes: 45
    definitions:
    - repository: https://git.linaro.org/qa/test-definitions.git
      from: git
      path: automated/linux/aep-pre-post/lisa-postprocessing.yaml
      name: lisa-postprocessing
      parameters:
        LISA_REPOSITORY: https://github.com/vingu-linaro/lisa
        LISA_REF: support_python_command_line_post_processing
        LISA_SCRIPT: ipynb/wltests/sched-evaluation-full.py

notify:
    recipients:
    - to:
        method: email
        email: private-pmwg@lists.linaro.org
    criteria:
        status: complete
    verbosity: verbose