Presentation is loading. Please wait.

Presentation is loading. Please wait.

Component Interface Testing SciDAC Quarterly Report Argonne, IL William McLendon Ron Oldfield Sandia National Laboratories Sandia is a multiprogram laboratory.

Similar presentations


Presentation on theme: "Component Interface Testing SciDAC Quarterly Report Argonne, IL William McLendon Ron Oldfield Sandia National Laboratories Sandia is a multiprogram laboratory."— Presentation transcript:

1 Component Interface Testing SciDAC Quarterly Report Argonne, IL William McLendon Ron Oldfield Sandia National Laboratories Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract DE-AC04-94AL85000.

2 Twisted Python Info Framework, written in Python for writing networked applications. Some Features: –web server –RDDB interface –Object broker –Asynchronous event handling –Distributed Applications

3 APItest v0.1.2 Overview Continuing work with APItest v0.1.2 –HTTP Interface development –Test Types Shell Script Extensability (define new types easily) –3rd party libraries Twisted Python (elementtree)http://www.effbot.org/ Now available via Sandia FTP: –ftp://ftp.sandia.gov/outgoing/apitest/ftp://ftp.sandia.gov/outgoing/apitest/ –Posted in SciDAC notes

4 APItest & Python Collaboration with Scott Jackson –Stderr/Stdout bug with python Popen3 Problem was when a script or program generated a lot of stderr and stdout. –deadlock! Twisted provides SpawnProcess() –Fixed deadlocking problem! –Asynchronous interface via Deferred() Required rewriting a lot of code to support asynchronous file operation mode. –APItest is better because of it! –More responsive http server, etc. Accounted for most of the work this Quarter.

5 Test Run Tracking & Grouping APItest v0.1.2 has better support for browsing test data within a ‘session’ –Browse test “Run” data Time stamped –Test Run Overview –Batches –Tests timestamps md5sum on test file Batch and Test data stored in an in-memory database but in XML file format. Writing out data to file should be available soon™.

6 sciptTest XML Example Multiline CDATA BUFFER foreach i ( ) set theDate = `date` echo "timestamp1 :${i}: $theDate” sleep 5 end.*timestamp1.* 0

7 Batch File XML Test batch file.

8 Questions? Demo? ftp://ftp.sandia.gov/outgoing/apitest/

9

10 APItest Component Architecture Concept C bot Tests DB report generator APItest backup/ archival


Download ppt "Component Interface Testing SciDAC Quarterly Report Argonne, IL William McLendon Ron Oldfield Sandia National Laboratories Sandia is a multiprogram laboratory."

Similar presentations


Ads by Google