Download presentation
Presentation is loading. Please wait.
Published byYessenia Jervis Modified over 9 years ago
1
Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Demo of STAF and STAX Ted Hesselroth Fermilab
2
Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Ted Hesselroth OSG Storage Forum 2009-07-01 Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 STAF Software Testing Automation Framework STAF is an Open Source automation framework designed around the idea of reusable components. It is intended to make it easier to create automated testcases and workloads. Supported Testing Scenarios Orchestrating a series of tests Call external user-written scripts Loops, conditionals Parallel execution Event listening, cron Move input and output files Running tests in a distributed environment
3
Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Ted Hesselroth OSG Storage Forum 2009-07-01 Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 STAF Features Distributed, peer-to-peer Authz by uid or machine name Monitoring Logging Control by STAF shell, Java, Perl, Python, Tcl, STAX
4
Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Ted Hesselroth OSG Storage Forum 2009-07-01 Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 The STAF Project IBM 3 developers Version 0.10: 02/16/1998 Version 3.3.5: 09/30/2009 C++ Many documents google “staf ibm” -> 88,100 hits
5
Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Ted Hesselroth OSG Storage Forum 2009-07-01 Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Setup Tarball, install script Target: /opt/staf-3.3.5 Extensions Download, place in directory Edit services file Run Services < 5 MB mem
6
Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Ted Hesselroth OSG Storage Forum 2009-07-01 Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 STAX XML-based execution language Installs as extension of STAF Uses jython Set variables using python syntax Java console for STAX invocation, messages, results
7
Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Ted Hesselroth OSG Storage Forum 2009-07-01 Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Example - nop
8
Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Ted Hesselroth OSG Storage Forum 2009-07-01 Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 System Call 'local' 'nedit'
9
Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Ted Hesselroth OSG Storage Forum 2009-07-01 Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Checking Return Code 'local' 'echo wow' 'Error: RC=%s, STAXResult=%s' % (RC, STAXResult) 'Process RC was 0. STAXResult=%s' % STAXResult
10
Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Ted Hesselroth OSG Storage Forum 2009-07-01 Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Setting Variables, Importing STAX scripts ImportMachine = 'local' ImportDirectory = '{STAF/Config/STAFRoot}/services/stax' from random import randint
11
Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Ted Hesselroth OSG Storage Forum 2009-07-01 Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Loops, Calling python, Setting Status … r = randint(1, 100) { 'parms' : '1 1 %s' % r }
12
Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Ted Hesselroth OSG Storage Forum 2009-07-01 Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 End …
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.