Generating Checking Sequences for a Distributed Test Architecture - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Generating Checking Sequences for a Distributed Test Architecture

Description:

t2 = a/ 0,- and t3 = b/ -,1 Global input/output sequence becomes: ... Construct & concatenate state and transition covers. Controllability & Observability ... – PowerPoint PPT presentation

Number of Views:29
Avg rating:3.0/5.0
Slides: 23
Provided by: cw148
Category:

less

Transcript and Presenter's Notes

Title: Generating Checking Sequences for a Distributed Test Architecture


1
Generating Checking Sequences for a Distributed
Test Architecture
  • Hasan Ural
  • Craig Williams
  • School of Information Technology
  • Engineering
  • University of Ottawa, Canada

2
Outline
  • FSM based Testing
  • Distributed Test Architectures
  • Coordination Problems in Distributed Testing
  • Controllability Problem
  • Observability Problem
  • Proposed Solution
  • Summary Directions for Future Research

3
FSM based Testing
  • Finite State Machine Model
  • Objective of Testing
  • Fault Models
  • State Identification

DS ab
4
Local Test Architecture
5
Distributed Test Architecture
6
Controllability Problem
  • Problem Determine when to send input

?U a, ?L b ?U 0, ?L 1
7
Controllability Solution
  • External coordination message
  • exchanges relating to controllability
  • Consider
  • t2 a/lt0,-gt and t3 b/lt-,1gt
  • Global input/output sequence becomes
  • a/lt0,-gt lt-CL, CUgt b/lt-,1gt CR 99

8
Observability Problem
  • Problem Determine whether the observed output
    is generated by the correct transition

?U a, ?L b ?U 0, ?L 1,2
9
Observability Solution
  • External coordination message
  • exchanges relating to observability
  • Consider
  • t1 a/lt0,1gt and t3 b/lt-,2gt
  • Faulty a/lt-,1gt and b/lt0,2gt
  • Global input/output sequence becomes
  • a/lt0,1gt lt-OU, OLgt b/lt-,2gt CR 99

10
Problem
  • Given an FSM M, construct a checking sequence
    which
  • distinguishes M from any faulty implementation of
    M
  • causes no controllability and observability
    problems
  • is efficient in terms of both the number external
    coordination message exchanges required and
    overall length of the checking sequence

11
Solution
  • Assumes reliable reset and existence of DS
  • 4 Phases
  • Identify potential controllability
    observability problems
  • Generate test segments
  • Generate a preamble from s1 to si for each state
    si
  • Construct concatenate state and transition
    covers

12
Controllability Observability
  • Identify potential problems
  • for every vertex vj
  • for every edge entering vertex vj
  • for every edge leaving vertex vj
  • Sets TC, TO
  • TC (t3, t10, lt-CU, CLgt),
  • TO (t2, t4, lt-OL, OUgt),

13
Test Segments
  • Verify each transition tij by a test segment
  • test(tij) tij _at_ DS(sj)
  • Insert external coordination message exchanges
    relating to controllability and observability in
    each test segment
  • Remove triples from TO
  • Message exchange for only one occurrence of each
    potential undetectable 1-shift output fault is
    sufficient

14
Preambles
  • Path from s1 to si for each state si
  • Preamble(si) is used
  • Once for the identification of si
  • Once for the test segment for each transition
    originating at si
  • Goals are to minimize
  • Observability controllability problems within
    preamble
  • Observability controllability problems between
    last transition of preamble and transitions
    starting at si
  • Length of preamble

15
Preamble costs (1)
?U b, ?L a, c ?U 0, 1, ?L 2, 3
16
Preamble costs (2)
17
Preamble costs (3)
18
Subsequences in state and transition covers
  • State cover
  • for each state si
  • preamble(si) _at_ DS(si)
  • Transition cover
  • for each transition tij
  • preamble(si) _at_ test(tij)
  • where test(tij) tij _at_ DS(sj)

19
Ordering of subsequences
  • Prefix
  • elimination
  • rfU and rfL
  • Ordering

20
Summary
  • Method for generating checking sequences
  • for distributed testing
  • Resulting checking sequences have no
    controllability and observability problems
  • Performs at least as well as other methods
  • For a given FSM DS, a checking sequence that
    does not require ext. coordination message
    exchanges is selected if a nonempty set of such
    sequences exists

21
Additional work
  • Solution extended for np-FSMs, n gt 2
  • Solution extended to the case
  • which does not require reliable reset

22
Directions for Future Research
  • State identification using UIOs, characterizing
    sets, prefixes of distinguishing sequences
  • Algorithmic removal of redundant external
    coordination message exchanges relating to
    observability
  • k-shift output faults, k ? 2
Write a Comment
User Comments (0)
About PowerShow.com