Conformance testing of ARINC 653 compliance for a safety critical RTOS using UPPAAL model checker

Modern avionics systems have several safety critical control software that need to be accurate and provide deterministic response in real-time. Accuracy of such responses is determined by the real-time operating system (RTOS) on which the software applications run. Standards provide guidelines to ensure correctness with high assurance. The conformance of a RTOS to a standard can be achieved by executing a set of test cases against the properties listed in the standard. Conventional testing methodologies are inadequate for conformance testing due to cost and time constraints and lack of guarantees of correctness. We propose a formal methods based technique for conformance testing of a safety critical RTOS to the ARINC 653 standard. We model a space and time partitioned RTOS as a network of timed automata using UPPAAL model checker and verify conformance to functional and timing requirements. Our approach is illustrated in the context of HAL-OS, a proprietary RTOS used in avionics systems.

[1]  Domenico Pascarella,et al.  Formal Methods in Avionic Software Certification: The DO-178C Perspective , 2012, ISoLA.

[2]  Kim G. Larsen,et al.  Testing real-time embedded software using UPPAAL-TRON: an industrial case study , 2005, EMSOFT.

[3]  K. Larsen,et al.  Online Testing of Real-time Systems Using Uppaal , 2004, FATES.

[4]  Joël Ouaknine,et al.  Model-Checking for Real-Time Systems , 1995, FCT.

[5]  Armin Biere,et al.  High‐level data races , 2003, Softw. Test. Verification Reliab..

[6]  Meenakshi D'Souza,et al.  Formal Verification of Datarace in Safety Critical ARINC653 compliant RTOS , 2018, 2018 International Conference on Advances in Computing, Communications and Informatics (ICACCI).

[7]  Kim Guldstrand Larsen,et al.  Formal Methods for the Design of Real-Time Systems , 2004, Lecture Notes in Computer Science.

[8]  Stavros Tripakis,et al.  Kronos: A Model-Checking Tool for Real-Time Systems , 1998, CAV.

[9]  Deepak D'Souza,et al.  Static Analysis for Detecting High-Level Races in RTOS Kernels , 2019, FM.

[10]  S. Santos,et al.  An integrated modular avionics development environment , 2009, 2009 IEEE/AIAA 28th Digital Avionics Systems Conference.

[11]  Kim G. Larsen,et al.  T-UPPAAL: online model-based testing of real-time systems , 2004, Proceedings. 19th International Conference on Automated Software Engineering, 2004..

[12]  Rajeev Alur,et al.  A Theory of Timed Automata , 1994, Theor. Comput. Sci..

[13]  Toshiaki Aoki,et al.  Conformance Testing for OSEK/VDX Operating System Using Model Checking , 2011, 2011 18th Asia-Pacific Software Engineering Conference.

[14]  Olivier H. Roux,et al.  Formal model-based conformance verification of an OSEK/VDX compliant RTOS , 2018, 2018 5th International Conference on Control, Decision and Information Technologies (CoDIT).

[15]  Virginie Wiels,et al.  Formal Verification of Avionics Software Products , 2009, FM.

[16]  Patricia Bouyer,et al.  An Introduction to Timed Automata , 2005 .

[17]  Takashi Kitamura,et al.  Formal Model-Based Test for AUTOSAR Multicore RTOS , 2012, 2012 IEEE Fifth International Conference on Software Testing, Verification and Validation.

[18]  Patricia Bouyer,et al.  Model-checking Timed Temporal Logics , 2009, M4M.

[19]  Kim G. Larsen,et al.  A Tutorial on Uppaal , 2004, SFM.

[20]  K. C. Wang,et al.  Embedded and Real-Time Operating Systems , 2017 .

[21]  Kim G. Larsen,et al.  Formal Analysis and Testing of Real-Time Automotive Systems Using UPPAAL Tools , 2015, FMICS.