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

job_name: db410c PMWG mainline suspend
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: debian, name: lxc-target, release: buster,
    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: 10
    definitions:
    - repository:
        metadata:
          format: Lava-Test Test Definition 1.0
          name: probe
          description: "check dependencies"
          os:
          - debian
          scope:
          - functional
        install:
          deps:
          - wget
        run:
          steps:
          - lava-test-case wget --shell wget https://git.linaro.org/people/georgi.djakov/wa-tests.git/plain/agenda/suspend.sh -O /root/suspend.sh
      from: inline
      name: check-dependencies
      path: inline/check-dependencies

- test:
    namespace: tlxc
    timeout:
      minutes: 15
    definitions:
    - from: git
      name: wa-lxc-test
      repository: https://github.com/Linaro/test-definitions.git
      path: automated/linux/workload-automation3/workload-automation.yaml
      parameters:
        AGENDA: agenda/suspend-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/power/wa3-lava.git'
        WA_HOME_URL: 'https://people.linaro.org/~georgi.djakov/workload_automation_home.tar.gz'
        DEVLIB_TAG: 'v1.2'
        OUTPUT: /root/output

- test:
    namespace: tlxc
    timeout:
      minutes: 45
    definitions:
    - repository: https://github.com/Linaro/test-definitions.git
      from: git
      path: automated/linux/aep-pre-post/lisa-postprocessing.yaml
      name: lisa-postprocessing
      parameters:
        LISA_REPOSITORY: https://git.linaro.org/people/georgi.djakov/lisa.git
        LISA_REF: support_python3_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