Resource Manager The Resource Manager is implemented as a custom STAF service called RESMGR. RESMGR manage resources at the execution engines level (TEEs.

Slides:



Advertisements
Similar presentations
Letter of Credit L/C 1.Customer and supplier agree on L/C as method of payment.
Advertisements

TP4: S TATE M ACHINE D ESIGN P ATTERN  Definition  Infrastructure  Transition Code  Conclusion.
Application Graphic design / svetagraphics.com 01 FRAMEWORK data service.
Software Testing Automation Framework (STAF) Open Source Testing System from IBM.
1 Opentest Architecture Table of Content –The Design Basic Components High-Level Test Architecture Test Flow –Services provided by each Layer Test Mgt.
Dispatcher IO TestlinkDispatcher TEEBEE Required TEEs XSLT 1. Testlink XML 3. Get Asset Build Id 6. Bee Build result* 8. Testlink XML 9. Tee specific input.
Industrial project Sergey Semenko & Ivan Nesmeyanov Under supervision of Eliezer Levy Erlang routing mesh overview and implementation details.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 04. Other.
Remote Method Invocation
1 Internet Networking Spring 2006 Tutorial 8 DNS and DHCP as UDP applications.
Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.
1-1 Embedded Software Development Tools and Processes Hardware & Software Hardware – Host development system Software – Compilers, simulators etc. Target.
BMC Control-M Architecture By Shaikh Ilyas
Hussain Ali Department of Computer Engineering KFUPM, Dhahran, Saudi Arabia Microsoft Networking.
Page 1 Software Test Automation Texas Instruments Software Development Organization September 2009.
SEND AUTOMATED MAIL AND FROM EX Ye Olde-Timey Proceffe Automationne.
CVSQL 2 The Design. System Overview System Components CVSQL Server –Three network interfaces –Modular data source provider framework –Decoupled SQL parsing.
Vending Machines for Schools POS Interface Architecture for the Reimbursable School Meals Program.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #2 DNS and DHCP.
IT323 - Software Engineering 2 Tutorial 1. 0 The system 1.0 A Function 1.1 Activity of the function Task Task Task 1.2 Another activity.
SYSTEM PLANNING Addendum FALL 2003 RFP Detailed Instructions for Bidder Registration and Proposal Submission ENTERGY SERVICES, INC. October 2003 PLEASE.
CCS + Opentest Enabling JTAG-Based DUT’s Control.
Configuring Global Server Load Balancing (GSLB)
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Unicenter Desktop & Server Management Components & Communication -Latest Revision 12/09/2005.
Dynamics AX TAP Knowledge Transfer Wave 2. Application Integration Framework (AIF) Config and Admin Dean Wierman Lead Program Manager Microsoft Corporation.
Virus Detection Mechanisms Final Year Project by Chaitanya kumar CH K.S. Karthik.
Software Requirements Engineering: What, Why, Who, When, and How
CS 8903 Demo Wireless Interface for the Bioloid Robot Chetna Kaur.
Hyung-Min Lee ©Networking Lab., 2001 Chapter 8 ARP and RARP.
CAN Implementation– Proxy Module Qun Cao October 14, 2002.
Mismatch Is end-user porting all telephone numbers? New Service Provider notifies Old Service Provider of change using Local Service Request (LSR) Old.
Derek Wright Computer Sciences Department University of Wisconsin-Madison Condor and MPI Paradyn/Condor.
Proposal for a IS schema Massimo Sgaravatto INFN Padova.
System Maintenance Modifications or corrections made to an information system after it has been released to its customers Changing an information system.
Proposal for an Open Source Flash Failure Analysis Platform (FLAP) By Michael Tomer, Cory Shirts, SzeHsiang Harper, Jake Johns
Outbound draft-ietf-sip-outbound-01 Cullen Jennings.
Using Workflow With Dataforms Tim Borntreger, Director of Client Services.
Algorithm Change Notice (ACN) What is it? How does it work? Frank Toth September 24, 1999.
Fab25 User Training Cerium Labs LabCollector - LIMS Lynette Ballast.
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Welcome to HICAPS CSS!.
© 2002, Cisco Systems, Inc. All rights reserved.
AT Commands Supports AT commands
Sales Training Presented by [Name].
Remote Method Invocation
Chapter 2: System Structures
LCGAA nightlies infrastructure
1.Customer and supplier agree on L/C as method of payment
TYPES OF SERVER. TYPES OF SERVER What is a server.
Sales Training Presented by Name.
Senior Software Engineering Student Robertas Sys
W Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
Sales Training Presented by [Name].
B Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
Tiers vs. Layers.
H Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
B Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
W Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
H Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
W Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
Sales Training Presented by [Name].
C Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
W Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
Sales Training Presented by Name.
W Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
Software Implementation
In Today’s Class.. General Kernel Responsibilities Kernel Organization
W Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
H Customize this banner with your own message! Select the letter and add your own text. Use one character per slide.
Presentation transcript:

Resource Manager The Resource Manager is implemented as a custom STAF service called RESMGR. RESMGR manage resources at the execution engines level (TEEs and BEEs). RESMGR does not manage individual HW resources such as DUTs, DVDs, etc. TEEs and BEEs are responsible to register/unregister with the RESMGR TestLink’s hw_asset field identifies required TEE capabilities

DISPATCHER TMC’s StafProc RESMGR TMS/User Request TEE TEE Register w/ RESMGR and provides its type and capabilities upon startup 2.Test Request send to TMC 3.DISPATCHER query RESMGR for available TEE type w/ required HW_ASSETS (capabilities) 4.RESMGR provides TEE machine name 1.DISPATCHER send test request to TEE machine gotten on step 4. 2.TEE completes job execution and notifies DIPATCHER. 3.DISPATCHER releases TEE 4.TEE unregister w/ RESMGR upon shutdown 7 8 Test Flow

Resource Manager TEE 1 Registration TEE 2 Registration TEE n Registration STAF.cfg file Hardware Request from Test Case Definition The Resource Manager selects a TEE that contains the requested hardware.

TestLink’s hw_assets field The hw_assets field identifies the equipment needed to run a test case. The hw_assets field is made of one or more equipment reference lines. An equipment reference line has the following format: –ref=[hw_asset_type, capabilities] ref: Reference. This is the name that the test execution logic will use to refer to this equipment hw_asset_type: Identifies the equipment type (see next slide) capabilities: Identifies the equipment capabilities (see next slides)

hw_asset_type The hw_asset_type is just a label to identify a piece of equipment. From the Test Automation Framework point of view any value is acceptable, however it is important to agree on using the same labels to identify the same equipment, so it is possible to share test plans. HW Assets types currently in used: DUTs: dm355, dm365, dm644x, dm6467, dm6467t, gghd-evm, omap3530, omapl137, omapl138, beagle, beaglexm, am1707, am1808, am3517, am3730 Test Equipment: dvd, camera, tv, audioplayer, mts4e, videoclarity, pqa500, pesq, qmaster, spectralab, linux_server

capabilities The capabilities is just a string that identifies capabilities of a piece of equipment. From the Test Automation Framework point of view any value is acceptable, however it is important to agree on using the same labels to identify the same capabilities, so it is possible to share test plans. Identifying the capabilities is required because not all the boards of the same type have the same capabilities (i.e. different nand chips, different usb configs, slave vs host, etc.). The capabilities value is just a string with zero or more capabilities separated by underscore ‘_’. The capabilities are one or more lowercase letters or numbers. Example of some capabilities: videocapturentsc, videocapturepal, videocapture720p, videocapture1080i usbhostmsc, usbhostaudio, usbhostvideo nand4k, nand2k, sd, sdhc, mmc.

TEE Registration When a TEE is powered up, its Stafproc process should register w/ the Resource Manager. The Resource Manager information is obtained from its Staf configuration file The registration message should contain the TEE type and its capabilities The TEE capabilities are made of one or more equipment expressions separated by semicolon An equipment expression identifies the hw type and its capabilities –[“hw_asset_type”, capabilities]. For example –[“dm355”,usbslave_videocapture];[“dm365”,usbhostmsc_usbhostaudio]; [“dvd”,ntsc];[“dvd”,pal] When a TEE is powered down, its Stafproc process should unregister w/ the Resource Manager.

RESMGR Messages ADD TYPE NAME CAPABILITIES DELETE TYPE NAME CONFIRM LIST QUERY TYPE NAME REQUEST TYPE TIMEOUT [s|m|h|d|w] [CAPABILITIES ] RELEASE TYPE NAME VERSION HELP

ResMgr Algorithm Details Find set of Execution engines w/ appropriate HW types and capabilities Filter out Execution engines who doesn’t seem to be alive (ping request) Select engine w/ fewer number of pending request If two or more engines have the same number of pending request, select the one w/ fewer hardware capabilities