• No results found

Software Testing of NoTA DIP Implementation

N/A
N/A
Protected

Academic year: 2021

Share "Software Testing of NoTA DIP Implementation"

Copied!
24
0
0

Loading.... (view fulltext now)

Full text

(1)

Software Testing of NoTA DIP

Implementation

(2)

2009-09-23

Flander, Ardites and Symbio Group merged

and as a result Symbio was established

(3)

Software Testing of NoTA DIP

Implementation

Ville Kankainen symbio.com 2009-10-01

(4)

Agenda

Device Interconnet Protocol (DIP) stack

Testing DIP implementation

General

Low level

High level

Test applications

Conclusions

Questions, feedback

(5)

Device Interconnect Protocol

stack (DIP)

Tester Application Device A ref H_IN ref L_IN up L_IN down L_IN down ref L_IN up
(6)

Device Interconnect Protocol

stack (DIP)

H_IN (High interconnect)

• Provides user API, to discover, to access and to communicate

between processes (Nodes)

Tester Application Tester Service Device A ref L_IN up L_IN down L_IN down ref L_IN up ref H_IN ref H_IN

(7)

Device Interconnect Protocol

stack (DIP)

H_IN (High interconnect)

• Provides user API, to discover, to access and to communicate

between processes (Nodes)

L_IN (Low interconnect)

Up and Down parts

L_INup is responsible of managing

connections Tester Application Device A ref H_IN ref L_IN up L_IN down L_IN down ref L_IN up

(8)

Device Interconnect Protocol

stack (DIP)

H_IN (High interconnect)

• Provides user API, to discover, to access and to communicate

between process (Nodes)

L_IN (Low interconnect)

Up and Down parts

L_INup is responsible of managing

connections

L_INdown is responsible of

providing connections over target bearer technology Tester Application Tester Service Device A ref H_IN ref L_IN up L_IN down L_IN down ref H_IN ref L_IN up

(9)

Testing DIP implementation

Testing is divided into two parts

• System testing of L_INdown through L_INdown interface

Tester Application Device A ref H_IN ref L_IN up L_IN down L_IN down ref L_IN up

(10)

Testing DIP implementation

Testing is divided into two parts

• System testing of L_INdown through L_INdown interface • System testing of DIP through

H_IF API interface

• (dependency on L_INdown) Tester Application Tester Service Device A ref H_IN ref L_IN up L_IN down L_IN down ref H_IN ref L_IN up

(11)

Testing DIP implementation

Testing is divided into two parts

• System testing of L_INdown through L_INdown interface • System testing of DIP through

H_IF API interface

Same test applications can be

utilitilized again

Tester Application Device A ref H_IN ref L_IN up L_IN down L_IN down ref L_IN up
(12)

Testing DIP implementation

Testing is divided into two parts

• System testing of L_INdown through L_INdown interface • System testing of DIP through

H_IF API interface

Same test applications can be

utilized again

Testing is modularized for easy

verification for each component

Tester Application Tester Service Device A ref H_IN ref L_IN up L_IN down L_IN down ref H_IN ref L_IN up

(13)

Tester Application Device A ref H_IN ref L_IN up L_IN down L_IN down ref L_IN up

Test is executed on L_INdown level

Testing of DIP

(14)

Testing of DIP

(l_down_IF)

Test is executed on L_INdown level

Tests are run by LD_TESTER

• Scene discovery

• Address resolution

• Socket connection creation

• Socket features and speed

Device A

LD_TESTER client

L_IN down

L_IN down

(15)

Testing of DIP

(l_down_IF)

Test is executed on L_INdown level

Tests are run by LD_TESTER

• Scene discovery

• Address resolution

• Socket connection creation

• Socket features and speed

Made with C language to support

Device A

LD_TESTER client

L_IN down

(16)

Testing of DIP

(l_down_IF)

Test is executed on L_INdown level

Tests are run by LD_TESTER

• Scene discovery

• Address resolution

• Socket connection creation

• Socket features and speed

