Upload
claribel-stokes
View
216
Download
3
Embed Size (px)
Citation preview
Testing Grid Software on the Grid
Steven Newhouse
Deputy Director
©
Open MiddlewareInfrastructure Institute
Provider of open source grid software
Based at the University of Southampton Utilise existing software and standards Production focused software development Integrate, test & document ‘a product’
To deliver high quality middleware to the UK e-Sciencecommunity that enables scientists and engineers to make
use of globally distributed computing resources
©
How will OMII deliver? By providing a software repository of grid
components from e-science projects By re-engineering software, hardening it and
providing support for components sourced from the community
By a managed programme to contract the development of “missing” software components necessary in grid middleware
By providing an integrated grid middleware release of the sourced software components
©
So the problem… Integrate complex service based software Validate functionality on different platforms Demonstrate interoperability
Cross platform Different Version In the future… different systems
©
Activity Within OMII
Bugs
RegressionTests
Testing
FunctionalSpecifications
Sources
Development Teams
PriorityList
Evaluation
Risk andPrioritisation
Fix Bugs
Requestsfor
Enhancements
UseCases
BuildTest Cases
Repository
Helpdesk
OpenSource
Distribution
UserCommunity
QualityReview
Issues
©
Manual & Non-functional Testing Exploring the install environment
Different platforms Different JDKs Different configurations
Using the documentation Do we tell people to do what we need to do? Reading and maintaining documentation is costly Tutorials & Training
©
Automatic & Functional Testing Requirements Specification Test suite We use a lot of JUnit testing Validate Integration
Need to do whole system testing A common problem across all infrastructures
©
NMI Build & Test Framework
©
What is it? A Condor job running in a Condor pool A framework (perl scripts) that creates
dependent jobs using DAGman Application specific ‘plugins’
Bash scripts Sensible default behaviour
Hawkeye modules to provide platform details Pre-installed software modules
©
Obtain Sources(scp, cvs, gridftp)
pre_all
post_all
platform_pre
platform_post
remote_pre
remote_post
remote_task
Tasks executed on the submitting
machine
Tasks executed on the remote
execution machine
Tasks repeated foreach platform
platform_pre
platform_post
remote_pre
remote_post
remote_task
platform_pre
platform_post
remote_pre
remote_post
remote_task
x86_fc4
x86_rh3
suse_90
©
Build Actions (1/2) Manual CVS checkout & patch source
Access restricted outside of OMII pre_all:
Remove non-build directories remote_pre:
Build & install Ant, PostgreSQL & Perl modules Configure OMII databases
©
Build Actions (2/2) remote_task:
Install database, software stack & managed programme
remote_post Stop server Package up the install tree
platform_post Upload binary Clean up build location
post_all Create source bundle & upload
©
Test Actions – for each build remote_pre
Deploy & configure server
remote_task Install client
remote_post Use client to run against server
platform_post Analyse test results
post_all Clean up
©
Issues No inter-machine testing
Need to express: server on A & client on B Multiple clients for stress testing
Need a client to communicate with a specific server Located on port X on machine A
Linking into other build resources Submit at Southampton and run in Madison (& reverse) Enabled through firewalls using CondorC
Test build environment Remove ‘overhead’ from using Condor
More expressive error reporting Remote/portal access for the managed programme
©
Roadmap
Basic WS Hosting Environment
Services
WS Infrastructure
Application Exemplars
Client Environment
WSSecIT WSS4J
Job
Resource Allocation
DataAccount
GridSAM
OGSA-DAI WS-I
WS-Notification
WS-Eventing
WS-Reliable Messaging
WS-Reliability
Grimoires
BPEL
Java
Cauchy MANGO
JythonMatlab Perl
©
Collaboration is essential Build & Test workshop at OMII last February
OMII NMI @ Madison (Condor Team) GT EGEE OGSA-DAI OMII-China
European Activity ETICS OMII-EU proposed
©
Claim your Travel Mug Download the OMII client from
http://www.omii.ac.uk Install the software and open an
account on our server Enter your name in the popup
window Go to the OMII booth and claim
your Travel Mug! Full instructions on the website.