Title :
Verifying Distributed Protocols using MSC-Assertions, Run-time Monitoring, and Automatic Test Generation
Author :
Drusinsky, Doron ; Shing, Man-Tak
Author_Institution :
Naval Postgraduate Sch., Monterey
Abstract :
This paper addresses the need for formal specification and runtime verification of system-level requirements of distributed reactive systems. It describes a formalism for specifying global system behaviors in terms of message sequence chart assertions and a technique for the evaluation of the likelihood of success of a distributed protocol under non-trivial communication conditions via discrete event simulation and runtime execution monitoring. We constructed a proof-of-concept prototype for the leader-election algorithm within a 4-node ring network. The prototype consists of the following components: (i) an OMNeT++ model of the network using non-trivial communication conditions, (ii) C+ + code for the network agents, (Hi) a system-level assertion stipulating the formal requirement for a correct, time- bound, leader election, (iv) simulation of the formal assertion, (v) automatic scenario generation, and (vi) run-time monitoring of the formal assertion and stochastic-based estimation of the likelihood of success of this assertion under the specified communication conditions.
Keywords :
discrete event simulation; formal specification; message passing; program verification; stochastic processes; system monitoring; C++ code; OMNeT++ model; automatic scenario generation; automatic test generation; discrete event simulation; distributed protocol verification; distributed reactive systems; formal assertion; formal specification; leader-election algorithm; message sequence chart assertions; network agents; nontrivial communication condition; ring network; runtime execution monitoring; runtime verification; stochastic-based estimation; success likelihood estimation; system-level assertion; system-level requirements; Automatic testing; Computerized monitoring; Condition monitoring; Discrete event simulation; Formal specifications; Nominations and elections; Protocols; Prototypes; Runtime; Virtual prototyping;
Conference_Titel :
Rapid System Prototyping, 2007. RSP 2007. 18th IEEE/IFIP International Workshop on
Conference_Location :
Porto Alegre
Print_ISBN :
0-7695-2834-1
DOI :
10.1109/RSP.2007.39