summaryrefslogtreecommitdiff
path: root/agenda/lxc-dragonboard-410c-aep.yaml
blob: 018fe548ffac972a1596d7c8f9a39425482d2251 (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
device_type: dragonboard-410c

job_name: db410c PMWG mainline
timeouts:
  job:
    minutes: 60
  action:
    minutes: 15
  connection:
    minutes: 2
priority: medium

visibility:
  group:
  - linaro

metadata:
  source: https://git.linaro.org/lava/lava-lab.git
  path: shared/health-checks/dragonboard-410c.yaml

protocols:
  lava-lxc: {arch: amd64, distribution: ubuntu, name: lxc-target, release: xenial,
    verbose: true}

actions:
- deploy:
    namespace: tlxc
    timeout:
      minutes: 10
    to: lxc
    packages: [android-tools-fastboot, git, make, python3, unzip, wget, python3-tk, python3-venv]
    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

- deploy:
    timeout:
      minutes: 30
    to: fastboot
    namespace: target
    images:
      boot:
        url: file:///srv/tftp/dragon410c/boot.img.gz
        compression: gz
    os: debian
    protocols:
        lava-lxc:
        - action: fastboot-deploy
          request: pre-power-command
          timeout:
              minutes: 2
- boot:
    namespace: target
    prompts:
    - 'root@(.*):/#'
    - 'root@linaro-developer:~#'
    - ':/#'
    - 'login:'
    timeout:
      minutes: 15
    method: fastboot
    protocols:
      lava-lxc:
      - action: auto-login-action
        request: pre-os-command
        timeout:
          minutes: 2
- test:
    namespace: tlxc
    timeout:
      minutes: 15
    definitions:
    - from: git
      name: wa-lxc-test
      parameters:
        AGENDA: agenda/idle-aep-db410c.yaml
        CONFIG: config/generic-linux-remote.yaml
        TEMPLATES_BRANCH: master
        WA_EXTENSION_PATHS: '/root/energy-probe-ext'
        WA_TAG: 'v3.2'
        WA_TEMPLATES_REPO: 'https://git.linaro.org/people/georgi.djakov/wa-tests.git'
        DEVLIB_TAG: 'v1.2'
        OUTPUT: /root/output
      path: automated/linux/workload-automation3/workload-automation.yaml
      repository: https://git.linaro.org/people/georgi.djakov/wa-tests.git

- test:
    namespace: tlxc
    timeout:
      minutes: 45
    definitions:
    - repository: https://git.linaro.org/people/georgi.djakov/wa-tests.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:
  criteria: {status: complete}
  recipients:
  - to: {email: georgi.djakov@linaro.org, method: email}
  verbosity: verbose