trace_replay: Add available space check
Check is there enough free space inside crosvm container to download and
unpack each trace file and return properly formatted error message if the
size is insufficient.
BUG=b:162388610
TEST=tast run --buildbundle=crosint ${DUT} graphics.TraceReplay.prison_architect
Change-Id: I32c6f76dcb9fae97055f49dda774a040dd5074d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/graphics/+/2324726
Reviewed-by: Po-Hsien Wang <pwang@chromium.org>
Tested-by: Robert Tarasov <tutankhamen@chromium.org>
Tested-by: Po-Hsien Wang <pwang@chromium.org>
Commit-Queue: Po-Hsien Wang <pwang@chromium.org>
2 files changed