History log of /external/toolchain-utils/crosperf/machine_image_manager.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f6ef4395fe1896ba68c80e52cb24763b0fcfe7f8 07-Apr-2017 Caroline Tice <cmtice@google.com> [toolchain-utils] Fix remaining lint errors in toolchain-utils.

In addition to fixing the lint errors, this also fixes the Python
formatting issues (ran tc_pyformat on nearly all the files).

BUG=chromium:570450
TEST=Ran all crosperf & bisect tool unit tests.
Ran afe_lock_machine.py (check machine status)
Ran full crosperf test (octane, speedometer, BootPerf) on alex.

Change-Id: Ic86f9192801ac67769f3de30f1c5f0d203ce0831
Reviewed-on: https://chromium-review.googlesource.com/471886
Commit-Ready: Caroline Tice <cmtice@chromium.org>
Tested-by: Caroline Tice <cmtice@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
/external/toolchain-utils/crosperf/machine_image_manager.py
2e307b303ac37c3e971086f23da2df25fef2c1b4 02-Aug-2016 Ting-Yuan Huang <laszio@google.com> crosperf: fix lint warnings

BUG=chromium:632098
TEST=cros lint [files]

Change-Id: Ieac300bf7cb3b560fd8caaaacc3714696ca5567f
Reviewed-on: https://chrome-internal-review.googlesource.com/272616
Commit-Ready: Ting-Yuan Huang <laszio@google.com>
Tested-by: Ting-Yuan Huang <laszio@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/crosperf/machine_image_manager.py
f2a3ef46f75d2196a93d3ed27f4d1fcf22b54fbe 15-Dec-2015 Luis Lozano <llozano@chromium.org> Run pyformat on all the toolchain-utils files.

This gets rid of a lot of lint issues.
Ran by doing this:

for f in *.py; do echo -n "$f " ; if [ -x $f ]; then pyformat -i
--remove_trailing_comma --yapf --force_quote_type=double $f ; else
pyformat -i --remove_shebang --remove_trailing_comma --yapf
--force_quote_type=double $f ; fi ; done

BUG=chromium:567921
TEST=Ran simple crosperf run.

Change-Id: I59778835fdaa5f706d2e1765924389f9e97433d1
Reviewed-on: https://chrome-internal-review.googlesource.com/242031
Reviewed-by: Luis Lozano <llozano@chromium.org>
Commit-Queue: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Yunlian Jiang <yunlian@google.com>
/external/toolchain-utils/crosperf/machine_image_manager.py
e627fd61c2edba668eb2af8221892286b13f05a3 11-Dec-2015 Caroline Tice <cmtice@google.com> Crosperf: Finish fixing unittest problems.

This patch finishes fixing the unittest problems. They now all
work.

BUG=chromium:538397
TEST=./run_tests.sh now completes with no errors.

Change-Id: Ie501437d199bfafc8a84cd2a95862550992c2cb8
Reviewed-on: https://chrome-internal-review.googlesource.com/241925
Commit-Ready: Caroline Tice <cmtice@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
/external/toolchain-utils/crosperf/machine_image_manager.py
98351672bfc0c9082081a22f27282e0bfc471b99 03-Sep-2015 Han Shen <shenhan@google.com> Adding 2 optimizations to label allocation.

They are -

1) - before choosing a label for a dut, make sure there are at least
some pending benchmark left undone.

2) - if machine A is working on label A and machine B is working on
label B, and now machine C finishes its work and wanna to help
either A or B, then C will choose A if number of pending br on A
is more than that of label B.

BUG=None
TEST=did a full run locally.

Change-Id: I322bd6fa6d10d15425c452c1437b4fa7f396361f
Reviewed-on: https://chrome-internal-review.googlesource.com/229365
Commit-Ready: Han Shen <shenhan@google.com>
Tested-by: Han Shen <shenhan@google.com>
Reviewed-by: Han Shen <shenhan@google.com>
/external/toolchain-utils/crosperf/machine_image_manager.py
ba64928c5dcbacbc70b4358881a89ad96227164d 06-Aug-2015 Han Shen <shenhan@google.com> Crosperf schedv2 (1) - new option and integrating new scheduler.

This Cl introduces a new option '--schedv2' which uses the new
scheduler to allocate jobs (benchmark_runs) to duts.

With this option, schedv2 takes control of storing/allocating jobs and
reimage machines using the new algorithm. This CL leaves actual
reimaging and running jobs non-op (a random time sleep is used for
each such op, which would be replace in later CLs.)

You may try this CL like this and see how schedv2 works -
crosperf --locks_dir=/usr/local/google/home/shenhan/tmp --use_file_locks=True --logging_level=verbose --schedv2 some.exp

Change-Id: If5bb7751b466c39e54c93fe8f0b4e363be6d9165
Reviewed-on: https://chrome-internal-review.googlesource.com/225515
Commit-Queue: Han Shen <shenhan@google.com>
Tested-by: Han Shen <shenhan@google.com>
Reviewed-by: Han Shen <shenhan@google.com>
/external/toolchain-utils/crosperf/machine_image_manager.py