df5df81084
Just to take inventory of which old problems still linger and which are now moot, I've gone out of my way to have this stand alone. All of gn_android_flavor's logic is self contained, without any dependency on the platform_tools scripts. The tricky bits turn out to be, copying directories containing symlinks---or really any copying involving more than one file---and getting the exit code back from adb shell. Luckily the ADB I've got on my desktop and my Nexus 5x seems to handle this all without the awkward workarounds you see here, so there's hope that One Day Soon the weird parts (basically, anything with inline python) can go away. Once we've got these bots landed green, I'll go see whether the fixes are due to ADB updates, Android updates, or perhaps something else like hardware. The parts marked TEMPORARY are a nod to the fact that the devices are used by gn_android_flavor and android_flavor both today. It's mostly about not stepping on each other's toes or leaving anything laying around that might confuse each other. The marked parts can go away when bots are either gn_ or non-gn_ but not both. I have omitted a few steps that may be important, but which are easy independent follow-ups: - running as root - locking clocks - waiting on battery levels - fancier wait-for-ready than adb wait-for-usb-device It'd be nice to, e.g., reaffirm that locking clocks helps perf stability, and that we're locking to the best policy. I've tried to keep this CL as trim as possible, leaving any of these vaguely optional steps for later. As of PS 41 or so, it looks like the trybots are all behaving as expected. We should expect no new images in Gold. Can we see trybots in Perf yet? BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2320153002 CQ_INCLUDE_TRYBOTS=master.client.skia.android:Perf-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android-Trybot,Perf-Android-Clang-AndroidOne-CPU-MT6582-arm-Release-GN_Android-Trybot,Perf-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Debug-GN_Android-Trybot,Perf-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Release-GN_Android-Trybot,Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android-Trybot,Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Release-GN_Android-Trybot,Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Debug-GN_Android-Trybot,Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Release-GN_Android-Trybot Review-Url: https://codereview.chromium.org/2320153002 |
||
---|---|---|
.. | ||
adb_in_path.json | ||
big_issue_number.json | ||
download_and_push_skimage.json | ||
download_and_push_skps.json | ||
download_and_push_svgs.json | ||
failed_dm.json | ||
failed_get_hashes.json | ||
missing_SK_IMAGE_VERSION_device.json | ||
missing_SKP_VERSION_device.json | ||
missing_SVG_VERSION_device.json | ||
recipe_with_gerrit_patch.json | ||
Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Release-GN_Android.json | ||
Test-Android-GCC-AndroidOne-GPU-Mali400MP2-Arm7-Release.json | ||
Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug.json | ||
Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug.json | ||
Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug.json | ||
Test-Android-GCC-Nexus9-CPU-Denver-Arm64-Debug.json | ||
Test-Android-GCC-Nexus10-GPU-MaliT604-Arm7-Release.json | ||
Test-Android-GCC-NexusPlayer-CPU-SSE4-x86-Release.json | ||
Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug.json | ||
Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug.json | ||
Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Debug.json | ||
Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Debug.json | ||
Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer.json | ||
Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json | ||
Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-ASAN.json | ||
Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN.json | ||
Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json | ||
Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared.json | ||
Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN.json | ||
Test-Ubuntu-GCC-GCE-CPU-AVX2-x86-Debug.json | ||
Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json | ||
Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release-Trybot.json | ||
Test-Win8-MSVC-ShuttleB-GPU-GTX960-x86_64-Debug-ANGLE.json | ||
Test-Win10-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug-Vulkan.json |