1 West Virginia University FY2001 University SOFTWARE INITIATIVE PROPOSAL for the NASA SOFTWARE IV&V FACILITY Initiative Title: Verification & Validation.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

ECOE 560 Design Methodologies and Tools for Software/Hardware Systems Spring 2004 Serdar Taşıran.
DETAILED DESIGN, IMPLEMENTATIONA AND TESTING Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
MotoHawk Training Model-Based Design of Embedded Systems.
Presenter : Shih-Tung Huang Tsung-Cheng Lin Kuan-Fu Kuo 2015/6/15 EICE team Model-Level Debugging of Embedded Real-Time Systems Wolfgang Haberl, Markus.
Behavioral Design Outline –Design Specification –Behavioral Design –Behavioral Specification –Hardware Description Languages –Behavioral Simulation –Behavioral.
Application architectures
The new The new MONARC Simulation Framework Iosif Legrand  California Institute of Technology.
Software Fault Injection Kalynnda Berens Science Applications International Corporation NASA Glenn Research Center.
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6.
West Virginia University A Bayesian Approach to Reliability Predication of Component Based Systems H. Singh, V. Cortellessa, B. Cukic, E. Gunel, V. Bharadwaj.
Methodology for Architectural Level Reliability Risk Analysis Lalitha Krothapalli CSC 532.
Application architectures
What Exactly are the Techniques of Software Verification and Validation A Storehouse of Vast Knowledge on Software Testing.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 15 Slide 1 Real-time Systems 1.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 1 Application architectures.
Dr. Pedro Mejia Alvarez Software Testing Slide 1 Software Testing: Building Test Cases.
Software Faults and Fault Injection Models --Raviteja Varanasi.
Real-Time DSP System Design Course and DSP/BIOS II David J. Waldo Associate Professor Oklahoma Christian University 2501 E. Memorial Rd. Oklahoma City,
IV&V Facility 1 FY2002 Initiative: Software Architecture Metrics Hany Ammar, Mark Shereshevsky, Nicholay Gradetsky, Diaa Eldin Nassar, Walid AbdelMoez,
University of Coimbra, DEI-CISUC
OSMA2003 Center for Reliability Engineering 1 Integrating Software into PRA Presented by C. Smidts Center for Reliability Engineering University of Maryland.
Software Architecture Metrics Hany Ammar, Mark Shereshevsky, Ali Mili, Walid Rabie and Nicholay Gradetsky Lane Department of Computer Science & Electrical.
Research Heaven, West Virginia 1 FY 2004 Initiative: Risk Assessment of Software Architectures Hany Ammar, Katerina Goseva-Popstojanova, Ajith Guedem,
1 Department of Electrical and Computer Engineering University of Virginia Software Quality & Safety Assessment Using Bayesian Belief Networks Joanne Bechta.
IV&V Facility PI: Katerina Goseva – Popstojanova Students: Sunil Kamavaram & Olaolu Adekunle Lane Department of Computer Science and Electrical Engineering.
1 소프트웨어공학 강좌 Chap 11. Real-time software Design - Designing embedded software systems whose behaviour is subject to time constraints -
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Research Heaven, West Virginia 1 FY 2003 Initiative: IV&V of UML Hany Ammar, Katerina Goseva-Popstojanova, V. Cortelessa, Ajith Guedem, Kalaivani Appukutty,
1 Software Reliability Assurance for Real-time Systems Joel Henry, Ph.D. University of Montana NASA Software Assurance Symposium September 4, 2002.
Software Dynamics: A New Method of Evaluating Real-Time Performance of Distributed Systems Janusz Zalewski Computer Science Florida Gulf Coast University.
MACCE and Real-Time Schedulers Steve Roberts EEL 6897.
IV&V Facility 1 FY 2002 Initiative IV&V of UML Hany Ammar, Katerina Goseva-Popstojanova, V. Cortelessa, Ajith Guedem, Diaa Eldin Nassar, Walid AbdelMoez,
Slide 1 Chapter 11 Real –time Software Designs. Slide 2 Real-time systems l Systems which monitor and control their environment l Inevitably associated.
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
West Virginia University Architectural-Level Risk Analysis for UML Dynamic Specifications Dr. Sherif M. Yacoub Hewlett-Packard Laboratories.
Model Checking and Model-Based Design Bruce H. Krogh Carnegie Mellon University.
Estimating Component Availability by Dempster-Shafer Belief Networks Estimating Component Availability by Dempster-Shafer Belief Networks Lan Guo Lane.
02/09/2010 Industrial Project Course (234313) Virtualization-aware database engine Final Presentation Industrial Project Course (234313) Virtualization-aware.
Research Heaven, West Virginia 1 FY 2004 Initiative: Risk Assessment of Software Architectures Hany Ammar, Katerina Goseva-Popstojanova, Ajith Guedem,
Research Heaven, West Virginia FY2003 Initiative: Hany Ammar, Mark Shereshevsky, Walid AbdelMoez, Rajesh Gunnalan, and Ahmad Hassan LANE Department of.
RELIABILITY ENGINEERING 28 March 2013 William W. McMillan.
Laboratory of Model Driven Engineering for Embedded Systems An Execution Framework for MARTE-based Models UML&AADL’2008 workshop Belfast, Northern Ireland.
Software Architecture Risk Assessment (SARA) Tool Khader Shaik, Wallid Abdelmoez, Dr. Hanny Ammar Lane Department of Computer Science and Electrical Engineering,
©Ian Sommerville, Robin Abraham 2004CS 361, Summer 2004 Slide 1 Real-time Software Design.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
Pavan Rajagopal, GeoControl Systems James B. Dabney, UHCL Gary Barber, GeoControl Systems 1Spacecraft FSW Workshop 2015.
Final Version Kequan Luu May 13-17, 2002 Micro-Arcsecond Imaging Mission, Pathfinder (MAXIM-PF) Flight Software.
03/03/051 Performance Engineering of Software and Distributed Systems Research Activities at IIT Bombay Varsha Apte March 3 rd, 2005.
Ensieea Rizwani An energy-efficient management mechanism for large-scale server clusters By: Zhenghua Xue, Dong, Ma, Fan, Mei 1.
1 Developing Aerospace Applications with a Reliable Web Services Paradigm Pat. P. W. Chan and Michael R. Lyu Department of Computer Science and Engineering.
1 Reconfigurable Environment for Analysis and Test of Software Systems Sam Martin REATSS.
SwCDR (Peer) Review 1 UCB MAVEN Particles and Fields Flight Software Critical Design Review Peter R. Harvey.
Viewpoint Modeling and Model-Based Media Generation for Systems Engineers Automatic View and Document Generation for Scalable Model- Based Engineering.
Embedded Real-Time Systems Processing interrupts Lecturer Department University.
© 2009 Artisan Software Tools. All rights reserved. Testing Solutions with UML/SysML Andrew Stuart, Matthew Hause.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
1 Testing Implementations Of Access Control Systems (New Proposal) Ammar Masood: Graduate Student Arif Ghafoor (ECE) and Aditya Mathur (CS) Purdue University,
Real-time Software Design
Systems Analysis and Design in a Changing World, Fourth Edition
Software Design Refinement Using Design Patterns
OPERATING SYSTEMS CS 3502 Fall 2017
UML Diagrams: Class Diagrams The Static Analysis Model
PREPARED BY G.VIJAYA KUMAR ASST.PROFESSOR
Real-time Software Design
Software Risk Assessment based on UML models
Operating Systems Lecture 1.
Co-designed Virtual Machines for Reliable Computer Systems
Methodology for Architectural Level Reliability Risk Analysis
UML Diagrams: StateCharts The Dynamic Analysis Model
Presentation transcript:

