aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/uhd-hardware-test-dev.yml
blob: 1883745b1ef8e0d20c00d294ee1ebd1150b6553a (plain) (blame)
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
trigger: none

pr: none

parameters:
- name: run_x410_embedded_tests
  type: boolean
  displayName: Run X410 Embedded Tests
  default: false
- name: run_x440_embedded_tests
  type: boolean
  displayName: Run X440 Embedded Tests
  default: false
- name: run_streaming_tests
  type: boolean
  displayName: Run Streaming Tests
  default: false
- name: run_x440_streaming_tests
  type: boolean
  displayName: Run X440 Streaming Tests
  default: false
- name: run_devtests
  type: boolean
  displayName: Run devtests
  default: false
- name: run_n310_rf_tests
  type: boolean
  displayName: Run N310 RF tests
  default: false
- name: run_x410_rf_tests
  type: boolean
  displayName: Run X410 RF tests
  default: false
- name: run_x440_rf_tests
  type: boolean
  displayName: Run X440 RF tests
  default: false
- name: run_x440_phase_tests
  type: boolean
  displayName: Run X440 Phase tests
  default: false
- name: fpga_imgs_source
  type: string
  values:
  - 'Filesytem/Images Downloader'
  - 'FPGA Pipeline'
  displayName: FPGA Images Source
  default: 'Filesytem/Images Downloader'
- name: extra_rf_test_args
  type: string
  displayName: Extra UHD RF ATS Arguments (for N310 and X4x0 runs)
  default: ' '
- name: testLength
  type: string
  values:
  - 'smoke'
  - 'full'
  - 'stress'

resources:
  pipelines:
  - pipeline: uhd_mono_pipeline
    source: 'uhddev mono pipeline'
    branch: master
  - pipeline: usrp-kas-pipeline
    source: 'usrp-kas'
    branch: zeus-ci
  - pipeline: uhd_fpga_pipeline
    source: 'uhddev fpga pipeline'
    branch: master
  repositories:
  - repository: meta-ettus
    type: github
    name: EttusResearch/meta-ettus-dev
    endpoint: EttusResearch
    ref: zeus-ci
  - repository: gr-ettus
    type: github
    name: EttusResearch/gr-ettusdev
    endpoint: EttusResearch
    ref: maint-3.8-uhd4.0
  - repository: ettus-rts
    type: github
    endpoint: EttusResearch
    name: EttusResearch/ettus-rts
    ref: master

stages:
- stage: test_uhd_x410_embedded_stage
  displayName: Test X410 Embedded UHD
  dependsOn: []
  condition: ${{ parameters.run_x410_embedded_tests }}
  jobs:
  - template: templates/tests/job-uhd-x410-hardware-tests-sdr-test0.yml
    parameters:
      testOS: ubuntu1804
      uhdArtifactSource: uhd_mono_pipeline
      uhdFpgaArtifactSource: uhd_fpga_pipeline
      fpga_imgs_source: ${{ parameters.fpga_imgs_source }}

- stage: test_uhd_x440_embedded_stage
  displayName: Test X440 Embedded UHD
  dependsOn: []
  condition: ${{ parameters.run_x440_embedded_tests }}
  jobs:
  - template: templates/tests/job-uhd-x440-hardware-tests-sdr-test0.yml
    parameters:
      testOS: ubuntu1804
      uhdArtifactSource: uhd_mono_pipeline
      uhdFpgaArtifactSource: uhd_fpga_pipeline
      fpga_imgs_source: ${{ parameters.fpga_imgs_source }}

- stage: test_streaming_stage
  displayName: Test UHD Streaming
  dependsOn: []
  condition: ${{ parameters.run_streaming_tests }}
  jobs:
  - template: templates/job-uhd-streaming-tests-beauty.yml
    parameters:
      testOS: ubuntu2004
      uhdSrcDir: $(Build.SourcesDirectory)/uhddev
      uhdArtifactSource: uhd_mono_pipeline
      uhdFpgaArtifactSource: uhd_fpga_pipeline
      fpga_imgs_source: ${{ parameters.fpga_imgs_source }}
      testLength: ${{ parameters.testLength }}

