Exit Codes

The provengo tool returns the following exit codes:

Code Description Details

0

All good

Execution completed successfully. 🎉🌈🤗

1

Test failures / violations found

Provengo executed fine, but there were issues with the model. For test execution (i.e. provengo run), some of the tests performed on the tested system failed. For verification (provengo verify), violations were detected.

2

Test Execution Errors

Provengo executed fine, some of the executed tests could not be completed due to errors. For example, inability to connect to an actuation server.

3

Test Execution Errors and Failures

Provengo executed fine, some of the executed tests could not be completed due to errors, and some found failures in the tested system.

20

I/O Error

Provengo encountered an i/o error during execution. For example, it could not write a report because of permission errors.

40

Bad Invocation Parameters

Provengo was not able to perform the requested action, because some of the parameters are illegal, wrong, missing, or cannot be combined.

41

JavaScript Error

Provengo could not complete command execution due to a JavaScript error in the model’s code.

42

Model Integrity

Provengo could not complete the request due to structural problems in the model, such as a configuration file that references a non-existent function.

50

General Execution Error

Provengo could not complete the request due to an error.