1 West Virginia University FY2001 University SOFTWARE INITIATIVE PROPOSAL for the NASA SOFTWARE IV&V FACILITY Initiative Title: Verification & Validation of UML Dynamic Specifications '01 Hany H. Ammar, Vittorio Cortellessa,Rania Elnaggar Lane Department of Computer Science and Electrical Engineering West Virginia University The OSMA Software Assurance Symposium September 5-7, 2001 Lakeview, Morgantown, WV Verification & Validation of UML Dynamic Specifications '01

2 West Virginia University outline Project Overview Overview, The Environment Timing Analysis Methodology The Pacemaker Example Performance Analysis Methodology The Auto teller machines Example Fault Injection Model HCS NASA case study Conclusions

3 West Virginia University Project Overview Develop an Environment for verification of performance and timing behavior of real-time applications based on dynamic specifications in UML (first year) Develop a methodology for timing analysis (first year) Develop a methodology for performance analysis (first year) Develop a methodology for fault-injection and failure propagation analysis (second year) Complexity, and Risk Assessment at the architecture level (second year) Apply the above methodologies to a NASA case study

4 West Virginia University Overview, The Environment

5 West Virginia University Component Complexity Factors Connector complexity Factors CDG “ hrf i and hrf ij unidentified” Formatted Excel charts Violation Tables UML Simulation Environment Simulation Settings Simulation Log and Violation Report Analysis Tool Timing Diag. Violation Table Analyst Rose Real Time tool Text File MS Excel Processing Macro Inspection Viewing Macro UML Model Observer Sub Run Settings Analysis Tool HRF MS Excel Risk Macro Excel sheets Severity Ranking Severity Analysis (Failure/Effect analysis) Overview, The Environment CARA Tool

