What Causes My Test Alarm? Automatic Cause Analysis for Test Alarms in System and Integration Testing
Authors:
- He JiangHJHe Jiang
- Xiaochen LiXLXiaochen Li
- Zijiang YangZYZijiang Yang
- Jifeng XuanJifeng Xuan
- 1 May 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 712-723
Abstract
Driven by new software development processes and testing in clouds, system and integration testing nowadays tends to produce enormous number of alarms. Such test alarms lay an almost unbearable burden on software testing engineers who have to manually analyze the causes of these alarms. The causes are critical because they decide which stakeholders are responsible to fix the bugs detected during the testing. In this paper, we present a novel approach that aims to relieve the burden by automating the procedure. Our approach, called Cause Analysis Model, exploits information retrieval techniques to efficiently infer test alarm causes based on test logs. We have developed a prototype and evaluated our tool on two industrial datasets with more than 14,000 test alarms. Experiments on the two datasets show that our tool achieves an accuracy of 58.3% and 65.8%, respectively, which outperforms the baseline algorithms by up to 13.3%. Our algorithm is also extremely efficient, spending about 0.1s per cause analysis. Due to the attractive experimental results, our industrial partner, a leading information and communication technology company in the world, has deployed the tool and it achieves an average accuracy of 72% after two months of running, nearly three times more accurate than a previous strategy based on regular expressions.Keywords
All Related Versions
This publication has 39 references indexed in Scilit:
- Revisit of automatic debugging via human focus-tracking analysis2016
- An empirical study of bugs in test code2015
- Modelling the ‘hurried’ bug report reading process to summarize bug reportsEmpirical Software Engineering, 2014
- Is This a Bug or an Obsolete Test?2013
- A whitebox approach for automated security testing of Android applications on the cloud2012
- DevOps for Developers2012
- An introduction to ROC analysisPattern Recognition Letters, 2006
- Continuous Integration and Quality Assurance: a case study of two open source projectsAustralasian Journal of Information Systems, 2003
- UML-Based integration testing2000
- An algorithm for suffix strippingProgram: electronic library and information systems, 1980