New issue
Advanced search Search tips

Issue 849529 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

Unable to provision a DUT using a custom image

Project Member Reported by ddavenp...@chromium.org, Jun 5 2018

Issue description

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.


 
Labels: -Type-Bug Type-Feature
Status: Available (was: Untriaged)
This is working as intended - infra has that check in place,  I am changing this to a feature request to be able to provision local builds, it is a reasonable request.  

Sign in to add a comment