aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-11Snap for 7199033 from 898f8d62d1305674635d1e341b5839154d4e6acd to sc-releaseandroid-vts-12.0_r9android-vts-12.0_r8android-vts-12.0_r7android-vts-12.0_r6android-vts-12.0_r5android-vts-12.0_r4android-vts-12.0_r3android-vts-12.0_r2android-vts-12.0_r12android-vts-12.0_r11android-vts-12.0_r10android-vts-12.0_r1android-security-12.0.0_r59android-security-12.0.0_r58android-security-12.0.0_r57android-security-12.0.0_r56android-security-12.0.0_r55android-security-12.0.0_r54android-security-12.0.0_r53android-security-12.0.0_r52android-security-12.0.0_r51android-security-12.0.0_r50android-security-12.0.0_r49android-security-12.0.0_r48android-security-12.0.0_r47android-security-12.0.0_r46android-security-12.0.0_r45android-security-12.0.0_r44android-security-12.0.0_r43android-security-12.0.0_r42android-security-12.0.0_r41android-security-12.0.0_r40android-security-12.0.0_r39android-security-12.0.0_r38android-security-12.0.0_r37android-security-12.0.0_r36android-security-12.0.0_r35android-security-12.0.0_r34android-platform-12.0.0_r1android-cts-12.0_r9android-cts-12.0_r8android-cts-12.0_r7android-cts-12.0_r6android-cts-12.0_r5android-cts-12.0_r4android-cts-12.0_r3android-cts-12.0_r2android-cts-12.0_r12android-cts-12.0_r11android-cts-12.0_r10android-cts-12.0_r1android-12.0.0_r9android-12.0.0_r8android-12.0.0_r34android-12.0.0_r33android-12.0.0_r31android-12.0.0_r30android-12.0.0_r3android-12.0.0_r25android-12.0.0_r2android-12.0.0_r11android-12.0.0_r10android-12.0.0_r1android12-tests-releaseandroid12-security-releaseandroid12-s5-releaseandroid12-s4-releaseandroid12-s3-releaseandroid12-s2-releaseandroid12-s1-releaseandroid12-releaseandroid12-platform-releaseandroid-build-team Robot
Change-Id: I1a20ab2b89a4f0ad6ad0369219ba2a994fe42eb4
2021-03-10Merging 15 commit(s) from Chromium's toolchain-utils am: f5cc9231be am: ↵android-mainline-12.0.0_r4android-mainline-12.0.0_r36android-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r26android-12.1.0_r25android-12.1.0_r24android-12.1.0_r23android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r18android-12.1.0_r17android-12.1.0_r16android-12.1.0_r15android-12.1.0_r14android-12.1.0_r13android-12.1.0_r12android-12.1.0_r11android-12.1.0_r10android-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12L-devandroid12L-d2-s8-releaseandroid12L-d2-s7-releaseandroid12L-d2-s6-releaseandroid12L-d2-s5-releaseandroid12L-d2-s4-releaseandroid12L-d2-s3-releaseandroid12L-d2-s2-releaseandroid12L-d2-s1-releaseandroid12L-d2-releaseandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaseandroid12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devandroid12--mainline-releasePirama Arumuga Nainar
1b67a6a703 am: 6e9f5ed75e Original change: https://android-review.googlesource.com/c/platform/external/toolchain-utils/+/1624621 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I3e09c0f25dea2ce281aa3edc999669d4d383510b
2021-03-10Merging 15 commit(s) from Chromium's toolchain-utils am: f5cc9231be am: ↵Pirama Arumuga Nainar
1b67a6a703 Original change: https://android-review.googlesource.com/c/platform/external/toolchain-utils/+/1624621 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id49aa93263e5db9269279b10578de15869b71090
2021-03-10Merging 15 commit(s) from Chromium's toolchain-utils am: f5cc9231bePirama Arumuga Nainar
Original change: https://android-review.googlesource.com/c/platform/external/toolchain-utils/+/1624621 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: If3e85802a765e345d9e4ad978be1da8673bbb45c
2021-03-09Merging 15 commit(s) from Chromium's toolchain-utilsPirama Arumuga Nainar
Merged commit digest: 028b14d toolchain-utils: Remove 'target' from distfiles path (for cleanup). bd1004a toolchain-utils: Fix hyphen/underscore issue for nightly tests. d5d49d2 afdo_metadata: Publish the new kernel profiles d796e2c default_remotes: fix a typo 9d35abc llvm_tools: update upstream branch names to point to `main` 369072a default_remotes: Update toolchain DUT names 4a8085e compiler_wrapper: move llvm-next options to clang options 2c27f0a llvm_tools: pass cl number as str to avoid type error 2421372 afdo_metadata: Publish the new kernel profiles cb138b5 afdo_metadata: Publish the new kernel profiles 8c34e96 crosperf: Fix BadChecksum failure on coral 6da42e5 afdo_metadata: Publish the new kernel profiles 84b5c8f compiler_wrapper: report parent processes' info in warnings tarballs 49187a5 afdo_metadata: Publish the new kernel profiles 602351c update_kernel_afdo: use gsutil.py instead of gsutil Change-Id: I6d94b7821404b85366f1f1c0b0f3fd8ecec8ded4
2021-02-21Snap for 7160059 from 5948a3ee3be44c312f11fb2acc617cce94e95582 to sc-releaseandroid-build-team Robot
Change-Id: Ib7c8dd94fa8cc00de4b791020d74675826cde871
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 0fd0bab068 -s ↵Xin Li
ours am: cb3697f49f -s ours am skip reason: Change-Id I5950e7445c94969a7714d289da6babcd5a82de11 with SHA-1 e1dca91068 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I9ee5ef276a89e3ad17bba05df7daec22703ea4e6
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 0fd0bab068 -s oursXin Li
am skip reason: Change-Id I5950e7445c94969a7714d289da6babcd5a82de11 with SHA-1 e1dca91068 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I2660ed561cca4e045d8a177a28e70f028349b0b8
2021-02-20Mark ab/7061308 as merged in stage.Xin Li
Bug: 180401296 Merged-In: I5950e7445c94969a7714d289da6babcd5a82de11 Change-Id: I7f51135ba3d274f2f5a4c2cf011ee663b709aa86
2020-12-10toolchain-utils: Remove 'target' from distfiles path (for cleanup).upstream-mirror-mastermirror-chromium-masterCaroline Tice
'target' is no longer part of the path from distfiles to chrome-src, so this CL fixes the path inour cleanup script. BUG=None TEST=tested script by hand. Change-Id: I8a69b0d153a301b61c5176e44d1ad65dc8e467cd Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2585652 Auto-Submit: Caroline Tice <cmtice@chromium.org> Tested-by: Caroline Tice <cmtice@chromium.org> Commit-Queue: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
2020-12-10toolchain-utils: Fix hyphen/underscore issue for nightly tests.Caroline Tice
The recipe builders use hyphens, while gsutil uses underscores. We had a fix in place for this for veyron_minnie; this updates the fix for veyron_tiger. BUG=None TEST=None Change-Id: Ide32264e1cbbe29afc8ca2cd44e449b56f91a2c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2585646 Auto-Submit: Caroline Tice <cmtice@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Commit-Queue: Caroline Tice <cmtice@chromium.org> Tested-by: Caroline Tice <cmtice@chromium.org>
2020-12-09afdo_metadata: Publish the new kernel profilesCaroline Tice
Update chromeos-kernel-3_18 to R89-13638.0-1607337469 Update chromeos-kernel-4_4 to R89-13638.0-1607337135 Update chromeos-kernel-4_14 to R89-13638.0-1607337215 Update chromeos-kernel-4_19 to R89-13638.0-1607337429 BUG=None TEST=Verified in kernel-release-afdo-verify-orchestrator. Change-Id: I994ba9effc664cab904fccdbe0a207436ac2ea48 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2580915 Reviewed-by: Tiancong Wang <tcwang@google.com> Commit-Queue: Caroline Tice <cmtice@chromium.org> Tested-by: Caroline Tice <cmtice@chromium.org>
2020-12-08default_remotes: fix a typoJian Cai
Change "tigger" to "tiger". Also update a unit test. BUG=chromium:1156409 TEST=None. Change-Id: I2dd394ccdfa79632e637cbefddf559e95296c8c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2580398 Reviewed-by: Tiancong Wang <tcwang@google.com> Tested-by: Jian Cai <jiancai@google.com>
2020-12-07llvm_tools: update upstream branch names to point to `main`George Burgess IV
LLVM recently renamed their `master` branch to `main` upstream. This changes our tooling to search for the latter name instead. BUG=None TEST=Unittests; ran `git llvm-rev --sha HEAD` in an up-to-date llvm repo. Change-Id: Icdc6dac48fda7697d18d0d77935e46670273bf84 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2577643 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
2020-12-04default_remotes: Update toolchain DUT namesJian Cai
Replace veyron_minnie with a newer model as it reaches end of life. BUG=b:170402899 TEST=None Change-Id: I0caf06b84b465dcc88a3fdd9dc7d19f13fcd11b9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2574734 Reviewed-by: Tiancong Wang <tcwang@google.com> Tested-by: Jian Cai <jiancai@google.com>
2020-11-26compiler_wrapper: move llvm-next options to clang optionsinglorion
The new Clang version has a number of new warnings which we disable. This CL makes those apply to llvm (current) as well as llvm-next. BUG=None TEST=go test Change-Id: I1f4929580953003d21676e7e72af4577592fb217 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2561725 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: Manoj Gupta <manojgupta@chromium.org> Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
2020-11-26Snap for 6995927 from 12222ef3590340ba3e8733a45c6682326c4647f5 to sc-releaseandroid-build-team Robot
Change-Id: I179162117d26d75d78f0e3a036f4fe9606fe61a7
2020-11-25Mark ab/6881855 as merged am: 0b5abeb0d5 am: e1dca91068Xin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/toolchain-utils/+/13112912 Change-Id: I44dd68cf6f02f1b813690ab7745a402f27ccda97
2020-11-25Mark ab/6881855 as merged am: 0b5abeb0d5Xin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/toolchain-utils/+/13112912 Change-Id: I5950e7445c94969a7714d289da6babcd5a82de11
2020-11-23Mark ab/6881855 as mergedandroid-s-preview-1Xin Li
Bug: 172690556 Change-Id: Ia6891e0924374e831be2959d60de2423ec788880
2020-11-21llvm_tools: pass cl number as str to avoid type errorBob Haarman
llvm_bisection.py invokes the Gerrit CLI to abandon CLs created as part of the bisection. It passes a CL number to the command. Before this change, the CL number was passed as an int, which leads to the following error: Traceback (most recent call last): File "./auto_llvm_bisection.py", line 103, in main bisection_ret = llvm_bisection.main(args_output) File "/usr/local/google/home/inglorion/chromiumos/src/third_party/toolchain-utils/llvm_tools/llvm_bisection.py", line 364, in main subprocess.check_output([gerrit, 'abandon', build['cl']], File "/usr/lib/python3.8/subprocess.py", line 411, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.8/subprocess.py", line 489, in run with Popen(*popenargs, **kwargs) as process: File "/usr/lib/python3.8/subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.8/subprocess.py", line 1637, in _execute_child self.pid = _posixsubprocess.fork_exec( TypeError: expected str, bytes or os.PathLike object, not int With this change, we convert the value to an str first, avoiding the type error. BUG=chromium:1151325 TEST=run auto_llvm_bisection.py Change-Id: I2b151c76757067f536712f69b14d6be549ee7c75 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2551789 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Jian Cai <jiancai@google.com> Tested-by: Bob Haarman <inglorion@chromium.org>
2020-11-16afdo_metadata: Publish the new kernel profilesTiancong Wang
Update chromeos-kernel-3_18 to R88-13577.0-1605522740 Update chromeos-kernel-4_4 to R88-13577.0-1605523015 Update chromeos-kernel-4_14 to R88-13577.0-1605522850 Update chromeos-kernel-4_19 to R88-13577.0-1605522896 BUG=None TEST=Verified in kernel-release-afdo-verify-orchestrator Change-Id: I75595037318c871b828f625b376000a6794ec65d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2542722 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Commit-Queue: Tiancong Wang <tcwang@google.com> Tested-by: Tiancong Wang <tcwang@google.com>
2020-11-10afdo_metadata: Publish the new kernel profilesManoj Gupta
Update afdo cwp kernel profiles to R88-13577 version. BUG=None TEST=None Change-Id: I6acae2a8d6a47fa8f6d4a21d7b63ac75c5a0799b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2530409 Reviewed-by: Tiancong Wang <tcwang@google.com> Tested-by: Manoj Gupta <manojgupta@chromium.org>
2020-11-09crosperf: Fix BadChecksum failure on coralDenis Nikitin
Ignore "core id", "apicid", "initial apicid" fields from cpuinfo in machine checksum calculation. The values may differ on the same type of machines. Add more descriptive output for the BadChecksum error. Unittest is updated accordingly. BUG=chromium:1145386 TEST=./run_tests.sh in crosperf. Change-Id: Ifcc91fb70f02c41d77787fbb665741bc130152c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2523398 Tested-by: Denis Nikitin <denik@chromium.org> Reviewed-by: Bob Haarman <inglorion@chromium.org> Commit-Queue: Denis Nikitin <denik@chromium.org>
2020-11-06afdo_metadata: Publish the new kernel profilesTiancong Wang
Update chromeos-kernel-3_18 to R88-13560.0-1604313218 Update chromeos-kernel-4_4 to R88-13560.0-1604313145 Update chromeos-kernel-4_14 to R88-13560.0-1604313396 Update chromeos-kernel-4_19 to R88-13560.0-1604313185 BUG=None TEST=Verified in kernel-release-afdo-verify-orchestrator Change-Id: I43d2604122c5af90ed7bdb47663bcf4c1b6a59aa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2523230 Tested-by: Tiancong Wang <tcwang@google.com> Reviewed-by: Tiancong Wang <tcwang@google.com> Commit-Queue: Tiancong Wang <tcwang@google.com>
2020-10-23compiler_wrapper: report parent processes' info in warnings tarballsGeorge Burgess IV
The bug I'm chasing down right now depends on environment variables, and could be due to a `make` invocation in one of N places. Having this context available to me is useful. It seriously pollutes the JSON we dump, but use of `jq` that I've put in the doc about this makes that a non-issue. BUG=None TEST=Ran on stress-ng. parent process info was dumped. Change-Id: Ib4d3b6c9887b4cf2a38472ef299c81af27e9a617 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2481829 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
2020-10-23Snap for 6924456 from 7a702fb88be5cf729d1a248d049e50ca1d35ed16 to sc-releaseandroid-build-team Robot
Change-Id: Id02c09931fde2ffcda56e025b33d1dcb87d6cc54
2020-10-22afdo_metadata: Publish the new kernel profilesBob Haarman
Update chromeos-kernel-3_18 to R88-13531.0-1603099914 Update chromeos-kernel-4_4 to R88-13531.0-1603100212 Update chromeos-kernel-4_14 to R88-13505.11-1603100505 Update chromeos-kernel-4_19 to R88-13531.0-1603100310 BUG=None TEST=Verified in kernel-release-afdo-verify-orchestrator Change-Id: Ife0010abb801c80f1de503a88c36f342891ad0cf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2489892 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Commit-Queue: Bob Haarman <inglorion@chromium.org> Tested-by: Bob Haarman <inglorion@chromium.org>
2020-10-22update_kernel_afdo: use gsutil.py instead of gsutilBob Haarman
This changes update_kernel_afdo to call gsutil.py instead of gsutil (without the ".py"). Reason: the non-.py does not exist everywhere, whereas gsutil.py is part of depot_tools. BUG=None TEST=./afdo_tools/update_kernel_afdo Change-Id: I7c2192f5d4ef85852a4c5023edb29e9a092bbb8d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2490652 Tested-by: Bob Haarman <inglorion@chromium.org> Reviewed-by: George Burgess <gbiv@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
2020-10-22Merging 84 commit(s) from Chromium's toolchain-utils am: 1e576757bc am: ↵Pirama Arumuga Nainar
12fcdf982e am: 76b8300539 am: 850d25c38c Original change: https://android-review.googlesource.com/c/platform/external/toolchain-utils/+/1469797 Change-Id: I0073071a09fd8710738e053a8726e21bfba0b1c8
2020-10-22Merging 84 commit(s) from Chromium's toolchain-utils am: 1e576757bc am: ↵Pirama Arumuga Nainar
12fcdf982e am: 76b8300539 Original change: https://android-review.googlesource.com/c/platform/external/toolchain-utils/+/1469797 Change-Id: I7d81870a25d8bc5516207e6d5fc751482f46efea
2020-10-22Merging 84 commit(s) from Chromium's toolchain-utils am: 1e576757bc am: ↵Pirama Arumuga Nainar
12fcdf982e Original change: https://android-review.googlesource.com/c/platform/external/toolchain-utils/+/1469797 Change-Id: I2a31be48f21081cf60c64e4525ecffa425c12346
2020-10-22Merging 84 commit(s) from Chromium's toolchain-utils am: 1e576757bcPirama Arumuga Nainar
Original change: https://android-review.googlesource.com/c/platform/external/toolchain-utils/+/1469797 Change-Id: I9b1cd41e1cd7d67b963f80c582431b9516bf474f
2020-10-21Merging 84 commit(s) from Chromium's toolchain-utilsPirama Arumuga Nainar
Merged commit digest: efb75cf Handle clangPostFlags for Android 356e7cf afdo_metadata: Publish the new kernel profiles 8373fd4 Revert "compiler_wrapper: enable -mharden-sls=all on aarch64" 5672f28 crosperf: refactor chrome src search aac9c23 toolchain_utils: replace gsutil with gsutil.py 2159420 llvm_tools: add exist_ok=True to state dir creation fd598ff rust_uprev: emerge rust instead of ebuilding it 8ecb53f rust_uprev: emerge arm-none-eabi-gcc & do it in parallel 6868239 rust_uprev: check for files in gs:// before downloading them a874714 rust_uprev: support -rN ebuilds 7624e2d llvm_tools: use gsutil.py instead of gsutil 44e5787 rust_tools: Fix the tool using real Rust uprev experiences. fff1c26 afdo_metadata: Publish the new kernel profiles 6d9e457 llvm_tools: add a lexan crash autouploader 92d7005 toolchain-utils: create pending_archives if needed d8187c7 toolchain-utils: Sync compiler wrapper changes with llvm changes. d184b9a crosperf: Update path search for chrome sources b9a4299 llvm_tools: abandon CLs after completing LLVM bisection. fb8fd5b compiler_wrapper: enable -mharden-sls=all on aarch64 089db67 llvm_tools: refactor LLVM bisection tool ab646e1 afdo_metadata: Update kernel AFDO profiles 8223d16 fix formatting/lint issues pointed out by repohooks 4f7eb71 rephrase some language in code and comments 8a9125c toolchain-utils: Update compiler wrapper to disable warning. e2cbc18 add unblocked_terms.txt to automatically check language 780b6e4 llvm_tools: add a script to fetch uploaded versions of LLVM 9ba2a4f compiler_wrapper: search compiler executable in $PATH 7b73dcd crosperf: Add verification of per-process profiles 18422a4 bisection: exit after updating kernel 4edc81e crosperf: Add support to run tests with ssh forwarding 38df970 toolchain-utils: Update README.md for llvm_tools. 563cdd9 llvm_tools: save intermediate state even if a step fails c1e7b46 llvm_tools: tweak script verbosity 29a3f18 afdo_metadata: Publish the new kernel profiles. 2e734a5 crosperf: replace statistics stdev with pstdev 5d21b27 afdo_metadata: Publish the new kernel profiles eaed177 afdo_tools: Update update_kernel_afdo to check previous branch 4d7093d cros_utils: clean up naming 98de93b afdo_metadata: Publish the new kernel profiles 40733c3 rust_tools: Provide a big hammer to do everything to uprev Rust 243ce37 compiler_wrapper: remove some flags from unsupport clang flags 20f7df6 crosperf: remove uses of numpy 7c7161d rust_tools: Refactor to create and remove Rust versions independently 59defeb afdo_metadata: Publish the new kernel profiles 0b767f9 pgo_tools: Add a monitor for LLVM PGO profile freshness 3dac9fa rust_tools: Add a tool to automatically generate a Rust uprev 1713d25 compiler_wrapper: use crashArtifactsDir to apply clang opts 0a377f4 compiler_wrapper: dump tricium clang-tidy crash information 2953a41 Update cleanup script to get chrome temp files too. 811b580 Update cleanup script to get chrome temp files too. 9f99023 afdo_metadata: Publish the new kernel profiles. 9726f50 llvm_tools: add a tool to bisect clang crashes f30ddd4 default_remotes: Update toolchain DUT names d1a9a25 compiler_wrapper: add -fexperimental-new-pass-manager e1db855 llvm_tools: clarify that syncing all of llvm is only done once 0869ed0 llvm_tools: check for uncommited changes before cherry-picks d81dc93 afdo_tools: Update script to sort profiles by timestamp 9259683 afdo_metadata: Update kernel AFDO profiles 4f29d44 llvm_tools: remove future import e8ef273 compiler_wrapper: Updated instructions for updating the wrapper 120da3f rust_tools: add a monitor for upstream gentoo commits + rust releases cb46500 compiler_wrapper: add -clang-tidy-flag support 6c2e5c4 afdo_metadata: Publish the new kernel profiles 7b9d2ba Put reference filters on 'git ls-remote'. 916add2 compiler_wrapper: rename update_compiler_wrapper.sh 94fd622 compiler_wrapper: remove -grecord-gcc-switches 6cfbb3d afdo_metadata: Update kernel AFDO profiles 8caccf6 afdo_metadata: Update kernel AFDO profiles edc59f7 presubmits: respect CHROMEOS_ROOT_DIRECTORY when entering the chroot d6f4dfa presubmits: add types to check-presubmit.py. cab4264 Update AFDO kernel profiles. f226ba1 Update owners file fab4f3c cros_util: fix up naming 8078daa cros_utils: clean up unused file/code dc996b9 compiler_wrapper: redirect clang crash dignoses 0c1730a debug_info_test: fix up naming ad5e320 debug_info_test: replace whitelist with allowlist 536aff5 llvm_tools: fix up naming efb96d1 android_merge_from_upstream: fix up naming 74a6b09 afdo_tools: add update_kernel_afdo script 163efaa wrapper: add support for Tricium clang-tidy 5cbe70b afdo_metadata: Publish the new kernel profiles 647df11 crosperf: Save cpuinfo and top logs 83785c3 wrapper: fork() before exec()ing Change-Id: Ib885bb07621423f91584f6a4fd02fe998bf45141
2020-10-21Handle clangPostFlags for AndroidPirama Arumuga Nainar
BUG=None TEST=None Change-Id: I55bf76106eb1635c0bb4b936eaf3b96eef1dbb44 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2490653 Reviewed-by: George Burgess <gbiv@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
2020-10-15afdo_metadata: Publish the new kernel profilesDenis Nikitin
Update chromeos-kernel-3_18 to R88-13502.0-1602497202 Update chromeos-kernel-4_4 to R88-13505.4-1602496005 Update chromeos-kernel-4_14 to R88-13505.4-1602496823 Update chromeos-kernel-4_19 to R88-13502.0-1602496205 BUG=None TEST=Verified in kernel-release-afdo-verify-orchestrator Change-Id: I7f27f99e846e97e4ce04578a3ab15563ab6ebe7f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2476656 Reviewed-by: Tiancong Wang <tcwang@google.com> Tested-by: Denis Nikitin <denik@chromium.org>
2020-10-13Revert "compiler_wrapper: enable -mharden-sls=all on aarch64"Jian Cai
This reverts commit fb8fd5be362ec7a52dc3be33859d31b0553c1038. Enabling the option caused 4.4 based arm64 devices failed to boot. Disable this option until the issue is fixed. BUG=chromium:1096302 TEST=Verified locally. Change-Id: I02d5a72423f3cf0097edff7ace85b23caf3ff554 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2469305 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: Jian Cai <jiancai@google.com>
2020-10-13crosperf: refactor chrome src searchDenis Nikitin
Replace multiple levels of if/else of the chrome src search with a loop. Add a missing search path .cache/distfiles/chrome-src. Add checks for the Chrome source location and raise RuntimeError if it does not exist. BUG=None TEST=Tested with crosperf and distfiles/target/chrome-src-internal. Change-Id: I66dd7c802a4e80238e4d625586198bdf573621dc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2453595 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Caroline Tice <cmtice@chromium.org> Tested-by: Denis Nikitin <denik@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org>
2020-10-09toolchain_utils: replace gsutil with gsutil.pyDenis Nikitin
Remove dependency on pre-installed gLinux software. gsutil.py comes from depot_tools which is part of chrotomation setup. BUG=None TEST=tested locally on chrotomation.mtv Change-Id: I8fcef35a3c229ec06639a56b02c5751b4cedfc95 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2460835 Reviewed-by: George Burgess <gbiv@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
2020-10-09llvm_tools: add exist_ok=True to state dir creationGeorge Burgess IV
we just want to make sure that the state file directory exists here. BUG=None TEST=Ran Change-Id: I563821a357e2863c0a71570cfcb7319401a03778 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2460837 Tested-by: George Burgess <gbiv@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
2020-10-09rust_uprev: emerge rust instead of ebuilding itGeorge Burgess IV
if `ebuild merge` fails, the build directory might not be in a great state where we can skip recompilation when we try again. emerge'ing is probably what we actually want to do here, since that's representative of what builders and users are going to do when they get the new rust uprev. BUG=chromium:1136579, chromium:1112551 TEST=Ran the script Change-Id: I84f12769e32fada3f858a2889f0ead7555b58256 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2462928 Reviewed-by: Tiancong Wang <tcwang@google.com> Tested-by: George Burgess <gbiv@chromium.org>
2020-10-09rust_uprev: emerge arm-none-eabi-gcc & do it in parallelGeorge Burgess IV
arm-none-eabi-gcc isn't mentioned in the list of RUSTC_TARGET_TRIPLES, though it's necessary (we check for it in the ebuild) While I'm in the area, if we're unconditionally emerge'ing all of these anyway, do it in parallel. Doing so makes installation take 1/4 as long. BUG=chromium:1136579, chromium:1112551 TEST=Ran the script Change-Id: I49063487b2e2b2c83e2ef30dd8f8904b13c59f38 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2462927 Reviewed-by: Tiancong Wang <tcwang@google.com> Tested-by: George Burgess <gbiv@chromium.org>
2020-10-09rust_uprev: check for files in gs:// before downloading themGeorge Burgess IV
I had to `--reset` a few times; downloading these files just to not upload them took a bit, and wasn't useful. This CL adds a check so we don't do that in the future. BUG=chromium:1136579, chromium:1112551 TEST=Ran the script Change-Id: I03f9f21cc07a7b16b540a5be5b4b08e105fc81a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2462926 Reviewed-by: Tiancong Wang <tcwang@google.com> Tested-by: George Burgess <gbiv@chromium.org>
2020-10-09rust_uprev: support -rN ebuildsGeorge Burgess IV
rust_uprev currently doesn't fully support ebuilds with -r123 after Rust's version number. This CL aims to help us support those better. BUG=chromium:1136579, chromium:1112551 TEST=Ran the script Change-Id: I22a09ec3f5d074be547783e4cb9b702d4aad0bd2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2462925 Reviewed-by: Tiancong Wang <tcwang@google.com> Tested-by: George Burgess <gbiv@chromium.org>
2020-10-08llvm_tools: use gsutil.py instead of gsutilGeorge Burgess IV
chrotomation.mtv has gsutil.py from depot_tools, and no pre-installed gsutil. seems easiest to just add another dependency on gsutil.py. BUG=None TEST=Ran on chrotomation Change-Id: I9833c0fb1e11d31b3a4c17375e0f296ff5a83a8e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2462043 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
2020-10-08rust_tools: Fix the tool using real Rust uprev experiences.Tiancong Wang
Changes include bugs fixes, support running clean before compile with ebuild command, and upload all tarballs (not just rustc). BUG=chromium:1112551 TEST=unittest Change-Id: I83a6845ba01590ea1319c90ebb427fb48c3da773 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2462042 Reviewed-by: Bob Haarman <inglorion@chromium.org> Reviewed-by: George Burgess <gbiv@chromium.org> Commit-Queue: Tiancong Wang <tcwang@google.com> Tested-by: Tiancong Wang <tcwang@google.com>
2020-10-07afdo_metadata: Publish the new kernel profilesDenis Nikitin
Update chromeos-kernel-3_18 to R87-13502.0-1601891298 Update chromeos-kernel-4_4 to R87-13502.0-1601890528 Update chromeos-kernel-4_14 to R87-13502.0-1601890521 Update chromeos-kernel-4_19 to R87-13502.0-1601890982 BUG=None TEST=Verified in kernel-release-afdo-verify-orchestrator Change-Id: I7a451319f85a7d9f0d4dc7635be5e6b63f4f4ba1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2457366 Tested-by: Denis Nikitin <denik@chromium.org> Reviewed-by: Tiancong Wang <tcwang@google.com>
2020-10-07llvm_tools: add a lexan crash autouploaderGeorge Burgess IV
This CL adds an autouploader for crashes that land in Lexan's bucket. This autouploader uploads them to 4c, much like how `bisect_clang_crashes.py` does. The intent is to run this regularly on chrotomation. BUG=None TEST=Ran it Change-Id: I7cfbe463d89994f6ed3f750c9e8277e1fad0738e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2451306 Reviewed-by: Jian Cai <jiancai@google.com> Tested-by: George Burgess <gbiv@chromium.org>
2020-10-07toolchain-utils: create pending_archives if neededDenis Nikitin
The change fixes the following error happening after migration to a new chrotomation: cp: cannot create regular file '/usr/local/google/crostc/pending_archives/.': No such file or directory Traceback (most recent call last): ... File "./buildbot_test_toolchains.py", line 259, in _CopyJson raise RuntimeError( RuntimeError: Crosperf failed to run tests, cannot copy json report! BUG=None TEST=To be tested on chrotomation.mtv. Change-Id: I4de2bb1ec816fa6d9e98993d6da1b6bded34b1f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2453594 Commit-Queue: Denis Nikitin <denik@chromium.org> Tested-by: Denis Nikitin <denik@chromium.org> Reviewed-by: George Burgess <gbiv@chromium.org>
2020-10-05toolchain-utils: Sync compiler wrapper changes with llvm changes.Caroline Tice
This updates the compiler wrapper flags to match recent updates to compiler wrapper in sys-devel/llvm (for llvm-next). BUG=chromium:1133468 TEST=None Change-Id: Ibab9f0e1d0e35db3ba838e70a812efe2d5137a0a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2448871 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Commit-Queue: Caroline Tice <cmtice@chromium.org> Tested-by: Caroline Tice <cmtice@chromium.org>