New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 719447 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug

Blocking:
issue 721171



Sign in to add a comment

Nexus 5X perf bots not collecting any BattOr measurements

Project Member Reported by charliea@chromium.org, May 8 2017

Issue description

Looking at a recent run (https://luci-milo.appspot.com/buildbot/chromium.perf/Android%20Nexus5X%20Perf/17), it seems that no benchmarks where BattOrs were enabled actually collected any power measurements. This would be the case if the BattOrs were unplugged from the devices. 

martiniss@, when we did the switchover to swarming, is it possible that something got messed up?
 
Cc: charliea@google.com
Cc: -charliea@google.com
Components: Speed>Benchmarks Infra>Labs
Owner: martiniss@chromium.org
Assign to Stephen for triaging.
Cc: bpastene@chromium.org
I"m not 100% sure on how the swarming for the perf android bots works, but I wonder if whatever isolates one phone from another on the host (docker I think?) is making it so that it cannot see the BattOr via USB. Ben, does that sound like a possibility? 
Status: Assigned (was: Untriaged)
Do we have battors on all of our phones? Or only some of them.
Cc: vhang@chromium.org
I am going to add some logging so we can figure out what's going on here.
Owner: nednguyen@chromium.org
Re #6: That's almost certainly the case here. I'll start looking into what it would take to whitelist a device's battor in the container as well, but it will most likely be a non-trivial change.
Project Member

Comment 12 by bugdroid1@chromium.org, May 8 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b4fa34db69eca6dac8acb4b7226dbc8ca38bdbf0

commit b4fa34db69eca6dac8acb4b7226dbc8ca38bdbf0
Author: catapult-deps-roller@chromium.org <catapult-deps-roller@chromium.org>
Date: Mon May 08 21:23:19 2017

Roll src/third_party/catapult/ adfbf3ec5..a263e5566 (3 commits)

https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/adfbf3ec5b00..a263e5566dcc

$ git log adfbf3ec5..a263e5566 --date=short --no-merges --format='%ad %ae %s'
2017-05-08 nednguyen Add logging to debug battor not running
2017-05-08 benjhayden Add a link to a feedback form to results.html.
2017-05-08 eakuefner [Dashboard] Use diagnostics to populate test and revision properties

Created with:
  roll-dep src/third_party/catapult
BUG= 719447 


Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, see:
http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls


CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel
TBR=sullivan@chromium.org

Change-Id: I190a71aad7d8d3ac2401b70587e077b8c2434617
Reviewed-on: https://chromium-review.googlesource.com/498588
Reviewed-by: <catapult-deps-roller@chromium.org>
Commit-Queue: <catapult-deps-roller@chromium.org>
Cr-Commit-Position: refs/heads/master@{#470132}
[modify] https://crrev.com/b4fa34db69eca6dac8acb4b7226dbc8ca38bdbf0/DEPS

Owner: nedngu...@google.com
This is what we get from the log:

1)
(WARNING) 2017-05-09 07:02:27,199 battor_wrapper.IsBattOrConnected:40  Device tree:

2)
(ERROR) 2017-05-09 07:02:27,888 battor_wrapper.IsBattOrConnected:51  Error generating serial map
Traceback (most recent call last):
  File "/b/swarming/w/ir/third_party/catapult/common/battor/battor/battor_wrapper.py", line 48, in IsBattOrConnected
    android_device_map = battor_device_mapping.GenerateSerialMap()
  File "/b/swarming/w/ir/third_party/catapult/devil/devil/utils/battor_device_mapping.py", line 206, in GenerateSerialMap
    raise battor_error.BattOrError('Multiple phones on same port number')
BattOrError: Multiple phones on same port number
Cc: -rnep...@chromium.org
Owner: rnep...@chromium.org
Randy: since this is your area. Can you investigate this further?
Ben, how do I see the system from the view of the docker instance? As stated above, this is probably because the BattOr devices are not isolated correctly. I dont think I can dig more into this and confirm that unless I know how to see what the docker instance sees.
If you want to poke around, you can hop onto one of the dockered bots (build{73..75}-b1) and follow the instructions in /b/README to open a bash shell in a container.

