π Execution Status and Lifecycleο
Each execution in CCP is monitored through a status file called metadata_jobStatus.json
.
This file records timestamps and current state of the execution, providing essential information for tracking progress and diagnosing issues.
π§ Typical Lifecycle Statesο
An execution may go through the following states:
accepted: the job has been received and is in the queue
running: execution has started in the container
successful: method completed without error
failed: method terminated with an error
cancelled: execution was aborted manually
expired: job took too long or lost resources
These states are automatically updated and can be queried via the CCP interface or REST APIs.
π File: metadata_jobStatus.json
ο
This file is part of the executionβs metadata folder.
Key fields:ο
jobID
: unique identifier of the executionstatus
: current or final state (e.g.,successful
,failed
)created
: timestamp of job submissionstarted
: execution start timeupdated
: last status updatemessage
: diagnostic message or termination reasonlinks
: references to other metadata (e.g., PROV-O)
π§ͺ Exampleο
{
"jobID": "7de21671-...",
"status": "successful",
"message": "Runtime removed",
"created": "2025-03-25T09:40:54Z",
"started": "2025-03-25T09:40:54Z",
"updated": "2025-03-25T09:51:33Z",
"links": [
{
"href": "http://registry:8080/executions/7de21671-...",
"rel": "prov"
}
]
}