6 West Virginia University Overview,The Environment: RoseRT notation It is essentially a classical software architecture: Capsules  Components Ports + Links  Connectors A1 A3 A2 C1 C2 Capsule ACapsule B Capsule C

7 West Virginia University Overview,The Environment: RoseRT notation Component nesting The internal behavior of each lowest level (primitive) capsule can be modeled by a State Charts The union of all the State Diagrams composes the model that has to be simulated

8 West Virginia University Timing Analysis Methodology

9 West Virginia University Timing Analysis Methodology

10 West Virginia University Example: Pacemaker Main Use Case Diagram

11 West Virginia University Case Study: Pacemaker Capsule Diagram

12 West Virginia University Sample Timing Diagram

13 West Virginia University Performance Analysis Methodology

14 West Virginia University Behind the Approach: RoseRt notation is well suited to also represent the hardware platform Migrating the hardware model into the same notation as the one required from the tool for the software representation and thereafter using the tool to simulate the resulting integrated model

15 West Virginia University The standard scheme Software side capsule Resource side capsule Application software architecture Main Disp CPUs Networks Disks Int Disp CPUi

16 West Virginia University Resource requests Wherever needed in the software side a resource request is originated as a demand vector The size of a demand vector depends on the number of resource types building up the platform Each cell of a demand vector represents the amount of that resource type that the software block requires to be executed (e.g., number of instructions, number of accesses to disk, etc.) Each demand vector is mostly handled, in the resource side, by the Main Dispatcher

17 West Virginia University Example: Automatic Teller Machines Observer Server SoftwareServer Resources ATM Devices ATM Software Balance Tr.AuthenticatorWithdrawal Tr. ATMsATM Resources nn

18 West Virginia University Generating and satisfying resource requests No. of times the Job is queued depends on the amount of recourses required Similarly all other Resource types are consumed

19 West Virginia University ATM resource side configuration examples CPUs: number of instructions per quantum CPUs: time per quantum (msec) Disk: time per block (msec) Exp1: 1 CPU, 1 disk Exp2: 1 CPU, 1 disk Exp3: 2 CPUs, 1 disk 10, , ,2

20 West Virginia University Some performance indices : Exp3

21 West Virginia University A Fault Injection Technique Fault Injection  Develop a Fault Model for UML dynamic specs, to perform severity analysis and test case optimization using the simulation environment

22 West Virginia University State Selection Process State faults Sate transition faults Timing Faults (Presented, Spring Showcase 2000) Fault Injection Fault Model for UML Dynamic SPECs

23 West Virginia University Order Components based on dynamic complexity Select the set of components to be injected with faults based on highest complexities. Order states and macro states in each selected component based on contribution to the component complexity. Fault Injection Fault Model for UML Dynamic Model State Selection Process

24 West Virginia University Swap the selected state with the state next in the complexity order. “state actions code fault” Swap transitions out of the selected state. If an initial state exists, force the selected state to be the initial state. If a final state exists, force the selected state to be the final state. Fault Injection Fault Model for UML Dynamic Model State faults

25 West Virginia University For the Transitions that are firing out of or into the selected state Change trigger message to null (Disable the transition) Interchange trigger message with another randomly selected message Fault Injection Fault Model for UML Dynamic Model State Transition faults

26 West Virginia University Timeouts-based Concurrency-based Performance-based Environmental-interactions Fault Injection Fault Model for UML Dynamic Model Timing faults

27 West Virginia University Hub Control Software (HCS) Case Study International Space Station

28 West Virginia University HCS Internal Architecture HCS ITCS SCITCS FRITCS LRITCS PPA mon PFMC LT PFMC MT Scheduler State manger CMD Queue O/P CMD Queue N3-1 Data Access RPCM N3-2 Data Access Other HCS sub-systems

