Cache failed builds caused by missing-command

Description

Builds were failing because of missing sh for example, and yet these were not being cached.

This fixes that.

Changes proposed in this merge request:

  1. Make SandboxCommandError able to take a reason code.
  2. Make all the _sandbox*.py use SandboxCommandError on missing-command
  3. Verify that in the tests/sandbox/missing-command.py test.

This merge request, when approved, will close: #1101 (closed)

Merge request reports

Loading