New issue
Advanced search Search tips

Issue 862224 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 11
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Feature



Sign in to add a comment

Allow running WebRTC tryjobs on Chromium CLs

Project Member Reported by oprypin@chromium.org, Jul 10

Issue description

This can be used to see how a change in Chromium repo would affect WebRTC's build.

The difficulty is that WebRTC doees not directly depend on Chromium but rather on its subtree mirrors.

Currently all tryjobs fail with "Uncaught Exception: KeyError('root',)" in bot_update
https://ci.chromium.org/p/webrtc/builders/luci.webrtc.try/linux_compile_rel/61
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jul 10

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/4d6927097785bf05da0ff89d604f7eb9a98489f8

commit 4d6927097785bf05da0ff89d604f7eb9a98489f8
Author: Oleh Prypin <oprypin@webrtc.org>
Date: Tue Jul 10 17:39:23 2018

WebRTC: Specify the correct repository in recipe tests

This is a "no-op" change, just nicer output in test expectations (json)

Bug:  chromium:862224 
Change-Id: I436c16ca4ffd291a3f03c3d84a96aaa412e00392
Reviewed-on: https://chromium-review.googlesource.com/1131742
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Oleh Prypin <oprypin@chromium.org>

[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_tsan2.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux32_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_mac_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_arm64_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/ios_api_framework.expected/trybot_build.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_arm64_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_x64_win10.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_compile_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_mac_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_x86_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_compile_x64_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux32_arm_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_mac_asan.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_compile_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_x64_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_x64_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.py
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_experimental.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_clang_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_x86_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_gcc_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_x64_clang_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_x64_win8.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_compile_x64_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_arm64_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_memcheck.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_msan.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_asan.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux32_arm_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux32_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/ios_api_framework.py
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_experimental.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_ubsan.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_asan.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/more_configs.py
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_arm64_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_compile_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/more_configs.expected/full_tryserver_webrtc_android_more_configs.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_compile_arm64_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_ubsan_vptr.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_x64_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_compile_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_clang_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/more_configs.expected/full_tryserver_webrtc_win_more_configs.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/README.recipes.md
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_x64_clang_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/libfuzzer.expected/full_tryserver_webrtc_linux_libfuzzer_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/more_configs.expected/full_tryserver_webrtc_linux_more_configs.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_mac_compile_dbg.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_mac_experimental.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_win_experimental.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_mac_compile_rel.json
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/libfuzzer.py
[modify] https://crrev.com/4d6927097785bf05da0ff89d604f7eb9a98489f8/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_rel.json

Project Member

Comment 2 by bugdroid1@chromium.org, Jul 11

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/ed89926f9a5baca36833854c239f9c4488dbdd45

commit ed89926f9a5baca36833854c239f9c4488dbdd45
Author: Oleh Prypin <oprypin@webrtc.org>
Date: Wed Jul 11 06:46:54 2018

Implement WebRTC tryjobs on Chromium CLs

WebRTC depends on Chromium through subtree mirrors like https://chromium.googlesource.com/chromium/src/build.git

This works by forcing these to sync to HEAD and then applying the patch (obtained as a textual diff) from the Gerrit CL. The files will be in a dirty state but the next tryjob should reset all those changes.

Dependent CLs are not supported. Changes to Chromium's DEPS file are not taken into account.

Bug:  chromium:862224 
Change-Id: I85aed022a45a77aa5303c1cd0bedfaad29115285
Reviewed-on: https://chromium-review.googlesource.com/1131743
Commit-Queue: Oleh Prypin <oprypin@chromium.org>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>

[add] https://crrev.com/ed89926f9a5baca36833854c239f9c4488dbdd45/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_compile_rel_chromium.json
[add] https://crrev.com/ed89926f9a5baca36833854c239f9c4488dbdd45/scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_linux_compile_rel_chromium_failing_patch.json
[modify] https://crrev.com/ed89926f9a5baca36833854c239f9c4488dbdd45/scripts/slave/README.recipes.md
[modify] https://crrev.com/ed89926f9a5baca36833854c239f9c4488dbdd45/scripts/slave/recipes/webrtc/standalone.py
[modify] https://crrev.com/ed89926f9a5baca36833854c239f9c4488dbdd45/scripts/slave/recipe_modules/webrtc/__init__.py
[modify] https://crrev.com/ed89926f9a5baca36833854c239f9c4488dbdd45/scripts/slave/recipe_modules/webrtc/test_api.py
[modify] https://crrev.com/ed89926f9a5baca36833854c239f9c4488dbdd45/scripts/slave/recipe_modules/webrtc/api.py

Status: Fixed (was: Started)
Things to consider in the future:

Somehow apply changes to Chromium's DEPS file.

Chromium's support of WebRTC can be broken at HEAD and an innocent tryjob would fail. Maybe try to not sync to HEAD? But then there will be patch failures.

Sign in to add a comment