History log of /external/autotest/site_utils/abort_suite.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f31d36c9d6773dfa468838b0af0e0581acf08731 06-Apr-2017 Prathmesh Prabhu <pprabhu@chromium.org> [autotest] Convert more DB queries to be case insensitive

See https://chromium-review.googlesource.com/c/386306/ for an example of
where changing our django queries to be case insensitive brings down the
query execution time a lot.

This CL changes some more of these queries to be faster.

BUG=chromium:708679
TEST=Locally test that each of the DB query goes from being a BINARY
match to a text match

Change-Id: I27bffb7ab2206725eed08db74d3f0d99a8b374fe
Reviewed-on: https://chromium-review.googlesource.com/470286
Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/site_utils/abort_suite.py
c0c10611f77d1d634cd317b1fb7c914a099cfde0 23-Nov-2016 Ningning Xia <nxia@chromium.org> Move autotest_stats stats to monarch metrics

BUG=chromium:667171
TEST=utils/unittest_suite

Change-Id: I8cc4ca866df514e791845c676409d2230615cff3
Reviewed-on: https://chromium-review.googlesource.com/414187
Commit-Ready: Ningning Xia <nxia@chromium.org>
Tested-by: Ningning Xia <nxia@chromium.org>
Reviewed-by: Ningning Xia <nxia@chromium.org>
/external/autotest/site_utils/abort_suite.py
1e1c41b1b4a1b97c0b7086b8430856ed45e064d3 05-Feb-2015 Gabe Black <gabeblack@chromium.org> graphite: Separate out configuration from the statsd classes.

The new version of the statsd classes should be created using an instance of
the new Statsd class which sets up some defaults without having to specify
them over and over. This makes it essentially compatible with the existing
usage in autotest, but will allow chromite to configure things differently and
avoid having side effects from importing the module or global state.

BUG=chromium:446291
TEST=Ran unit tests, ran stats_es_functionaltest.py, ran the
stats_mock_unittest, ran a butterfly-paladin tryjob with --hwtest, testing by
fdeng.
DEPLOY=apache,scheduler,host-scheduler

Change-Id: I1071813db197c0e5e035b4d8db615030386f1c1c
Reviewed-on: https://chromium-review.googlesource.com/246428
Reviewed-by: Fang Deng <fdeng@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
/external/autotest/site_utils/abort_suite.py
2d0a364b21297418bef4d7f32acee8831e4eeefe 08-Jan-2015 MK Ryu <mkryu@google.com> [autotest] Remove log prefix for run_suite.py

abort_suite.py and run_suite.py share the same logging setup.
run_suite should not add prefix in log such as timestamp
while prefix like timestamp in abort_suite helps system debugging.
This CL makes only abort_suite print out prefix in logs.

BUG=chromium:446904
TEST=run_suite.py and abort_suite.py on local machine

Change-Id: I8031a05ca83f2258c4631f0f3ffde9e6c176304c
Reviewed-on: https://chromium-review.googlesource.com/239280
Reviewed-by: Mungyung Ryu <mkryu@google.com>
Commit-Queue: Mungyung Ryu <mkryu@google.com>
Tested-by: Mungyung Ryu <mkryu@google.com>
/external/autotest/site_utils/abort_suite.py
83184356b60f4352e46e69488d54222032d426c0 10-Dec-2014 MK Ryu <mkryu@google.com> [autotest] Record log for abort_suite

Currently, it's impossible to debug whether a suite is aborted
by builder or by lab bug.
Record log in abort_suite module so that we can track back when
a suite is aborted via the module.

BUG=chromium:440905
TEST=./site_utils/abort_suite.py -s dummy -i nyan_big-release/R38-6029.0.0

Change-Id: Ief636ebe547b47db4b563b81edb9147acf1afea4
Reviewed-on: https://chromium-review.googlesource.com/234436
Reviewed-by: Fang Deng <fdeng@chromium.org>
Tested-by: Mungyung Ryu <mkryu@google.com>
Commit-Queue: Mungyung Ryu <mkryu@google.com>
/external/autotest/site_utils/abort_suite.py
63b0e4558330e57db5ed11f5a925c4769802c502 19-Dec-2014 Fang Deng <fdeng@chromium.org> [autotest] Optimize queries in abort_suites

abort_suites is called by buildbots.
The way it currently aborts suite is very slow.
This CL makes it faster by aborting the suite jobs
given a build name and a suite name, and rely on autotest
scheduler to aborts the subjobs.

TEST=Scheduler synchronous/asynchronous suites. Abort
them when the suite status is Queued/Running/Complete.
Confirm any Queued/Running subjobs are aborted.
BUG=chromium:444151
DEPLOY=apache

Change-Id: I182913e0dad08bcba8a4c05b904ba7a2d2a6c61b
Reviewed-on: https://chromium-review.googlesource.com/236943
Reviewed-by: Fang Deng <fdeng@chromium.org>
Commit-Queue: Fang Deng <fdeng@chromium.org>
Trybot-Ready: Fang Deng <fdeng@chromium.org>
Tested-by: Fang Deng <fdeng@chromium.org>
/external/autotest/site_utils/abort_suite.py
de781113c3a9238899c1bb1919eb1ee5041b7acb 28-Apr-2013 Alex Miller <milleral@chromium.org> [autotest] Add a script to find and abort a suite by build/name.

This script will be called by buildbot/golo rpc infrastructure to abort
a suite that's been kicked off in the HWTest lab.

CL notes at: http://www/~milleral/notes/cl_notes/abort_suite_rpc.html

BUG=chromium:222043
TEST=Kicked off a run_suite locally, aborted suite with abort_suite.

Change-Id: I1e851649b918cebbf44fad996420e3901012522c
Reviewed-on: https://gerrit.chromium.org/gerrit/49453
Commit-Queue: Alex Miller <milleral@chromium.org>
Reviewed-by: Alex Miller <milleral@chromium.org>
Tested-by: Alex Miller <milleral@chromium.org>
/external/autotest/site_utils/abort_suite.py