29 West Virginia University HCS Internal Architecture ITCS: (Spec) SCITCS-> System controller FRITCS-> Fault recovery LRITCS-> Leak recovery PFMC (MT,LT) -> Pump and Fan Motor Controller PPA Monitor -> (Top Level Design) for PPA control in Spec HCS: (Top Level Design) Scheduler -> give 1 Hz interrupt State Manager -> decides if the system is in standby or operating Command Queue -> has the orders for the ITCS ( Trans to single MT,..) O/P Command Queue -> receives the orders the ITCS issues to get to other HCS components N3-1 Data Access -> Has the data of the MT Loop Valve (SFCA MT) N3-2 Data Access -> Has the data of the LT Loop Valve (SFCA LT) RPCM -> ( from Spec) open close certain switches

30 West Virginia University HCS – Observer – Fault Generator

31 West Virginia University RRT Structure Diagram for HCS

32 West Virginia University After a successful pump retry, the requirement document does not specify whether the system should return to the last operation mode (this may cause the system either to deadlock or operate without noticing there is still a problem with running that mode) the FRITCS should reconfigure the system in accordance with the current state (this is a more logical choice, in fact the simulation showed better system performance when doing so). Potential inconsistencies detected in the specs during model development

33 West Virginia University In general, preemption of commands may cause issuing new commands to the PFMC during startup and shutdown operations that are not valid according to the specs. Potential inconsistencies detected in the specs during model development

34 West Virginia University Conclusions Presented a simple methodology and an Environment for Timing and Performance Analysis of dynamic Specifications The methodology is extended to risk assessment and fault-injection analysis Illustrated the methodology using simple generic examples (the pacemaker, and ATMs) Developed a simulation model of a NASA case study (The Hub Control Software HCS, of the International Space station) Appling the methodology to the specification of HCS

35 West Virginia University Papers Ammar H.H., Cortellessa V., Report on the development of an automated simulation environment for UML dynamic specification, March 2001 deliverable. Alaa Ibrahim, Sherif M. Yacoub, Hany H. Ammar, Architectural- Level Risk Analysis for UML Dynamic Specifications, Proceedings of the 9th International Conference on Software Quality Management (SQM2001), Loughborough University, England, April 18-20, 2001, pp Ammar H.H., Cortellessa V., Ibrahim A., Modeling Resources in a UML-based simulative environment, Proc. of ACS/IEEE International Conference on Computer Systems and Applications 2001, June , Beirut (Lebanon). Cortellessa V., Ibrahim A., Ammar H.H., Simulations of distributed systems for performance analysis in UML, submitted to UML 2001 conference.

36 West Virginia University Project current work HCS timing and performance parameter collection Ammar H.H., Cortellessa V., Ibrahim A., Modeling Resources in a UML-based simulative environment, Proc. of ACS/IEEE International Conference on Computer Systems and Applications 2001, June 25-29, Beirut (Lebanon). Cortellessa V., Ibrahim A., Ammar H.H., Simulations of distributed systems for performance analysis in UML, submitted to ISPASS 2001 conference. GSM radio system timing and performance analysis Rania M. Elnaggar, Vittorio Cortellessa, Hany Ammar, A UML- based Architectural Model for Timing and Performance Analyses of GSM Radio Subsystem, 5 th World Multi-Conference on Systemics, Cybernetics and Informatics

37 West Virginia University Complexity and risk assessment Alaa Ibrahim, Sherif M. Yacoub, Hany H. Ammar, Architectural-Level Risk Analysis for UML Dynamic Specifications, Proceedings of the 9th International Conference on Software Quality Management (SQM2001), Loughborough University, England, April 18-20, 2001, pp Fault injection and Fault propagation Alaa Ibrahim., H. H. Ammar, S. Yacoub A Fault Model for Fault Injection analysis of UML Dynamic Specifications, accepted to ISSRE 2001 conference. Future Work

38 West Virginia University Integrating timing and performance to build a risk assessment approach based on the performance sensitivity of the risk factors to changes in the architecture or to fault recovery routines Semi-formal approach to identify high risk scenarios B. Cukic, H. Ammar and K. Lateef, Identifying High-Risk Scenarios of Complex Systems using Input Domain Partitioning, Proc. of ISSRE 98 Hybrid simulation/analytical validation approach Paper submitted to NASA Goddard SW Engineering Workshop, November 27-29, 2001 Development of an Analytical V&V approach Future directions