Embedded M2M Software Testing

Similar documents
Yocto Project components

Tool installation for PMC-MC-X2/X4 with P2020 series processor

DEVELOPMENT GUIDE AMOS-820. Linux BSP v

YumaPro Yocto Linux Quickstart Guide

Intel Do-It-Yourself Challenge Compile C/C++ for Galileo Nicolas Vailliet

DEVELOPMENT GUIDE. ARTiGO A820. Linux BSP v

DEVELOPMENT GUIDE QSM-8Q60. Linux BSP v

DEVELOPMENT GUIDE VAB-820. Linux BSP v

DEVELOPMENT GUIDE VAB-820. Linux BSP v4.1.2

DEVELOPMENT GUIDE VIA AMOS-825. Linux BSP v

Intel Do-It-Yourself Challenge Rebuild (with) Yocto Nicolas Vailliet

RZ/G Verified Linux Package V2.1.0-RT

Renesas Koelsch Hardware Setup and Software Installation

Using Openembedded with Snapdragon Flight

SCM-i.MX 6 Series Yocto Linux User's Guide

Meeting the Yocto Project

User Guide Yocto Linux. Board Support Package For Intel Quark

MAGPIE Installation Guide (version 1.0)

IoTivity Development on ARTIK 530s

Building Applications with IOx

IOTIVITY AND EMBEDDED LINUX SUPPORT. Kishen Maloor Intel Open Source Technology Center

Cisco Wireless Devices Association Matrix

polymaker Documentation

PMC volt v1.0 Getting started

Mesos on ARM. Feng Li( 李枫 ),

The ultimate guide to software updates on embedded Linux devices

Harbor Registry. VMware VMware Inc. All rights reserved.

SFO17-315: OpenDataPlane Testing in Travis. Dmitry Eremin-Solenikov, Cavium Maxim Uvarov, Linaro

Building Debian-Based Products: Experiences in Collaboration

Yocto Project internal tools

Lab: Setting up PL-App with a Raspberry Pi

Deploying a distributed application with OpenStack

Moving Your Application on the Raspberry Pi to the UC-8100-LX Computer. 1 Background Requirement Overview System Environment...

Isar. Build Debian-Based Products with BitBake. Baurzhan Ismagulov. Embedded Linux Conference Europe Oct 11-13, 2016 Berlin, Germany

Cross-compiling Linux Kernels on x86_64: A tutorial on How to Get Started

Lab2 - Bootloader. Conventions. Department of Computer Science and Information Engineering National Taiwan University

QUICK START GUIDE. ARTiGO A820. Linux BSP v

Install and Configure wxwidgets on Ubuntu

Sitefinity Performance and Architecture

Zephyr Kernel Installation & Setup Manual

DevOps CICD for VNF a NetOps Approach

Delivering Predictability: The Yocto Project Autobuilder, Automated Sanity Testing, License Collection, and Build Statistics Tracking

Cross-compilation with Buildroot

WAP-A58. Outdoor Multi function Access Point CPE Router. with built-in high power 5.8GHz a Radio (Integrated 16dBi patch Antenna).

Using KVM On Ubuntu 7.10 (Gutsy Gibbon)

Implementing DPDK based Application Container Framework with SPP YASUFUMI OGAWA, NTT

Embedded Systems Programming

3 Software Stacks for IoT Solutions. Ian Skerrett Eclipse

PetaLinux Tools Documentation

Condition Monitoring of Machines with Wireless Sensors

Enterprise Steam Installation and Setup

Configuration the Raspberry Pi for the SmartPI. There are two ways to install the necessary software to use the SmartPi with your Raspberry Pi!

Tizen.IoTivity.Init. Tizen IoTivity 를시작하기위한환경설정. Geunsun Lee

Simplifier la mise en production d applications MATLAB. Marc Wolff Application Engineer MathWorks 1

How Verizon boosted product delivery with Dynatrace Software Intelligence

