Fault localization plays an important role in the design, verification and debugging of cyber-physical systems (CPS). Finding the exact location of a fault that triggered a failure in a CPS model is however a challenging task, due to the complex structure and data-flow nature of CPS models. In this paper, we propose a method that uses formal specifications and search-based testing to accurately localize faults. Given a CPS Simulink model, a formalized requirement used as a test oracle, and a test case that fails the formalized property, we develop a procedure that uses search-based testing to generate another test case that succeeds on the same formalized property. We then compare our two similar test cases with opposite verdicts to find the accurate location of the fault. We implement our approach and evaluate it on three case studies from automotive and avionic domains. We empirically compare our approach to a state-of-the-art fault localization technique and demonstrate that our procedure (1) is able to considerably narrow down the number of suspicious model variables and blocks compared to the previous work, and (2) remains robust to an increasing number of active faults in the underlying models.

Bartocci, E., Mariani, L., Nickovic, D., Yadav, D. (2022). Search-based Testing for Accurate Fault Localization in CPS. In Proceedings - International Symposium on Software Reliability Engineering, ISSRE (pp.145-156). Institute of Electrical and Electronics Engineers [10.1109/ISSRE55969.2022.00024].

Search-based Testing for Accurate Fault Localization in CPS

Mariani L.;
2022

Abstract

Fault localization plays an important role in the design, verification and debugging of cyber-physical systems (CPS). Finding the exact location of a fault that triggered a failure in a CPS model is however a challenging task, due to the complex structure and data-flow nature of CPS models. In this paper, we propose a method that uses formal specifications and search-based testing to accurately localize faults. Given a CPS Simulink model, a formalized requirement used as a test oracle, and a test case that fails the formalized property, we develop a procedure that uses search-based testing to generate another test case that succeeds on the same formalized property. We then compare our two similar test cases with opposite verdicts to find the accurate location of the fault. We implement our approach and evaluate it on three case studies from automotive and avionic domains. We empirically compare our approach to a state-of-the-art fault localization technique and demonstrate that our procedure (1) is able to considerably narrow down the number of suspicious model variables and blocks compared to the previous work, and (2) remains robust to an increasing number of active faults in the underlying models.
paper
Cyber-Physical Systems; Debugging; Equivalence Testing; Fault Localization; Model-based Development; Signal Temporal Logic (STL); Simulink models;
English
33rd IEEE International Symposium on Software Reliability Engineering, ISSRE 2022 - 31 October 2022 - 03 November 2022
2022
Proceedings - International Symposium on Software Reliability Engineering, ISSRE
9781665451321
2022
2022-October
145
156
none
Bartocci, E., Mariani, L., Nickovic, D., Yadav, D. (2022). Search-based Testing for Accurate Fault Localization in CPS. In Proceedings - International Symposium on Software Reliability Engineering, ISSRE (pp.145-156). Institute of Electrical and Electronics Engineers [10.1109/ISSRE55969.2022.00024].
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/420460
Citazioni
  • Scopus 4
  • ???jsp.display-item.citation.isi??? 2
Social impact