TY - JOUR
T1 - Software generated device exception for more intensive device-related software testing
T2 - An industrial field study
AU - Seo, Jooyoung
AU - Choi, Byoungju
AU - Lee, Sihyun
N1 - Funding Information:
This research was supported by the Hyundai Motor Company from 2008 to 2011.
PY - 2013/12
Y1 - 2013/12
N2 - It is more important to properly handle exceptions, than to prevent exceptions from occurring, because they arise from so many different causes. In embedded systems, a vast number of exceptions are caused by hardware devices. In such cases, numerous software components are involved in these hardware device-originated exceptions, ranging from the device itself to the device driver, the kernel, and applications. Therefore, it takes a lot of time to debug software that fails to handle exceptions. This paper proposes a lightweight device exception testing method, and a related automation tool, AMOS v3.0. The proposed method artificially triggers more realistic device exceptions in runtime, and monitors how software components handle exceptions in detail. AMOS v3.0 has been applied to the exception testing of car-infotainment systems in an automobile company. The results based on this industrial field study have revealed that 39.13% of the failures in exception handling were caused by applications, 36.23% of the failures were caused by device drivers, and 24.64% were derived from the kernel. We conclude that the proposed method is highly effective, in that it can allow developers to identify the root cause of failure for exception handling.
AB - It is more important to properly handle exceptions, than to prevent exceptions from occurring, because they arise from so many different causes. In embedded systems, a vast number of exceptions are caused by hardware devices. In such cases, numerous software components are involved in these hardware device-originated exceptions, ranging from the device itself to the device driver, the kernel, and applications. Therefore, it takes a lot of time to debug software that fails to handle exceptions. This paper proposes a lightweight device exception testing method, and a related automation tool, AMOS v3.0. The proposed method artificially triggers more realistic device exceptions in runtime, and monitors how software components handle exceptions in detail. AMOS v3.0 has been applied to the exception testing of car-infotainment systems in an automobile company. The results based on this industrial field study have revealed that 39.13% of the failures in exception handling were caused by applications, 36.23% of the failures were caused by device drivers, and 24.64% were derived from the kernel. We conclude that the proposed method is highly effective, in that it can allow developers to identify the root cause of failure for exception handling.
KW - Device exception
KW - Device manager hacking
KW - Embedded software
KW - Exception test
KW - Fault-injection method
UR - http://www.scopus.com/inward/record.url?scp=84887015859&partnerID=8YFLogxK
U2 - 10.1016/j.jss.2013.07.058
DO - 10.1016/j.jss.2013.07.058
M3 - Article
AN - SCOPUS:84887015859
VL - 86
SP - 3193
EP - 3212
JO - Journal of Systems and Software
JF - Journal of Systems and Software
SN - 0164-1212
IS - 12
ER -