SciDAC SSS Quarterly Report Sandia Labs May 10, 2005 William McLendon Ron Oldfield Neil Pundit Sandia is a multiprogram laboratory operated by Sandia Corporation,

Slides:



Advertisements
Similar presentations
FIRST SESSION - XAMPP Jeongmin Lee.  Jeongmin Lee  CS  PHD  Machine Learning, AI  Web System Development.
Advertisements

DB2 Tools Pertemuan 3 Matakuliah: T0413 Tahun: 2009.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
Component Interface Testing SciDAC Quarterly Report Argonne, IL William McLendon Ron Oldfield Sandia National Laboratories Sandia is a multiprogram laboratory.
LINUX-WINDOWS INTERACTION. One software allowing interaction between Linux and Windows is WINE. Wine allows Linux users to load Windows programs while.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Report Distribution Report Distribution in PeopleTools 8.4 Doug Ostler & Eric Knapp 7264.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
HORIZONT 1 TWS/WebAdmin Tips & Tricks HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 /
MZ790 Print Driver and RINC Software Install and Setup These instructions are to assist you in installation and setup of the MZ790 Print Driver and RINC.
Installing Windows XP Professional Using Attended Installation Slide 1 of 41Session 2 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
WebXtender Tutorial just use the arrow keys to navigate the slides.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
Practice Insight Instructional Webinar Series Reporting
Linux Operations and Administration
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
® IBM Software Group © 2006 IBM Corporation JSF Tree Control This Learning Module describes the use of the JSF Tree Control – for hierarchical organization.
Robot Framework – Basic Level. Date: Version:1.0 Page 1.
1 Guide to Novell NetWare 6.0 Network Administration Chapter 13.
AQS Web Quick Reference Guide Changing Raw Data Values Using Maintenance 1. From Main Menu, click Maintenance, Sample Values, Raw Data 2. Enter monitor.
© 2012 LogiGear Corporation. All Rights Reserved Robot framework.
ICP Kit 2011 HHC Data Entry Module The World Bank ICP Kit Training African Development Bank.
Chapter 6 Configuring Windows Server 2008 Printing
Siemens Power Generation, Instrumentation &Controls
WaveMaker Visual AJAX Studio 4.0 Training Authentication.
ERA Manager Training December 19, Propriety and Confidential. Do not distribute. 2 ERA Manager Overview In an effort to reduce the need for Providers,
Network Management Tool Amy Auburger. 2 Product Overview Made by Ipswitch Affordable alternative to expensive & complicated Network Management Systems.
Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
WebVizOr: A Fault Detection Visualization Tool for Web Applications Goal: Illustrate and evaluate the uses of WebVizOr, a new tool to aid web application.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Four Windows Server 2008 Remote Desktop Services,
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
SSS Test Results Scalability, Durability, Anomalies Todd Kordenbrock Technology Consultant Scalable Computing Division Sandia is a multiprogram.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
SAN DIEGO SUPERCOMPUTER CENTER Inca Data Display (data consumers) Shava Smallen Inca Workshop September 5, 2008.
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
Database Handling, Sessions, and AJAX. Post Back ASP.NET Functionality The IsPostBack method in ASP.NET is similar to the BlackBerry.refresh method –IsPostBack.
SciDAC SSS Quarterly Report Sandia Labs August 27, 2004 William McLendon Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed.
Department of Computer Science Internet Performance Measurements using Firefox Extensions Scot L. DeDeo Professor Craig Wills.
LAMMPS Users’ Workshop
October 10-11, 2002 Houston, Texas Erik DeBenedictis William McLendon Mike Carifio Sandia is a multiprogram laboratory operated by Sandia Corporation,
WebScan Change Order. WebScan change order: What is it? Beginning in 2010 changes to a WebScan order will need to be submitted via a WebScan change order.
11/25/2015Slide 1 Scripts are short programs that repeat sequences of SPSS commands. SPSS includes a computer language called Sax Basic for the creation.
SSS Validation and Testing September 11, 2003 Rockville, MD William McLendon Neil Pundit Erik DeBenedictis Sandia is a multiprogram laboratory operated.
ASP. What is ASP? ASP stands for Active Server Pages ASP is a Microsoft Technology ASP is a program that runs inside IIS IIS stands for Internet Information.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
© 2012 LogiGear Corporation. All Rights Reserved FitNesseFitNesse Authors: Nghia Pham 1.
Lab 8 Overview Apache Web Server. SCRIPTS Linux Tricks.
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
SciDAC SSS Face-To-Face Erik P. DeBenedictis February 21, 2002 Sandia is a multi-program laboratory operated by Sandia Corporation, a Lockheed Martin Company,
Intoduction to Andriod studio Environment With a hello world program.
Institute for the Protection and Security of the Citizen HAZAS – Hazard Assessment ECCAIRS Technical Course Provided by the Joint Research Centre - Ispra.
Robot Framework – Basic Level. Date: Version:1.0 Page 1.
Wednesday NI Vision Sessions
Open Science Grid Configuring RSV OSG Resource & Service Validation Thomas Wang Grid Operations Center (OSG-GOC) Indiana University.
SciDAC SSS Quarterly Report Sandia Labs January 25, 2005 William McLendon Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
Fundamental of Databases
HORIZONT TWS/WebAdmin DS TWS/WebAdmin DS Tips & Tricks
Getting Started with R.
Bomgar Remote support software
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
TracCloud.
Selenium IDE Installation and Use.
Presentation transcript:

