JobReport

JobReport class encapsulates various methods of the job status reporting. It’s an interface to JobStateUpdateClient, used when bulk submission is needed.

class DIRAC.WorkloadManagementSystem.Client.JobReport.JobReport(jobid, source='')

Bases: object

class JobReport
__init__(jobid, source='')

c’tor

commit()

Send all the accumulated information

dump()

Print out the contents of the internal cached information

generateForwardDISET()

Generate and return failover requests for the operations in the internal cache

sendStoredJobParameters()

Send the job parameters stored in the internal cache

sendStoredStatusInfo()

Send the job status information stored in the internal cache

setApplicationStatus(appStatus, sendFlag=True)

Send application status information to the JobState service for jobID

setJob(jobID)

Set the job ID for which to send reports

setJobParameter(par_name, par_value, sendFlag=True)

Set job parameter for jobID

setJobParameters(parameters, sendFlag=True)

Set job parameters for jobID

setJobStatus(status='', minorStatus='', applicationStatus='', sendFlag=True)

Send job status information to the JobState service for jobID