TTCN-3 in the Internet of Things(IoT), Testing in lossy environments

Similar documents
IPv6 Stack. 6LoWPAN makes this possible. IPv6 over Low-Power wireless Area Networks (IEEE )

Lesson 4 RPL and 6LoWPAN Protocols. Chapter-4 L04: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Internet of Things: Latest Technology Development and Applications

Linux-based 6LoWPAN border router

System Architecture Challenges in the Home M2M Network

Outline. Introduction. The Internet Architecture and Protocols Link Layer Technologies Introduction to 6LoWPAN The 6LoWPAN Format Bootstrapping

Proposed Node and Network Models for M2M Internet

INESC TEC. Centre for Telecomunications and Multimedia. 21 March Manuel Ricardo. CTM Coordinator

Evaluation of 6LoWPAN Implementations

Politecnico di Milano Advanced Network Technologies Laboratory. 6LowPAN

ETSI Plugtests Guide V1.0.0 ( ) 6LoWPAN Plugtests; Berlin, Germany; July 2013

ETSI M2M Workshop. IPSO Alliance Standard Update. Patrick Wetterwald Cisco Smart Grid and IoT Product Marketing President, IPSO Alliance

TinyOS meets IP -- finally

Internet based IoT connectivity Technologies

Getting Started with IPv6 in Low-Power Wireless Personal Area Networks (6LoWPAN)

Communication and Networking in the IoT

WIRELESS TECHNOLOGIES FOR THE INTERNET OF THINGS

ETSI M2M workshop Nov 2013

6LoWPAN (IPv6 based Low Power WPAN)

Guide to Wireless Communications, 3 rd Edition. Objectives

RF and network basics. Antonio Liñán Colina

Outlook on IEEE ZigBee Implications IP Requirements IPv6 over Low Power WPAN (IEEE ) Conclusions. KRnet /21

Implementation of SNMP Protocol with ContikiOS [Kur10] for WSN430 targets

Linux-wpan: IEEE and 6LoWPAN in Linux

Integration of Wireless Sensor Network Services into other Home and Industrial networks

Technical Report Intelligent Transport Systems (ITS); Testing; Part 5: IPv6 over GeoNetworking validation report

G3-PLC L3/L4 Interoperability Test Procedure Manual ANNEX

Cloud Based IoT Application Provisioning (The Case of Wireless Sensor Applications)

CHAPTER 3. 6LoWPAN 3.1 INTRODUCTION

Routing over Low Power and Lossy Networks

Interoperability. Luca Mottola slides partly by Simon Duquennoy. Politecnico di Milano, Italy and Swedish Institute of Computer Science

Davide Quaglia Assistant CS depart University of Verona, Italy

Introduction to Linux-wpan and Potential Collaboration. Stefan Schmidt Samsung Open Source Group

Communication In Smart Grid -Part3

Networked Embedded Systems: 6LoWPAN

Wi SUN Technology and Certification Phil Beecher, President and CEO March 2018

An IoT-Aware Architecture for Smart

L o g o. IPv6 in IoT. Network Information Center Institute of Network Technology BUPT. Website: niclab.bupt.edu.cn

Towards a Zero-Configuration Wireless Sensor Network Architecture for Smart Buildings

Dual-Band VoIP With Walls. Dual-Band VoIP With Walls

Lithe: Lightweight Secure CoAP for the Internet of Things

Eclipse IOT day April 3016 LoRa Overview. Wyres SAS 2016

G3-PLC L3/L4 Interoperability Test Procedure Manual ANNEX

Mobile Communications

ZigBee IP update IETF 87 Berlin. Robert Cragie

WPAN/WBANs: ZigBee. Dmitri A. Moltchanov kurssit/elt-53306/

Wireless (NFC, RFID, Bluetooth LE, ZigBee IP, RF) protocols for the Physical- Data Link layer communication technologies

Secure routing in IoT networks with SISLOF

Networked Embedded Systems: 6LoWPAN

