Using Electronic Datasheet for Testing

Slides:



Advertisements
Similar presentations
CESG, Fall 2011, 5 th November 2011 Stuart Fowell, SciSys Device Virtualisation and Electronic Data Sheets.
Advertisements

Slow Control LHCf Catania Meeting - July 04-06, 2009 Lorenzo Bonechi.
1 Simulation Modeling and Analysis Verification and Validation.
1 Software Testing and Quality Assurance Lecture 30 – Testing Systems.
Exemplar CFS Architecture
ESA UNCLASSIFIED – For Official Use EDS Schema F. Torelli & P. Skrzypek CCSDS Spring Meeting /04/2013.
Software Testing Verification and validation planning Software inspections Software Inspection vs. Testing Automated static analysis Cleanroom software.
INTRODUCTION TO WEB DATABASE PROGRAMMING
SOIS Dictionary of Terms Issues. Preface This discussion is about how to support a dictionary of terms, not so much about what is in the dictionary. This.
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
© 2012 IBM Corporation Rational Insight | Back to Basis Series Chao Zhang Unit Testing.
SOIS Dictionary of Terms Usage in Tool Chain. Summary of DoT in SOIS Tool Chain The details hidden by the compression of this diagram will appear in subsequent.
ESA UNCLASSIFIED – For Official Use Example of EDS usage in SOIS [recap from SAFI meeting 23/6/2012] F. Torelli CCSDS SOIS WG, Darmstadt 17/04/2012.
ESA UNCLASSIFIED – For Official Use Spring CCSDS meetings Opening Plenary Chris Taylor ESA Estec April 2012.
IBM Software Group ® Overview of SA and RSA Integration John Jessup June 1, 2012 Slides from Kevin Cornell December 2008 Have been reused in this presentation.
Spacecraft Onboard Interface Services Application Support Services Working Group (SOIS-APP WG) Use Cases Identified in ESA TRP Project CCSDS Spring 2013.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Software Verification, Validation and Testing.
TTCN-3 MOST Challenges Maria Teodorescu
SOIS APP Working Group Overview. Presentation Overview Application Support Services Electronic Datasheets ESA Project History and Plans Standards Documentation.
ESA UNCLASSIFIED – For Official Use SOIS EDS & Toolchain ESA YGT Study F. Torelli & P. Skrzypek CCSDS Fall Meeting /10/2013.
ESA UNCLASSIFIED – For Official Use Inputs to SOIS EDS Schema F. Torelli CCSDS SOIS WG, Darmstadt 17/04/2012.
Overview of SOIS Electronic Data Sheets (EDS) & Dictionary of Terms (DoT) SOIS APP WG Fall 2012.
ADCSS 2011, 25 th October 2011 Stuart Fowell, SciSys SOIS Architecture and use of Electronic Data Sheets.
SOIS EDS and Onboard Architectures. ESA ‘de-facto’ Architecture PUS Services Mission Applications Data Handling PUS TM/TC Internal Datapool API System.
Testing in Android. Methods Unit Testing Integration Testing System Testing Regression Testing Compatibility Testing Black Box (Functional) White Box.
ESA UNCLASSIFIED – For Official Use NPAL Datasheet F. Torelli & P. Skrzypek CCSDS Spring Meeting /04/2013.
® IBM Software Group © 2009 IBM Corporation Essentials of Modeling with the IBM Rational Software Architect, V7.5 Module 15: Traceability and Static Analysis.
GLAST LAT Project LAT System Engineering 1 GLAST Large Area Telescope: LAT System Engineering Pat Hascall SLAC System Engineering Manager
Test Plan: Introduction o Primary focus: developer testing –Implementation phase –Release testing –Maintenance and enhancement o Secondary focus: formal.
ESA UNCLASSIFIED – For Official Use SOIS EDS Interoperability F. Torelli CCSDS Spring Meeting /03/2015.
31 st October – 4 th November 2011 Fall 2011 Meeting Agenda Boulder, Colorado, USA SOIS Application Support Services WG Device Virtualisation & EDS Coordination.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
ESA UNCLASSIFIED – For Official Use Migration of information along the Onion diagram F. Torelli CCSDS Fall Meeting /10/2013.
SOFTWARE TESTING TRAINING TOOLS SUPPORT FOR SOFTWARE TESTING Chapter 6 immaculateres 1.
M&CML: A Monitoring & Control Specification Modeling Language
Chapter Goals Describe the application development process and the role of methodologies, models, and tools Compare and contrast programming language generations.
Architecture Review 10/11/2004
Space Plug-and-Play Architecture (SPA) and SSM
SOIS APP Working Group Overview
EDS Demo SOIS WG Autumn 2016.
SciSys SOIS Prototyping Activities
Chapter 11 Designing Inputs, Outputs, and Controls.
Definition CASE tools are software systems that are intended to provide automated support for routine activities in the software process such as editing.
Exemplar CFS Architecture
Overview of SOIS Electronic Data Sheets (EDS) & Dictionary of Terms (DoT) SOIS APP WG Fall 2012.
Types for Programs and Proofs
Software Verification and Validation
SOIS Dictionary of Terms
Extending Model-Driven Engineering in Tango
Add intro to concept of electronic data sheets
SOIS-APP Working Group Report Jonathan Wilmot (WG Chair)
Chapter 8 – Software Testing
TECH SESSION #1 ELECTRONIC DATA SHEETS
SOIS EDS Interoperability
Inputs to SOIS EDS Schema
Integrating CCSDS Electronic Data Sheets into Flight Software
Introduction to Software Testing Chapter 5.1 Syntax-based Testing
Unit Test Pattern.
Lecture 09:Software Testing
QGen and TQL-1 Qualification
QGen and TQL Qualification
Evaluating Compuware OptimalJ as an MDA tool
Hardware Hash Quality Assurance Tool V2
Chapter 1 Introduction(1.1)
and Device Interfaces from CCSDS Electronic Data Sheets
CSE 1020:Software Development
Use Cases Simple Machine Translation (using Rainbow)
Software Development Process Using UML Recap
Best Practices in Higher Education Student Data Warehousing Forum
Implementation Plan system integration required for each iteration
Presentation transcript:

