devmode-test: switch from mount_helper to chromite.lib.image_lib

The local mount_helper API is built on the mount_gpt_image.sh script
which can be a bit crufty/opaque when flakes/failures are hit.  Switch
to the pure Python chromite.lib.image_lib API which has better logging
and error triaging.  It also has better recovery when kernels flake.

This also has a nicer property of only having to mount the single
partition that we care about (stateful) rather than extraneous ones
we don't care about (rootfs).

BUG=chromium:1000719
TEST=`devinstall_test.py --verbose betty chromiumos_test_image.bin` still passes

Change-Id: I8a9fe29dd047fe0cc4e7a32a6f05fcbb8b326bbb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crostestutils/+/1808025
Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
1 file changed