labgrid: Test Automation Framework Released
At Pengutronix, one of the most important tasks in our industrial linux projects is testing of embedded systems. While testing is easy on the component level (there are many unit test frameworks around), it is increasingly difficult on system level. Tests do not only run code and compare results, they need to bring the device-under-test into different states (i.e. "bootloader", "linux console", "power off"). If you have many embedded Linux devices, remote-controlling power, serial consoles, network, switches, reset lines, SD cards in scalable, automatic labs is also on the wishlist.
After 6 months of hard work behind the scenes, a team around Jan Lübbe and Rouven Czerwinski at Pengutronix released labgrid today - our framework to abstract and automate embedded Linux devices-under-test: labgrid makes it possible to use pytest for the actual tests, while the whole complexity of distributed lab automation is hidden from the test developer. While labgrid is lightweight and runs on the developer PC without much infrastructure, it can also be integrated with Jenkins, LAVA and similar build&test services.
Please check our github page and the documentation!
Further Readings
You can buy RAUC and labgrid sponsor packages now
RAUC and labgrid are open source software projects started at Pengutronix, that are quite successful in their respective niche. Starting today you can buy sponsorship packages for both projects in the Linux Automation GmbH web shop, to support their maintenance and development.Talks, Workshops, Time at the Beach - Embedded Recipes 2025
I was part of a small delegation of Pengutronixians at the Embedded Recipes conference this year in Nice, France. We had a great time there, so let's take a look back at the great talks we have seen, the labgrid workshop we held and our time in Nice in general.
Labgrid Hands-On Training at Embedded Recipes 2025
We are happy to announce that we are hosting a one-day version of our hands-on labgrid training at the Embedded Recipes in Nice, France. The workshop takes place on day three of the Embedded Recipes (16.05.2025) and is part of the workshop track. The workshop is free of charge, but registration is required.