Building and Testing OGCE Software on the NMI Build and Test Facility Marlon Pierce Indiana University.

Slides:



Advertisements
Similar presentations
Open Grid Computing Environments Marlon Pierce (IU) & Gopi Kandaswamy (RENCI)
Advertisements

Community Grids Lab1 CICC Project Meeting VOTable Developed VotableToSpreadsheet Service which accepts VOTable file location as an input, converts to Excel.
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
 Please sit next to your partner.  If you don’t have a partner, please find one now.
Developing Grid User Interface Components Portlets, gadgets, etc.
1. What is Subversion? Why do we need CM? Basic concepts Repositories Options Setup Clients Options Setup Operation Troubleshooting Slide 2.
Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
Test Automation Framework Ashesh Jain 2007EE50403 Manager Amit Maheshwari.
OGCE Overview: Portals, Services, Workflows, Gadgets, and Tags Marlon Pierce (IU), Suresh Marru (IU), Gregor von Laszewski (RIT), Mary Thomas (SDSU), Nancy.
MC365 Ant. Today We Will Cover: Overview of Ant Installing Ant Using the Ant command line tool Various Ant commands available Using Ant in Eclipse.
Open Grid Computing Environments Marlon Pierce, Suresh Marru, Gregor von Laszewski, Mary Thomas, Maytal Dahan, Gopi Kandaswamy, and Wenjun Wu.
Talend 5.4 Architecture Adam Pemble Talend Professional Services.
CSE 403 Lecture 11 Static Code Analysis Reading: IEEE Xplore, "Using Static Analysis to Find Bugs" slides created by Marty Stepp
The DSpace Course Module – DSpace Installation. Module objectives  By the end of this module you will:  Understand the platforms DSpace can be hosted.
ZFApp Preview Walkthrough. What is ZFApp? ZFApp is an application framework built on top of Zend Framework Fully compatible with the latest ZF Versions.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
Maven & Bamboo CONTINUOUS INTEGRATION. QA in a large organization In a large organization that manages over 100 applications and over 20 developers, implementing.
Windows Azure Conference 2014 Running Docker on Windows Azure.
Sumedha Rubasinghe October,2009 Introduction to Programming Tools.
OGCE Building and Testing on NMI Slides by: Rishi Verma.
A Web 2.0 Portal for Teragrid Fugang Wang Gregor von Laszewski May 2009.
Future Grid Future Grid User Portal Marlon Pierce Indiana University.
COMP-14: Automating your deployments using ANT Gary S Clink Business Consultant.
Installing and Building GTLAB Marlon Pierce Indiana Univeristy.
Building the Portal. Choosing a Host Computer Select your host computer. o You will need a real IP address for some COG-based portlets o VPN also OK (?)
WaveMaker Visual AJAX Studio 4.0 Training Installation.
1. Introduction  The JavaScript Grid Portal is trying to find a way to access Grid through Web browser, while using Web 2.0 technologies  The portal.
October, Scientific Linux INFN/Trieste B.Gobbo – Compass R.Gomezel - T.Macorini - L.Strizzolo INFN - Trieste.
Software for Science Gateways: Open Grid Computing Environments Marlon Pierce, Suresh Marru Pervasive Technology Institute Indiana University
OGCE Overview: Services, Gadgets, and Tags Marlon Pierce, Suresh Marru, Gregor von Laszewski, Mary Thomas, Maytal Dahan, Gopi Kandaswamy, Rion Dooley,
Grids and Portals for VLAB Marlon Pierce Community Grids Lab Indiana University.
Toward the Next Generation of Ingres Administration Tools UKIUA 2010 June 8, 2010.
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring Mike Phenow.
GEM Portal and SERVOGrid for Earthquake Science PTLIU Laboratory for Community Grids Geoffrey Fox, Marlon Pierce Computer Science, Informatics, Physics.
1 / 22 AliRoot and AliEn Build Integration and Testing System.
1 Grid Portal for VN-Grid Cu Nguyen Phuong Ha. 2 Outline Some words about portals in principle Overview of OGCE GridPortlets.
Ant & Jar Ant – Java-based build tool Jar – pkzip archive, that contains metadata (a manifest file) that the JRE understands.
CS4710 Why Progam?. Why learn to program? Utility of programming skills: understand tools modify tools create your own automate repetitive tasks automate.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
WDO-It! 102 Workshop: Using an abstraction of a process to capture provenance UTEP’s Trust Laboratory NDR HP MP.
Interactive Workflows Branislav Šimo, Ondrej Habala, Ladislav Hluchý Institute of Informatics, Slovak Academy of Sciences.
CRaSH Portal Team. 2 Agenda Introduction to CRaSH Deployment and connection Using the CRaSH command Develop the CRaSH commands yourself.
OGCE Components for Enhancing UltraScan Job Management. Suresh Marru,Raminder Singh, Marlon Pierce.
OGCE Overview: Services, Gadgets, and Tags Marlon Pierce, Suresh Marru, Gregor von Laszewski, Mary Thomas, Maytal Dahan, Gopi Kandaswamy, Rion Dooley,
The Open Grid Computing Environments Project Marlon Pierce Community Grids Laboratory Indiana University.
SAN DIEGO SUPERCOMPUTER CENTER Inca Control Infrastructure Shava Smallen Inca Workshop September 4, 2008.
Chapter 1 Introducing Ant. What is ant? Ant is a build tool  Automate the tasks of compiling code, running test, and packaging the results for redistribution.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
Open Grid Computing Environments Tutorial Marlon Pierce, Suresh Marru, Gopi Kandaswamy, Gregor von Laszewski, and Tom Scavo.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
Selenium server By, Kartikeya Rastogi Mayur Sapre Mosheca. R
Test Automation Using Selenium Presented by: Shambo Ghosh Ankit Sachan Samapti Sinhamahapatra Akshay Kotawala.
Application Web Service Toolkit Allow users to quickly add new applications GGF5 Edinburgh Geoffrey Fox, Marlon Pierce, Ozgur Balsoy Indiana University.
MIS Week 5 Site:
JRA1 Meeting – 09/02/ Software Configuration Management and Integration EGEE is proposed as a project funded by the European Union under contract.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
Build Automation with Gradle
Open Grid Computing Environment Summary
OGCE Short Summary Marlon Pierce Community Grids Lab
Building and Testing using Condor
More Scripting & Chapter 11
Open Grid Computing Environments
Haiyan Meng and Douglas Thain
Building Science Gateways and Managing Workflows with the Open Grid Computing Environment Toolkit Marlon Pierce, Suresh Marru, Zhenhua Guo, Fugang Wang,
JENKINS TIPS Ideas for making your life with Jenkins easier
OGCE Portal Software for Big Red and the TeraGrid
Open Grid Computing Environments
Presentation transcript:

