Abstract
Runtime verification allows validation of systems during their operation by monitoring crucial system properties. It is common to generate monitors from temporal specifications formulated in languages like MTL or LTL. However, writing formal specifications might be an obstacle for practitioners. In this paper we present an approach and a tool for generating software monitors for reactive systems from a set of Generalized Test Tables (GTTs)—a table-based, user-friendly specification language specially designed for engineers. The tool is a valuable addition to the already existing static verifier for GTTs since assumptions made in specifications can thus be validated at runtime. Moreover, it makes software and specifications amenable for formal validation that cannot be verified statically. Moreover, the approach is particularly well-suited for the specification of workflows as a collection of tables since it supports dynamic, trigger-based spawning of monitors. The tool produces monitor code in C++ for tables provided in an existing table definition format. We show the usefulness of our approach using characteristic examples.
This work was funded by German Research Council (BE 2334/7-2, and UL 433/1-2), the state Baden-Wuerttemberg via CyberProtect project, and the KIT Alumni Visiting Grant.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Aghav, J., Tumma, A.: Esterel implementation and validation of cruise controller. In: Computer Science, Engineering and Applications (CCSEA), pp. 128–141 (2011). https://doi.org/10.5121/csit.2011.1214
Bartocci, E., Falcone, Y., Francalanza, A., Reger, G.: Introduction to runtime verification. In: Bartocci, E., Falcone, Y. (eds.) Lectures on Runtime Verification. LNCS, vol. 10457, pp. 1–33. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-75632-5_1
Bauer, A., Leucker, M., Schallhart, C.: Model-based runtime analysis of distributed reactive systems. In: Australian Software Engineering Conference (ASWEC), pp. 243–252 (2006). https://doi.org/10.1109/ASWEC.2006.36
Beckert, B., Cha, S., Ulbrich, M., Vogel-Heuser, B., Weigl, A.: Generalised test tables: a practical specification language for reactive systems. In: Polikarpova, N., Schneider, S. (eds.) IFM 2017. LNCS, vol. 10510, pp. 129–144. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-66845-1_9
Bloem, R., Könighofer, B., Könighofer, R., Wang, C.: Shield synthesis: In: Baier, C., Tinelli, C. (eds.) TACAS 2015. LNCS, vol. 9035, pp. 533–548. Springer, Heidelberg (2015). https://doi.org/10.1007/978-3-662-46681-0_51
Cassar, I., Francalanza, A., Aceto, L., Ingólfsdóttir, A.: A survey of runtime monitoring instrumentation techniques. In: Francalanza, A., Pace, G.J. (eds.) Proceedings Second International Workshop on Pre- and Post-Deployment Verification Techniques, PrePost@iFM 2017, Torino, Italy, 19 September 2017. EPTCS, vol. 254, pp. 15–28 (2017). https://doi.org/10.4204/EPTCS.254.2
Cha, S., Ulewicz, S., Vogel-Heuser, B., Weigl, A., Ulbrich, M., Beckert, B.: Generation of monitoring functions in production automation using test specifications. In: International Conference on Industrial Informatics (INDIN), pp. 339–344. IEEE (2017). https://doi.org/10.1109/INDIN.2017.8104795
Cha, S., Weigl, A., Ulbrich, M., Beckert, B., Vogel-Heuser, B.: Applicability of generalized test tables: a case study using the manufacturing system demonstrator xPPU. Automatisierungstechnik 66(10), 834–848 (2018). https://doi.org/10.1515/auto-2018-0028
D’Angelo, B., et al.: LOLA: runtime monitoring of synchronous systems. In: Temporal Representation and Reasoning (TIME), pp. 166–174. IEEE (2005). https://doi.org/10.1109/TIME.2005.26
Finkbeiner, B., Hahn, C., Stenger, M., Tentrup, L.: Monitoring hyper properties. Formal Methods Syst. Des. 54(3), 336–363 (2019). https://doi.org/10.1007/s10703-019-00334-z
Finkbeiner, B., Kuhtz, L.: Monitor circuits for LTL with bounded and unbounded future. In: Bensalem, S., Peled, D.A. (eds.) RV 2009. LNCS, vol. 5779, pp. 60–75. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-04694-0_5
Heitmeyer, C.L., Kirby, J., Labaw, B.G.: Tools for formal specification, verification, and validation of requirements. In: Conference on Computer Assurance (COMPASS), pp. 35–47 (2009). https://doi.org/10.1109/CMPASS.1997.613206
Ho, H.-M., Ouaknine, J., Worrell, J.: Online monitoring of metric temporal logic. In: Bonakdarpour, B., Smolka, S.A. (eds.) RV 2014. LNCS, vol. 8734, pp. 178–192. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11164-3_15
Perez, I., Dedden, F., Goodloe, A.: Copilot 3. Technical report NASA/TM-2020-220587, National Aeronautics and Space Administration (2020)
Predut, S., Ipate, F., Gheorghe, M., Campean, F.: Formal modelling of cruise control system using Event-B and Rodin platform. In: High Performance Computing and Communications (HPCC), pp. 1541–1546. IEEE (2018). https://doi.org/10.1109/HPCC/SmartCity/DSS.2018.00253
Raskin, J.F.: Logics, automata and classical theories for deciding real time. Ph.D. thesis, Facultés universitaires Notre-Dame de la Paix, Namur (1999)
Vogel-Heuser, B., Legat, C., Folmer, J., Feldmann, S.: Researching evolution in industrial plant automation: Scenarios and documentation of the pick and place unit. Technical report, Institute of Automation and Information Systems, Technische Universität München (2014)
Weigl, A., et al.: Generalized test tables: a powerful and intuitive specification language for reactive systems. In: Industrial Informatics, (INDIN), pp. 875–882. IEEE (2017). https://doi.org/10.1109/INDIN.2017.8104887
Yep, M., Bechet, S.: Esterel cruise controller (2018). https://github.com/ooksei/esterel-cruise-controller/. Accessed 16 Oct 2019
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Weigl, A., Ulbrich, M., Tyszberowicz, S., Klamroth, J. (2021). Runtime Verification of Generalized Test Tables. In: Dutle, A., Moscato, M.M., Titolo, L., Muñoz, C.A., Perez, I. (eds) NASA Formal Methods. NFM 2021. Lecture Notes in Computer Science(), vol 12673. Springer, Cham. https://doi.org/10.1007/978-3-030-76384-8_22
Download citation
DOI: https://doi.org/10.1007/978-3-030-76384-8_22
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-76383-1
Online ISBN: 978-3-030-76384-8
eBook Packages: Computer ScienceComputer Science (R0)