diff options
Diffstat (limited to '.ci/templates')
-rw-r--r-- | .ci/templates/job-uhd-streaming-tests-beauty.yml | 23 | ||||
-rw-r--r-- | .ci/templates/job-uhd-streaming-tests.yml | 11 |
2 files changed, 27 insertions, 7 deletions
diff --git a/.ci/templates/job-uhd-streaming-tests-beauty.yml b/.ci/templates/job-uhd-streaming-tests-beauty.yml index f58101590..3712d5397 100644 --- a/.ci/templates/job-uhd-streaming-tests-beauty.yml +++ b/.ci/templates/job-uhd-streaming-tests-beauty.yml @@ -17,15 +17,24 @@ jobs: toolset: 'make' uhdSrcDir: '${{ parameters.uhdSrcDir }}' dutMatrix: - # beauty-N320-0 XG: - # dutName: 'beauty-N320-0' - # dutType: 'N320' - # dutAddr: '192.168.10.2' - # dutSecondAddr: '192.168.20.2' - # dutMgmtAddr: '10.0.57.13' + # beauty-N320-0 XG: + # dutName: 'beauty-N320-0' + # dutType: 'N320' + # dutAddr: '192.168.10.2' + # dutSecondAddr: '192.168.20.2' + # dutMgmtAddr: '10.0.57.13' + # dutFPGA:'XG' + # beauty-X410-0 X4_200: + # dutName: 'beauty-X410-0' + # dutType: 'x4xx' + # dutAddr: '192.168.10.2' + # dutSecondAddr: '192.168.20.2' + # dutMgmtAddr: '10.0.57.29' + # dutFPGA:'X4_200' beauty-X410-0 CG_400: dutName: 'beauty-X410-0' - dutType: 'X410' + dutType: 'x4xx' dutAddr: '192.168.10.2' dutSecondAddr: '192.168.20.2' dutMgmtAddr: '10.0.57.29' + dutFPGA: 'CG_400' 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 |