Skip to content

Commit

Permalink
Merge pull request #7118 from michmx/v7r3-introducing-job-status-scou…
Browse files Browse the repository at this point in the history
…ting

[v7r3] Introduce job status 'Scouting' in WMS
  • Loading branch information
fstagni authored Jul 25, 2023
2 parents 0141786 + 6972d82 commit 980fe29
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/DIRAC/WorkloadManagementSystem/Client/JobStatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#:
STAGING = "Staging"
#:
SCOUTING = "Scouting"
#:
WAITING = "Waiting"
#:
MATCHED = "Matched"
Expand Down Expand Up @@ -49,6 +51,7 @@
SUBMITTING,
RECEIVED,
CHECKING,
SCOUTING,
STAGING,
WAITING,
MATCHED,
Expand Down Expand Up @@ -92,9 +95,10 @@ def __init__(self, state):
RESCHEDULED: State(6, [WAITING, RECEIVED, DELETED, FAILED], defState=RESCHEDULED),
MATCHED: State(5, [RUNNING, FAILED, RESCHEDULED, KILLED], defState=MATCHED),
WAITING: State(4, [MATCHED, RESCHEDULED, DELETED], defState=WAITING),
STAGING: State(3, [CHECKING, WAITING, FAILED, KILLED], defState=STAGING),
CHECKING: State(2, [STAGING, WAITING, RESCHEDULED, FAILED, DELETED], defState=CHECKING),
RECEIVED: State(1, [CHECKING, WAITING, FAILED, DELETED], defState=RECEIVED),
STAGING: State(3, [WAITING, FAILED, KILLED], defState=STAGING),
SCOUTING: State(2, [CHECKING, FAILED, STALLED, KILLED], defState=SCOUTING),
CHECKING: State(2, [SCOUTING, STAGING, WAITING, RESCHEDULED, FAILED, DELETED], defState=CHECKING),
RECEIVED: State(1, [SCOUTING, CHECKING, WAITING, FAILED, DELETED], defState=RECEIVED),
SUBMITTING: State(0, [RECEIVED, CHECKING, DELETED], defState=SUBMITTING), # initial state
}

Expand Down

0 comments on commit 980fe29

Please sign in to comment.