Microservice integration testing with hardware-in-the-loop in CI/CD pipelines

dc.contributor.authorJohansson, Axel
dc.contributor.authorPaulsson, Simon
dc.contributor.departmentChalmers tekniska högskola / Institutionen för mekanik och maritima vetenskapersv
dc.contributor.departmentChalmers University of Technology / Department of Mechanics and Maritime Sciencesen
dc.contributor.examinerBenderius, Ola
dc.contributor.supervisorBenderius, Ola
dc.date.accessioned2024-09-18T14:23:09Z
dc.date.available2024-09-18T14:23:09Z
dc.date.issued2024
dc.date.submitted
dc.description.abstractMechanical 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.coursecodeMMSX60
dc.identifier.urihttp://hdl.handle.net/20.500.12380/308696
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectMicroservices
dc.subjectsimulation-in-the-loop
dc.subjectdata-in-the-loop
dc.subjecthardware-in-the-loop
dc.subjectend-to-end testing
dc.subjectcontinuous integration and continuous deployment
dc.subjectGitLab
dc.subjectDocker
dc.titleMicroservice integration testing with hardware-in-the-loop in CI/CD pipelines
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeComplex adaptive systems (MPCAS), MSc
Ladda ner
Original bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
2024 Axel Johansson & Simon Paulsson.pdf
Storlek:
1.86 MB
Format:
Adobe Portable Document Format
Beskrivning:
License bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: