More than 380 people registered for the 2nd Annual Zephyr Developer Summit, which took place on June 8-9 in-person in Mountain View, CA and virtually for attendees around the world, to learn more about the fastest growing RTOS. We hosted a “Zephyr Intro Day” on June 7 and had 4 tracks, 2 mini-conferences, 2 tutorials, 54 sessions and 58 speakers who presented engaging technical content, best practices, use cases and more. We’ll be adding event videos each week to the Zephyr Youtube Channel.
Today, we’re featuring all of the presentations that showcase testing with Zephyr RTOS including, “Building the Traceability for Design and Testing in Zephyr,” “Zephyr Unit Tests and Emulators at Google,” “Twister V2: New Framework for Testing Based on Pytest Overview and Current Status,” “Building a Test for Diverse Fleet of Platform, How Hard that Could Be?” and “BOF: Quality and Testing Processes for Zephyr + Discussion.” Watch the videos below or click on the session title for links to the PDF of the presentations.
“Building the Traceability for Design and Testing in Zephyr” – Enjia Mai, Zephyr OS Software Development Engineer at Intel
From the perspective of software engineering, having traceability to track the requirement, design and validation bring benefits for quality control of the software product. It is not only specifying what we should have or shouldn’t have in the software product, but also the test coverage of it. Zephyr Project has very good official documentation of system design and user/developer guide, which are generated by source code automatically during the building process. And thanks to the contribution to the community, we have over ten thousand good test cases in the zephyr tree. The WIP work of traceability aims to take advantage of these existing work products, trying to connect and bring more visibility to the quality of the Zephyr RTOS.
“Zephyr Unit Tests and Emulators at Google” – Yuval Peress, Senior Software Engineer at Google
We at Chromium EC’s team have spent a lot of time developing a large test suite to be able to run the majority of our code in a CI environment and verifying full features without hardware. This work has allowed us to greatly contribute to the Zephyr testing subsystem as well as emulation drivers. This talk will focus on how unit tests and integration tests are laid out and designed at Google, making use of the latest Zephyr has to offer.
“Twister V2: New Framework for Testing Based on Pytest. Overview and Current Status” – Maciej Perkowskil, Software Test Developer at Nordic Semiconductor
The presentation will be focused on Twister v2: the main concepts behind it and the current state of its implementation. A prototype based on pytest will be presented. The goal is to show if/how the pytest-based approach and its tools can be used to create a solid test framework for Zephyr’s needs. The audience will be introduced to the process behind Twister v2 and encouraged to contribute to its fulfillment. For more details about Twister v2, click here.
“Building a Test for Diverse Fleet of Platform, How Hard that Could Be?” – Evgeniy Paltsev, Linux & Zephyr Kernel Engineer at Synopsys
What makes for a good test? It’s a simple, it produces reliable results and in the end it runs on a wide range of platforms with various ISAs, compilers, target speeds and memory layouts. There are lots of assumptions in existing tests, which may not be entirely correct for all possible platforms. Good examples are: test involves interaction between threads (are we aware of SMP platforms?); there’s a wait for something (time period can be too long or short for target); test exploits undefined behavior (good luck with reproduction in a different environment). Ok, all above checked? Now meet compiler optimizations…
During this talk, we’ll look at various kinds of issues getting in the way of writing a robust test. It’ll be based on real experience with debugging issues for various ARC platforms and it’ll be helpful for both, those writing new tests and those debugging existing ones.
“BOF: Quality and Testing Processes for Zephyr + Discussion” – David Leach, Senior Software Architect, Edge Processing at NXP
Join this session to discuss the current state of Zephyr in terms of software quality and testing. We will explore how Zephyr currently runs quality checks on the code base, discuss how to leverage independent community test data, and identify gaps and opportunities for improvement. If you have an interest in quality, this discussion is for you.
If you have questions or would like to chat with any of our Zephyr speakers, ambassadors or members of the Technical Steering Committee (TSC), please join us on Discord.