benhenry@ loaned me a battor'ed phone yesterday, and I'm looking into what it would take to whitelist battors the same way it does with phones. It should be possible, but like I said above, it won't be a trivial change. If the power measurements are a high priority, we might want to think about reverting the swarming conversion until I can get the containers to see the battors.
Just to keep this bug up to date: Randy scheduled a meeting tomorrow for me, Ben, and him so that we can talk about how we can solve this problem.
Cc: benhenry@chromium.org
Owner: bpastene@chromium.org
Status: Started (was: Assigned)
Chatted with Randy and Charlie earlier today. It was determined that we can live without the battor readings on these bots for a few days, especially considering the hight cost of converting/switching these over. Since I'm fairly confident I can get this resolved by sometime next week, we agreed to avoid the revert and keep the bots in swarming for now. 

If something unseen comes up and I fall short of that deadline, then we'll probably want to revisit that decision. However, I know what needs to be done to fix this and have a clear path ahead, so I'm fairly confident we'll be able to close this out by next week.

I'll take this bug since most/all of the work will need to be done on the docker/infra side of things.
Project Member

Comment 20 by bugdroid1@chromium.org, May 12 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/f3470f62488657e5ecf721469d60fcc1f08119d8

commit f3470f62488657e5ecf721469d60fcc1f08119d8
Author: Benjamin Pastene <bpastene@google.com>
Date: Fri May 12 00:29:27 2017

Vendor catapult/devil in infra

Adds devil/ and common/battor
See README

Bug:  719447 
Change-Id: I881ceb4538839c5348d1e6ba081a12131cd0631b
Reviewed-on: https://chromium-review.googlesource.com/503489
Commit-Queue: Benjamin Pastene <bpastene@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>

