示例#1
0
 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)
示例#2
0
 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,
         ]
示例#3
0
 def kill(self, **opts):
     """Log kill event on client."""
     LCGMS.kill(self, **opts)
     self._cl_send_meta_messages()
示例#4
0
 def fail(self, **opts):
     """Log fail event on client."""
     LCGMS.fail(self, **opts)
     self._cl_send_meta_messages()
示例#5
0
 def complete(self, **opts):
     """Log complete event on client."""
     LCGMS.complete(self, **opts)
     self._cl_send_meta_messages()
示例#6
0
 def submit(self, **opts):
     """Log submit event on client."""
     self._cl_send_meta_messages()
     LCGMS.submit(self, **opts)
示例#7
0
 def __init__(self, job_info, config_info):
     """Construct the Dashboard LCG/Athena Monitoring Service."""
     LCGMS.__init__(self, job_info, config_info)