New issue
Advanced search Search tips

Issue 833963 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 759821



Sign in to add a comment

Have a script to do autotest TKO database management

Project Member Reported by lepton@chromium.org, Apr 17 2018

Issue description

I've seen there is a page do say we have to drop and recreate tko_test_attributes every 6 months:

https://sites.google.com/a/google.com/chromeos/for-team-members/infrastructure/chromeos-admin/autotest-tko-database-management

We need a script so people can just run it and eliminate the risk sometimes people just make mistake.

 

Comment 1 by lepton@chromium.org, Apr 17 2018

Cc: dgarr...@chromium.org xixuan@chromium.org
Components: -Infra>Client>ChromeOS Infra>Client>ChromeOS>Test
Labels: -Pri-3 Chase-Pending Pri-1
Blocking: 759821
Labels: -Chase-Pending Chase
Owner: xixuan@chromium.org
Status: Assigned (was: Untriaged)
soft blocker for Issue 759821
Project Member

Comment 4 by bugdroid1@chromium.org, Apr 27 2018

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

commit 76c62447574297497e4f21b25613c5524d13a949
Author: Xixuan Wu <xixuan@chromium.org>
Date: Fri Apr 27 21:36:55 2018

autotest: Add an option to recreate table tko_test_attributes.

BUG= chromium:833963 
TEST=Ran './site_utils/cleanup_tko_db.py -l /tmp/cleanup_tko.log
--recreate_test_attributes' locally.

Change-Id: I33f9d43b8d57e1b8bc2e5f210aa8972fb410de12
Reviewed-on: https://chromium-review.googlesource.com/1029119
Commit-Ready: Xixuan Wu <xixuan@chromium.org>
Tested-by: Xixuan Wu <xixuan@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>

[modify] https://crrev.com/76c62447574297497e4f21b25613c5524d13a949/site_utils/cleanup_tko_db.py

Status: Fixed (was: Assigned)

Sign in to add a comment