Even More Board Farm Goodness - An Update on the REST API for Automated Testing
Talkat Embedded Linux Conference @ Open Source Summit North America 2022 · on Thursday, 2022-06-23· at 12:00· Griffin Hall (Level 2), JW Marriott Austin, 110 E 2nd Street Austin, TX 78701·
summary
Shows a concrete, lab-independent REST API (HTTPS + JSON) implemented with curl/jq and CLI clients (TimeSys shell client and lab control) that can reserve devices, start/stop captures and return URLs for binary data. Adds an audio resource type and capture workflow tested end-to-end on Raspberry Pi playback with remote microphones, analyzed with alsabat and sox — demos pass. Also adds Jenkins pipeline integration for automated deploy/provision/test. Roadmap lists keyboard/mouse APIs and provisioning; working and worth watching for implementation details.
AI-written summary · about
chapters (18)
- 0:00Start
- 0:54Outline
- 1:55Problem statement (review) There are many tests but no standardized way of running tests on physical devices
- 3:59Examples of Hardware/Software integration tests
- 5:42High level concept 1 - API between framework and lab
- 6:18High level concept 2 - API between test and lab
- 8:33Multiple implementations
- 11:56Supported Resource types
- 12:07Re-used the generic capture API model verbs
- 13:47Audio REST APIs mapping
- 15:04High Level Concept illustration
- 15:41Audio Test - Hardware configuration
- 16:26Audio Testing Sequence
- 17:20What the API looks like in practice Excerpt from audio-playback-test.sh
- 21:35Audio Analysis using Alsabat
- 25:36Environment Setup - WebAPP
- 27:00Web UI CT Pipeline
- 29:40Pipeline - REST APIs mapping
related talks
48mBoard Farm APIs for Automated Testing of Embedded Linux - An Update
43mAutomated Testing & Board Farming
40mBoF: Automated Testing and Board Farming
36mFarming Together
33mAutomated Testing for Embedded Development: Next Generation Board Farming
35mTest Harness: Continuous Testing on Hardware
35mEvolution of a RESTful Testing Framework
30mBuilding versatile operating setups for real world use and testing with Python and the Raspberry Pi
