• No results found

Automated Reliability Testing via hardware interfaces

N/A
N/A
Protected

Academic year: 2021

Share "Automated Reliability Testing via hardware interfaces"

Copied!
27
0
0

Loading.... (view fulltext now)

Full text

(1)

Automated Reliability

Testing via hardware

interfaces

EuroSTAR 2011

Bryan Bakker

(2)

Contents

 Sioux

 Intro – The need for action

 Increment 1 – First success

 Buy-In from management

 Increment 2 – A language for the testers

 Increment 3 – Logfile interpretation

 ROI and Crow-AMSAA

(3)

About Bryan Bakker

 Test Expert

 Certifications: ISTQB, TMap, Prince2

 Member of ISTQB Expert Level on Test Automation

 Accredited tutor of ISTQB Foundation

 Domains: medical systems, professional security

systems, semi-industry, electron microscopy

 Specialties: test automation, integration testing, design

(4)

About Sioux

HERENTALS MOSCOW NEDERWEERT EINDHOVEN UTRECHT

(5)

Intro – The need for action

Medical Surgery Device:

 X-ray exposure + acquisition during surgery activities

 Real-time image chain

 Mobile device (frequently off/on)

 Quality and testing considered

important in organization Reliability was an issue:

 “Frequent” startup failures

 Aborted acquisitions

(6)

The need for action

 Reliability issues are nasty to analyse, solve and test

 Fixing defects in field (remember Boehm)

 Impact on other projects (development + test resources)

 High service costs

 Troublesome system test (up to 15 cycles!!)

Requirements Design Implementation Test Operation

(7)

The need for action

 Start with automated reliability tests (simple, short)

 Quick and dirty at first

 No SW resources available

 To help with automation

 Implementing test interfaces

 Goal: show (quick) that reliability issues can be

reproduced

 Expectation: … then attention and funding would

(8)

 Hardware interfaces used to invoke actions on SUT

 Buttons on different keyboards

 Handswitches

 Footswitches

 Different power-switches

 LabVIEW generates hardware signals

 Test cases defined in LabVIEW

 Only logfiles stored, no other verification performed

 No software changes needed for this approach

(9)
(10)

Increment 1 – First success

 Simple, but quick first results

 Multiple reliability issues found

 Work to do for the developers

System Under Test Hardware Abstraction Layer

(LabVIEW) Input (Hardware) Test cases (LabVIEW) Control Output Log file Test Framework 1st Increment

(11)

 Several defects found were already known:

 Customer issues

 Not reproducible -> no solution

 Now: developers could work on them

 And fix could be tested as well

 Several presentations given explaining the approach

 And… get clear what we are looking for!

 Primary functions should work reliable

(12)

Definition of Reliability Hit

PF = Primary Function

(13)

 LabVIEW is not that easy

 Provide general scripting language (Ruby)

 Ruby interfacing with LabVIEW via abstraction layer

 Development of test libraries was started

 Still only control, no verification

 Log file analysis after test (tools were used)

Increment 2

A language for the testers

(14)

Increment 2

A language for the testers

System Under Test Hardware Abstraction Layer

(LabVIEW)

Input (Hardware)

Test cases + libraries (Ruby) Control Output Log file Test Framework 2nd Increment

(15)

 Logfile scanned during test case execution

 Determine pass/fail criteria

 Detect system states and act upon:

 Hot generator  extensive acquisition not possible

 Execute other test cases (e.g. power-cycle), until

 Generator has cooled down

 Log file analysis after test was still performed

 Still no software changes in the SUT, but existing

interfaces were available now

Increment 3

Logfile interpretation

(16)

Increment 3

Logfile interpretation

System Under Test Hardware Abstraction Layer

(LabVIEW)

Input (hardware & software)

Test Execution Environment incl. test cases and library

(Ruby) Control Rep o sito ry (T e st ca se s + Re s u lts ) Test Framework 3rd Increment Output Result Test Scheduler (Ruby)

(17)

 Best practise:

 Test actions by external interfaces

 Test verification by log file and internal state

information

 System statistics extracted from logfile:

 Number of startups (succeeded and failed)

 Number of acquisitions (succeeded and failed)

Increment 3

Logfile interpretation

(18)

 Reliability hits could be identified from logfile (semi-automatic)

 Pareto charts

 Performance measurements

(timing info in logfile)

 Crow-AMSAA

(19)

Crow-AMSAA Failure Plot

Example

Cum. Number of startups Cum. Number of failed startups Individual testruns LogLog scale

(20)

Crow-AMSAA Failure Plot

Example

100 extra startups

10 failures

(21)

Crow-AMSAA MTBF Plot

Example

Monitor trend Make predictions Mean Time Between Failures

(22)

 >100 reliability hits identified

 Which ones would have slipped through other tests?

 Which ones would the customer complain about?

 “Independent” analysis of hits:

 8 would have been in system test, but not earlier

 7 would not have been found, but customer would

complain (and fix would be necessary)

(23)

 ROI:

(8 x X1) + (7 x X2) – costs > 0

 Costs (man-hours + material) = 200K Euro

 X1: costs of defect found in system test: 10K Euro

 X2: costs of field defect: 200K Euro

 80K + 1.4M – 200K  1.2M Euro saved

 More money and time became available…

Implementing/executing more tests

More projects/products

(24)

Results

Numerous reliability hits identified + solved

MTBF measured and predicted

Startup MTBF increased by factor 7.6

Acquisition MTBF incr. by factor 18

More testing hours on systems

Customer satisfaction

More projects wanted this approach

(25)

Key success factors

Choose right project at the right time

Incremental development (early visible

benefit)

Communication / ROI

Clear and simple reporting (Crow-AMSAA)

Hardware interfaces

Low probe effect (not a single false alarm)

(26)

Questions

This case study is described in detail:

Dorothy Graham & Mark Fewster

Experiences of Test Automation

Case studies of software test automation

ISBN 0321754069

(27)

www.sioux.eu

[email protected]

References

Related documents

We assess the sustainability of external imbalances for EU countries using panel stationarity tests of Current Account (CA) balance-to-GDP ratios and panel cointegration of exports

R180_Wei-0 in the ndr1 mutant background. RPP39 transgenic plants displayed no difference in their ability to trigger ATR39-1- dependent HR as compared to transgenics in Col-0 wild

Objective: The primary aim of this study was to determine the impact of obesity in predicting short and long-term pain relief and functional recovery in total joint arthroplasty

algorithmically providing orientation landmarks within information structures (Fairchild, Poltrock, & Furnas, 1988; Godin, Gecsei, & Pichet, 1989) that has been

Thus, in many programs, students must wait until their senior year and capstone course before encountering “engineering in the real world.” Design skills, of course, are emphasized

Similarly, Pearce & Tuten (2001) pointed out that although the employers see the advantages of e-recruitment, they continued to use traditional methods such as newspaper

Arizona Department of Occupational Safety and Health (ADOSH) http://www.ica.state.az.us/ADOSH/oshatop.htm%20. Arizona Healthcare Cost Containment System (AHCCCS)

These companies deal in RFID, information gathering, software programming, digital marketing, customer services, third-party contracting, search engine optimization