[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/apk_helper.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/flash_device.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/dexdump.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/devil_dependencies.json
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/provision_devices.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/ports.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/perf/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/forwarder.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/shared_prefs.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/gce_adb_wrapper.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/valgrind_tools/base_tool.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/devil_env.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_test_case.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/device_recovery.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/device_status.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/battor/battor_wrapper.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/README.infra
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/device_monitor.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/markdown.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/split_select.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_signal.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/version_codes.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/run_tests_helper.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/timeout_retry.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/adb_run_shell_cmd.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/logcat_monitor.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/screenshot.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/decorators.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/constants/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/test/data/push_directory/push_directory_contents.txt
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_utils.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/constants/chrome.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/zip_utils.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/video_recorder.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/aapt.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/lazy/weak_constant.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/cpufreq.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/battor/battor_error.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/wait_for_devices.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/usb_hubs.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/perf/surface_stats_collector.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/battor/battor_binary_dependencies.json
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/build_tools.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/constants/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/reset_usb.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/battor/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/constants/exit_codes.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/update_mapping.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_blacklist.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/install_commands.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/parallelizer.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/perf/thermal_throttle.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/fastboot.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/script_common.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/keyevent.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/base_error.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/settings.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/lazy/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/md5sum.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/battery_utils.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/perf/perf_control.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/test/data/test_serial_map.json
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/mock_calls.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/OWNERS
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/adb_wrapper.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/lsusb.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/constants/file_system.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/perf/cache_control.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_list.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/valgrind_tools/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/watchdog_timer.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/cmd_helper.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/intent.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/file_utils.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/flag_changer.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/fastboot_utils.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_errors.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/geometry.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/app_ui.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/battor_device_mapping.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/host_utils.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_temp_file.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/keyboard.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/test/data/push_file.txt
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/signal_handler.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/reraiser_thread.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/find_usb_devices.py

Project Member

Comment 21 by bugdroid1@chromium.org, May 12 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/f3470f62488657e5ecf721469d60fcc1f08119d8

commit f3470f62488657e5ecf721469d60fcc1f08119d8
Author: Benjamin Pastene <bpastene@google.com>
Date: Fri May 12 00:29:27 2017

Vendor catapult/devil in infra

Adds devil/ and common/battor
See README

Bug:  719447 
Change-Id: I881ceb4538839c5348d1e6ba081a12131cd0631b
Reviewed-on: https://chromium-review.googlesource.com/503489
Commit-Queue: Benjamin Pastene <bpastene@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>

[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/apk_helper.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/flash_device.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/dexdump.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/devil_dependencies.json
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/provision_devices.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/ports.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/perf/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/forwarder.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/shared_prefs.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/gce_adb_wrapper.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/valgrind_tools/base_tool.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/devil_env.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_test_case.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/device_recovery.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/device_status.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/battor/battor_wrapper.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/README.infra
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/device_monitor.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/markdown.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/split_select.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_signal.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/version_codes.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/run_tests_helper.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/timeout_retry.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/adb_run_shell_cmd.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/logcat_monitor.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/screenshot.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/decorators.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/constants/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/test/data/push_directory/push_directory_contents.txt
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_utils.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/constants/chrome.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/zip_utils.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/video_recorder.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/aapt.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/lazy/weak_constant.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/cpufreq.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/battor/battor_error.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/wait_for_devices.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/usb_hubs.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/perf/surface_stats_collector.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/battor/battor_binary_dependencies.json
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/build_tools.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/constants/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/reset_usb.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/battor/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/constants/exit_codes.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/update_mapping.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_blacklist.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/install_commands.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/parallelizer.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/perf/thermal_throttle.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/fastboot.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/script_common.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/keyevent.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/base_error.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/settings.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/lazy/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/md5sum.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/battery_utils.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/perf/perf_control.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/test/data/test_serial_map.json
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/mock_calls.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/OWNERS
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/adb_wrapper.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/lsusb.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/constants/file_system.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/perf/cache_control.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_list.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/valgrind_tools/__init__.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/watchdog_timer.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/cmd_helper.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/intent.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/file_utils.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/flag_changer.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/fastboot_utils.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_errors.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/geometry.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/app_ui.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/battor_device_mapping.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/host_utils.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/device_temp_file.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/tools/keyboard.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/android/sdk/test/data/push_file.txt
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/signal_handler.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/reraiser_thread.py
[add] https://crrev.com/f3470f62488657e5ecf721469d60fcc1f08119d8/infra/services/android_docker/third_party/devil/utils/find_usb_devices.py

Project Member

Comment 22 by bugdroid1@chromium.org, May 12 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/201b3cedcef131becff5f69dbc05ec1dcd89a65b

commit 201b3cedcef131becff5f69dbc05ec1dcd89a65b
Author: Benjamin Pastene <bpastene@google.com>
Date: Fri May 12 21:45:46 2017

android-docker: Link battors to android devices when they're present.

This doesn't whitelist the battors in the containers, just makes the
script aware of them. That will come in a later CL.

Bug:  719447 
Change-Id: I5f5ceccaae09dcb6a03c9fb31bf61c006bcbffb8
Reviewed-on: https://chromium-review.googlesource.com/505192
Commit-Queue: Benjamin Pastene <bpastene@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>

[modify] https://crrev.com/201b3cedcef131becff5f69dbc05ec1dcd89a65b/infra/services/android_docker/__init__.py
[modify] https://crrev.com/201b3cedcef131becff5f69dbc05ec1dcd89a65b/infra/services/android_docker/test/usb_device_test.py
[modify] https://crrev.com/201b3cedcef131becff5f69dbc05ec1dcd89a65b/infra/services/android_docker/usb_device.py

Cc: charliea@chromium.org
 Issue 721169  has been merged into this issue.
Project Member

Comment 24 by bugdroid1@chromium.org, May 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/ba47a1b40fb27d2d54d2b3b469ee47cb8c606e95

commit ba47a1b40fb27d2d54d2b3b469ee47cb8c606e95
Author: Benjamin Pastene <bpastene@google.com>
Date: Mon May 15 21:15:08 2017

android-docker: Add battors to containers when adding a device.

Does the same thing for android devices, with a small addition
(udevadm)

Bug:  719447 
Change-Id: I0f69be0099858a452190d75f1168da4c03c92927
Reviewed-on: https://chromium-review.googlesource.com/506250
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Benjamin Pastene <bpastene@chromium.org>

[modify] https://crrev.com/ba47a1b40fb27d2d54d2b3b469ee47cb8c606e95/infra/services/android_docker/containers.py
[modify] https://crrev.com/ba47a1b40fb27d2d54d2b3b469ee47cb8c606e95/infra/services/android_docker/__main__.py
[modify] https://crrev.com/ba47a1b40fb27d2d54d2b3b469ee47cb8c606e95/infra/services/android_docker/test/containers_test.py

Project Member

Comment 25 by bugdroid1@chromium.org, May 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/2f97bfc03c79e27d75d3db746c7ae11fe8962ae4

commit 2f97bfc03c79e27d75d3db746c7ae11fe8962ae4
Author: Benjamin Pastene <bpastene@google.com>
Date: Mon May 15 22:47:32 2017

android-docker: Fix whitespace formatting in container command strings.

I think all the whitespaces were screwing up the bash interpreter.

Bug:  719447 
Change-Id: Ic3d2b2f8d68cbcdd94586a95bd744b354c8248a8
Reviewed-on: https://chromium-review.googlesource.com/505437
Commit-Queue: Benjamin Pastene <bpastene@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>

[modify] https://crrev.com/2f97bfc03c79e27d75d3db746c7ae11fe8962ae4/infra/services/android_docker/containers.py

Barring any unforeseen issues, the docker containers should now support battors. I'll push all the recent changes to canary bots for a bit and see how things go. If it looks good, I'll deploy to prod where we'll hopefully start getting power measurements again.
Project Member

Comment 27 by bugdroid1@chromium.org, May 15 2017

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/infra/puppet/+/2d35104821448528688f8785c9102e7b07440423

commit 2d35104821448528688f8785c9102e7b07440423
Author: Benjamin Pastene <bpastene@google.com>
Date: Mon May 15 23:38:15 2017

Project Member

Comment 28 by bugdroid1@chromium.org, May 15 2017

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/infra/puppet/+/2d35104821448528688f8785c9102e7b07440423

commit 2d35104821448528688f8785c9102e7b07440423
Author: Benjamin Pastene <bpastene@google.com>
Date: Mon May 15 23:38:15 2017

Project Member

Comment 29 by bugdroid1@chromium.org, May 16 2017

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/infra/puppet/+/72ae3e439432fd864fa8795caeff632e0bfccf81

commit 72ae3e439432fd864fa8795caeff632e0bfccf81
Author: Benjamin Pastene <bpastene@google.com>
Date: Tue May 16 15:34:26 2017

Awesome! Please update the thread again when we should expect to see BattOrs working again in prod. Thanks so much for your continued work on this Ben.
Blocking: 721171
Deployed what is hopefully the fix to prod starting with: https://build.chromium.org/p/chromium.perf/builders/Android%20Nexus5X%20Perf/builds/56

If it works, the latest set of tests in that build should now include any battor measurements. Can anyone confirm that? I'm not sure what benchmarks I should look at for power measurements.
Owner: ----
Status: Available (was: Started)
It looks like it ran successfully, I think. https://chromium-swarm.appspot.com/task?id=362b49eb11ce9410&refresh=10&show_raw=1 ran to completion. Although I don't know if that means anything.

rnephew@ or charliea@, can you figure out if the battor stuff is working?
Project Member

Comment 34 by bugdroid1@chromium.org, May 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/26d71b4f8cbf1fd071ae1817918857613d9338f7

commit 26d71b4f8cbf1fd071ae1817918857613d9338f7
Author: catapult-deps-roller@chromium.org <catapult-deps-roller@chromium.org>
Date: Wed May 17 05:16:56 2017

Roll src/third_party/catapult/ 37015fb47..dab2aa44c (13 commits)

https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/37015fb470d8..dab2aa44c6cd

$ git log 37015fb47..dab2aa44c --date=short --no-merges --format='%ad %ae %s'
2017-05-16 nednguyen Revert of Remove webrtc_rendering_stats TBMv1 metrics (patchset #2 id:20001 of https://codereview.chromium.org/2890443002/ )
2017-05-16 rnephew Revert of [Telemetry][CodeHealth] Make unittests with fake platforms use fakes.FakePlatform (patchset #3 id:60001 of https://codereview.chromium.org/2889583003/ )
2017-05-16 rnephew [Telemetry][CodeHealth] Make unittests with fake platforms use fakes.FakePlatform
2017-05-16 ctzsm Remove android-webview-shell
2017-05-16 rnephew [Telemetry] Add Expectation module that enables disabling benchmarks/stories
2017-05-16 perezju [common/battor] Fix errors while logging
2017-05-16 nednguyen Remove webrtc_rendering_stats TBMv1 metrics
2017-05-16 perezju [Telemetry] Stop tracing/metrics before closing the browser
2017-05-16 nednguyen Remove v8_gc_latency TBMv1 metric
2017-05-16 ulan Revert of Fix main frame detection in loading metrics. (patchset #7 id:120001 of https://codereview.chromium.org/2862103002/ )
2017-05-15 jreck Quick fix to avoid corruption from binder_parser
2017-05-15 ctzsm Rename AndroidWebView.apk to WebViewInstrumentation.apk
2017-05-15 ulan Fix main frame detection in loading metrics.

Created with:
  roll-dep src/third_party/catapult
BUG= 701938 ,711065, 719447 , 720317 , 692112 , 701938 , 692112 


Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, see:
http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls


CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel
TBR=sullivan@chromium.org

Change-Id: I01ecaf24a0ad46e599b4e1272e8bb6204cabf75f
Reviewed-on: https://chromium-review.googlesource.com/507032
Reviewed-by: <catapult-deps-roller@chromium.org>
Commit-Queue: <catapult-deps-roller@chromium.org>
Cr-Commit-Position: refs/heads/master@{#472336}
[modify] https://crrev.com/26d71b4f8cbf1fd071ae1817918857613d9338f7/DEPS

https://chromeperf.appspot.com/report?sid=ca6c52111f8337a0f6478573cd639ed39dbd8eb82d903d8c3932651f452b9fb9 is showing that we have BattOr power measurements from our Nexus 5X bot from 5/16 on, so I'm going to mark this as fixed.

Ben, thank you so much for fixing this so quickly! This makes a huge difference in ensuring that we don't let power regressions slip through.
Status: Fixed (was: Available)
Cc: -bpastene@chromium.org
Owner: bpastene@chromium.org
Project Member

Comment 38 by bugdroid1@chromium.org, Jul 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/88ab20412467348e8b4387cca3ee48c5ea302379

commit 88ab20412467348e8b4387cca3ee48c5ea302379
Author: catapult-deps-roller@chromium.org <catapult-deps-roller@chromium.org>
Date: Fri Jul 14 01:23:09 2017

Roll src/third_party/catapult/ 6daeed6d7..2569648cd (14 commits)

https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/6daeed6d7311..2569648cdd4f

$ git log 6daeed6d7..2569648cd --date=short --no-merges --format='%ad %ae %s'
2017-07-13 simonhatch Pinpoint - First pass new job dialog
2017-07-13 benjhayden Fix CSVBuilder.
2017-07-13 benjhayden Reserve names for split diagnostics.
2017-07-13 dtu [pinpoint] Correct device affinity when multiple executions are started together.
2017-07-13 eakuefner [Catapult] Fix bin_checks PRESUBMIT not allowing deletions in bin/
2017-07-13 nednguyen Revert of Add logging to debug battor not running (patchset #1 id:1 of https://codereview.chromium.org/2869913002/ )
2017-07-13 sullivan Add support for additional flag-specified tracing categories.
2017-07-13 eakuefner [Dashboard] Make add_histograms an ApiRequestHandler
2017-07-13 etienneb Validate code-identifiers from traces/modules when available
2017-07-13 eakuefner [Tracing] Fix bin/run_tests
2017-07-13 kbr Fix run_browser_tests.py on Android.
2017-07-13 sullivan Add APIs to list the timeseries for a benchmark, and download them.
2017-07-13 sullivan Add alert timestamps, bisect start, and convert bug timestamps to ISO format.
2017-07-13 nednguyen Add smoke test for webpagereplay_go_server

Created with:
  roll-dep src/third_party/catapult
BUG= 719447 , 739783 , 740769 


Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, see:
http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls


CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel
TBR=sullivan@chromium.org

Change-Id: I44b1b5541e2c258f061e3138318a8c1af9cdcbc1
Reviewed-on: https://chromium-review.googlesource.com/570836
Reviewed-by: <catapult-deps-roller@chromium.org>
Commit-Queue: <catapult-deps-roller@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486599}
[modify] https://crrev.com/88ab20412467348e8b4387cca3ee48c5ea302379/DEPS

Sign in to add a comment