| commit | 2e61b8fd15fecc765a5c5eda381697cac4515f97 | [log] [tgz] |
|---|---|---|
| author | Pietro Scuttari <pietroscutta@google.com> | Tue Nov 04 17:33:45 2025 |
| committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 04 17:33:45 2025 |
| tree | 43b7b483da7753e46960a4c4a36206674077b24a | |
| parent | 9e0aafff74d1de5a23783e0bd8637d3db578ac12 [diff] |
Create compare_mobileharness_devices.py This script fetches omnilab device data using the Mobile Harness RPC API (http://go/omnilab-gateway#querydevice) as well as big query data and compares it to the devices in our dev db. The output is an html file with a report, you can see the output of my latest run at https://pietroscutta.users.x20web.corp.google.com/android_device_comparison_report.html Bug: b/454825291 Change-Id: Ic904e2319bb0cae86cdf4a57a4088dee69ffc427 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/7106263 Commit-Queue: Vaghinak Vardanyan <vaghinak@google.com> Reviewed-by: Vaghinak Vardanyan <vaghinak@google.com> Auto-Submit: Pietro Scuttari <pietroscutta@google.com> Commit-Queue: Pietro Scuttari <pietroscutta@google.com> Cr-Commit-Position: refs/heads/main@{#77347}
Welcome to the Chrome Infra repository!
Wondering where to start? Check out General Chrome Infrastructure documentation. In particular, to check out this repo and the rest of the infrastructure code, follow the instructions here. The rest of this page is specific to this repo.
sys.path modifications.git push origin <updated hash>:deployedgit push commandIf you've added a new module, run your tests with test.py:
*_test.py files to this directory.Double-check that your tests are getting picked up when you want them to be: ./test.py test <path-to-package>.
Tests still not getting picked up by test.py? Double-check to make sure you have __init__.py files in each directory of your module so Python recognizes it as a package.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style, except functions use lowercase_with_underscores. Use yapf (git cl format) to autoformat new code.