#NEWLINE# def _CleanupFrontend( benchmark_spec ) : #NEWLINE# #INDENT# frontend = benchmark_spec . vm_groups [ 'frontend' ] [ 0 ] #NEWLINE# frontend . RemoteCommand ( 'sudo killall -9 php-fpm' ) #NEWLINE# nginx . Stop ( benchmark_spec ) #NEWLINE# filestore = posixpath . join ( frontend . GetScratchDir ( ) , 'filestore' ) #NEWLINE# frontend . RemoteCommand ( ( 'rm -R %s' % filestore ) )