downloadFIO = Process( name='download-fio', cmdline='curl -o fio.rpm https://svn.twitter.biz/rpms/fio.x86_64/RPMS/x86_64/fio-1.50-2.twitter.x86_64.rpm' ) extractFIO = Process( name='extract-fio', cmdline='rpm2cpio fio.rpm | cpio -idmv' ) runFIO = Process( name='run-fio', cmdline='./usr/bin/fio --name=writefile --size=8G --filesize=8G --filename=./fiotestfsync --bs=4k --nrfiles=1 --fsync=1 --randrepeat=0 --rw=write --refill_buffers --end_fsync=1 --iodepth=200 --ioengine=libaio --runtime=240', ) jobs = [ Service( cluster='smf1-test', environment='devel', role='fcuny', name='fio', task=Task( processes=[downloadFIO, extractFIO, runFIO], resources=Resources(cpu=10, ram=4096 * MB, disk=10 * GB), constraints=order(downloadFIO, extractFIO, runFIO) ), instances=4, constraints={ 'base_platform': 'f4ww', } ) ]