buildtest.scheduler.job

Module Contents

Classes

Job

This is a base class for holding job level data and common methods for used

class buildtest.scheduler.job.Job(jobID)[source]

This is a base class for holding job level data and common methods for used for batch job submission.

state()[source]

Return job state

get()[source]

Return Job ID as string type

abstract is_pending()[source]

Check if job is in pending state

abstract is_running()[source]

Check if job is in running state

abstract is_suspended()[source]

Check if job is in suspended state

abstract cancel()[source]

Cancel job

abstract poll()[source]

Poll job and update job state.

abstract get_output_and_error_files()[source]

Get output and error of job

output_file()[source]

Return output file of job

error_file()[source]

Return error file of job

exitcode()[source]

Return exit code of job

abstract retrieve_jobdata()[source]
jobdata()[source]