aboutsummaryrefslogtreecommitdiff
path: root/crosperf/experiment_status.py
AgeCommit message (Collapse)Author
2020-01-16crosperf: fix pylint for crosperfZhizhou Yang
This is the first step of python 3 migration for crosperf TEST=Passed presubmit for all .py files in crosperf BUG=chromium:1011676 Change-Id: I615d0323c81ba688c8ce2aa0cac307035d0b882b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2001696 Commit-Queue: Zhizhou Yang <zhizhouy@google.com> Tested-by: Zhizhou Yang <zhizhouy@google.com> Auto-Submit: Zhizhou Yang <zhizhouy@google.com> Reviewed-by: George Burgess <gbiv@chromium.org>
2017-04-08[toolchain-utils] Fix remaining lint errors in toolchain-utils.Caroline Tice
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>
2016-08-10Random nit fixes in crosperf; NFC.George Burgess IV
This also removes results_sorter.py, which seems to be unused and untested. TEST=./run_tests.sh passes BUG=None Change-Id: I926affb23c78a8a0aedea4ab279da590f8cf93b5 Reviewed-on: https://chrome-internal-review.googlesource.com/273995 Commit-Ready: George Burgess <gbiv@google.com> Tested-by: George Burgess <gbiv@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
2015-12-16Run pyformat on all the toolchain-utils files.Luis Lozano
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>
2015-12-15crosperf: improve summary of results show on the terminalYunlian Jiang
When using verbose mode, crosperf prints out elapsed time since last event for each test run. This is not much useful except for the running jobs. So this CL uses compact output even the --logging-level=debug is set. BUG=chroium:564890 TEST=it uses compact mode even for logging-level=verbose. Change-Id: Iec8dccc0a1a5bc610907e86515a2f800b247cad1 Reviewed-on: https://chrome-internal-review.googlesource.com/242069 Commit-Ready: Yunlian Jiang <yunlian@google.com> Tested-by: Yunlian Jiang <yunlian@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
2015-12-10crosperf: clean lint warning.Yunlian Jiang
BUG=chromium:567921 TEST=experiment_status.py is lint clean. Change-Id: I58553bfe9990b6b8e93e3aeee3daf7e634a96ac8 Reviewed-on: https://chrome-internal-review.googlesource.com/241570 Commit-Ready: Yunlian Jiang <yunlian@google.com> Tested-by: Yunlian Jiang <yunlian@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
2015-12-08crosperf: use compact status outputYunlian Jiang
Previous, it shows the status as FAILD: benchmark(1), benchmark(2), benchmark(3) After the change, it shows FAILD: benchmark(1,2,3) BUG=chromium:564890 TEST=it shows the status in the right way. Change-Id: I714a66d75dcabb7a3146acd67190a85064b82b32 Reviewed-on: https://chrome-internal-review.googlesource.com/241045 Commit-Ready: Yunlian Jiang <yunlian@google.com> Tested-by: Yunlian Jiang <yunlian@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
2015-12-08crosperf: show the elapsed time for the running job.Yunlian Jiang
BUG=chromium:564890 TEST=it shows the current running time for the running job. Change-Id: I1203abcf4455d289b34f02cf542bd5dae62b8d0a Reviewed-on: https://chrome-internal-review.googlesource.com/240881 Commit-Ready: Yunlian Jiang <yunlian@google.com> Tested-by: Yunlian Jiang <yunlian@google.com> Reviewed-by: Caroline Tice <cmtice@google.com> Reviewed-by: Yunlian Jiang <yunlian@google.com> Reviewed-by: Luis Lozano <llozano@chromium.org>
2015-09-21Fixed one runtime error and enabled more output for schedv2.Han Shen
One bug fixed - runtime error in nightly - command_executor is not imported, although this does not break crosperf functionality. Enabled more output - I enabled thread status reporting even under non-verbose, the output is concise and it is helpful in case of debugging. TEST=manually launched crosperf. Change-Id: I775069d92b84e8f069d537df884ee07057abd3bf Reviewed-on: https://chrome-internal-review.googlesource.com/231387 Reviewed-by: Han Shen <shenhan@google.com> Tested-by: Han Shen <shenhan@google.com>
2015-08-20Crosperf schedv2 (1) - new option and integrating new scheduler.Han Shen
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>
2014-03-14Add --logging_level option to crosperf.cmtice
Add --logging_level={verbose, average, quiet} option to crosperf, optionally reducing the amount of logging output. "verbose" gives the same output Crosperf always gave; "quiet" gives minimal output, and "average" is in the middle. The default for now is "verbose". Doing this also involved adding logging levels to the command_executer, and to image_chromeos (again, with the default being "verbose"). BUG=None TEST=Tested all three levels of logging, with and without having to reimage the DUT. It all worked properly. Change-Id: Icf8c9a6831fe25202adcb624c6c7e1d1a7ac25a5 Reviewed-on: https://chrome-internal-review.googlesource.com/156883 Reviewed-by: Caroline Tice <cmtice@google.com> Commit-Queue: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com>
2014-03-14Fix Crosperf's ETA bug.cmtice
Sometimes crosperf shows a negative number for ETA. This fixes that. BUG=None TEST=Force the bug to happen; tested with and without the fix. Change-Id: I0c8c909a944ad3cf25b8c5416f93ddc0b860a03d Reviewed-on: https://chrome-internal-review.googlesource.com/157125 Reviewed-by: Han Shen <shenhan@google.com> Reviewed-by: Yunlian Jiang <yunlian@google.com> Commit-Queue: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com>
2012-12-20Synced repos to: 64740Ahmad Sharif
2012-02-02Synced repos to: 58208Ahmad Sharif