- stage: test_x440_streaming_stage
  displayName: Test X440 Streaming
  dependsOn: []
  condition: ${{ parameters.run_x440_streaming_tests }}
  jobs:
  - template: templates/job-uhd-streaming-tests-x440.yml
    parameters:
      testOS: ubuntu2204
      uhdSrcDir: $(Build.SourcesDirectory)/uhddev
      uhdArtifactSource: uhd_mono_pipeline
      uhdFpgaArtifactSource: uhd_fpga_pipeline
      fpga_imgs_source: ${{ parameters.fpga_imgs_source }}
      testLength: ${{ parameters.testLength }}

- stage: test_uhd_devtest
  displayName: Test UHD Devtest
  dependsOn: []
  condition: ${{ parameters.run_devtests }}
  jobs:
  - template: templates/job-uhd-devtest-rhombus.yml
    parameters:
      testOS: ubuntu2004
      uhdSrcDir: $(Build.SourcesDirectory)
      uhdArtifactSource: uhd_mono_pipeline
      uhdFpgaArtifactSource: uhd_fpga_pipeline
      fpga_imgs_source: ${{ parameters.fpga_imgs_source }}

- stage: test_n310_rf_tests
  displayName: Run N310 RF tests
  dependsOn: []
  condition: ${{ parameters.run_n310_rf_tests }}
  jobs:
  - template: templates/job-uhd-rf-tests-pebbles.yml
    parameters:
      testOS: ubuntu1804
      uhdSrcDir: $(Build.SourcesDirectory)/uhddev
      uhdArtifactSource: uhd_mono_pipeline
      uhdFpgaArtifactSource: uhd_fpga_pipeline
      fpga_imgs_source: ${{ parameters.fpga_imgs_source }}
      extra_rf_test_args: ${{ parameters.extra_rf_test_args }}

- stage: test_x410_rf_tests
  displayName: Run X410 RF tests
  dependsOn: []
  condition: ${{ parameters.run_x410_rf_tests }}
  jobs:
  - template: templates/tests/job-uhd-x410-hardware-tests-pebbles.yml
    parameters:
      testOS: ubuntu1804
      uhdArtifactSource: uhd_mono_pipeline
      uhdFpgaArtifactSource: uhd_fpga_pipeline
      fpga_imgs_source: ${{ parameters.fpga_imgs_source }}
      extra_rf_test_args: ${{ parameters.extra_rf_test_args }}
      testLength: ${{ parameters.testLength }}


- stage: test_x440_rf_tests
  displayName: Run X440 RF tests
  dependsOn: []
  condition: ${{ parameters.run_x440_rf_tests }}
  jobs:
  - template: templates/tests/job-uhd-x440-hardware-tests-pebbles.yml
    parameters:
      testOS: ubuntu1804
      uhdArtifactSource: uhd_mono_pipeline
      uhdFpgaArtifactSource: uhd_fpga_pipeline
      fpga_imgs_source: ${{ parameters.fpga_imgs_source }}
      extra_rf_test_args: ${{ parameters.extra_rf_test_args }}
      testLength: ${{ parameters.testLength }}

- stage: test_x440_phase_tests
  displayName: Run X440 Phase tests
  dependsOn: []
  condition: ${{ parameters.run_x440_phase_tests }}
  jobs:
  - template: templates/tests/job-uhd-x440-hardware-tests-saison.yml
    parameters:
      testOS: ubuntu2204
      uhdArtifactSource: uhd_mono_pipeline
      uhdFpgaArtifactSource: uhd_fpga_pipeline
      fpga_imgs_source: ${{ parameters.fpga_imgs_source }}
      ${{ if contains(parameters['extra_rf_test_args'],  'test_selector') }}:
        extra_rf_test_args: ${{ parameters.extra_rf_test_args }}
      ${{ else }}:
        extra_rf_test_args: ${{ parameters.extra_rf_test_args }} --test_selector test_rx_phase_coherence.py test_tx_phase_coherence.py
      testLength: ${{ parameters.testLength }}