IETF 93 ROLL. Routing over Low-Power And Lossy Networks. Chairs: Michael Richardson Ines Robles

ARM IoT Tutorial. CoAP: The Web of Things Protocol Zach Shelby. April 30 th, 2014

Low-Rate Wireless Personal Area Networks IEEE Fernando Solano Warsaw University of Technology

RESOURCES. By: Chris Downey, Laird Technologies Product Manager, Telematics & Wireless M2M Date: May 25, 2011

IPv6 for the Masses (Of sensors)

Expanding Ring Search for Route Discovery in LOADng Routing Protocol

IoT Intro. Fernando Solano Warsaw University of Technology

6TiSCH Interoperability Test Description

W3C Workshop on the Web of Things

Lithe: Lightweight Secure CoAP for the Internet of Things

Communication stacks: Constrained Application Protocol

Politecnico di Milano Advanced Network Technologies Laboratory. 6LowPAN

Constrained Node Networks

ENSC 427: COMMUNICATION NETWORKS

Design Considerations for Low Power Internet Protocols. Hudson Ayers Paul Crews, Hubert Teo, Conor McAvity, Amit Levy, Philip Levis

IoT Roadmap in the IETF. Ines Robles

Compression of IPsec AH and ESP Headers for Constrained Environments dra%-raza-6lo-ipsec-04

Evaluating the Impact of Signal to Noise Ratio on IEEE PHY-Level Packet Loss Rate

Designing a ZigBee Network

TTCN3 in Wireless Testing Eco Space

Principles of Wireless Sensor Networks

ITP 140 Mobile Applications Technologies. Networks

WIRELESS FREIGHT SUPERVISION USING OPEN STANDARDS

IOT-TESTWARE AN ECLIPSE PROJECT

Outline. TWR Module. Different Wireless Protocols. Section 7. Wireless Communication. Wireless Communication with

Diet-ESP: A flexible and compressed format for IPsec/ESP

Smart Meters Programme Schedule 2.3. (Standards) (CSP South version)

Wireless Sensor Networks

Radiocommunications in. ISA 100 solutions. Jean-Pierre Hauet. KB Intelligence ISA District 12 VP Président ISA-France. Standards.

From test design to validation

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Exercises of lecture Wireless Sensor Networks Winter 2006/2007 Sheet 4

TESTING OF IOT APPLICATIONS AND INFRASTRUCTURES

The ETSI Experience in supporting Standardization with methodologies

TTCN (Testing and Test Control Notation) A standard test specification and implementation language. Contents

CASAN: A New Communication Architecture for Sensors Based on CoAP

Adding Unusual Transports to The Serval Project

IPv6, IPv4 and Coexistence Updates for IPPM's Active Metric Framework (Title updated formerly referred to as IPv6 update) draft-ietf-ippm-2330-ipv6-02

CIP over 6LoWPAN. Technical Track. Prepared by Dayin Xu, Paul Brooks, Yi Yu, David Brandt Presented by Paul Brooks.

Evolution of Real-Time TTCN Testing based on Prioritised Scheduling

Boeing Look at a Higher Speed PHY. Agenda

OPEN BASE STATION ARCHITECTURE INITIATIVE

SAFESPOT INTEGRATED PROJECT - IST IP DELIVERABLE. SP7 SCORE SAFESPOT Core Architecture

Embedded Wireless Networks with 6LoWPAN

How to develop and validate a scalable mesh routing solution for IEEE sensor networks Altran Benelux

LTE test suites for UE conformance

Embedded Web Services

101seminartopics.com. Bluetooth Based Smart Sensor Networks

INTERNATIONAL JOURNAL OF COMMUNICATIONS Volume 12, Performance comparative analysis of LOADing-CTP and RPL routing protocols for LLNs

Wireless Security Background

Zigbee protocol stack overview

Transcription:

TTCN-3 in the Internet of Things(IoT), Testing in lossy environments Anthony Baire, César Viho June 2011 TTCN-3 User Conference 1

