Assurance Cases and Test Design Analysis



Similar documents
SAFE SOFTWARE FOR SPACE APPLICATIONS: BUILDING ON THE DO-178 EXPERIENCE. Cheryl A. Dorsey Digital Flight / Solutions cadorsey@df-solutions.

find model parameters, to validate models, and to develop inputs for models. c 1994 Raj Jain 7.1

FSW QA Testing Levels Definitions

Software Verification/Validation Methods and Tools... or Practical Formal Methods

Advanced Software Test Design Techniques Use Cases

The Advantages of Enterprise Historians vs. Relational Databases

Testing Automated Manufacturing Processes

Common Testing Problems: Pitfalls to Prevent and Mitigate

Visual Analysis of Requirements Flowdown

Chapter 8 Software Testing

Model-Based Testing of Spacecraft Flight Software

Best Practices for Verification, Validation, and Test in Model- Based Design

Software Test Plan (STP) Template

Peach Fuzzer Platform

Software Engineering Introduction & Background. Complaints. General Problems. Department of Computer Science Kent State University

Safety Requirements Specification Guideline

Using SNMP to Obtain Port Counter Statistics During Live Migration of a Virtual Machine. Ronny L. Bull Project Writeup For: CS644 Clarkson University

a new generation software test automation framework - CIVIM

INSTALLATION MANUAL 3RP / 5RP 4-BUTTON SERIES VEHICLE SECURITY SYSTEMS

Software Testing. Quality & Testing. Software Testing

Auto Rental System Requirements Specification Statement: Assumptions:

SFTA, SFMECA AND STPA APPLIED TO BRAZILIAN SPACE SOFTWARE

Safety and Hazard Analysis

Human-Automation Interaction Design and Evaluation Tools. Michael Feary, PhD

Assignment Kits. Summary Kit Contents Lecture 1: Kit cover sheet (page 40)

EXHIBIT L. Application Development Processes

SoMA. Automated testing system of camera algorithms. Sofica Ltd

Autonomous Operations for Small, Low-Cost Missions: SME, EOR (STEDI), DATA, and Pluto Express OUTLINE. Visions for Future, Low-Cost Missions

An Increase in Software Testing Robustness: Enhancing the Software Development Standard for Space Systems

Latest Trends in Testing. Ajay K Chhokra

Parameters for Efficient Software Certification

The Dangers of Use Cases Employed as Test Cases

MANAGEMENT SOLUTION (P.A.M.S.)

AS9100 B to C Revision

Achieving Rolling Updates & Continuous Deployment with Zero Downtime

Software Testing & Analysis (F22ST3): Static Analysis Techniques 2. Andrew Ireland

Service Manual Trucks

Software Testing. Knowledge Base. Rajat Kumar Bal. Introduction

Test Specification. Introduction

Lecture 17: Testing Strategies" Developer Testing"

Logistics. Software Testing. Logistics. Logistics. Plan for this week. Before we begin. Project. Final exam. Questions?

The George Washington University

CC-Link Network Monitor Function

SilkTest Workbench. Getting Started with.net Scripts

asuresign Aero (NATEP Grant MA005)

Quick Setup Guide. For the. Casio/DataCap. Credit/Debit/Gift Card Interface

What is a life cycle model?

OVERVIEW OF THE PROJECT...

Agile for Medical Product Development with Microsoft TFS

Basic Unix/Linux 1. Software Testing Interview Prep

HP DevOps by Design. Your Readiness for Continuous Innovation Rony Van Hove/ April 2 nd, HP Software: Apps meet Ops 2015

Introduction to Programming System Design. CSCI 455x (4 Units)

CS 451 Software Engineering Winter 2009

Command Line Guide. Updated October 13, 2014 for use with 3DMark Professional Edition v

Dr. Brian Murray March 4, 2011

Enabling Continuous Delivery by Leveraging the Deployment Pipeline

Ball Aerospace s COSMOS Open Source Test System

Software Engineering. Software Testing. Based on Software Engineering, 7 th Edition by Ian Sommerville

SUCCESSFUL INTERFACE RISK MANAGEMENT FROM BLAME CULTURE TO JOINT ACTION

Securing Your Microsoft SQL Server Databases in an Enterprise Environment

Agile Model-Based Systems Engineering (ambse)

