History log of /external/autotest/cli/action_common.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
335f2162d379440c49d9d4a834532c4551f49442 01-Feb-2017 Allen Li <ayatane@chromium.org> [autotest] [atomic] Remove atomic groups from cli

BUG=chromium:681906
TEST=Run unittest suite

Change-Id: I2f9edaa074e4ce7f7d658f79d1256413c34a7a1c
Reviewed-on: https://chromium-review.googlesource.com/434108
Commit-Ready: Allen Li <ayatane@chromium.org>
Tested-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@google.com>
/external/autotest/cli/action_common.py
25e1fd446390578299d7b7da0f84914a0728c5fc 19-Dec-2014 Dan Shi <dshi@chromium.org> [autotest] Add atest stable_version command to manage stable versions.

Add a decorator require_confirmation to atest, any delete action will prompt
for confirmation, use option --no-confirmation to skip that. It's applicable
to command like atest label delete, atest host delete.

Add 3 actions for topic stable_version:
list: Show version of a given board or list all boards and their stable
versions if --board option is not specified.

$ ./atest stable_version list
==============================
board | version
------------------------------
DEFAULT | R41-4687.0.0
peppy | R40-4555.0.0
==============================

modify: Set the stable version of a given board to the given value.

$ ./atest stable_version modify -b peppy -i R40-4515.0.0
Stable version for board peppy is changed from R40-4555.0.0.0 to R40-4515.0.0.

delete: Delete the stable version of a given board. So its stable version will
use the value for board `DEFAULT`.

$ ./atest stable_version delete -b peppy
Are you sure to delete stable version for board peppy? After this action is
done, stable version for board peppy will be R41.0.0.0
Continue? [y/N] y
Stable version for board peppy is deleted.

DEPLOY=apache
BUG=chromium:436656
TEST=local setup, unittest

Change-Id: I31047740a4886854aa653b1bf0f16c5f5c7a3f14
Reviewed-on: https://chromium-review.googlesource.com/236951
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Dan Shi <dshi@chromium.org>
Trybot-Ready: Dan Shi <dshi@chromium.org>
/external/autotest/cli/action_common.py
12b45582c04b2417036a6f11afc843ac5fddea50 11-Jan-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> Massive permission fix

Fix permissions for all the development tree

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4094 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/action_common.py
c613317ba061b85a38ba51edfca9172f228a83c0 18-Sep-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> A few followup enhancements to the recent change made to the cli to enclose the topic names in single quotes.

Signed-off-by: Ashwin Ganti <aganti@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3747 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/action_common.py
5dc6276b560798fded59e9334a824c839fa7a371 03-Sep-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add single quotes to the topic value in the output message .

Signed-off-by: Ashwin Ganti <aganti@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3641 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/action_common.py
56f1f4a9bc430f6bc41cbdc6b1cc88ffebe518aa 03-Aug-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Allow to specify hosts when cloning a job.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3481 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/action_common.py
b27f4adf598062aa35323595c5724111ffbac202 01-May-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Update CLI to allow scheduling jobs against labels

Signed-off-by: Ryan Kubiak <rkubiak@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3070 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/action_common.py
fb64e6a3a4403534ae1d136c72010036afebe8ff 22-Apr-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add atomicgroup support to the command line interface.

Signed-off-by: Gregory Smith <gps@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3030 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/action_common.py
8c7b04c52a8881333ac828f6a1976cafe8412a4a 25-Mar-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Getting rid of the socket timeout tunes, except for the kernel uploads. Now that the servers are more stable, they seem unnecessary and created some spurious failures.

Also fixing a bad patch application in job.py

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2924 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/action_common.py
f703fb4108d3fc7e0dbb18b1d73c5ceb1b08abf3 30-Jan-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Re-allow wildcards in host list --label searches.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2704 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/action_common.py
7a3ebe30d13f8dc7e8d3d0990b8b026be75771f3 01-Dec-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Continue to add/remove the valid hosts or users to the label or ACL in
case of failures.
Modified the corresponding unittests:
. Adding check_playback() everywhere.
. Changing to the new Exception messages.
. New test for partial failure.

Risk: medium
Visibility: medium

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2525 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/action_common.py
bd9294828881c309856259f97db23d7cd561ebb3 27-Nov-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> With regexp, allow multiple results.

Risk: Low
Visibility: Low

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2512 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/action_common.py
fb8f0ab0c168fb477b5eb756d041d06e3491bbde 13-Nov-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> * Add job cloning functionality to the CLI
* Move parse_hosts from job_create to action_common
Risk(Low): Implements a new feature
Visibility(Medium): Users can now clone jobs through the CLI

Signed-off-by: Ryan Kubiak <rkubiak@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2408 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/action_common.py
ae64d3aee39a8e94a515524fb813b3c3c43d581f 15-Oct-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fixing the error message that displays the job name as a bad host.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2285 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/action_common.py
be630eb07ddb84310fcc580acffcaa362a2dc606 01-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Attached is the CLI code tarball. It is documented at http://test.kernel.org/autotest/CLIHowTo

From: jmeurin@google.com



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1950 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/cli/action_common.py