Microservice integration testing with hardware-in-the-loop in CI/CD pipelines
dc.contributor.author | Johansson, Axel | |
dc.contributor.author | Paulsson, Simon | |
dc.contributor.department | Chalmers tekniska högskola / Institutionen för mekanik och maritima vetenskaper | sv |
dc.contributor.department | Chalmers University of Technology / Department of Mechanics and Maritime Sciences | en |
dc.contributor.examiner | Benderius, Ola | |
dc.contributor.supervisor | Benderius, Ola | |
dc.date.accessioned | 2024-09-18T14:23:09Z | |
dc.date.available | 2024-09-18T14:23:09Z | |
dc.date.issued | 2024 | |
dc.date.submitted | ||
dc.description.abstract | Mechanical products are increasingly evolving into software-driven systems with expanded responsibilities, as exemplified by the rapid advancements in the vehicle industry and the rise of autonomous driving technologies. Cyber-physical systems (CPSs), such as vehicles that rely on both hardware and software, present significant testing challenges due to their distributed nature and the necessity for real sensor input data. Traditional testing methodologies are suboptimal for CPS, as they typically do not accommodate the integration of both simulation and hardware testing in a distributed environment. This thesis aims to evaluate the feasibility and effectiveness of a containerized, microservice-based testing framework. The framework is designed to support simulation, data replay and hardware test levels and to be integrated into a continuous integration and continuous deployment (CI/CD) pipeline. The proposed framework was implemented and tested within the context of the TME290 Autonomous robots course at Chalmers University of Technology. This involved the development of hardware-in-the-loop (HIL) rigs, as well as the creation of test execution and interpretation software. The framework’s capabilities were assessed through the execution of various test scenarios. The integration of the testing framework into the course demonstrated its suitability for simulation, data replay, and hardware test levels on a distributed system. Furthermore, it was successfully integrated into a CI/CD pipeline. The findings suggest that a microservice-based architecture can effectively be used for the integration testing of CPS within a continuous integration environment. This approach enhances the reliability and efficiency of testing processes for autonomous systems, offering a promising solution to the challenges associated with traditional CPS testing methods. | |
dc.identifier.coursecode | MMSX60 | |
dc.identifier.uri | http://hdl.handle.net/20.500.12380/308696 | |
dc.language.iso | eng | |
dc.setspec.uppsok | Technology | |
dc.subject | Microservices | |
dc.subject | simulation-in-the-loop | |
dc.subject | data-in-the-loop | |
dc.subject | hardware-in-the-loop | |
dc.subject | end-to-end testing | |
dc.subject | continuous integration and continuous deployment | |
dc.subject | GitLab | |
dc.subject | Docker | |
dc.title | Microservice integration testing with hardware-in-the-loop in CI/CD pipelines | |
dc.type.degree | Examensarbete för masterexamen | sv |
dc.type.degree | Master's Thesis | en |
dc.type.uppsok | H | |
local.programme | Complex adaptive systems (MPCAS), MSc |