Request an invite
Docs menu

osmates job status

Show a job, or follow it to its end with --wait.

Usage
osmates job status <job> [--wait] [--json]

Arguments

<job>Required

The job's id.

--wait

Wait for the job to end, showing its progress.

--json

Print machine-readable JSON.

JSON output

With --json, it prints an object with these fields.

JSON Schema: /schemas/0/cli/job/status.json

createdAtstring (date-time)Required
creationStepsarray of strings or objects

Each item is one of preparing, verifying, unpacking, waitingForMacOS, waitingForMachine, installingWindows, settingUpTemplate, startingMacOS, installingGuestAgent, copyingXcode, settingUpXcode, downloadingSimulator, readingMachine, finishing, stopping, or an object that holds one key: downloading, copyingInstallationFile, installingMacOS, installingDesktop, installingLinux or convertingDisk.

creationSteps[].downloadingobject
creationSteps[].copyingInstallationFileobject
creationSteps[].installingMacOSobject
creationSteps[].installingDesktopobject
creationSteps[].installingLinuxobject
creationSteps[].convertingDiskobject
failureobject
failure.actionsarray of objectsRequired
failure.codestring
failure.kindstringRequired

One of failed, temporary, wrongInput.

failure.messagestringRequired
idstringRequired
kindstringRequired

One of create, resume, clone, delete, start, suspend, snapshot, revert, exec, run, transfer, clipboard, compact, grow-disk, workspace-push, workspace-diff, export-disk, move, update-macos, update-firmware, move-image-cache, template-push, template-pull.

machinestringRequired
outputobject with integer valuesRequired
output.stdoutinteger

At least 0.

output.stderrinteger

At least 0.

progressobject
progress.fractionnumber
progress.messagestringRequired
progress.stepstring or object

One of preparing, verifying, unpacking, waitingForMacOS, waitingForMachine, installingWindows, settingUpTemplate, startingMacOS, installingGuestAgent, copyingXcode, settingUpXcode, downloadingSimulator, readingMachine, finishing, stopping, or an object that holds one key: downloading, copyingInstallationFile, installingMacOS, installingDesktop, installingLinux or convertingDisk.

resultobject

Holds one key: machine, deleted, started, suspended, snapshot, reverted, process, run, transfer, clipboard, compaction, diskGrowth, workspace, workspaceDiff, exported, moved, macOSUpdate, firmwareUpdate, imageCacheMoved, pushed or pulled.

result.machineobject
result.deletedobject
result.startedobject
result.suspendedobject
result.snapshotobject
result.revertedobject
result.processobject
result.runobject
result.transferobject
result.clipboardobject
result.compactionobject
result.diskGrowthobject
result.workspaceobject
result.workspaceDiffobject
result.exportedobject
result.movedobject
result.macOSUpdateobject
result.firmwareUpdateobject
result.imageCacheMovedobject
result.pushedobject
result.pulledobject
statestringRequired

One of running, succeeded, failed, cancelled.

stepsarray of objects
steps[].endedstring (date-time)
steps[].problemstring
steps[].startedstring (date-time)Required
steps[].stepstringRequired

One of clone, start, signIn, workspace, copyIn, program, copyOut, diff, delete.

summarystringRequired
updatedAtstring (date-time)Required

Fields nested deeper are in the schema.

Exit statuses

Its exit status is one of these.

StatusMeaning
0The command did what it was asked.
1The command failed; with --json, standard error's last line is the error object.
64The command line is wrong, as ArgumentParser found before the command ran.
65What was given is wrong, found while the command ran; the same command fails until it changes.
75The same command can work later with nothing changed, as while an update finishes.
130Control-C cancelled what the command started.

Report a problem with this page