Multiplexing of partially ordered events

  • Authors:
  • Colin Campbell;Margus Veanes;Jiale Huo;Alexandre Petrenko

  • Affiliations:
  • Microsoft Research, Redmond, WA;Microsoft Research, Redmond, WA;McGill University, Montreal, Quebec, Canada;Centre de Recherche Informatique de Montreal, Quebec, Canada

  • Venue:
  • TestCom'05 Proceedings of the 17th IFIP TC6/WG 6.1 international conference on Testing of Communicating Systems
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper introduces a method to correctly order events in model-based testing for concurrent systems, in particular multi-threaded programs, whose events are only partially ordered. For a sequential, centralized tester, we need to merge (local) traces of each component into a (global) trace of a system in such a way that the ordering constraints are observed. To this end, we instrument a multi-threaded program under test so that the order of lock events is visible. This additional information helps a so-called multiplexer to reconstruct a fully serial trace consistent with the partial order. We describe programs and the multiplexer as labeled transition systems and give pseudo-code of the algorithm implementing the latter. The implementation of the algorithm presented is used in an industrial context.