SciDAC SSS Quarterly Report Sandia Labs May 10, 2005 William McLendon Ron Oldfield Neil Pundit Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear Security Administration under contract DE-AC04-94AL85000.

APItest - Overview Current Release : v1.0 Test Driver tool for testing software –Ordered tests –API Testing Available for download: –ftp://ftp.sandia.gov/outgoing/apitest/ftp://ftp.sandia.gov/outgoing/apitest/ 2

Work Since Previous Meeting New Look via Cascading Style Sheets –Can be turned off if needed. New Capabilities –PASS/FAIL status with batch files. Some new XML options for batch tests. –Better reporting of parse errors in XML –(very) preliminary connectivity to MySQL DB Saves results only, no browse capability. Finished User Guide –Preliminary R&A approval Slight modifications needed and it’s out. Bug Fixes 3

APItest - Features Open Source (LGPL) Scripted Test Driver –Runs XML test scripts. Written in Python –Portable –Object Oriented Customizable Built in Test Types –Shell –Script –SciDAC SSS (ssslib) –TCP/IP XML Error Helper –Help find XML Errors Conditional execution of tests & test ordering. Some Test Features –SUID Capability –Test Timeouts –Pattern matched results –Batch Status Conditions User interfaces –Interactive via browser. –Command line mode. Limited MySQL DB Support –(under development) 4

