New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 764616 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

factory: DUT always update HWID database in hwid_v3 pytest

Project Member Reported by yhong@chromium.org, Sep 13 2017

Issue description

If the HWID bundle on umpire is created by merging multiple HWID bundle into one, the version of the HWID bundle will always mismatch with the one on the DUT.

 
Project Member

Comment 1 by bugdroid1@chromium.org, Sep 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/factory/+/0a58606851ab2f8328cd797a3b54a625b665f0eb

commit 0a58606851ab2f8328cd797a3b54a625b665f0eb
Author: Yong Hong <yhong@chromium.org>
Date: Thu Sep 14 21:05:36 2017

update_utils: Correct the check update process of HWID database.

If the HWID bundle on the factory server contains multiple HWID
databases, the version information of the HWID bundle will be a list
of checksum of each HWID database.  So instead of literally comparing
the checksum of the project specific HWID database on the DUT, we
should check whether the list of checksums contains local checksum
or not.

BUG= chromium:764616 
TEST=manually test on DUT

Change-Id: I8076e07d33af01d185bbbc11960eae2164aa4e7d
Reviewed-on: https://chromium-review.googlesource.com/664617
Commit-Ready: Yong Hong <yhong@google.com>
Tested-by: Yong Hong <yhong@google.com>
Reviewed-by: Youcheng Syu <youcheng@chromium.org>

[modify] https://crrev.com/0a58606851ab2f8328cd797a3b54a625b665f0eb/py/test/utils/update_utils.py

Comment 2 by yhong@chromium.org, Sep 15 2017

Status: Fixed (was: Assigned)

Sign in to add a comment