Copyrighted , Address :- EH1-Infotech, SCF 69, Top Floor, Phase 3B-2, Sector 60, Mohali (Chandigarh),

Iterative Software Development -

Software Engineering. Software Engineering. Software Costs

MOBILE APPLICATION TESTING ENGINEER

Testing Overview and Black-Box Testing Techniques

Datasheet iscsi Protocol

Secure Software Delivery and Installation in Embedded Systems

SysPatrol - Server Security Monitor

Switcher SW1 User Manual V2.2

REMOTE START SECURITY SYSTEM OWNERS MANUAL

Bug hunting. Vulnerability finding methods in Windows 32 environments compared. FX of Phenoelit

Debugging A MotoHawk Application using the Application Monitor

Table of contents. Enterprise Resource Planning (ERP) functional testing best practices: Ten steps to ERP systems reliability

Calculator. Introduction. Requirements. Design. The calculator control system. F. Wagner August 2009

LAB THREE STATIC ROUTING

Model-based Testing: Next Generation Functional Software Testing

Object-Oriented Software Engineering THE TOOLS OF THE TRADE CHAPTER 5. Stephen R. Schach 5.1 Stepwise Refinement.

Volvo On Call. Owners Manual. Web Edition

Interactive system specification. Interactive system definition. Issues to be taken into account for interactive systems

SOFTWARE TESTING TRAINING COURSES CONTENTS

The Advantages of Plant-wide Historians vs. Relational Databases

Certification Authorities Software Team (CAST) Position Paper CAST-13

Establishing Great Software Development Process(es) for Your Organization. By Dale Mayes

The Role of Automation Systems in Management of Change

1R / 4-BUTTON SERIES

TESTING FRAMEWORKS. Gayatri Ghanakota

InTouch Example Description

Ethical Issues in the Software Quality Assurance Function

Network Protocol Testing Overview - InterWorking Labs

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

Odometer Correction for W211 E-Class, W219 CLS, X164 GL, W164 ML, W203 C-Class, W251 R-Class, W463 G-Class, R171, W209 CLK

Using the Cisco IOS Command Line Interface

Transcription:

Assurance Cases and Test Design Analysis Flight Software Workshop November 7-9, 2012 Khalid Lateef Ph.D.

Outline Scope Test Design challenges Assurance cases Example of test design IV&V for an automobile Triggers How to find the right triggers Test Scenarios All scenarios not created equal Results from 2 CSCIs Summary and Conclusions 2

Scope and Acknowledgement Scope Small part of the much larger risk assessment study Work initiated last year Validating Assurance cases approach against the Test analysis work already performed using traditional approach (CoM) Acknowledgment IV&V supported Assurance case assessment (2011) Other NASA centers Non-NASA groups (SEI-CMU, Aerospace Corp, Adelard UK) 3

Test design V&V Test Results Verification Test design to wring out the bugs Was this effort successful? Test design Validation Nominal behaviors Relatively straightforward Not many issues discovered Test Design Validation Off nominal behaviors Takes more thought, What can go wrong? What shouldn t it do? Off nominal behavior. Good number of issues What is appropriately? Off nominal behavior. Ripe for issues/ finding bugs Application the Safety Critical / Space Systems 4

Off-nominal test design DO-178B Normal Range Test Cases: Boundary values on input variables Multiple iterations for time-related functions Transitions for state based software Robustness Test Cases: Invalid values for variables System initialization under abnormal conditions Failure modes of incoming data Exceeded time frames Try to provoke illegal state transitions Arithmetic Overflow Loop counts 5

Possible Inputs for the Test Design Analysis Validated SW requirements Test artifacts Test Plan Test procedures Test scripts Test Logs Test artifacts associated with multiple builds Con Ops, User manuals, Interface documents Test validation scope based on PBRA and RBA 6

Testing challenges-space System System Initialization Timing constraint Init Failure? Response from other systems or ground Startup image management Auto switch to backup image? Appropriate bits commandable? (continued to next sheet) 7

Testing challenges-space System (Contd.) System Safety Fault Detection Fault levels (1, 2, or low level 3 fault) Fault response Autonomous/Manual Response enabled/inhibited Abort sequences (if applicable) Commands to enable / disable response, reset flags Swapping strings (IMOK monitoring) Preventative measures Arm/fire commands Command processing (FSW validates? Executes?) 8