Building and Testing OGCE Software on the NMI Build and Test Facility Marlon Pierce Indiana University

OGCE’s portal release includes several Grid portlets built with Java COG, our Velocity Bridge, and GTLAB JSF libraries

The OGCE Gadget Container allows you to build portals out of public and private Google Open Social gadgets. Supports HTTPS. Downloadable, packaged software.

OGCE’s Cyberaide JavaScript provides a Grid abstraction layer for developing mashups and gadgets. Downloadable, packaged software.

The XBaya workflow composer allows you to build scientific workflows from services running across the TeraGrid. This is part of our workflow suite. OGCE Tools for Science Workflows

OGCE Packaging, Building and Testing All component builds are designed to be self contained – Uses Apache Maven 2.x – Download includes everything you need. – Built with a single command: mvn clean install – Builds are modular Code is managed by SourceForge’s SVN. Apache JMeter test suite for the portal. – Need more than just unit tests – Run against your installation – Automated tests nightly

Basic NMI Build and Test Script Structure submitOGCE.sh is the master script. This is called as a cron job. – This calls the.submit script for each component For each OGCE component, we have 3 metronome submit scripts – Nonmac (linux), mac-x86, mac-ppc – Example submit script on next slide – This stages in inputs to the destination machine, runs SVN Finally, we run a build-specific shell script that does the actual Maven build. You can get all of this from our SourceForge SVN: – scripts

Example NMI submit file script project = OGCE component = Trunk Build component_version = description = Automated test of OGCE build/runtime execution run_type = build inputs = ogcePortal.svn, buildOGCEPortal-nonmac.scp, OGCEJMeterTestFile.scp, OGCEJMeterResults.scp, jakarta-jmeter-2.scp, maven.scp remote_task = buildOGCEPortal-nonmac.sh remote_task_args = "" platforms = x86_64_fc_4, x86_64_fc_5, x86_64_rhap_5, x86_64_rhas_3, x86_64_rhas_4, x86_64_sles_8, x86_cent_4.2, x86_deb_3.1, x86_deb_4.0, x86_fc_2, x86_fc_3, x86_fc_4, x86_fc_5, x86_rh_7.2, x86_rh_8.0, x86_rh_9, x86_rhap_5, x86_rhas_3, x86_rhas_4, x86_slc_3, x86_sles_8, x86_sles_9, x86_slf_3, x86_suse_10.0, x86_suse_10.2, x86_ubuntu_5.10 prereqs = java-1.5.0_08 notify = remote_task_timeout = 120m

Practical Lessons o Need to modify your build script for some platforms o JDK versions were different between Linux platforms, Macintosh x86, and Macintosh ppc platforms respectively o Made it necessary to use three different NMI scripts o Maven program had to be copied separately for Linux platforms because of NMI incompatibilities with OGCE’s bundled maven o Once again, be self-contained

Practical Lessons o Environment variables need to be specifically assigned o $JAVA_HOME needed to be set and added to path o $HOME directory needed to be set to current NMI build directory because OGCE portal builds in the $HOME by default o Keep trying to build even if project fails the first time o OGCE svn download would occasionally fail, so we had each script try 'rebuilding' the portal up to three times every night

Practical Lessons o Have your script "sleep" if runtime programs aren't loading o Apache Tomcat server would often fail to start o Issuing a "sleep 20" command gave Tomcat enough time to load

Some Sample Timings Linux platforms o Average build time per platform = minutes o Average total time w/ queue wait (all platforms) = minutes Macintosh OSX 10.4 (PPC) o Average build time = 10.3 minutes o Average total time (including queue) = minutes Macintosh OSX 10.4 (x86) o Average build time = 6.2 minutes o Average total time (including queue) = 96.5 minutes

Critique of the Build and Test System Help support has always been great Documentation should be improved. – Difficult to remember how to find out which Linux platforms are available. – Difficult to remember how to find out which Java versions are supported. – Need some “getting started” scripts I really don’t care too much about specific OS and Java versions. It would be nice to have “use all linux”, “use newest Java” options. – Would also allow me to use the same scripts for all my platforms. I would like to revisit our systems testing strategy

More Information OGCE Web Site: Blog/News Feed: ogce.blogspot.com/ ogce.blogspot.com/ See our poster at the SDCI All Hands Meeting Thursday night Rishi Verma did most of the original build and test work