ARC SDK
Job state mapping

Table of Contents

On this page the mapping of job state attributes of different computing services to those defined by the libarccompute library in the JobState class is documented.

Grouped by libarccompute attributes

UNDEFINED

Attribute description

Specialisation Input
Grid Manager ""
EMI ES "":*
BES Any other state
ARC extended BES ""
CREAM extended BES ""

ACCEPTED

Attribute description

Specialisation Input
Grid Manager ACCEPTED,
ACCEPTING
EMI ES accepted:*,
preprocessing:*
BES pending
ARC extended BES accepted
CREAM extended BES REGISTERED,
PENDING

PREPARING

Attribute description

Specialisation Input
Grid Manager PREPARING,
PREPARED
ARC extended BES preparing,
prepared

SUBMITTING

Attribute description

Specialisation Input
Grid Manager SUBMIT,
SUBMITTING
EMI ES processing-accepting:*
ARC extended BES submit,
submitting

HOLD

Attribute description

Specialisation Input
Grid Manager INLRMS:H,
INLRMS:S,
INLRMS:O
CREAM extended BES HELD

QUEUING

Attribute description

Specialisation Input
Grid Manager INLRMS:Q,
INLRMS*
EMI ES processing:*,
processing-queued:*
ARC extended BES inlrms:q
CREAM extended BES IDLE

RUNNING

Attribute description

Specialisation Input
Grid Manager INLRMS:R
EMI ES processing-running:*
BES running
ARC extended BES inlrms:r,
inlrms:executed,
inlrms:s,
inlrms:e,
executing,
executed,
killing
CREAM extended BES RUNNING,
REALLY-RUNNING

FINISHING

Attribute description

Specialisation Input
Grid Manager INLRMS:E,
FINISHING,
KILLING,
CANCELING,
EXECUTED
EMI ES postprocessing:client-stageout-possible
ARC extended BES finishing

FINISHED

Attribute description

Specialisation Input
Grid Manager FINISHED
EMI ES terminal:*
BES finished
ARC extended BES finished
CREAM extended BES DONE-OK

KILLED

Attribute description

Specialisation Input
Grid Manager KILLED
BES cancelled
ARC extended BES killed
CREAM extended BES CANCELLED

FAILED

Attribute description

Specialisation Input
Grid Manager FAILED
EMI ES terminal:preprocessing-cancel,
terminal:processing-cancel,
terminal:postprocessing-cancel,
terminal:validation-failure,
terminal:preprocessing-failure,
terminal:processing-failure,
terminal:postprocessing-failure,
terminal:app-failure
BES failed
ARC extended BES failed
CREAM extended BES DONE-FAILED,
ABORTED

DELETED

Attribute description

Specialisation Input
Grid Manager DELETED
EMI ES terminal:expired
ARC extended BES deleted

OTHER

Attribute description

Specialisation Input
Grid Manager Any other state
EMI ES postprocessing:*,
Any other state
ARC extended BES Any other state
CREAM extended BES Any other state

Grouped by plugin

Grid Manager

Note
Prefix "PENDING:" and spaces are ignored when mapping states.
Input Lib. attr.
ACCEPTED, ACCEPTING ACCEPTED
"" UNDEFINED
DELETED DELETED
FINISHED FINISHED
INLRMS:Q, INLRMS* QUEUING
FAILED FAILED
INLRMS:R RUNNING
Any other state OTHER
PREPARING, PREPARED PREPARING
SUBMIT, SUBMITTING SUBMITTING
INLRMS:E, FINISHING, KILLING, CANCELING, EXECUTED FINISHING
INLRMS:H, INLRMS:S, INLRMS:O HOLD
KILLED KILLED

EMI ES

Note
EMI ES states contains a state name and zero or more state attributes. For this mapping the notation:
<name>:{*|<attribute>}
is used, where '*' applies to all attributes except those already specify for a particular state name.
Input Lib. attr.
accepted:*, preprocessing:* ACCEPTED
"":* UNDEFINED
terminal:expired DELETED
terminal:* FINISHED
processing:*, processing-queued:* QUEUING
terminal:preprocessing-cancel, terminal:processing-cancel, terminal:postprocessing-cancel, terminal:validation-failure, terminal:preprocessing-failure, terminal:processing-failure, terminal:postprocessing-failure, terminal:app-failure FAILED
processing-running:* RUNNING
postprocessing:*, Any other state OTHER
processing-accepting:* SUBMITTING
postprocessing:client-stageout-possible FINISHING

BES

Input Lib. attr.
pending ACCEPTED
Any other state UNDEFINED
finished FINISHED
failed FAILED
running RUNNING
cancelled KILLED

ARC extended BES

Note
The mapping is case-insensitive, and prefix "pending:" are ignored when performing the mapping.
Input Lib. attr.
accepted ACCEPTED
"" UNDEFINED
deleted DELETED
finished FINISHED
inlrms:q QUEUING
failed FAILED
inlrms:r, inlrms:executed, inlrms:s, inlrms:e, executing, executed, killing RUNNING
Any other state OTHER
preparing, prepared PREPARING
submit, submitting SUBMITTING
finishing FINISHING
killed KILLED

CREAM extended BES

Input Lib. attr.
REGISTERED, PENDING ACCEPTED
"" UNDEFINED
DONE-OK FINISHED
IDLE QUEUING
DONE-FAILED, ABORTED FAILED
RUNNING, REALLY-RUNNING RUNNING
Any other state OTHER
HELD HOLD
CANCELLED KILLED