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

Issue 623137 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Aug 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

When gathering lab inventory, report total DUT counts

Reported by jrbarnette@chromium.org, Jun 24 2016

Issue description

The lab inventory script logs each board, and each
board/pool combination it looks at.  Here are some
sample messages from the logs:
2016-06-23 07:26:05 | DEBUG      | Listing failed DUTs for samus-cheets
2016-06-23 07:56:29 | DEBUG      | Counting board inventory for samus-cheets
2016-06-23 07:56:33 | DEBUG      | Counting inventory for samus-cheets, bvt

From time to time, we have problems with DUTs losing labels, or
pool sizes changing without explanation.  However, the standard
e-mail content (and the logs they produce) don't include total counts.
So, pool size changes can't easily be seen.

We should log the total number of devices with each of the messages
above, to help with these mysterious changes, and just on general
principle.

 
Status: Available (was: Unconfirmed)

Comment 2 by autumn@chromium.org, Jun 28 2016

Summary: When gathering lab inventory, report total DUT counts (was: When gathering lab inventory, report DUT counts)

Comment 3 by autumn@chromium.org, Jun 28 2016

Richard will try. Leaving unassigned in case the next deputy needs to pick it up. 
Lab inventory script is in site utils
Owner: jrbarnette@chromium.org
Project Member

Comment 5 by bugdroid1@chromium.org, Jul 8 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/254d5b4a9dc4bac4fa2ce35682c7089cb72df6fd

commit 254d5b4a9dc4bac4fa2ce35682c7089cb72df6fd
Author: Richard Barnette <jrbarnette@chromium.org>
Date: Thu Jul 07 02:13:23 2016

[autotest] Include DUT totals in lab inventory log messages.

This adds a short summary of the total number of DUTs found for each
board or board+pool combination that's logged during inventory
processing.  The intent is to be able to put a time boundary on
unexpected changes in inventory allocations.

BUG= chromium:623137 
TEST=run locally, see the new logging messages.

Change-Id: I6aa27d3657d422d308042ff791db0bf67e86d4c9
Reviewed-on: https://chromium-review.googlesource.com/358642
Commit-Ready: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Xixuan Wu <xixuan@chromium.org>

[modify] https://crrev.com/254d5b4a9dc4bac4fa2ce35682c7089cb72df6fd/site_utils/lab_inventory.py

Status: Fixed (was: Available)
Labels: VerifyIn-54

Comment 8 by dchan@chromium.org, Oct 7 2016

Labels: VerifyIn-55

Comment 9 by dchan@chromium.org, Oct 10 2016

Labels: -VerifyIn-55

Comment 10 by dchan@google.com, Nov 19 2016

Labels: VerifyIn-56

Comment 11 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 12 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 13 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 14 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 16 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment