Formal Analysis of Log Files

被引:38
作者
Barringer, Howard [1 ]
Groce, Alex [2 ]
Havelund, Klaus [3 ]
Smith, Margaret
机构
[1] Univ Manchester, Sch Comp Sci, Manchester, Lancs, England
[2] Oregon State Univ, Sch Elect Engn & Comp Sci, Corvallis, OR 97331 USA
[3] CALTECH, Jet Prop Lab, Lab Reliable Software, Pasadena, CA USA
来源
JOURNAL OF AEROSPACE COMPUTING INFORMATION AND COMMUNICATION | 2010年 / 7卷 / 11期
基金
美国国家航空航天局;
关键词
RUNTIME VERIFICATION; RULE SYSTEMS; CHECKING; LANGUAGE; EAGLE;
D O I
10.2514/1.49356
中图分类号
V [航空、航天];
学科分类号
08 ; 0825 ;
摘要
Runtime verification as a field faces several challenges. One key challenge is howto keep the overheads associated with its application low. This is especially important in real-time critical embedded applications, where memory and CPU resources are limited. Another challenge is that of devising expressive and yet user-friendly specification languages that can attract software engineers. In this paper, it is shown that for many systems, in-place logging provides a satisfactory basis for postmortem "runtime" verification of logs, where the overhead is already included in system design. Although this approach prevents an online reaction to detected errors, possible with traditional runtime verification, it provides a powerful tool for test automation and debugging-in this case, analysis of spacecraft telemetry by ground operations teams at NASA's Jet Propulsion Laboratory. The second challenge is addressed in the presented work through a temporal specification language, designed in collaboration with Jet Propulsion Laboratory test engineers. The specification language allows for descriptions of relationships between data-rich events (records) common in logs, and is translated into a form of automata supporting data-parameterized states. The automaton language is inspired by the rule-based language of the RULER runtime verification system. A case study is presented illustrating the use of our LOGSCOPE tool by software test engineers for the 2011 Mars Science Laboratory mission.
引用
收藏
页码:365 / 390
页数:26
相关论文
共 38 条
[1]  
Alavi H, SPECIFICATION PATTER
[2]   Adding trace matching with free variables to AspectJ [J].
Allan, C ;
Avgustinov, P ;
Christensen, AS ;
Hendren, L ;
Kuzins, S ;
Lhoták, O ;
de Moor, O ;
Sereni, D ;
Sittampalam, G ;
Tibble, J .
ACM SIGPLAN NOTICES, 2005, 40 (10) :345-364
[3]   General test result checking with log file analysis [J].
Andrews, JH ;
Zhang, YJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2003, 29 (07) :634-648
[4]   LEARNING REGULAR SETS FROM QUERIES AND COUNTEREXAMPLES [J].
ANGLUIN, D .
INFORMATION AND COMPUTATION, 1987, 75 (02) :87-106
[5]  
[Anonymous], 1984, PROC 16 ACM S THEORY, DOI DOI 10.1145/800057.808665
[6]  
[Anonymous], THESIS RWTH AACHEN U
[7]  
Barringer H, 2004, LECT NOTES COMPUT SC, V2937, P44
[8]  
BARRINGER H, 2008, RULER TUTORIAL GUIDE
[9]  
Barringer H, 2007, LECT NOTES COMPUT SC, V4839, P111
[10]   Rule Systems for Run-time Monitoring: from EAGLE to RULER [J].
Barringer, Howard ;
Rydeheard, David ;
Havelund, Klaus .
JOURNAL OF LOGIC AND COMPUTATION, 2010, 20 (03) :675-706