21.13.1.5 complete_debug_job

Description

Completes the current open job and generates a job status container including cryptographically signed Job Ticket end certifiers and Certificates of Conformance (if enabled) of the programmed devices. It archives ticket data from the HSM database. The resultant Job Status container can be imported into Job Manager and validated using U-HSM. If the job status file is not specified, the information is printed in the log window and no Job Status container is created for subsequent verification.

The HSM Job can be completed only if the number of devices in each HSM ticket has been exhausted. If devices remain, the job can only be terminated by using the -terminate option.

Note: This command fails if there are devices left in any HSM ticket and the terminate option is not used.
complete_debug_job [-job_status_file "job status file"] [-terminate]

Arguments

ParameterTypeDescription
job_status_file

string

Full path to the output Job Status container, which contains End-Job Certifier and CofCs. If not specified, information is printed in the log window.

terminateflag

Terminates the HSM job even if there are devices left in any HSM ticket. This parameter is optional if the number of devices in all tickets has been exhausted.

Error Codes

Error CodeDescription

None

Fpeng error: Chain manager is not set.

None​

Parameter 'param_name' is not defined. Valid command formatting is 'complete_debug_job [-job_status_file "job status file"] \ [-terminate]'.

Supported Families

PolarFire
SmartFusion 2
IGLOO 2

Example

This example terminates an HSM job.
complete_debug_job -terminate -job_status_file {./MyJobStatusEnd}