UNIK Building Mobile and Wireless Networks Maghsoud Morshedi

GUIDE Development tools for Windows(10) installation... 2

Git Command Line Tool Is Not Installed

Oracle Corporation 1

Grandstream Networks, Inc. GWN76XX Series Mesh Network Guide

Exercises. Cacti Installation and Configuration

Exercises. Cacti Installation and Configuration

PI System Pervasive Data Collection

Web and API Apps in Azure

EMBEDDED MACHINE VISION

The Road to Digital Transformation: Increase Agility Building and Managing Cloud Infrastructure. Albert Law Solution Architect Manager

for Multi-Services Gateways

ViryaOS RFC: Secure Containers for Embedded and IoT. A proposal for a new Xen Project sub-project

Android Sdk Install Documentation Eclipse. Ubuntu >>>CLICK HERE<<<

Open Standard Hardware-Bus

mangoh Red Getting Started WPx5xx + Linux Dev Machine + CLI

TrinityCore Documentation

SAROS MasterNode Guide V1.1

IoT on Fedora Using Fedora as a base for the IoT Revolution

DEVELOPMENT GUIDE VAB-820. Android BSP v

Fosdem Feb/2018. Frederic Marec Embedded Engineer

Connectivity from A to Z Roadmap for PI Connectors and PI Interfaces

Accelerating IoT with ARM mbed

Getting rough with industrial wireless. A Case Study. Marc Lee Senior Tech Support / Trainer

How to Put Your AF Server into a Container

PetaLinux Tools Documentation. Reference Guide

DEVELOPMENT GUIDE VAB-630. Android BSP v

Raspberry Pi Using Open CV which Has The Installing,making Programs And Performance

LGTM Enterprise System Requirements. Release , August 2018

3rd Party Application Deployment Instructions

Lab 6: OS Security for the Internet of Things

SUSE Linux Enterprise 15. #MultimodalOS

Drupal Command Line Instructions Windows 7 List All Files >>>CLICK HERE<<<

Installation Guide for Linux

Installation guide. Step1. Install the OS for Raspberry Pi 3. Go to to download Raspbian to the PC.

Nexus Application Development - SDK

Intel Security Dev API 1.0 Production Release

Akamai Connector for Varnish Installation Guide

AMM Feb/2018. Frederic Marec Embedded Engineer

#jenkinsconf. Managing jenkins with multiple components project. Jenkins User Conference Israel. Presenter Name Ohad Basan

Orchestrating the Continuous Delivery Process

Proview on Raspberry PI

Cubieboard4 Linux Sdk Guide TF BOOT & TF WRITE EMMC. Website: Support:

Accelerating IoT with ARM mbed

VA Smalltalk Update. 24 th ESUG Conference Prague, Czech Republic August 23, John O Keefe Chief Technical Officer Instantiations, Inc.

Transcription:

Embedded M2M Software Testing Slide 1

Neratec Overview WLAN Products Industrial Wireless LAN Stations WLAN Outdoor Access Points WLAN Module high performance, long distance M2M/IoT and Wireless Sensor Systems Customized Product Development Manufacturing & Delivery Life Cycle Management & Support Engineering Projects Feasibility Studies, System Design, Specification Electronic Product Development Verification, Validation & Certification Testing Project management Slide 2

Focus Focus Linux Class Devices Embedded Firmware development Long term support Headless devices Not Focus Low cost HW Raspberry PI customization Consumer product life cycle User maintains the device Embedded Devices based on Slide 3

Agenda Requirements for M2M Testing Yocto test concepts Solution Summary Slide 4

Requirements for M2M Testing Slide 5

Example IoT Topology User Data View Stock? UI, Data Processing M2M Administrator Management View M2M Server Internet Slide 6

System Test IoT Server Result Test Runner M2M Server Test Data Internet Devices Slide 7

Unit Test Unit Test Unit IoT Server Unit Test Unit Unit Test M2M Server Unit Internet Devices Slide 8

