aboutsummaryrefslogtreecommitdiffstats
path: root/.ci
Commit message (Collapse)AuthorAgeFilesLines
* ci: Add n310 into devtestsSteven Koo2022-07-208-83/+289
| | | | | | | | | 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-152-2/+2
|
* ci: Run multiple fpgas per jobSteven Koo2022-06-104-102/+80
| | | | | | 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-103-3/+32
| | | | | | | 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-102-1/+31
|
* fixup! ci: Add fedora rpm installer buildmattprost2022-06-101-0/+32
|
* ci: Add fedora rpm installer buildmattprost2022-06-106-4/+43
| | | | | | | 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-105-0/+14
| | | | | | 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>
* ci: Update branches to UHD-4.2Steven Koo2022-04-283-4/+4
| | | | 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>
* ci: Weekly builds for UHD-4.2 docker imagesSteven Koo2022-04-121-0/+6
| | | | Signed-off-by: Steven Koo <steven.koo@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-052-2/+2
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* tests: enable automated streaming tests on X410Virendra Kakade2022-03-315-22/+30
| | | | | | | | | | | | 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: Update commit vcpkg and CMake versionSteven Koo2022-03-294-16/+16
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* 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: Remove obsolete x4xx pipelinesSteven Koo2022-02-243-226/+0
| | | | | | | These x4xx pipelines have been obsoleted by x4xx integration with mono pipeline. 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 mpm folder to triggersSteven Koo2022-02-072-0/+2
| | | | | | | Since we build the system images now and test downstream for x410, trigger builds on mpm changes. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Change yaml dependency to ruamelSteven Koo2022-02-045-5/+5
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add support for Ubuntu 22.04Steven Koo2022-02-042-2/+71
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Remove Fedora 33 and add Fedora 35Steven Koo2022-02-042-3/+3
| | | | | | Fedora 33 is going EOL and Fedora 35 was recently released 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-025-0/+412
| | | | | | | | | 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: Add gnuradio deps to imagesSteven Koo2022-01-254-0/+87
| | | | | | | Adding gnuradio deps to build gnuradio as a job in uhd's pipeline 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 displayNames to parametersSteven Koo2022-01-202-0/+14
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add embedded builds to uhd mono pipelineSteven Koo2022-01-203-0/+144
| | | | | | | | 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-143-16/+70
| | | | | | 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-063-16/+16
| | | | | | 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-065-7/+69
| | | | | | This adds macOS build support using homebrew Signed-off-by: Steven Koo <steven.koo@ni.com>
* tests: Add default length for automated streaming testsMatthew Crymble2021-12-012-0/+2
|