def stop(self, exitcode, **opts): """Log stop event on worker node.""" LCGMS.stop(self, exitcode, **opts) # send job-processing-attributes message if job successful if exitcode == 0: message = self._wn_job_processing_attributes_message() self._send(self.config_info['destination_job_processing_attributes'], message)
def getSandboxModules(self): """Return list of module dependencies.""" import Ganga.Lib.MonitoringServices.Dashboard return LCGMS.getSandboxModules(self) + [ Ganga.Lib.MonitoringServices.Dashboard.LCGAthenaMS, Ganga.Lib.MonitoringServices.Dashboard.LCGAthenaUtil, ]
def kill(self, **opts): """Log kill event on client.""" LCGMS.kill(self, **opts) self._cl_send_meta_messages()
def fail(self, **opts): """Log fail event on client.""" LCGMS.fail(self, **opts) self._cl_send_meta_messages()
def complete(self, **opts): """Log complete event on client.""" LCGMS.complete(self, **opts) self._cl_send_meta_messages()
def submit(self, **opts): """Log submit event on client.""" self._cl_send_meta_messages() LCGMS.submit(self, **opts)
def __init__(self, job_info, config_info): """Construct the Dashboard LCG/Athena Monitoring Service.""" LCGMS.__init__(self, job_info, config_info)