Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Demo of STAF and STAX Ted Hesselroth Fermilab
Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage 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
Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage STAF Features Distributed, peer-to-peer Authz by uid or machine name Monitoring Logging Control by STAF shell, Java, Perl, Python, Tcl, STAX
Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage 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
Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage Setup Tarball, install script Target: /opt/staf Extensions Download, place in directory Edit services file Run Services < 5 MB mem
Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage STAX XML-based execution language Installs as extension of STAF Uses jython Set variables using python syntax Java console for STAX invocation, messages, results
Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage Example - nop
Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage System Call 'local' 'nedit'
Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage Checking Return Code 'local' 'echo wow' 'Error: RC=%s, STAXResult=%s' % (RC, STAXResult) 'Process RC was 0. STAXResult=%s' % STAXResult
Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage Setting Variables, Importing STAX scripts ImportMachine = 'local' ImportDirectory = '{STAF/Config/STAFRoot}/services/stax' from random import randint
Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage Loops, Calling python, Setting Status … r = randint(1, 100) { 'parms' : '1 1 %s' % r }
Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage End …