erik p. debenedictis sandia is a multiprogram laboratory operated by sandia corporation, a lockheed...

18
Erik P. DeBenedictis 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. Testing Integration and Validation Group

Upload: bridget-stewart

Post on 05-Jan-2016

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

Erik P. DeBenedictis

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.

Testing Integration and Validation Group

Page 2: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

Agenda

• Hardware Inventory– Oak Ridge– Sandia– Berkeley– Argonne

• Intellectual Property– Process

• Documentation Standards– TEX– HTML– Embedded

• Bug tracking– Bugzilla

• Test Framework– Deja Gnu– QMTest

Page 3: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

Hardware

• Berkeley– Hardware

• 32 nodes P II 400

– Software• Redhat 6.2

• Argonne– Hardware

• On demand 256 nodes• P III 500s myrinet

– Software• Redhat 7.1

• Oak Ridge (posted in notebook)– Hardware

• 4 dual 450 with 1 gig ram• X Torque 64 nodes 2 gig

– Fast ethernet + gig ethernet

– Software• Oscar install 1.2.1

• Sandia– Hardware

• 8 Alpha + admin node

– Software• Cplant

Page 4: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

Servers

• Ames– CVS Directory

• E-mail Brett

• Argonne– Bitkeeper

• E-mail Narayan

– Bugzilla• E-mail Narayan

• Sandia– CVS

• E-mail Erik

Page 5: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

Intellectual Property

• Process– Fred (DOE) requests Open Source

– Labs “Assert Copyright” on Open Source License• What license• Needs to be same

– Contribute Source

– Publish Source

Page 6: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

Documentation Standards

• Objectives– Set standards for English

Language contributions to group’s product

• HTML– (Doesn’t paginate well --

Hargrove)

• Rusty’s TeX Macros– (Not browsable? --

Hargrove)– (Paginates well

Jackson)

• Microsoft Word– (Violent objection to this

one)

• ASCII

• What types of documentation?– Design documents– User guide– Man pages– XML Schema specs– Installation guide– Administration guide– Reference guide (optional)

• Format requirements– Source format

• Html, tex

– Distribution format• Pdf, html

Page 7: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

Bugtracking

• Bugzilla– Argonne has bugzilla installed and can create a

branch for SciDAC

Page 8: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

Test Harness

• The T-I-V-X group investigated test harness products– Selected Deja GNU (but did not review QMTest)

• Sandia investigated test harness products for Cplant– Selected QMTest

• The SciDAC SSS group finds QMTest interesting and support for Deja GNU has withered

Page 9: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

What is QMTest?

• Scriptable (Python) test driver• Test metadata (results) defined with XML• Web-based interface• Extensible webserver built in (Zope)• HTML contents customizable• New test types through inheritance• More: http://www.codesourcery.com/qm/qmtest

Page 10: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

Why QMTest?

• Opensource• Scriptable (you can extend it)• Object-oriented• Declarative results in XML• Web-based UI supports decentralized dev.• Active and growing development commun.• Good “separation of concerns” design

Page 11: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

How Does Cplant Use It?

• Mostly as intended • Subclass ExecTest• Declare test results using UI right now• Drive cases sequentially. PBS integration?• We’re coming up the learning curve…

Page 12: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

How QMTest Looks

Page 13: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

Example Test Report

Page 14: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

Step 1: Define a New Test

Page 15: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

Step 2: Describe It

Page 17: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

When Did We Do This?

• 12/01 Carifio invest. test frameworks• 1/02 Goudy, Carifio select QMTest• Q1/02 Goudy,Carifio learn Python, QMT.• Q2/02 Carifio gathers test “packages”,• implements “build framework”• Q3/02 Drive packages with QMTest• Q4/02 UI mods? PBS integration?

Page 18: Erik P. DeBenedictis Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of

Conclusions

• QMTest is scriptable driver• Tests are defined in XML• UI is web-based, content generated• New test kinds derived from base classes• Best price• Active development• Seems to be “best in class” today