HiL上的PHiLIP:使用外部参考器械的自动化多平台OS测试
PHiLIP on the HiL: Automated Multi-platform OS Testing with External Reference Devices
摘要:
为低端嵌入式设备开发操作系统(OS)需要不断适应新的硬件架构和组件,同时需要在严格的资源限制下确保每个平台的功能可维护性。设计一个通用的、准确的异构测试环境,使其足够敏捷,能够覆盖代码库和平台的持续发展,这是一个挑战。当组织在一个敏捷的开源社区流程中时,这个任务甚至更具挑战性,其中有许多贡献者,例如RIOT OS。硬件在环(HiL)测试和持续集成(CI)是可自动化的方法,用于验证功能,防止回归,并在大型社区项目中以开发速度提高整体质量。在本文中,我们提出了PHiLIP(原始硬件在环集成产品),一个开源的外部参考设备连同工具,验证系统软件,而它控制硬件和解释物理信号。PHiLIP不是专注于特定的测试设置,而是采用工具辅助的敏捷HiL测试过程,旨在实现持续的演进和部署周期。我们解释了它的设计,描述了它如何支持HiL测试,评估性能指标,并报告了在自动化CI测试基础设施中使用PHiLIP的实际经验。我们的初始部署包括22个独特的平台,每个平台每晚执行98个外围设备测试。PHiLIP允许轻松扩展低成本的自适应测试基础设施,但为更广泛的应用提供测试技术和工具。
英文摘要:
Developing an operating system (OS) for low-end embedded devices requires continuous adaptation to new hardware architectures and components, while serviceability of features needs to be assured for each individual platform under tight resource constraints. It is challenging to design a versatile and accurate heterogeneous test environment that is agile enough to cover a continuous evolution of the code base and platforms. This mission is even morehallenging when organized in an agile open-source community process with many contributors such as for the RIOT OS. Hardware in the Loop (HiL) testing and Continuous Integration (CI) are automatable approaches to verify functionality, prevent regressions, and improve the overall quality at development speed in large community projects. In this paper, we present PHiLIP (Primitive Hardware in the Loop Integration Product), an open-source external reference device together with tools that validate the system software while it controls hardware and interprets physical signals. Instead of focusing on a specific test setting, PHiLIP takes the approach of a tool-assisted agile HiL test process, designed for continuous evolution and deployment cycles. We explain its design, describe how it supports HiL tests, evaluate performance metrics, and report on practical experiences of employing PHiLIP in an automated CI test infrastructure. Our initial deployment comprises 22 unique platforms, each of which executes 98 peripheral tests every night. PHiLIP allows for easy extension of low-cost, adaptive testing infrastructures but serves testing techniques and tools to a much wider range of applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。