aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/templates
Commit message (Collapse)AuthorAgeFilesLines
* ci: change gr-ettus ref to masterSteven Koo2022-07-201-1/+1
| | | | | | | gr-ettus added a stronger UHD version check in the maint-3.8-uhd4.0. Set this to master instead. Steven Koo <steven.koo@ni.com>
* ci: Set n310 and n321 to specific agentsSteven Koo2022-07-202-0/+10
| | | | | | | | | Since these take awhile to setup, there have been cases where an agent will get selected for these devices and wait until the previous run to complete. It's possible that it will take a long time and timeout if there were other instances launched at similar times. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Mark devtest as failure on SucceededWithIssuesSteven Koo2022-07-201-0/+7
| | | | | | | This marks the job as a failure on SucceededWithIssues. This could be from failure in device setup or other reasons. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Enable root privileges for non-DPDK streaming testsmattprost2022-07-201-1/+4
| | | | | | | | This allows underlying benchmark_rate calls to elevate the streaming threads' priorities. This is similar to how we invoke the streaming test scripts for DPDK use cases. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: Add n321 to devtestSteven Koo2022-07-204-1/+64
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Build init_usrp example for Windowsmattprost2022-07-202-21/+38
| | | | | | | Generating this binary allows us to sanity check the linking for UHD builds on Windows. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: Build init_usrp example for macOSmattprost2022-07-202-2/+44
| | | | | | | Generating this binary allows us to sanity check the linking for UHD builds on macOS. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: Make Windows installer job self-containedmattprost2022-07-203-9/+43
| | | | | | | | Rebuild UHD to generate the Windows installer. This increases the time it takes for the job to run, but it removes any interference that other jobs may have had on the build environment. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: Only include rpm files in the Fedora installer artifactsmattprost2022-07-202-2/+14
| | | | Signed-off-by: mattprost <matt.prost@ni.com>
* ci: streaming: flash x310 fpgaSteven Koo2022-07-202-0/+13
| | | | | | | | | | | This uses openFPGALoader to flash the fpga before running the test. This tool is needed because uhd_image_loader only updates the flash for x3xx, which requires a hard power cycle to commit. This openFPGALoader directly updates the fpga SRAM. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add n310 into devtestsSteven Koo2022-07-207-79/+218
| | | | | | | | | 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>
* ci: devtests: fix knownhost entrySteven Koo2022-07-201-1/+1
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Increase devtest job timeout to 90 minutesSteven Koo2022-07-201-0/+1
| | | | | | | This changes the timeout for devtest jobs. Since we are running multiple devtests per job now, this is needed to avoid timeout failures. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Point meta-ettus repo ref to v4.2.0.0Aaron Rossetto2022-06-151-1/+1
|
* ci: Run multiple fpgas per jobSteven Koo2022-06-102-81/+26
| | | | | | This consolidates the different FPGA runs into a single job. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add devtests to hardware-test-devSteven Koo2022-06-102-3/+17
| | | | | | | This enables running the devtests without having to rebuild uhd, typically for development purposes. Signed-off-by: Steven Koo <steven.koo@ni.com>
* tests: mark test jobs as an overall failure if there is a test failureMatthew Crymble2022-06-102-0/+13
| | | | | | | using the continueOnError option for test run steps is a convenient way to allow all subsequent steps to run despite a test failure. But this causes the job status to be 'SucceededWithIssues' and not a full 'Failed' status.
* ci: Add recv and send frame tuning for streamingSteven Koo2022-06-102-1/+18
| | | | | | | | This adds the ability to tune the recv and send frames as a parameter. This is useful since some rates will fail with jitter in the system with the default settings. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add b210 hardware to rhombusmattprost2022-06-102-1/+32
| | | | | | | Installed a B210 and added support for usb-based devices in the devtest pipeline. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: Add new x3xx hardware to rhombusmattprost2022-06-101-4/+26
| | | | | | Added an X310 with TwinRx dboards and moved the SBX dboards to an X300. Signed-off-by: mattprost <matt.prost@ni.com>
* tests: streaming: select appropriate uhd config file before test runsMatthew Crymble2022-06-101-7/+21
|
* tests: streaming: add support for B210 DUTsMatthew Crymble2022-06-102-0/+20
| | | | | | The use_dpdk will be false for all B210 test cases, but still needs to be defined since the main test_streaming() function requires a value for it.
* tests: streaming: add support for more DUTsMatthew Crymble2022-06-102-19/+67
| | | | | | | | | | This commit enables runs for X310, X310 TwinRx, E320, and N310. By default, python's argparse module will expect a value to be provided for each argument defined. Specifying an nargs value of '?' for the pytest options allows us to use a single pytest invocation in our pipeline configuration, even though some options don't apply to some DUT types.
* tests: streaming: pass the correct LD_LIBRARY_PATH to pytestMatthew Crymble2022-06-101-3/+8
| | | | | | We need to run the DPDK streaming tests with elevated permissions, but using sudo clears the environment before running. This prevented the streaming tests from accessing the libuhd binaries.
* tests: streaming: add option to run streaming tests in dev pipelineMatthew Crymble2022-06-101-1/+1
|
* fixup! ci: Add fedora rpm installer buildmattprost2022-06-101-0/+32
|
* ci: Add fedora rpm installer buildmattprost2022-06-105-4/+36
| | | | | | | Builds fedora rpm files using CPack. Supports both release and development builds. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: Add package source support to pipelinesSteven Koo2022-06-102-0/+88
| | | | | | | This change adds support for building the release tarballs using pipelines using tools/package_source.sh Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add package builder container entrySteven Koo2022-06-104-0/+8
| | | | | | This container will be used to build the src tarballs. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add Windows installer signingSteven Koo2022-06-102-0/+61
| | | | | | This adds signing when generating release installers for windows Signed-off-by: Steven Koo <steven.koo@ni.com>
* tests: add filesystem flashing to streaming testsVirendra Kakade2022-04-123-12/+96
| | | | Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
* tests: streaming tests setupVirendra Kakade2022-04-062-7/+27
| | | | | | | Add auto DUT bitfile configuration. Add special network configuration commands for X410. Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
* ci: Update builds to macOS 12 MontereySteven Koo2022-04-051-1/+1
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* tests: enable automated streaming tests on X410Virendra Kakade2022-03-313-20/+28
| | | | | | | | | | | | Enable automated streaming tests to run on X410. Disable tests on non-X410 devices for now. Run only DPDK tests since the setup can not withstand 4Rx 4Tx and 4FDx in non-DPDK mode in manual testing. And we need to enable running these tests for 100GbE testing. Adjust streaming test thresholds to new values which seemed to work fine in manual testing. Might make them tighter in future based on more data.
* ci: Set continue on error and reduce timeout to 60Steven Koo2022-02-241-6/+13
| | | | | | | Instead of squashing errors, set continue on error so that warnings propagate up. Also reset timeout to default 60 minutes. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Upload devtest logs as artifactSteven Koo2022-02-111-0/+21
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Propagate downloader errors and lower timeoutSteven Koo2022-02-111-1/+8
| | | | | | | | This change enables download / network failures to propagate up and fail the job for Windows builds. It also reduces the job timeout in case the network hangs. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Enable ctest on macOS buildsSteven Koo2022-02-082-2/+6
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: flash fpga on x410 ATS runsSteven Koo2022-02-073-3/+14
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add libuhd python dependencies to macOSSteven Koo2022-02-041-1/+1
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add x410 test to mono pipelineSteven Koo2022-02-024-0/+371
| | | | | | | | | This change brings in x410 testing into the uhd mono pipeline. This also creates a test development pipeline that executes on uhd mono pipeline as an upstream artifact source. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Enable building of init_usrpMartin Braun2022-02-011-0/+22
| | | | | | | This builds init_usrp against UHD during CI runs. init_usrp is an example for how to write third-party apps using CMake that link against UHD. This will test the UHDConfig.cmake (and related) CMake files, as well as the example itself.
* ci: Make uhdSrcDir directly reference Build.SourcesDirectoryMartin Braun2022-02-011-5/+5
|
* ci: Build gnuradio and gr-ettusSteven Koo2022-01-258-10/+209
| | | | | | | | | | This change adds build support for gnuradio and gr-ettus. After building gnuradio and gr-ettus 3.8 against the uhddev commit, the job will upload the build artifact for gnuradio and gr-ettus for use by downstream jobs, like hardware testing. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Generate installed binaries for downstream useSteven Koo2022-01-242-1/+15
| | | | | | | | | | CMake doesn't allow source path to change once set. This is problematic because downstream pipeline jobs could use the artifacts to test but have no way to install. Instead setup to install to uhdBuildDir-installed. Downstream jobs then then directly reference uhd from there. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add embedded builds to uhd mono pipelineSteven Koo2022-01-201-0/+74
| | | | | | | | This commit adds in meta-ettus build support into mono pipline. This uses the job implementation in from meta-ettus for the existing pipelines. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Separate pipeline builds for different osmattprost2022-01-141-16/+46
| | | | | | This allows parameterizing pipeline runs to only build for certain os. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: refactor dockerOSName to buildOSNameSteven Koo2022-01-062-6/+6
| | | | | | dockerOSName is misleading because it could be in a bare metal context Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: build on macOSSteven Koo2022-01-064-7/+64
| | | | | | This adds macOS build support using homebrew Signed-off-by: Steven Koo <steven.koo@ni.com>
* tests: add automated streaming testsMatthew Crymble2021-11-303-0/+124
|