APItest – Package Requirements Python 2.3 or greater –lower versions can work but the setup script requires distutils, which is a python >= 2.3 package. ElementTree ( Twisted ( –New version of has changed the twisted library and added new dependencies. Discussed on next slide. SSSlib (ftp://ftp.mcs.anl.gov/pub/sss/)ftp://ftp.mcs.anl.gov/pub/sss/ –optional, for SSSlib tests. MySQL –optional, for MySQL database connectivity. 5

Recent Changes in the Twisted Library With Twisted the distribution has been split up. Twisted Prerequisites: –Python 2.3 or greater –ZopeInterfaces or greater TwistedWeb Prerequisites –Twisted must be installed first. APItest still works with Twisted –Still available at with a little digging. 6

Batch File PASS/FAIL 2 New additions to Batch files New ATTRIBUTE to a element –mustPass = { TRUE / FALSE } Determines if a test counts towards batch file pass/fail stuats. If set to true (default), this test MUST PASS or the batch from which it is called will FAIL. If set to Fail, this test will not be considered in batch status determination. Must provide a element to set this attribute. New Element – –Changes default for mustPass. 7

MySQL Connectivity Started adding MySQL connectivity Very new and certainly in testing. Some new packages required to make it work –MySQL –MySQLdb python modules Saves results to DB only, no browse capability yet. Command line driven –Will show up in –help and the userguide. More work than it seems like. Need to rewrite a couple of things in APItests’ jobManager to make things work the “right” way. 8

New “Look and Feel” Added a new look to the gui browser. Tabbed menu system Cascading Style Sheets (CSS) –There are some compatibility issues, not all browsers render it necessarily the same. Added a “compatibility mode” option incase CSS messes up. –Add –nocss to command line. 9

APItest Main Screen Lists available tests Color codes tests –Batch files –Individual tests –Invalid test files. Organized by directory Details of tests can be viewed by clicking the “View Test” button. Click SUBMIT to execute selected tests. 10

Running A Test Session screen shows the currently running test. Tests show their PASS/FAIL status. Batches show an overall PASS or FAIL and some statistics. –Total # of tests in batch –Total # that passed. –Total # that failed. 11

Viewing Test Results Browsing a test’s result screen shows what happened. –Execution summary –Expected and Actual outputs –Dependency info (when applicable) These results are also saved to disk in XML

Dependency Failure Viewing test results when a dependency failure shows what failed. Each “parent” test is listed with Expected and Actual status. Failed dependencies are highlighted to make them stand out. 13

Helping Fix Bad Tests APItest provides debugging assistance for test scripts. –Click “View Test” from the Main screen for the test listing –Lines are numbered. –The error is shown via ==ERROR===^ In this case, “&” is invalid XML. Replace with & 14

Terminal Execution APItest can be run at the command line. Useful for running a test suite unattended such as through a scheduler. Results are saved and can be browsed later via the browser. –A “view-only” mode is available that only can browse saved results. 15

APItest - Ongoing & TODO Bug Fixing User Guide –Preliminary R&A given. DB Connectivity –Make MySQL connectivity more complete. Validation via file matching Configuration file More SSS tests Test Developer GUI Remote test execution Additional native test types –HTTP, XMLRPC Session management and security (Cookies?) 16

APItest - Execution There are two ways to execute APItest Command Line Only –$> apitest -f test_file.[apt|apb] Web browser GUI (Interactive) –$> apitest httpd -i [--iroot] : root directory to look for tests -p [--port] : port number (default = 2112) -h [--host] : host (default = localhost) Running with --help will display command line usage. 18

SSS - Service Directory Startup Test PREPTEST SDOFF SSS STARTTEST SDON RM EMNGSDSTAT SSS STOPTEST SDOFF

Dependency Tree for APItest Python >= version 2.3 –ZopeInterfaces Twisted –TwistedWeb –ElementTree –ssslib (optional) –MySQL (optional)

APItest - Test Types CMD –Execute a command via the command line. SCRIPT –Execute a script. SSS –Execute a ssslib communication.

APItest - Example CMD Test Example test. Runs ls -lr from /tmp, expects 0 exit status and any input. ls -l -r.* 0

APItest - Example Script Test Timeout test for x in do echo "timeout_test :${x}: `date`” sleep 1 done.*timeout.* 0

APItest - Example ENVVAR Test This script executes but adds some stuff to the environment. NOTE: setting envvar OVERRIDES any inherited environment variables. #!/bin/csh env foobar foo.*test_envvar_1=foobar\n.*test_envvar_2=foo\n.* 0

APItest - Example SUID Test #!/usr/bin/env python import os print os.getuid() print os.getgid() /tmp/testuser/ -l ^27030$\n^500$ 0

APItest - Example SSS Test Sample sss query of the service directory <get-location><location component='service-directory' host='*' port='*' protocol='*' schema_version='*' tier='*'/></get-location>.*

Old Graphics

APItest - GUI (Top Page) Top level index page for APItest APItest recurses from the [testroot] to find tests. File Extensions: –TEST :.apt –BATCH :.apb Batch tests shown in bold Organized by directory

APItest - GUI (Test Run Execution) Quick status view of test execution. This screen loads when the EXECUTE button is selected. Color coded for easy viewing. Currently running test is indicated. Refreshes every 15 seconds until tests complete.

APItest - GUI (Test Run Summary) Summary of test results Color coding Batch Features –Cumulative summaries Total # of tests # that passed (green) # that failed (red) Hyperlinks to see more details about a test or batch.

APItest - GUI (Test Details - PASSED) Example of a test that was executed and passed. Summary Data Dependency Data –Only shown if test was run as part of a batch. Output –Side-by-side comparison –Dependent on type of test.

APItest - GUI (Batch Summary) Clicking a hyperlink into a batch test gives us a summary view. In this example, one test failed a dependency –FAILDEP in the status column indicates this. Clicking on the scriptTest2.apt link will show us more data about this test.

APItest - GUI (Test Details - FAILDEP) Detailed view of scriptTest2.apt from previous slide. Failed a dependency on cmdTest2.apt –Expected : FAIL –Actual : PASS

APItest - GUI (List of Test Runs) Clicking the View All Runs button gives this screen. Test Runs are sorted by date and time. Click links to view details of a particular run.