Improved Android Testing in LAVA with docker
summary
LAVA now runs host-side Android tooling inside Docker so you can run adb and fastboot inside Docker with the device node and serial connection shared into the container, shortening job YAML and avoiding LXC complexity. ADB/fastboot support ships in lava 2020.02 and works; image post-processing (injecting kernel modules) uses a new Downloads post-processing step that runs arbitrary commands in a container and produces artifacts referenced by a pseudo-URL. QEMU/KVM runner also accepts Docker images so custom VM binaries run from containers.
AI-written summary · about
chapters (12)
- 0:00Introduction to LAVA and Docker
- 1:48What is LAVA and its uses
- 5:28Use cases for arbitrary code in LAVA
- 9:31Limitations of LXC in LAVA
- 11:17Why Docker fits LAVA better
- 13:06Advantages of Docker in LAVA
- 14:54Docker support in LAVA 2020.02
- 15:17Demo: Running ADB and Fastboot in Docker
- 17:28Demo: Manipulating downloaded images
- 19:59Demo: Running custom QEMU binaries
- 21:12Current status and future work
- 22:43Q&A session
related talks
41mLAVA Users Forum
42mLAVA on your desk BoF
22mLAVA community enabled testing
34mRun your Appium tests using Docker-Android
37mAndroid meets Docker
34mFrom Zero to First Test in Your Own LAVA Laboratory in less than 45 minutes)
35mDockerization of a Real Mobile Device Farm and Scalable QA Automation Ecosystem
39mTesting Your Yocto Proj: from Ptest & Testimage to LAVA
