Model Based Testing in Linux Standard Base Compliance Program A.V.Khoroshilov, A.K.Petrenko { khoroshilov, petrenko ispras.ru MBT Users Conference.

Slides:



Advertisements
Similar presentations
Technology Analysis LINUX Alper Alansal Brian Blumberg Ramank Bharti Taihoon Lee.
Advertisements

National Institute of Advanced Industrial Science and Technology Ninf-G - Core GridRPC Infrastructure Software OGF19 Yoshio Tanaka (AIST) On behalf.
Construction process lasts until coding and testing is completed consists of design and implementation reasons for this phase –analysis model is not sufficiently.
Author: Carlos Pacheco, Shuvendu K. Lahiri, Michael D. Ernst, Thomas Ball MIT CSAIL.
Configuration management
Copyright Hub Software Engineering Ltd 2010All rights reserved Hub Workflow Product Overview.
Ixonos Plc Marko “Narsu” Rintamäki Senior Test Engineer NEST-IX V1.1 Project platform in Test Management.
1 CIS224 Software Projects: Software Engineering and Research Methods Lecture 11 Brief introduction to the UML Specification (Based on UML Superstructure.
Copyright 2009 bSolv. All rights reserved Citizen360 Product Overview Introduction to the Citizen360 product suite Version 1.4.
Intel® performance analyze tools Nikita Panov Idrisov Renat.
Dirk Hohndel Chief Linux & Open Source Technologist Intel Corporation Got.
Fundamentals of Information Systems, Second Edition 1 Telecommunications, the Internet, Intranets, and Extranets Chapter 4.
How Can Simple Model Test Complex System Model Based Testing of Large-Scale Software Victor Kuliamin ISP RAS, Moscow.
Tina design review Main design decisions. Top level modules. Responsibilities. Phases A & B. Test plan. Time table.
Android An open handset alliance project Janice Garcia September 18, 2008 MIS 304.
Automated Tests in NICOS Nightly Control System Alexander Undrus Brookhaven National Laboratory, Upton, NY Software testing is a difficult, time-consuming.
AgriDrupal - a “suite of solutions” for agricultural information management and dissemination, built on the Drupal CMS; - the community of practice around.
Formal Methods in Industrial Software Standards Enforcement A. Grinevich, A. Khoroshilov V. Kuliamin, D. Markovtsev A. Petrenko, V. Rubanov ISP RAS, Moscow,
Chapter ONE Introduction to HTML.
HTML Comprehensive Concepts and Techniques Intro Project Introduction to HTML.
Mobile Application Development with ANDROID. Agenda Mobile Application Development (MAD) Intro to Android platform Platform architecture Application building.
Modeling Framework Generally modeling framework is made up of the following components: A set of biophysical modules that simulate biological and physical.
Research infrastructure and knowledge management Eric Maryniak.
DIFFERENCE BETWEEN ORCAD AND LABVIEW
Contract Specification of Pipelined Designs Alexander Kamkin Institute for System Programming of RAS
Section 2 Software.
IPlant Collaborative Tools and Services Workshop iPlant Collaborative Tools and Services Workshop Collaborating with iPlant.
Automated Generation of Test Suites from Formal Specifications Alexander K.Petrenko Institute for System Programming of Russian Academy of Sciences (ISP.
CLARIN Infrastructure Vision (and some real needs) Daan Broeder CLARIN EU/NL Max-Planck Institute for Psycholinguistics.
Configuration Management (CM)
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
Requirements Engineering Requirements Elicitation Process Lecture-8.
Building Tools by Model Transformations in Eclipse Oskars Vilitis, Audris Kalnins, Edgars Celms, Elina Kalnina, Agris Sostaks, Janis Barzdins Institute.
Intel Academic Forum. Budapest, September, 2002 ISPRAS Experience in Model Based Testing Alexander K. Petrenko, Institute for System Programming.
Software Verification Academician V.P.Ivannikov, Director of ISPRAS Moscow, November 2008.
Object Management Group (OMG) Specifies open standards for every aspect of distributed computing Multiplatform Model Driven Architecture (MDA)
IPlant Collaborative Tools and Services Workshop iPlant Collaborative Tools and Services Workshop Collaborating with iPlant.
The Future of the iPlant Cyberinfrastructure: Coming Attractions.
11 CORE Architecture Mauro Bruno, Monica Scannapieco, Carlo Vaccari, Giulia Vaste Antonino Virgillito, Diego Zardetto (Istat)
A Light-Weight C/C++ Based Tool for Hardware Verification Alexander Kamkin CTestBench Institute for System Programming of the Russian.
The european ITM Task Force data structure F. Imbeaux.
Developing software and hardware in parallel Vladimir Rubanov ISP RAS.
Applying Model Based Testing in Different Contexts Alexander Petrenko Victor Kuliamin ISP RAS, Moscow.
11 CORE Architecture Mauro Bruno, Monica Scannapieco, Carlo Vaccari, Giulia Vaste Antonino Virgillito, Diego Zardetto (Istat)
Using Cycle-Accurate Contract Specifications for Testing Hardware Models Alexander Kamkin Institute for System Programming of RAS
Tracking Specification Requirements Evolution: Database Approach Denis Silakov, ISP RAS
UniTesK: Model Based Testing in Industrial Practice Victor Kuliamin Alexander Petrenko Alexander Kossatchev Igor Burdonov Institute for System Programming.
Extension of Interface Signature Descriptions for Automatic Test Generation Evgeny Chernov Institute for System Programming of RAS SYRCoSE 2008.
ISP RAS Java Specification Extension for Automated Test Development Igor B. Bourdonov, Alexei V. Demakov, Andrei A. Jarov, Alexander S. Kossatchev, Victor.
 Programming - the process of creating computer programs.
Olive – The Realtime Integrated Payroll & HR Software.
UniTesK Test Suite Architecture Igor Bourdonov Alexander Kossatchev Victor Kuliamin Alexander Petrenko.
MicroTESK: Automation of Test Program Generation for Microprocessors Alexander Kamkin Institute for System Programming of the Russian.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 1.
By, Rutika R. Channawar. Content Introduction Open Handset Alliance Minimum Hardware Requirements Versions Feature Architecture Advantages Disadvantages.
Andrey Karaulov, Alexander Strabykin Institute for System Programming Russian Academy of Sciences SYRCoSE: Spring Young Researchers Colloquium on Software.
UniTesK Test Suite Architecture Igor Bourdonov Alexander Kossatchev Victor Kuliamin Alexander Petrenko.
Parallelizing Functional Tests for Computer Systems Using Distributed Graph Exploration Alexey Demakov, Alexander Kamkin, and Alexander Sortov
1 Get All Answers Get All Answers. Contents History of Android Android Fragmentation The Role of Google Features and Architecture Android Software Development.
Android. Android An Open Handset Alliance Project A software platform and operating system for mobile devices Based on the Linux kernel Developed by Google.
Pega Certification Materials | PegaGang
Linux Standard Base Основной современный стандарт Linux, стандарт ISO/IEC с 2005 года Определяет состав и поведение основных системных библиотек.
The Development Process of Web Applications
Open Source distributed document DB for an enterprise
Arab Open University 2nd Semester, M301 Unit 5
API Documentation Guidelines
Introduction to Enterprise Systems
National Library of Medicine Segmentation and Registration Toolkit
Chapter 2: The Linux System Part 1
Unit 1.0 – Explore the concepts of computers and computing
Presentation transcript:

Model Based Testing in Linux Standard Base Compliance Program A.V.Khoroshilov, A.K.Petrenko { khoroshilov, petrenko ispras.ru MBT Users Conference 2011, Berlin, October 2011

About the Program Started in September 2005 Contractor: Institute for System Programming of the Russian Academy of Sciences (ISP RAS), Moscow, Russia Sponsors: – Ministry of education and Science of Russian Federation (2005- present) – The Linux Foundation ( )

LSB Compliance Works 1.Helping industry companies and consortiums to build and evolve industry-wide API/ABI platforms and open standards (specifications). Examples of our active projects: Linux Standard Base (LSB) Intel Moblin (Intel/Nokia MeeGo) Google Android Motorola MOTOMAGX 2.Development of new advanced testing technologies and tools (including MBT tools: CTESK/UniTESK, API Sanity Autotest)

4 Constructing Linux Distributions There are hundreds (!) of various public Linux distributions. A Linux distribution is a collection of various “upstream” components (~500 system ones). Components are versioned and can be built in different ways.

5 Number of Linux Distributions > 500

No any Universal Solution Such a large ecosystem needs several testing approaches and corresponding tools 3 grades of test quality – Deep – Ordinary (“normal”) – “Shallow” 3 approaches and corresponding tools – CTESK / UniTESK for C interfaces – T2C – API Sanity Autotest points of MBT interest

LSB Tests Developed by ISPRAS(*) Testing Grade# Test Cases# Interfaces under Test Deep tests (UniTESK)> ~ (LSB Core) Ordinary tests (T2C) “Shallow” test (API Sanity Autotest)~ Total> (*) – Statistics dated at March 2011 Number of LSB 4.0 Interfaces ~ Number of interfaces in a typical Linux distribution 0.5 ÷ 1 million

Deep Testing Domain LSB Core (extended subset of POSIX) ~ 1500 interfaces Libraries: libc, C++ run-time Groups of functions: memory management, process management, maths, sockets, etc. Documentation exists Total effort is about man*year

CTESK Tool: UniTESK for C Interfaces Software contracts specifications (pre/post, invariants) Specification Language: SEC (Specification Extension of C) Test scenarios describe an input for FSM exploration First version of CTESK had been developed in 2000 for IPv6 testing (supported by Microsoft Research)

UniTESK Process

“Shallow” Testing Domain Qt3, Qt4 (basic graphics), libxml ~ interfaces Lack of documentation Total effort is about 1-2 man*year including effort for tool development

12 LSB Central Database 81 tables with about 25 million records. MySQL engine. 3 main parts: – Standardized Elements – structured info about LSB entities such as modules, libraries, headers, classes, interfaces, types, etc. – Linux Ecosystem – structure of real-world distributions and applications. – Certification Info – certified product registry and certification workflow support.

13 LSB DB: A Base for the Model Classes 969 Interfaces Types 4533 Constants 6088 Libraries 44 LibGroups 221 Headers 465 Header Sections 882

Recursive Scheme: Test Call Generation Parameters initialization (by a value or by means of function call) Target function call (optional) Check result Dependencies between parameters types and result types. Source for dependencies analysis: Original types Semantically specified types Sample values

API Sanity Autotest Process

API Sanity Autotesk Usage Statistics NumberOriginal Types Maximal number of a specialized type uses513bool (specialized type for parameters taking the value true) Number of specialized types used > 400 times3 bool, int Bool, int, char*, Qwidget* Total number of specialized types 1665 Number of uses of specialized types as types of parameters or object calls Number of uses of all types as types of parameters or object calls 22757

ISPRAS: Others MBT Use Cases Hardware design unit testing (C++TESK) Hardware design system (core) testing (MicroTESK) Compiler testing (SynTESK, OTK, Pinery) See:

Thank you!