webrtc_m130/tools_webrtc/get_landmines.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

82 lines
3.6 KiB
Python
Raw Normal View History

#!/usr/bin/env vpython3
# Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
"""
This file emits the list of reasons why a particular build needs to
be clobbered (or a list of 'landmines').
"""
import os
import sys
Reland of PyLint fixes for tools-webrtc and webrtc/tools (patchset #1 id:1 of https://codereview.webrtc.org/2737233003/ ) Reason for revert: Fixing errors for reland. I have tested that this does not make Chromium video quality tests fail. Original issue's description: > Revert of PyLint fixes for tools-webrtc and webrtc/tools (patchset #3 id:40001 of https://codereview.webrtc.org/2736233003/ ) > > Reason for revert: > Fails video quality tests in Chrome: http://build.chromium.org/p/chromium.webrtc.fyi/builders/Win10%20Tester/builds/6568 > I should have looked more closer at those :( > > Original issue's description: > > PyLint fixes for tools-webrtc and webrtc/tools > > > > Fix a lot of errors before bringing in the new config in > > https://codereview.webrtc.org/2737963003/ > > > > BUG=webrtc:7303 > > NOTRY=True > > > > Review-Url: https://codereview.webrtc.org/2736233003 > > Cr-Commit-Position: refs/heads/master@{#17137} > > Committed: https://chromium.googlesource.com/external/webrtc/+/f5318e1f391859c82aaa47b297429e50f41f6b3c > > TBR=oprypin@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:7303 > > Review-Url: https://codereview.webrtc.org/2737233003 > Cr-Commit-Position: refs/heads/master@{#17142} > Committed: https://chromium.googlesource.com/external/webrtc/+/94f4d9effc3fa1ee6a6a48a7bbdef6684defd1dc NOTRY=true BUG=webrtc:7312 Review-Url: https://codereview.webrtc.org/2741733003 Cr-Commit-Position: refs/heads/master@{#17541}
2017-04-05 06:42:43 -07:00
SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
CHECKOUT_ROOT = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir))
sys.path.insert(0, os.path.join(CHECKOUT_ROOT, 'build'))
import landmine_utils
host_os = landmine_utils.host_os # pylint: disable=invalid-name
# pylint: disable=line-too-long
Reland of PyLint fixes for tools-webrtc and webrtc/tools (patchset #1 id:1 of https://codereview.webrtc.org/2737233003/ ) Reason for revert: Fixing errors for reland. I have tested that this does not make Chromium video quality tests fail. Original issue's description: > Revert of PyLint fixes for tools-webrtc and webrtc/tools (patchset #3 id:40001 of https://codereview.webrtc.org/2736233003/ ) > > Reason for revert: > Fails video quality tests in Chrome: http://build.chromium.org/p/chromium.webrtc.fyi/builders/Win10%20Tester/builds/6568 > I should have looked more closer at those :( > > Original issue's description: > > PyLint fixes for tools-webrtc and webrtc/tools > > > > Fix a lot of errors before bringing in the new config in > > https://codereview.webrtc.org/2737963003/ > > > > BUG=webrtc:7303 > > NOTRY=True > > > > Review-Url: https://codereview.webrtc.org/2736233003 > > Cr-Commit-Position: refs/heads/master@{#17137} > > Committed: https://chromium.googlesource.com/external/webrtc/+/f5318e1f391859c82aaa47b297429e50f41f6b3c > > TBR=oprypin@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:7303 > > Review-Url: https://codereview.webrtc.org/2737233003 > Cr-Commit-Position: refs/heads/master@{#17142} > Committed: https://chromium.googlesource.com/external/webrtc/+/94f4d9effc3fa1ee6a6a48a7bbdef6684defd1dc NOTRY=true BUG=webrtc:7312 Review-Url: https://codereview.webrtc.org/2741733003 Cr-Commit-Position: refs/heads/master@{#17541}
2017-04-05 06:42:43 -07:00
def print_landmines(): # pylint: disable=invalid-name
"""
ALL LANDMINES ARE EMITTED FROM HERE.
"""
# DO NOT add landmines as part of a regular CL. Landmines are a last-effort
# bandaid fix if a CL that got landed has a build dependency bug and all
# bots need to be cleaned up. If you're writing a new CL that causes build
# dependency problems, fix the dependency problems instead of adding a
# landmine.
# See the Chromium version in src/build/get_landmines.py for usage examples.
print('Clobber to remove out/{Debug,Release}/args.gn (webrtc:5070)')
if host_os() == 'win':
print(
'Clobber to resolve some issues with corrupt .pdb files on bots.')
print('Clobber due to corrupt .pdb files (after #14623)')
print(
'Clobber due to Win 64-bit Debug linking error (crbug.com/668961)')
print('Clobber due to Win Clang Debug linking errors in '
'https://codereview.webrtc.org/2786603002')
print('Clobber due to Win Debug linking errors in '
'https://codereview.webrtc.org/2832063003/')
print('Clobber win x86 bots (issues with isolated files).')
print('Clobber because of libc++ issue')
print('Clobber because of libc++ issue - take 2')
print('Clobber because of libc++ issue - take 3')
print('Clobber because of libc++ issue - take 4 (crbug.com/1337238)')
print('Clobber because of libc++ issue - take 5 (crbug.com/1337238)')
print('Clobber because of libc++ issue - take 6 (crbug.com/1337238)')
print('Clobber because b/367066321')
if host_os() == 'mac':
print('Clobber due to iOS compile errors (crbug.com/694721)')
print('Clobber to unblock https://codereview.webrtc.org/2709573003')
print('Clobber to fix https://codereview.webrtc.org/2709573003 after '
'landing')
print('Clobber to fix https://codereview.webrtc.org/2767383005 before'
'landing (changing rtc_executable -> rtc_test on iOS)')
print('Clobber to fix https://codereview.webrtc.org/2767383005 before'
'landing (changing rtc_executable -> rtc_test on iOS)')
print('Another landmine for low_bandwidth_audio_test (webrtc:7430)')
print('Clobber to change neteq_rtpplay type to executable')
print('Clobber to remove .xctest files.')
print('Clobber to remove .xctest files (take 2).')
print('Switching rtc_executable to rtc_test')
print('Lets clobber iOS due to signing issue b/396118151')
Roll chromium_revision 030af8fbf0..edc5771bf9 (1368717:1393593) Change log: https://chromium.googlesource.com/chromium/src/+log/030af8fbf0..edc5771bf9 Full diff: https://chromium.googlesource.com/chromium/src/+/030af8fbf0..edc5771bf9 Changed dependencies * fuchsia_version: version:24.20241014.3.1..version:26.20241203.6.1 * reclient_version: re_client_version:0.168.0.c46e68bc-gomaip..re_client_version:0.172.0.3cf60ba5-gomaip * src/base: https://chromium.googlesource.com/chromium/src/base/+log/69f3676cdb..189a044d69 * src/build: https://chromium.googlesource.com/chromium/src/build/+log/05874e6c94..351a8c7f44 * src/buildtools: https://chromium.googlesource.com/chromium/src/buildtools/+log/db0eae9640..ba1ffdb859 * src/buildtools/linux64: git_revision:feafd1012a32c05ec6095f69ddc3850afb621f3a..git_revision:468c6128db7fabe32a29d4753460ef53594406fc * src/buildtools/mac: git_revision:feafd1012a32c05ec6095f69ddc3850afb621f3a..git_revision:468c6128db7fabe32a29d4753460ef53594406fc * src/buildtools/reclient: re_client_version:0.168.0.c46e68bc-gomaip..re_client_version:0.172.0.3cf60ba5-gomaip * src/buildtools/win: git_revision:feafd1012a32c05ec6095f69ddc3850afb621f3a..git_revision:468c6128db7fabe32a29d4753460ef53594406fc * src/ios: https://chromium.googlesource.com/chromium/src/ios/+log/452c8ab216..7bcd9c24de * src/testing: https://chromium.googlesource.com/chromium/src/testing/+log/eac4c18f74..aab53ebd79 * src/third_party: https://chromium.googlesource.com/chromium/src/third_party/+log/9d80a193fb..832ec8a32c * src/third_party/android_build_tools/aapt2/cipd: cfGQ9GV4juNnGZIPzTmaL3ehiZM1hs6UsB5HUA8fT6oC..JPmxYHMZl4VH2Umf2-flGSdTVHtNDdFBmXd7v1Gs7EoC * src/third_party/android_build_tools/bundletool/cipd: sZ24OFOduSafn8fvR3ajsGS6KP_oS_Tq0Cw3SA8XiD0C..Q-7KJYcc15Cn9iVy-7bk0tPH9-oUrhqHis6HmUzck80C * src/third_party/android_build_tools/error_prone/cipd: hUxlP8GvC1xhmZ6r9xjYau2laPlzHbs_P2emx4ZL4jgC..ClNqEKjHuNFTgplEe3HujivpADFDjRs0H0ijhyVUg2gC * src/third_party/android_build_tools/manifest_merger/cipd: rnIeJMlGw7adxOKZofLsm7tdYaOy1nHivJn9ck7ocVkC..ltqylfWRbafoft_Pjhfb4NciQwCb3J4PAkpcTZA7lW0C * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_auth: version:2@20.1.0.cr1..version:2@21.1.1.cr1 * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_auth_api_phone: version:2@18.0.1.cr1..version:2@18.0.2.cr1 * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_auth_base: version:2@18.0.2.cr1..version:2@18.0.10.cr1 * src/third_party/android_deps/cipd/libs/com_squareup_okio_okio_jvm: version:2@3.9.0.cr1..version:2@3.9.1.cr1 * src/third_party/androidx/cipd: k1wif7sS51pJGSFGN7FAeGWDorxgPart9E1f383TQL4C..w6ABIi35Hbkb4RHJCx4sSWDpt7W9rBvJFkcPVufgZMIC * src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/0fa9014d86..9559c4566a * src/third_party/breakpad/breakpad: https://chromium.googlesource.com/breakpad/breakpad.git/+log/6b0c5b7ee1..02dd5c3ffb * src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/4479191661..4899cc831c * src/third_party/clang-format/script: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git/+log/3c0acd2d4e..37f6e68a10 * src/third_party/dav1d/libdav1d: https://chromium.googlesource.com/external/github.com/videolan/dav1d.git/+log/389450f61e..d242c47b43 * src/third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/20b9bdcace..8d20c1e0b5 * src/third_party/ffmpeg: https://chromium.googlesource.com/chromium/third_party/ffmpeg.git/+log/686d694450..591ae4b02e * src/third_party/freetype/src: https://chromium.googlesource.com/chromium/src/third_party/freetype2.git/+log/f02bffad0f..0ae7e60737 * src/third_party/google_benchmark/src: https://chromium.googlesource.com/external/github.com/google/benchmark.git/+log/344117638c..761305ec3b * src/third_party/googletest/src: https://chromium.googlesource.com/external/github.com/google/googletest.git/+log/62df7bdbc1..35d0c36560 * src/third_party/harfbuzz-ng/src: https://chromium.googlesource.com/external/github.com/harfbuzz/harfbuzz.git/+log/1da053e87f..1c249be96e * src/third_party/icu: https://chromium.googlesource.com/chromium/deps/icu.git/+log/4239b1559d..ba7ed88cc5 * src/third_party/jdk/current: BXZwbslDFpYhPRuG8hBh2z7ApP36ZG-ZfkBWrkpnPl4C..U-h0kbYoIUjL__n_sfiudzFLH7-C9vKVsLSOA2XHkBEC * src/third_party/kotlin_stdlib/cipd: XJ7_doI-Qt7GFaSQ9BNo-3qF7Gv2--9Sa8GEUdjxMTUC..O9XlYa2GU1tlWmQ40OrK2Bekxjt372NtG5pMD-QyNaYC * src/third_party/kotlinc/current: FNZSCjJ6yKsi6oRcgQrt-lX0MDlaWoxT7gPTz0CjLhMC..HckNA1Q54JBiHrpY1gP5qblVCdeuVmGsiGCdv1XjqywC * src/third_party/libFuzzer/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt/lib/fuzzer.git/+log/487e793763..e31b999178 * src/third_party/libaom/source/libaom: https://aomedia.googlesource.com/aom.git/+log/840f879787..ff9badefdf * src/third_party/libc++/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/6a68fd412b..619ccf0515 * src/third_party/libc++abi/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/9a1d90c3b4..1bf8357272 * src/third_party/libsrtp: https://chromium.googlesource.com/chromium/deps/libsrtp.git/+log/000edd7914..a52756acb1 * src/third_party/libunwind/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git/+log/efc3baa2d1..6066b14957 * src/third_party/libunwindstack: https://chromium.googlesource.com/chromium/src/third_party/libunwindstack.git/+log/a3bb4cd02e..215bddfd8e * src/third_party/libvpx/source/libvpx: https://chromium.googlesource.com/webm/libvpx.git/+log/906334ac1d..6f0c446c7b * src/third_party/libyuv: https://chromium.googlesource.com/libyuv/libyuv.git/+log/a8e59d2074..307b951229 * src/third_party/llvm-libc/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git/+log/98ed093183..ab4e0ad953 * src/third_party/perfetto: https://android.googlesource.com/platform/external/perfetto.git/+log/e57316a6ae..d3990a1c9d * src/third_party/r8/cipd: -i5fwP_NzM6Ylg5AsSGEotYN7hQgV852gXCslvXIrRwC..hmRsAQA2HG0DR196Odv3OKZYk-2Ul43tCtzrCyfWpEQC * src/third_party/r8/d8/cipd: 3KCj5eRYCvGGYs5i90pRaeihkzsqgUGc4OkICT8AOlIC..o7pbwAFk68RQBPYLlCUm0mQ6B3Bj9pykXOPvv8akR5kC * src/third_party/rust-toolchain_version: Linux_x64/rust-toolchain-009e73825af0e59ad4fc603562e038b3dbd6593a-2-llvmorg-20-init-3847-g69c43468.tar.xz,Mac/rust-toolchain-009e73825af0e59ad4fc603562e038b3dbd6593a-2-llvmorg-20-init-3847-g69c43468.tar.xz,Mac_arm64/rust-toolchain-009e73825af0e59ad4fc603562e038b3dbd6593a-2-llvmorg-20-init-3847-g69c43468.tar.xz,Win/rust-toolchain-009e73825af0e59ad4fc603562e038b3dbd6593a-2-llvmorg-20-init-3847-g69c43468.tar.xz..Linux_x64/rust-toolchain-a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859.tar.xz,Mac/rust-toolchain-a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859.tar.xz,Mac_arm64/rust-toolchain-a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859.tar.xz,Win/rust-toolchain-a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859.tar.xz * src/third_party/turbine/cipd: vSia3h9tzpwpP_goLj4HMdl7_FEB5iVCv9nU5ZXOfIMC..c4onccFJcd8rKHM_6js-X_ucjXdFqhDWK8aUX4ARSkkC * src/third_party/zstd/src: https://chromium.googlesource.com/external/github.com/facebook/zstd.git/+log/7fb5347e88..b0a179d469 * src/tools: https://chromium.googlesource.com/chromium/src/tools/+log/c809c41331..ae13111c68 Added dependencies * src/third_party/android_deps/cipd/libs/com_google_android_libraries_identity_googleid_googleid * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_auth_blockstore * src/third_party/android_deps/cipd/libs/com_google_android_gms_play_services_fido DEPS diff: https://chromium.googlesource.com/chromium/src/+/030af8fbf0..edc5771bf9/DEPS Clang version changed llvmorg-20-init-6794-g3dbd929e:llvmorg-20-init-13894-g8cb44859 Details: https://chromium.googlesource.com/chromium/src/+/030af8fbf0..edc5771bf9/tools/clang/scripts/update.py BUG=webrtc:383026404 Change-Id: I9570d31fc173189c3728f90e33d4ea5947615c0a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/370710 Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Jeremy Leconte <jleconte@webrtc.org> Cr-Commit-Position: refs/heads/main@{#43519}
2024-12-09 14:23:04 +01:00
if host_os() == 'android':
print('Clobber due to Android "compile confirm no-op" errors.')
def main():
print_landmines()
return 0
if __name__ == '__main__':
sys.exit(main())