Assurance Case What is an assurance case? Specialized instance of general case argumentation 1 Claim Evidence (Build an argument using Evidence for a given claim) Claims can have sub-claims Tools ASCE Excel 9

Example: Test design analysis Test design From the Test team Before the car is ready for full scale production or A batch of cars is ready to be shipped to the dealer / customer 10

Claims Claim#1: Radio/MP3 Player will work Claim#2: Dome light will work Claim#3: Test driver can drive the car along an intended course Sub-Claim#3.1: Car will start Sub-Claim#3.2: Car will stop 11

Claim score based on safety, criticality Score 1..5 each of the sub-claims 1. Engine starts up (safely) 2. Car can be stopped safely 3. Airbag will deploy in case of an accident Prioritization of claims based on score 12

Engine Startup claim-evidence analysis Startup scenario Key in ignition Turn clockwise xx seconds Engine started Claim: Engine will startup safely Evidence: Ignition control will not trigger if Shift selector is in drive (forward or reverse) Evidence: Ignition control will only trigger if the break pedal is in the specified position Evidence: Ignition control will not trigger if the engine already running Evidence: Ignition control will not trigger if the fuel pump or battery constraints are violated Complexity of Test Software testing is not about proving conclusively that the software is free from any defects, or even about discovering all the defects. Such a mission for a test team is truly impossible to achieve. Rex Black, Pragmatic Software Testing, John Wiley & Sons 2007 13

Space System analysis Claim Level 1 Claim Level 2 Claim Level 3 Claim Level 4 Claim Level 5 Needed Evidence Actual Evidence Clai m S e ct io n S c o re Clai m S e ct io n S c o re Clai m S e ct io n S c o re Clai m S e ct io n S c o re Clai m S e ct io n S c o re Wei ght Rat ion ale Req uire me nt Des ign Imp lem ent atio n Test Requi remen t Desig n Imp lem ent atio n Tes t 14

Test scenario Trigger -> Response For each Claim, generate the list of triggers For each trigger generate test scenarios Test scenario The trigger for the requirement(s), Corresponding requirements and The type of data being processed / touched by the requirement(s) 15

Trigger -> Response HW Telem data HW User/Grnd Cmds HW Cmd controller Instrument Telem data Telem data Test Cmd / data Note 1: Annotations were added for the reference documents Note 2: Generic diagram/table in the backup slides Test environment 16

Space System Triggers / Responses Triggers External commands / HW telem aka across the interfaces Internal (a relatively small number) to the system Group the triggers (Single / multiple interfaces) User cmd impacting user interface only User cmd impacting User interface and hw interface Responses Internal to the system To the external interfaces 17

Test Design Validation Analysis & Evidence Test Scenario Test scenario trigger Test scenario step # Step description / behavior Reference info Source (document section number, Req tag number) Safety or criticality related to the test step Adverse conditions (if any) Evidence info Correlation to the test plan section Correlation to the test procedure (number, step) Correlation to the test script (code line number) Observations / Issues (if any) 18

Test Design Issues verified Incomplete Arm / fire Commands tests Missing Alternative steps in the abort scenario tests Off nominal for abort-sequence Inadequate fault flag responses tests Incomplete Command parameter verification tests Missing mode verification tests 19

Two CSCIs of a Space system ~ 250 requirements each (Validated) ~ 45 ground commands each Ground/SW interface SW/HW interface ~60 test scripts each One with separate test design The second with high-level test procedure embedded in the test script (as comments) 20

Summary Assurance cases can help to Develop comprehensive test scenarios Systematic steps to uncover Off nominal conditions Off nominal conditions are the source of high severity issues with Test design and the system being tested Identify and use system triggers as part of the test design analysis Look for safety-critical test scenarios Verify the test results Review the issue resolutions for additional/new bugs 21

Future Work Using Assurance cases for Analyzing test design Test Coverage assessment Automated mapping Independent testing 22

Questions? 23

Backup slides 24

Verifying the test results Test results Review Test logs Test terminal screen dumps Test results show Commands executed Triggers identifiable Trigger occurred at the correct time System responses as expected Time stamps show if any deadlines violated 25