diff options
author | Steven Koo <steven.koo@ni.com> | 2022-06-14 09:27:41 -0500 |
---|---|---|
committer | skooNI <60897865+skooNI@users.noreply.github.com> | 2022-07-20 15:57:20 -0500 |
commit | 8d05b1cda1b26b4ba134f114b9424446b410ac76 (patch) | |
tree | ec80f93b3a5a478674d8032149d825f33eccfcd5 /.ci/templates/job-uhd-devtest-rhombus.yml | |
parent | ce000955aea05802a00a8c47b6b8d1819d6fa0bc (diff) | |
download | uhd-8d05b1cda1b26b4ba134f114b9424446b410ac76.tar.gz uhd-8d05b1cda1b26b4ba134f114b9424446b410ac76.tar.bz2 uhd-8d05b1cda1b26b4ba134f114b9424446b410ac76.zip |
ci: Add n310 into devtests
This commit adds support for reimaging n3xx devices and running
devtest against a n310. This uses Labgrid to control an sdmux,
which we then reimage the device. In the future, other devices can
use this support to run other tests.
Signed-off-by: Steven Koo <steven.koo@ni.com>
Diffstat (limited to '.ci/templates/job-uhd-devtest-rhombus.yml')
-rw-r--r-- | .ci/templates/job-uhd-devtest-rhombus.yml | 166 |
1 files changed, 93 insertions, 73 deletions
diff --git a/.ci/templates/job-uhd-devtest-rhombus.yml b/.ci/templates/job-uhd-devtest-rhombus.yml index d39da70ff..6fc1baa5c 100644 --- a/.ci/templates/job-uhd-devtest-rhombus.yml +++ b/.ci/templates/job-uhd-devtest-rhombus.yml @@ -8,6 +8,9 @@ parameters: - name: uhdArtifactSource type: string default: current +- name: testDevices + type: string + default: 'x3xx,b2xx,n3xx' jobs: - template: job-uhd-devtest.yml @@ -20,77 +23,94 @@ jobs: uhdArtifactSource: '${{ parameters.uhdArtifactSource }}' redisHost: 'sdr-rhombus' dutMatrix: - rhombus-x300-UBX-0: - 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: - 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: - 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: - 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: - 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: - 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, 'x3xx') }}: + rhombus-x300-UBX-0: + 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: + 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: + 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: + 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: + 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: + 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: + devType: 'b200' + devModel: 'b210' + devName: rhombus-b210-0 + devSerial: '3218D0E' + devBus: 'usb' + devtestPattern: 'b2xx' - rhombus-b210-0: - devType: 'b200' - devModel: 'b210' - devName: rhombus-b210-0 - devSerial: '3218D0E' - devBus: 'usb' - devtestPattern: 'b2xx' + ${{ if contains(parameters.testDevices, 'n3xx') }}: + 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 |