Conformance Testing of Schedulers for DSL-based Model Checking

被引:1
作者
Tran, Nhat-Hoa [1 ]
Aoki, Toshiaki [2 ]
机构
[1] Natl Univ Civil Engn, Hanoi 11657, Vietnam
[2] Japan Adv Inst Sci & Technol, Nomi, Ishikawa 9231211, Japan
来源
MODEL CHECKING SOFTWARE, SPIN 2019 | 2019年 / 11636卷
关键词
Conformance testing; Domain-specific language; Model checking; Test generation; Scheduling policy; Model-based testing;
D O I
10.1007/978-3-030-30923-7_12
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
When we verify concurrent systems executed under a real operating system (OS), we should take the scheduling policy of the OS into account. However, with a specific implementation of an OS, the description of the scheduling policy does not exist or not clear to describe the behaviors of the real scheduler. In this case, we need to make assumptions in the specification by ourselves. Therefore, checking the correctness of the specification of the scheduling policy is important because it affects the verification result. In this paper, we propose a method to validate the correspondence between the specification of the scheduling policy and the implementation of the scheduler using testing techniques. The overall approach can be regarded as conformance testing. As a result, we can find the inconsistency between the implementation and the specification. That indicates the incorrectness of the specification. To deal with testing, we propose a domain-specific language (DSL) to specify the test generation with the scheduling policy. A search algorithm is introduced to determine the executions of the processes. The tests are generated automatically and exhaustively by applying model-based testing (MBT) techniques. Based on this method, we develop a tool for generating the tests. We demonstrate our method with Linux FIFO scheduling policy. The experiments show that we can facilitate the test generation and check the specification of the scheduling policy easily.
引用
收藏
页码:208 / 225
页数:18
相关论文
共 20 条
  • [1] Using model checking to generate tests from specifications
    Ammann, PE
    Black, PE
    Majurski, W
    [J]. SECOND INTERNATIONAL CONFERENCE ON FORMAL ENGINEERING METHODS, PROCEEDINGS, 1998, : 46 - 54
  • [2] Artho Cyrille Valentin, 2013, Hardware and Software: Verification and Testing. 9th International Haifa Verification Conference, HVC 2013. Proceedings: LNCS 8244, P112, DOI 10.1007/978-3-319-03077-7_8
  • [3] Bettini L., 2013, Implementing Domain-Specific Languages with Xtext and Xtend
  • [4] Conformance Testing for OSEK/VDX Operating System Using Model Checking
    Chen, Jiang
    Aoki, Toshiaki
    [J]. 2011 18TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2011), 2011, : 274 - 281
  • [5] Clarke D, 2002, LECT NOTES COMPUT SC, V2280, P470
  • [6] de Jonge M, 2010, LECT NOTES COMPUT SC, V6349, P124
  • [7] CONSTRAINT-BASED AUTOMATIC TEST DATA GENERATION
    DEMILLO, RA
    OFFUTT, AJ
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1991, 17 (09) : 900 - 910
  • [8] Fowler M., 2010, Domain Specific Languages
  • [9] Gerth R., 1997, CONCISE PROMELA REFE
  • [10] Hamon G., 2005, CSL TECHNICAL NOTE, P15