diff options
author | Virendra Kakade <virendra.kakade@ni.com> | 2022-04-04 15:49:38 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-04-06 09:52:36 -0700 |
commit | 03070de5541299d419bf5e42b7118d91fed40433 (patch) | |
tree | a1f485ac730b5c0199a65f617a3bd432643be16e /.ci/templates/job-uhd-streaming-tests.yml | |
parent | 483b10fe54c489d438d456180deaf2291a0da88d (diff) | |
download | uhd-03070de5541299d419bf5e42b7118d91fed40433.tar.gz uhd-03070de5541299d419bf5e42b7118d91fed40433.tar.bz2 uhd-03070de5541299d419bf5e42b7118d91fed40433.zip |
tests: streaming tests setup
Add auto DUT bitfile configuration.
Add special network configuration commands for X410.
Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
Diffstat (limited to '.ci/templates/job-uhd-streaming-tests.yml')
-rw-r--r-- | .ci/templates/job-uhd-streaming-tests.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.ci/templates/job-uhd-streaming-tests.yml b/.ci/templates/job-uhd-streaming-tests.yml index f36397b6a..a5387a403 100644 --- a/.ci/templates/job-uhd-streaming-tests.yml +++ b/.ci/templates/job-uhd-streaming-tests.yml @@ -43,6 +43,17 @@ jobs: archiveFilePatterns: $(Pipeline.Workspace)/uhddev-${{ parameters.testOS }}-${{ parameters.toolset }}/uhddev-${{ parameters.testOS }}-${{ parameters.toolset }}.tar.gz destinationFolder: $(Build.BinariesDirectory) cleanDestinationFolder: true + - script: | + ssh-keygen -f ~/.ssh/known_hosts -R $(dutMgmtAddr) + ssh -o StrictHostKeyChecking=no -tt root@$(dutMgmtAddr) "uhd_image_loader --args addr=localhost,type=$(dutType),fpga=$(dutFPGA)" + sleep 60 + displayName: Flash FPGA $(dutFPGA) + - script: | + ssh-keygen -f ~/.ssh/known_hosts -R $(dutMgmtAddr) + ssh -o StrictHostKeyChecking=no -tt root@$(dutMgmtAddr) "ethtool -A sfp0 tx on" + ssh -o StrictHostKeyChecking=no -tt root@$(dutMgmtAddr) "ethtool -A sfp1 tx on" + displayName: Enable Tx Pause Frames on sfp0 and sfp1 + condition: and(succeeded(), eq(variables.dutType, 'x4xx'), eq(variables.dutFPGA, 'CG_400')) # - script: | # cd ${{ parameters.uhdSrcDir }}/host/tests/streaming_performance # sudo ./setup.sh --auto |