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

Issue 604426 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Lab inventory script fails if logdir doesn't exist

Reported by jrbarnette@chromium.org, Apr 18 2016

Issue description

The lab_inventory script fails if the selected logdir doesn't
exist.  The impact is that when bringing up a new autotest primary
server, the inventory script typically won't run, because autotest
doesn't create the directory, either.

We could change the installation procedure, but better, I think,
would be to change the inventory script to create a missing logdir.

 
qwerty computer
Owner: jrbarnette@chromium.org
Status: Started (was: Available)
Project Member

Comment 3 by bugdroid1@chromium.org, Apr 20 2016

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

commit 5af97406efacb4d9b0701aafc843f34f08e09cc2
Author: Richard Barnette <jrbarnette@chromium.org>
Date: Mon Apr 18 18:00:26 2016

[autotest] Create logdir in lab_inventory script.

When running the lab_inventory script, if the requested logs
directory doesn't exist, create it.

BUG= chromium:604426 
TEST=run the script locally, see the directory get created.

Change-Id: I48b85b7a83fed38e9e9059f7ce1bbac9900b4178
Reviewed-on: https://chromium-review.googlesource.com/339431
Commit-Ready: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Paul Hobbs <phobbs@google.com>

[modify] https://crrev.com/5af97406efacb4d9b0701aafc843f34f08e09cc2/site_utils/lab_inventory.py

Comment 4 by benhenry@google.com, Apr 26 2016

Components: Infra>Client>ChromeOS
Labels: -Infra-ChromeOS
Status: Fixed (was: Started)
Labels: VerifyIn-54

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

Labels: VerifyIn-55

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

Labels: -VerifyIn-55

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

Labels: VerifyIn-56

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

Labels: VerifyIn-57

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

Labels: VerifyIn-58

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

Labels: VerifyIn-59

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

Labels: VerifyIn-60
Labels: VerifyIn-61

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

Status: Archived (was: Fixed)

Sign in to add a comment