1. Build an image locally
2. Use cros stage to stage the image on the moblab
3. use run_suite.py to run an autotest suite using --board to specify the custom image
4. Provision step fails in the verify step:
FAIL ---- verify.cros timestamp=1527280427 localtime=May 25 14:33:47 The host has wrong cros-version label.
Looking into this a bit, it looks like this check is performed in verify_cros_version_label
https://chromium.googlesource.com/chromiumos/third_party/autotest/+/master/server/hosts/cros_host.py#1141
For images built on a local workstation, CHROMEOS_RELEASE_BUILDER_PATH does not get set in etc/lsb-release so self.get_release_builder_path() returns None. The comparison of build_version != release_builder_path a few lines down will always fail.
Comment 1 by haddowk@chromium.org
, Jun 8 2018Status: Available (was: Untriaged)