Using Electronic Datasheet for Testing

SOIS EDS: Common Interchange Format Devices Documentation IRDs, ICDs, Verification reports, etc. validate EDS Interchangeable Model of data interfaces System Design translate generate OBSW SOIS CDAS, … transform MCS/EGSE S/C database SVF/Simulators Data encoding, calibration

EDS IN CCSDS Reference Architecture Device DSAP DACP Arbitrary message exchanges, with timing dependencies Regular message exchanges Subnetwork Layer Calibrated Parameters Raw Parameters Arbitrarily Encoded data Datasheet scope Subnetwork Implementation Calibrated Commands Raw Commands Application Support Layer DSAI DSFI

ESA Study Projects SOIS Proof Of Concept (2012) Adoption of Electronic Data Sheets (2014) Deploying Plug and Play Avionics (2015) Simulator IFV (2016) Un-named GSTP (2017) Verification of Computer Controlled Systems (2015)

SEDS Reference Tooling Tooling Status Authoring Datasheet Validation Document Generation SEDS Reference Tooling TASTE SEDS XML Schema OBSW Code Generation NASA CFE

Datasheet: example.xml

Run Commands: java -jar SedsTooling.jar docgen Generate HTML Documentation for example datasheet java -jar SedsTooling.jar docgen test-data/xml/example.xml --output-dir example_html --level ALL Generate HTML Index and Component Diagram for example datasheet java -jar SedsTooling.jar docgen test-data/xml/example.xml --output-dir example_html --level INDEX

PDU Detail from example.xml

Behavioral Model Detail

Artificial test data: example.raw #Telemetry2Type 00 00 00 02 00 00 00 00 00 02 33 44 00 00 00 02 55 aa #TelemetryEventType 00 00 00 03 00 00 00 00 00 00 00 00 03 00 00 00 01 00 00 00 00 03 00 00 00 02 22 00 00 00 03 00 00 00 00 05 #Illegal TelemetryEventType 00 00 00 03 00 00 00 09 05 00 00 00 03 00 00 00 12 05 00 00 00 03 00 00 00 23 05

Run Command: java -jar SedsTooling.jar validate Statically validate the datasheet against schema and additional rules from 876x0. java -jar SedsTooling.jar validate test-classes/xml/example.xml Verify correctness of datasheet against sample data java -jar SedsTooling.jar verify test-classes/xml/example.xml --data-encoding HEX_BYTE --test-data test-classes/test_logs/example.raw --output-dir example_html

Verification Report: Overview

Verification Report: Subnetwork Coverage

Verification Report: Low level packet log

Verification Report: Behavioral Model Coverage

Real World Example: Jena Star Tracker No device-specific information ‘baked into’ the tool; everything is in the EDS. Datasheet is 7600 lines of xml, covering 80 TC and 32 TM. Test data (supplied by manufacturer) is 1Mb of raw binary milbus log. Corresponding low-level html packet log is ~40 Mb of html (split into 20 chunks for readability). Validation Summary identifies the one error in the file (reported to manufacturer)

Real World Example: Verification Report

Real World Example: Failed packet

Jena Star Tracker in Sentinel Simulator S2A simulator uses (an earlier revision of) the AS400 Star Tracker. Trace log of running the standard Star Tracker model regression tests is XXMb. Corresponding low-level html packet log is ~YY Mb of html (split into ZZ chunks for readability). Validation Summary identifies TBD SCISYS Test Front End can run tests online and, using integrated copy of EDS tooling, check for violations in real-time.

Demonstrator connected to SIMSAT simulator

Test Script Controls Testing Code

Test Code Uses EDS RT Library

Test Report Generated from Test Runs

Recap Validation and Verification of Device Interfaces is key to early, and hence cheap, problem detection and remediation. Capturing device interfaces formally allows tools to be used to support that activity. SOIS EDS Reference Tooling provides a Proof of Concept implementation of such a device testing tool. Adding EDS support into existing test tools (e.g. simulators, SVF, EGSE, etc.) would allow additional testing capabilities.

Simulator IFV ESOC study on how to better test operational simulators. SCISYS suggestion to use EDS technology wa accepted by the client . 2 relevant work packages: EDS.S1 generate simulator code from an EDS. EDS.S2 generate simulator test cases from an EDS

Simsat Code Generation

Model based Testing

Test Case Generation from EDS Check on the correct operation of the system; a test can be considered as failing if it causes the system to emit out of range values on an interface send illegal packets on a bound interface have a state machine transition to an error state Generate tests that exercise the behaviour of the system: range and pairwise combination of legal values to an interface rejection of all illegal bit-patterns on a bound interface ‘walk’ the state machine, ensuring coverage of all states and transitions by a minimal set of sequences.

TFE Test Generation

Extract from Generated Test

Simulator code The test case that crashes the simulator is one of the parameter sets for tcCHECK_MEMORY , which has three relevant arguments:   memId: BOOTLOADER, APPLICATIONSW, etc. These are the memory areas of the STR, some of which have a 4 byte word size, some 1 byte. addr: 32 bit base address to start checking  from amount: number of words (aka SAUs) to check.

Test Report Summary

Test Log Details