Automated Testing and Continuous Integration/Delivery: Lessons Learned
summary
Built a CI/CD pipeline that uses GitLab CI for SCM hooks, Jenkins for nightly Yocto Project image builds, Artifactory for binaries and OTA integration, and LAVA to run automatic regression tests on a board farm (47 devices, shelves up to seven carrier boards, ~100 modules tested per run). Claims: full flash-from-recovery tests on real hardware, shared sstate cache over NFS, primed builds to speed throughput, and resilience engineering because 99% reliability breaks trust. Operation requires ongoing maintenance and ~3–4 dedicated engineers.
AI-written summary · about
chapters (28)
- 0:00Introduction
- 1:05Automated testing goals
- 2:31Infrastructure tools
- 5:02Code review processes
- 6:51GitLab and Jenkins demo
- 8:15Build and artifact management
- 10:44Artifactory and reports
- 11:29LAVA board farm setup
- 13:40LAVA test execution demo
- 15:09Hardware shelf controller
- 16:35Loopback testing interfaces
- 18:04Scaling lessons learned
- 19:49Reliability strategies
- 21:35Infrastructure as code
- 22:39Team collaboration
- 23:23CI/CD maintenance
- 24:30Q&A: Dual build systems
- 25:37Q&A: CI caching strategies
- 27:24Q&A: Test infrastructure resources
- 28:48Q&A: Bug reporting upstream
- 29:50Q&A: Build state cache sharing
- 30:13Q&A: Hardware simulation
- 31:16Q&A: OTA testing automation
- 32:45Q&A: Yocto state cache
- 33:28Q&A: Jenkins alternatives
- 34:54Q&A: LAVA re-init approach
- 36:00Q&A: GitLab CI for Yocto
- 36:43Q&A: Single-person Kubernetes CI
related talks
44mAutomation beyond Testing and Embedded System Validation
48mLiving on Master: Using Yocto Project, Jenkins and LAVA for a Rolling Release
26mLAVA + OpenQA = Automated, Continuous Full System Testing
38mAutomating and Managing an IoT Fleet Using Git
40mSecure by Default: Building an AI-Augmented, OSS-Powered Reusable CI/CD Pipeline
53mOur CI/CD in Robot Testing at the Edge of Software and Hardware
30mCI/CD - the game where all win!
29mLarge Scale Deployments for Automated Kernel Testing
