aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/templates/job-uhd-devtest-rhombus.yml
blob: 3348e4ffff02533bedd92501c263c809b3690618 (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
parameters:
- name: testOS
  type: string
  values:
    - ubuntu2004
- name: uhdSrcDir
  type: string
- name: uhdArtifactSource
  type: string
  default: current
- name: testDevices
  type: string
  default: 'x3xx,b2xx,n3xx,e320'

jobs:
- template: job-uhd-devtest.yml
  parameters:
    suiteName: 'rhombus'
    testOS: '${{ parameters.testOS }}'
    knownHost: '|1|3et3xtaVaAtV98+6U+Tiu2wAX8I=|eEWBqjtPkxWfNR7hV/oQ+4QISlE= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKKCqeRQXnWgl+KZu54dJGjw90R07wHCLXzvnfR9PRZ8+yBFwaNhWQCKZVwhN0G9r3bJ5RSsX+CQespwpRMptds='
    toolset: 'make'
    uhdSrcDir: '${{ parameters.uhdSrcDir }}'
    uhdArtifactSource: '${{ parameters.uhdArtifactSource }}'
    redisHost: 'sdr-rhombus'
    dutMatrix:
      ${{ if contains(parameters.testDevices, 'x3xx') }}:
        rhombus-x300-UBX-0:
          devAgent: x3xxb2xx
          devType: 'x300'
          devModel: 'x300'
          devName: 'rhombus-x300-UBX-0'
          devSerial: '30A6019'
          devBus: 'ip'
          devAddr: '192.168.40.2'
          devFpga: 'HG,XG'
          devtestPattern: 'x3x0'
          jtagSerial: '2516350A6019'
          jtagServer: 'nitest@sdr-rhombus'
        rhombus-x310-UBX-0:
          devAgent: x3xxb2xx
          devType: 'x300'
          devModel: 'x310'
          devName: 'rhombus-x310-UBX-0'
          devSerial: '3138EF5'
          devBus: 'ip'
          devAddr: '192.168.40.3'
          devFpga: 'HG,XG'
          devtestPattern: 'x3x0'
          jtagSerial: '251635138E98'
          jtagServer: 'nitest@sdr-rhombus'
        rhombus-x310-CBX-0:
          devAgent: x3xxb2xx
          devType: 'x300'
          devModel: 'x310'
          devName: 'rhombus-x310-CBX-0'
          devSerial: '30796C2'
          devBus: 'ip'
          devAddr: '192.168.40.4'
          devFpga: 'HG,XG'
          devtestPattern: 'x3x0'
          jtagSerial: '2516350796C2'
          jtagServer: 'nitest@sdr-rhombus'
        rhombus-x310-WBX-0:
          devAgent: x3xxb2xx
          devType: 'x300'
          devModel: 'x310'
          devName: 'rhombus-x310-WBX-0'
          devSerial: '30C5BFF'
          devBus: 'ip'
          devAddr: '192.168.40.5'
          devFpga: 'HG,XG'
          devtestPattern: 'x3x0'
          jtagSerial: '2516350C5BFF'
          jtagServer: 'nitest@sdr-rhombus'
        rhombus-x310-TWINRX-0:
          devAgent: x3xxb2xx
          devType: 'x300'
          devModel: 'x310'
          devName: rhombus-x310-TWINRX-0
          devSerial: 'F43D13'
          devBus: 'ip'
          devAddr: '192.168.40.6'
          devFpga: 'HG,XG'
          devtestPattern: 'x3x0'
          jtagSerial: '251635F43D13'
          jtagServer: 'nitest@sdr-rhombus'
        rhombus-x300-SBX-0:
          devAgent: x3xxb2xx
          devType: 'x300'
          devModel: 'x300'
          devName: rhombus-x300-SBX-0
          devSerial: '32244AD'
          devBus: 'ip'
          devAddr: '192.168.40.7'
          devFpga: 'HG,XG'
          devtestPattern: 'x3x0'
          jtagSerial: '2516352244AD'
          jtagServer: 'nitest@sdr-rhombus'

      ${{ if contains(parameters.testDevices, 'b2xx') }}:
        rhombus-b210-0:
          devAgent: x3xxb2xx
          devType: 'b200'
          devModel: 'b210'
          devName: rhombus-b210-0
          devSerial: '3218D0E'
          devBus: 'usb'
          devtestPattern: 'b2xx'

      ${{ if contains(parameters.testDevices, 'n3xx') }}:
        rhombus-n310-0:
          devAgent: rhombus-n310-0
          devType: 'n3xx'
          devModel: 'n310'
          devName: rhombus-n310-0
          devSerial: '3176DF3'
          devHostname: 'ni-n3xx-3176df3'
          devBus: 'ip'
          devAddr: '192.168.20.5'
          sfpAddrs: '192.168.10.5,192.168.20.5'
          devFpga: 'HG,XG'
          devtestPattern: 'n3x0'
          devSDImage: gnuradio-image-ni-sulfur-rev11-mender.sdimg.bz2
          devLabgridConfig: .ci/templates/tests/rhombus-labgrid/device-configs/rhombus-n310-0.yml
        rhombus-n321-0:
          devAgent: rhombus-n321-0
          devType: 'n3xx'
          devModel: 'n320'
          devName: rhombus-n321-0
          devSerial: '3166646'
          devHostname: 'ni-n3xx-3166646'
          devBus: 'ip'
          devAddr: '192.168.20.8'
          sfpAddrs: '192.168.10.8,192.168.20.8'
          devFpga: 'HG,XG'
          devtestPattern: 'n3x0'
          devSDImage: gnuradio-image-ni-sulfur-rev11-mender.sdimg.bz2
          devLabgridConfig: .ci/templates/tests/rhombus-labgrid/device-configs/rhombus-n321-0.yml

      ${{ if contains(parameters.testDevices, 'e320') }}:
        rhombus-e320-0:
          devAgent: rhombus-e320-0
          devType: 'e3xx'
          devModel: 'e320'
          devName: rhombus-e320-0
          devSerial: '31A8171'
          devHostname: 'ni-e320-31a8171'
          devBus: 'ip'
          devAddr: '192.168.20.7'
          sfpAddrs: '192.168.20.7'
          devFpga: 'XG'
          devtestPattern: 'e320'
          devInitramfsImage: fitImage-manufacturing
          devSDImage: gnuradio-image-ni-neon-rev2-mender.sdimg.bz2
          devLabgridConfig: .ci/templates/tests/rhombus-labgrid/device-configs/rhombus-e320-0.yml