Systematic Testing of Asynchronous Reactive Systems MSR-TR-2015-25
نویسندگان
چکیده
We introduce the concept of a delaying explorer with the goal of performing prioritized exploration of the behaviors of an asynchronous reactive program. A delaying explorer stratifies the search space using a custom strategy, and a delay operation that allows deviation from that strategy. We show that prioritized search with a delaying explorer performs significantly better than existing prioritization techniques. We also demonstrate empirically the need for writing different delaying explorers for scalable systematic testing and hence, present a flexible delaying explorer interface. We introduce two new techniques to improve the scalability of search based on delaying explorers. First, we present an algorithm for stratified exhaustive search and use efficient state caching to avoid redundant exploration of schedules. We provide soundness and termination guarantees for our algorithm. Second, for the cases where the state of the system cannot be captured or there are resource constraints, we present an algorithm to randomly sample any execution from the stratified search space. This algorithm guarantees that any such execution that requires d delay operations is sampled with probability at least 1/L, where L is the maximum number of program steps. We have implemented our algorithms and evaluated them on a collection of realworld fault-tolerant distributed protocols.
منابع مشابه
Iterative Cycle Detection via Delaying Explorers MSR-TR-2015-28
Liveness specifications on finite-state concurrent programs are checked using algorithms to detect reachable cycles in the state-transition graph of the program. We present new algorithms for cycle detection based on the idea of prioritized search via a delaying explorer. We present thorough evaluation of our algorithms on a variety of reactive asynchronous programs, including device drivers, d...
متن کاملAsynchronous Communication Circuits: Design, Test and Synthesis
This thesis presents the design and testing of asynchronous communication mechanism (ACM) circuits, and the development of an asynchronous circuit synthesis method which not only supports the ACM work but also has much wider application potential. ACMs are a unique approach to data transmission between subsystems not synchronized with one another. The successful systematic implementation of ACM...
متن کاملImplementation Relations for Testing Through Asynchronous Channels
This paper concerns testing from an input output transition system (IOTS) model of a system under test that interacts with its environment through asynchronous first in first out (FIFO) channels. It explores methods for analysing an IOTS without modelling the channels. If IOTS M produces sequence σ then, since communications are asynchronous, output can be delayed and so a different sequence mi...
متن کاملReactive oxygen species regulate macrophage scavenger receptor type I, but not type II, in the human monocytic cell line THP-1.
The uptake of modified low density lipoprotein via the macrophage scavenger receptor (MSR) results in the formation of lipid-laden foam cells during atherosclerosis. Because increased oxidative stress has been implicated in the pathogenesis of atherosclerosis, the role of reactive oxygen species on the activity and expression of MSR was investigated. The uptake of acetylated low density lipopro...
متن کاملSelective Tone Reservation Method for PAPR Reduction of Spatially Multiplexed OFDM Systems
Tone Reservation (TR) is one of the well-known methods for PAPR reduction of Orthogonal Frequency Division Multiplexing (OFDM) systems. In this method some sub-carriers are reserved for PAPR reduction and the symbols in these sub-carriers are selected such that the PAPR of the OFDM frame is minimized. In this paper, the iterative algorithm introduced earlier for TR method in single antenna OFDM...
متن کامل