Develop and Test Data IoT Test IoT API Net M2M Test M2M Net Device (Embedded Device, Server) Device Server Services Unit Device Testing Server Testing Service Testing Unit Testing Slide 9

M2M Test Infrastructure Requirements Agile (~2 weeks per sprint) Automated testing Test environment per developer (pre testing) Easy to archive, deploy and use Defined dependencies to personal PC installations Contentious integration Hierarchic Testing Full featured test environment for continuous integration Specific test setups Slide 10

Yocto test concepts Virtual Device ptest Image Test Slide 11

native tools Requirements: Archive and Deploy Build Dependencies: Tools are provided by yocto (native receipes) Exception: ASSUME_PROVIDED Example: Ubuntu sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib buildessential chrpath socat libsdl1.2-dev xterm Use native tools for test implementation Reproducible Test Setup Slide 12

Virtual Device Requirements: early stable, easy to deploy... Run Firmware in virtual machine (QEMU) Virtual device SW = real device SW No root access needed on host (pseudo) Eclipse integration for C/C++, (Python) Virtual device is used by Yocto Autobuilder (Continuous Integration) Slide 13

ptest Cross Unit Test Requirements: Automated, different environments... Cross compile and run Unit Tests on target device Run tests on real Hardware Run tests on Embedded Linux Features: Autotools integration./configure && make && make test && make install Cross compile make test Deploy to firmware image (ptest packages) ptest-runner runs all tests Slide 14

Image tests Requirements: Automated... Image test runner runs on host (not on target devices as ptest-runner) Tests are executed on the device (virtual or physical) Support for image deployment to phys. devices Slide 15

Overview: Yocto testing Physical Device Host my-tool my-tool-ptest my-tool my-tool-ptest Yocto Linux Embedded Device Yocto Linux Virtual Device (Qemu) my-tool image test Native Tools (e.g. cross-compiler, qemu, libraries...) NAT Host Linux Distribution (e.g. Ubuntu, Fedora...) Internet Slide 16

M2M with Yocto Device Testing IoT IoT Test Virtual M2M M2M Test Physical Devices Dev. Test M2M / IoT Virtual Server Device Service Unit Serv. Test Unit Test Virtual Network Slide 17

Solution Slide 18

Patching Yocto for M2M Host IoT M2M my-tool my-tool-ptest Enterprise Linux Virtual Server (Qemu) Yocto Linux Virtual Device (Qemu) my-tool image test Native Tools my-tool my-tool-ptest Yocto Linux Virtual Device (Qemu) NAT Host Linux Distribution Internet Slide 19

Possible Test Coverage Neratec: M2M/IoT Network Neratec IoT M2M IoT Test M2M Test Yocto < 1.7 virtual device Yocto 1.7 physical device Yocto < 1.7 1.7 Devices Service Unit Serv. Test Unit Test Dev. Test Slide 20

Example: Image Test Image Test Runner Result Virtual M2M/IoT Server Virtual Bridge Test Data (Virtual) Device Slide 21

Example: ptest Virtual M2M/IoT Server ptest runner Unit Verify IoT API Test Data Virtual Bridge Virtual Device Slide 22

Test Categories 1)Virtual Device 2)Virtual Device + M2M / IoT 3)Physical Device 4)Physical Device + M2M / IoT Test Runner auto skip Slide 23

Summary Slide 24

Yocto based M2M Test Infrastructure Hierarchic network Topology requires hierarchic Test-System Agile work flow requires automated testing Virtualization (Device, Network and Server) is great High coverage for network related tests Early stable (before HW is available) Yocto native tools Easy to share and archive Test-Runner skips test requiring real HW Different test environments are supported Virtual Device + Virtual Server Physical Device + Virtual Server... Neratec patch set for Yocto has been published Slide 25

Thank you! Adrian Freihofer Senior SW Engineer Direct: +41 55 253 20 83 adrian.freihofer@neratec.com Slide 26