Summary 1. Context 2. IEEE 802.15.4 & 6LowPAN constraints 3. Addressing packet losses 1. Hardware solutions 2. Multiple runs 3. Presenting the results in the TTCN-3 environment 2

Context of the work Focus on conformance & interoperability testing growing interest in testing in unreliable environments IPv6 Ready Logo Committee Certification program for the IPv6 protocol suite Partnership with the IPSO Alliance (IP for Smart Object) Design tests for IPv6 embedded devices Targets 6LoWPAN, -ND (neighbour discovery), -HC (header compression) and RPL (routing) protocols 3

IEEE 802.15.4 (typical 6LowPAN link layer) Low power radio link-layer Low power (~1mW) Lossy (using the 2.4Ghz band) Low rate (20kbps to 250kbps) Tiny frames (127 bytes) Applications sensor networks personal area network (home automation,...) 4

IETF 6LowPAN overview IPv6 adaptation for Low power wireless networks (especially IEEE 802.15.4) features header compression, fragmentation (tiny frames) mesh routing support for sleeping nodes IPv6 UDP Payload 802.15.4 Payload 5

Link reliability vs. test requirements Link layer not reliable Packet losses Issues for testing Observability issues risks for False positive (permissiveness) False negative (bias) 6

Possible solutions hardware solutions run the tests multiple times design the testcases to produce an 'inconc' verdict in case of (suspected) packet loss monitor the environment during the tests 7

Hardware solutions Possible strategies Bypass the lossy medium eg. connect the implementation directly w/ a coaxial cable generally not possible (embedded devices, embedded antenna) Minimise the probability of packet loss difficult: same band as wifi signals (20db stronger) would need a Faraday cage how about other physical media? 8

Multiple runs approach Run each test case multiple times increases the chances of having a clean run Issue: how to distinguish biased verdicts from correct verdicts? manual case-per-case analysis too cumbersome need a way to prioritise these verdicts 9

use verdicts precedence Possible Solution: return inconc in case of suspected packet loss (i.e. consider packet losses as a property of the SUT) then combine the verdicts from multiple runs 10

Example 1: reply expected Normal case Lossy case 1 Lossy case 2 IUT IUT IUT X pass X timeout inconc inconc timeout 11

Example 2: reply not expected Normal cases Lossy case 1 Lossy case 2 IUT IUT IUT IUT X fail X timeout pass pass timeout pass timeout False positives! 12

Example 3: stateful behaviours Normal cases Lossy case IUT IUT IUT X pass a a' a' fail fail Missed packet IUT state not updated False negative! Not easily managable in practice 13

Monitor the environment monitor link quality during the test execution (background noise) objective: evaluate a level of confidence of the verdict of each test run 14

Using a second transceiver Use a second transceiver to check if frames sent to the SUT are received with good quality For each received frame, the transceiver returns the quality of the signal higher signal quality means higher confidence in the test verdict 15

Using a second transceiver SUT Adapter SUT Link Quality Checker detection of forward losses ( SUT) Issue how to detect losses from SUT the tester? 16

Presentation of the results & TTCN-3 Link quality monitoring feasible in the System Adapter. How to report it and re-execute the testcase? directly in triendtestcase() return TRI_ERROR when the actual verdict is not reliable interact with the testcase (external function/port) to report the level of confidence 17

Issues & possible evolutions in the TTCN-3 environment Issue : in case of multiple runs, all instances of the same testcase are equally presented to the user some post-processing is required to indicate which one is relevant it would be useful to have a way to highlight (or select) which testcases instances to present in the log summary 18

Conclusion Lossy medium induces uncertainty in the test Some solution identified: bypass the lossy medium (hardware solution) multiple runs assumes packet loss is a property of the SUT (inconc) (use the 'inconc' verdict) monitor the environment (level of confidence) 19 Need a way to highlight the relevant testcases instances in the test results

Questions? Contacts: abaire@irisa.fr / viho@irisa.fr 20