Stress testing of task deadlines: A constraint programming approach

Stefano Di Alesio, Shiva Nejati, Lionel Briand, Arnaud Gotlieb

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Safety-critical Real Time Embedded Systems (RT-ESs) are usually subject to strict timing and performance requirements that must be satisfied for the system to be deemed safe. In this paper, we use effective search strategies whose goal is finding worst case scenarios with respect to deadline misses. Such scenarios can in turn be used to test the target RTES and ensure that it satisfies its timing requirements even under worst case conditions. Specifically, we develop an approach based on Constraint Programming (CP) to automate the generation of test cases that reveal, or are likely to, task deadline misses. We evaluate it through a comparison with a state-of-the-art approach based on Genetic Algorithms (GA). In particular, we compare CP and GA in five case studies for efficiency, effectiveness, and scalability. Our experimental results show that, on the largest and more complex case studies, CP performs significantly better than GA. Furthermore, CP offers some advantages over GA, such as it guarantees a complete search when there is sufficient time, and, being deterministic, it doesn't rely on parameters that potentially have a significant effect on the search and therefore need to be tuned. Hence, we conclude that our results are encouraging and suggest this is an advantageous approach for stress testing of RTESs with respect to timing constraints.

Original languageEnglish
Title of host publication2013 IEEE 24th International Symposium on Software Reliability Engineering, ISSRE 2013
Pages158-167
Number of pages10
DOIs
Publication statusPublished - 2013
Externally publishedYes
Event2013 IEEE 24th International Symposium on Software Reliability Engineering, ISSRE 2013 - Pasadena, CA, United States
Duration: 4 Nov 20137 Nov 2013

Publication series

Name2013 IEEE 24th International Symposium on Software Reliability Engineering, ISSRE 2013

Conference

Conference2013 IEEE 24th International Symposium on Software Reliability Engineering, ISSRE 2013
Country/TerritoryUnited States
CityPasadena, CA
Period4/11/137/11/13

Keywords

  • Constraint Programming
  • Real-Time Systems
  • Stress Testing

Fingerprint

Dive into the research topics of 'Stress testing of task deadlines: A constraint programming approach'. Together they form a unique fingerprint.

Cite this