Made with C language to support variety of platforms

Requires two devices having the same L_INdown implemented on

Device A Device B LD_TESTER client L_IN down L_IN down LD_TESTER server

(17)

Testing of DIP

(l_down_IF)

L_IN down is now trusted to be

working and it can be used to verify rest of the stack

Device A

LD_TESTER client

L_IN down

(18)

Testing of DIP

(H_IF 1/4) loopback

Communication between local processes through H_IF

Local communication is provided by

• Single process implementation

• Daemon implementation

• (Kernel – userspace implementation)

Ensures that the target service can be tested on target hardware

• H_IN interface available during

Test A Tester Service Device A ref H_IN ref L_IN up L_IN down L_IN down ref H_IN ref L_IN up Test S

(19)

Testing of DIP

(H_IF 2/4) two stacks, one process

Two full stacks in one process

Testing of full stacks in target hardware without implementing L_INdown

Testing of NoTA approach in target hardware

Done with the single process

Tester Application Process A ref H_IN ref L_IN up Single process L_IN down ref L_IN up

(20)

Testing of DIP

(H_IF 3/4) two stacks, two devices

Tests the integration of DIP

stacks in both devices

Ensures compatibility between

devices

Connected through target

L_INdown technology

Tester Application Tester Service Device A ref H_IN ref L_IN up L_IN down L_IN down ref H_IN ref L_IN up
(21)

Testing of DIP

(H_IF 4/4) testing non-reference stack

Non-reference stack is required for the most optimal way to use the platform

• Reference stack is using too much system resources (e.g. threads, memory)

• Reference stack has ”unnecessary” features and stack can be reduced for particular purpose

Non-reference stack is verified against reference stack using reference testcases

• Reference stack is also verified against

Tester Application Device A ref H_IN ref L_IN up L_IN down L_IN down Vendor’s H_IN + L_INup

(22)

Testing of DIP

(H_IF test applications)

H_IN Reference test applications

• Service registeration

• Service discovery

• Service access

• Connection throughput and roundtrip

• Stress testing

Service specific test application

Model based test applications

Tester Application Tester Service Device A ref H_IN ref L_IN up L_IN down L_IN down Vendor’s H_IN + L_INup

(23)

Testing of DIP

(H_IF) conclusions

Stacks are verified within different combinations of network

Different HW combinationscan be verified with reference and non-refetence stacks

Test applications can be reused in all of the combinations

Test applications to particular

Tester Application Device A ref H_IN ref L_IN up L_IN down L_IN down Vendor’s H_IN + L_INup

(24)

Thank you!

Ville Kankainen [email protected] +358-40-0126999

Questions?

Feedback?

References

Related documents

 Purchasing (ref: Purchasing and A/P)  Financial Reporting (ref: Accounting)  Program Reporting (ref: Inst. Rptg.)  Grant Renewals (ref: Grants Dept.)  Funder Relations

11 t va ri sag ledati u drukcijem svjetlu ako nc uzmcmo k srcu sto nam drugi savjetuju? Stvar je oCita.. ne moze rijesiti ni itko drugi. Mozda smo nekad primili l

Each coefficient is from a separate 2SLS regression of the state level 1940 - 1950 change in the log ratio of overall or residual male weekly full time earnings at the

In conclusion, we have used ultrafast spectroscopy techniques to measure two differ- ent types of semiconductor heterostructures. For the InAs/GaSb based short-period

O ur citta, if we were to make a comparison with the world, is a perpetual prisoner, like a person born in jail who lives in jail, behind bars, with no chance to get out to

These simulated curves were plotted with actual measured lateral MOSFET's 'wingspread' curves using an Audio Precision (AP®) tester and the VDMOS fit was found to be very close to

Unlike the primary model, White women with relatively high levels of parental education did have significantly higher overall mobility than Black women (p < .001).. However,

The LTS will strengthen the vision of One Hundred Years Indonesia (Visi Indonesia 2045) towards prosperous Indonesia based on its four following pillars: (a) human resource