History log of /external/autotest/server/constants.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
93e646cbcab150b4ae11945592ff969e464ad31a 08-Dec-2017 Xixuan Wu <xixuan@chromium.org> autotest: remove dependencies of suite_scheduler.

BUG=chromium:793179
TEST=Ran unittest.

Change-Id: I633a1ec2ccc352abd4da20c8b7667b0eb6d3305e
Reviewed-on: https://chromium-review.googlesource.com/816080
Commit-Ready: Xixuan Wu <xixuan@chromium.org>
Tested-by: Xixuan Wu <xixuan@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
/external/autotest/server/constants.py
bdbea876455e617450c9f2f5c2c22d313bb86f9c 07-Dec-2016 Benny Peake <bpeake@google.com> Android apks now installed from any custom artifact

Previously apks could only be installed from the preloaded
artifacts. This meant that tests.zip had to be a part of
provisioning and any apks outside of that could not be
installed. The adb_host code has been changed to not download
tests.zip until installing sl4a, and to allow additional
apks to come form any artifact. By default if one is
not given it comes form tests.zip.

BUG=b:33214713
TEST=Ran android_EasySetup

Change-Id: I751ed042189509dad156830903f7c7e8ca1de8b8
Reviewed-on: https://chromium-review.googlesource.com/417193
Commit-Ready: Benjamin Peake <bpeake@chromium.org>
Tested-by: Benjamin Peake <bpeake@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
/external/autotest/server/constants.py
472a55830b57c6cc2a40caf4e0cae05ac60cdd7c 20-May-2016 Bindu Mahadev <bmahadev@google.com> Update wifi_client to install sl4a for android

While here, also updated android_ACTS to import sl4a constants
from ../server/constants.py

BUG=None
TEST=wpa2psk

Change-Id: I5dcd99f9a09d3ab67e9b3b01fb98c37ca9f6c275
Reviewed-on: https://chromium-review.googlesource.com/346212
Reviewed-by: Roshan Pius <rpius@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Bindu Mahadev <bmahadev@chromium.org>
Tested-by: Bindu Mahadev <bmahadev@chromium.org>
/external/autotest/server/constants.py
908b2e44d75c799087f1cf8dca4d8e5435ded527 18-Mar-2016 J. Richard Barnette <jrbarnette@chromium.org> [autotest] Remove CrosHost.try_collect_crashlogs(), et seq.

This removes the verification check that could force repair in order
to collect logs; neither the check nor the associated repair code
could ever trigger.

The result is to remove _need_crash_logs(), try_collect_crashlogs()
and a variety of transitive dependencies.

BUG=None
TEST=GIT GREP ALL THE NAMES!

Change-Id: Iaaf64ce0d08e189ad8edd332627adca0e386d350
Reviewed-on: https://chromium-review.googlesource.com/333698
Commit-Ready: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Xixuan Wu <xixuan@chromium.org>
/external/autotest/server/constants.py
14622bb8249c2200e5258ea6d40b3362229e90a7 25-Nov-2015 Simran Basi <sbasi@google.com> [autotest] test_droid V1.

This CL introduces test_droid, a script to launch autotest
tests against local Android DUTs connected to the host
computer via USB.

Much of the logic is similar to test_that, so this has all
been pulled into a new script test_utils.py

Pending work:

* Moving of generate_test_report to somewhere it is accesible
outside of the chroot.
* Add in support for remote adb hosts (i.e. the DUT is
connected to a remote computer).
* Sequences support.

BUG=b:25748759
TEST=./test_droid.py 7d52318 brillo_WhitelistedGtests
CQ-DEPEND=CL:315230

Change-Id: Idab3805f7921173fbc706354b322f37244240fa2
Reviewed-on: https://chromium-review.googlesource.com/314870
Commit-Ready: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
/external/autotest/server/constants.py
a2872177cf3032112954640c6c1b7f36d6caf731 31-Oct-2015 Dan Shi <dshi@chromium.org> [autotest] Add machine_install method to install build to an Android device.

BUG=chromium:548881
CQ-DEPEND=CL:310550
TEST=local verify,
stage images:
curl http://100.107.160.5:8082/stage?target=shamu-userdebug\&build_id=2284311\&artifacts=bootloader_image,radio_image,zip_images\&branch=git_master

test script:
import common
from autotest_lib.server import hosts
build_url = 'http://100.107.160.5:8082/static/git_master/shamu-userdebug/2284311/'
build_local_path = '/mnt/moblab/tmp/tmp.IiN2SSexVl/'
h=hosts.create_host('172.27.215.241')
h.ensure_adb_mode()
h.machine_install(build_url=build_url, build_local_path=build_local_path)
if not h.is_up():
raise Exception('device is down.')

Change-Id: I52968d411e2c48e509e58165023d77d553abad26
Reviewed-on: https://chromium-review.googlesource.com/309995
Commit-Ready: Dan Shi <dshi@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Gilad Arnold <garnold@chromium.org>
/external/autotest/server/constants.py
042c1479b8df4f2d87586815d7ad0646cc39abeb 23-Oct-2014 Fang Deng <fdeng@chromium.org> [autotest] record autoserv run time in metadata db.

Measure autoserv run time and send it to metadata db.
The job id (or special task id) is extracted from the
result directory path using regular expression.

TEST=1)locally run autoserv. 2) Run run_suite.
Made sure that all the special tasks have been excercised.
3) run test_that
BUG=chromium:426105,chromium:422581

Change-Id: I16b119dbcf9b163967abed09a303d86568ea1394
Reviewed-on: https://chromium-review.googlesource.com/225236
Reviewed-by: Fang Deng <fdeng@chromium.org>
Commit-Queue: Fang Deng <fdeng@chromium.org>
Tested-by: Fang Deng <fdeng@chromium.org>
/external/autotest/server/constants.py
c9b1be84df25182eba0eb76f719d959641ed916c 21-Oct-2014 Fang Deng <fdeng@chromium.org> [autotest] measure time spent on scheduling a host to a job

Measures the time spent from the creation of a job to
the point when host-scheduler assigns a host to the job.
Send the data to metadata db.

TEST=run host_scheduler locally, observed the data shows up
in metadata db.
BUG=chromium:422581
DEPLOY=host-scheduler

Change-Id: Ifa0c473797a5c608940b0a9448352e621aeb4741
Reviewed-on: https://chromium-review.googlesource.com/224464
Reviewed-by: Prashanth B <beeps@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Tested-by: Fang Deng <fdeng@chromium.org>
Commit-Queue: Fang Deng <fdeng@chromium.org>
/external/autotest/server/constants.py
35d661e09666d315325f8942d06949ca7283666f 26-Sep-2014 MK Ryu <mkryu@google.com> [autotest] Integrate crashlog collection into repair workflow.

When a DUT goes offline before logs are gathered, we lose those
logs if the DUT is re-imaged.
To grab such logs as much as we can, we integrate crashlog
collection into the repair workflow.

BUG=chromium:215160
TEST=./server/autoserv -R -m <DUT ip> -r ~/tmp/repair
CQ-DEPEND=CL:221510

Change-Id: Ifd562bfd539b133381572aeec503d9a3940ab448
Reviewed-on: https://chromium-review.googlesource.com/219999
Reviewed-by: Fang Deng <fdeng@chromium.org>
Commit-Queue: Mungyung Ryu <mkryu@google.com>
Tested-by: Mungyung Ryu <mkryu@google.com>
/external/autotest/server/constants.py