Commit graph

454 commits

Author SHA1 Message Date
Mirko Bonadei
8e1824a0d1 Revert "Trigger CI bots."
This reverts commit f63c9bbbd7.

Reason for revert: Trigger CI bots again.

Original change's description:
> Trigger CI bots.
> 
> To test potential changes from [1].
> 
> [1] - https://chromium-review.googlesource.com/c/chromium/tools/build/+/2124473
> 
> TBR=phoglund@webrtc.org
> 
> Bug: webrtc:11262
> Change-Id: I1d33fcf23b70f446a7730d69e82aba8ca1224d8a
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171881
> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#30929}

TBR=phoglund@webrtc.org,mbonadei@webrtc.org

Change-Id: I3b12273648f673529b7f6a12e188dd5da864f9fb
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:11262
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/172084
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30931}
2020-03-28 22:37:03 +00:00
Mirko Bonadei
e3cfe2c32c Add more missing targets to gn_isolate_map.pyl.
This CL should fix the following error:
MBErr: target "android_examples_junit_tests" not found in //testing/buildbot/gn_isolate_map.pyl
target "android_sdk_junit_tests" not found in //testing/buildbot/gn_isolate_map.pyl

TBR=phoglund@webrtc.org

No-Try: True
Bug: webrtc:11262
Change-Id: Ib1d05401fc9170fe3025e971a1148c4e4cac9506
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/172083
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30930}
2020-03-28 22:28:21 +00:00
Mirko Bonadei
f63c9bbbd7 Trigger CI bots.
To test potential changes from [1].

[1] - https://chromium-review.googlesource.com/c/chromium/tools/build/+/2124473

TBR=phoglund@webrtc.org

Bug: webrtc:11262
Change-Id: I1d33fcf23b70f446a7730d69e82aba8ca1224d8a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171881
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30929}
2020-03-28 18:06:19 +00:00
Mirko Bonadei
83bae29d58 Add missing xctest targets to gn_isolate_map.pyl.
This CL should fix the following error:

MBErr: target "apprtcmobile_tests" not found in //testing/buildbot/gn_isolate_map.pyl
target "sdk_unittests" not found in //testing/buildbot/gn_isolate_map.pyl
target "sdk_framework_unittests" not found in //testing/buildbot/gn_isolate_map.pyl

It looks like the MB analyze wrapper around GN requires the targets to be
in the gn_isolate_map.pyl in order to retrieve the target label.

I am not sure the type is correct.

TBR=phoglund@webrtc.org

Bug: webrtc:11262
Change-Id: I28ab5aa3cb3962ef56f1b85dfc367c377aca06cc
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/172081
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30928}
2020-03-28 16:48:43 +00:00
Patrik Höglund
4a1e85a8d1 Use = in flags from flags_compatibility.py.
We need this because there is a current bug in Abseil flags.

Bug: chromium:1051927
Change-Id: I0446fadad709abf4aecda1ff5c0d4f7f6218879e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171880
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30910}
2020-03-26 21:29:52 +00:00
Patrik Höglund
28b8a0b2bc Partial revert of flag simplification.
Unfortunately it turns out the Android test runner requires
the isolated script flag to be in its current form, or it
doesn't work. This means we have to keep translating the
flag name.

We can get rid of the isolated_script_test_output flag
at least.

Tbr: mbonadei@webrtc.org
Bug: chromium:1051927
Change-Id: I4fdbff980e65332b757b1c95aa6587328411c0ed
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171809
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30907}
2020-03-26 20:09:33 +00:00
Patrik Höglund
1b20c41dcb Greatly simplify flags for test binaries.
Since we're now calling the shots of what flags get passed in the
recipes, we can just pass the right ones right away and remove all
the flag renaming.

--isolated-script-test-output is no longer passed, so we can just
remove it. The recipe is currently passing
--isolated-script-perf-test-output but I will start passing the
underscore version shortly.

Bug: chromium:1051927
Change-Id: I571090e62f79ea17c793295df7f5abb21f45d207
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171681
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30878}
2020-03-25 09:56:07 +00:00
Ye Kuang
e55f0c3384 Fix mb.py when using isolate archive
This fix is the same as https://crrev.com/c/2105272

Bug: chromium:1062881
Change-Id: Idb24551f4c26100b6983611ca486c0972dca70a6
Reviewers: mbonadei@webrtc.org,  tikuta@chromium.org, dpranke@chromium.org
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170960
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Ye Kuang <yekuang@google.com>
Cr-Commit-Position: refs/heads/master@{#30826}
2020-03-19 08:49:57 +00:00
Patrik Höglund
6725b648c8 Proper fix to the summary options problem.
It's better to set this to the right value in the C++ API rather
than the hack in catapult_uploader.py.

Bug: chromium:1029452
Change-Id: Ia942ff22f8422874cd226e6a7fdce20333ac4a50
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170632
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30817}
2020-03-18 11:53:02 +00:00
Patrik Höglund
620bed1c71 Remove allbins and story hacks, fix -Infinity.
The problem that has stopped the uploads from working is likely that
json.dump writes -Infinity when encountering float('-inf'), but not
all JSON parsers handle that. Notably, the dashboard JSON library
doesn't when running in compressing mode.

I think the real fix is to land the float->double CL for the histogram
proto - I think we will not get float('inf') values then. Apply
this hack in the meantime.

Also remove allbins and story hacks, they're likely worse than the
defaults anyway.

Bug: chromium:1029452
Tbr: mbonadei@webrtc.org
Change-Id: I98e36307cc144bbe6878ba9d93c0a609cab71418
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170626
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30808}
2020-03-17 09:35:02 +00:00
Ye Kuang
b28f0209f9 Use luci-go isolate client in mb.py
Bug: chromium:1059167
Change-Id: Idd3a3101ab09e9119bc99baab5a152dbd3ea6197
Reviewers: dpranke@chromium.org, tikuta@chromium.org
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170520
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Ye Kuang <yekuang@google.com>
Cr-Commit-Position: refs/heads/master@{#30796}
2020-03-16 07:44:53 +00:00
Patrik Höglund
a89ad6124b Apply some more hacks.
Bug: chromium:1029452
Change-Id: I1be9d42b95f78a2f7f72fa304a35f852167c59e0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170461
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30792}
2020-03-13 15:13:17 +00:00
Patrik Höglund
457c8cfd47 Also apply all bins hack to the out file.
To avoid confusion what we're actually uploading. The out file is
for debugging.

Bug: chromium:1029452
Change-Id: I6856a8466b58bb4b8d2eac35df7c629af7002b2c
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170441
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30791}
2020-03-13 14:22:53 +00:00
Patrik Höglund
0569a12ece Restructure uploader script so imports are less likely to break.
We need to modify sys.path before we import anything from catapult.
Unfortunately we need to modify it according to --outdir, so it needs
to happen at runtime rather than import time.

I try to split the script into a main which just sets up command line
args and sys.path and then imports the main script. This makes it less
likely that future maintainers will import something too early.

Bug: chromium:1029452
Change-Id: I16bf6257269ab8ab90dd74bff7880de8b5fb8071
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170341
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30788}
2020-03-13 12:33:22 +00:00
Patrik Höglund
85037bca98 Hack in allBins into perf results.
Let's see if this makes the perf dashboard accept the upload.
The proper fix requires some catapult work + a couple rolls.

Tbr: mbonadei@webrtc.org
Bug: chromium:1029452
Change-Id: I5fb94a08784620a423c4bd7a5bb6dc7f7c05cdc9
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170363
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30786}
2020-03-13 09:55:50 +00:00
Mirko Bonadei
f092e4d0ff Reland "Whitespace change to kick bots."
This is a reland of c782263e5f

Original change's description:
> Whitespace change to kick bots.
>
> TBR: phoglund@webrtc.org
> Bug: None
> No-Try: True
> No-Tree-Checks: true
> Change-Id: I7c39b96c59ab074809137b10e31d722a1c43d098
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170106
> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#30736}

TBR=phoglund@webrtc.org

No-Try: True
Bug: None
Change-Id: I2ac364a90a295d33ec377d8ba9d21ce3d293c1a8
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170321
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30771}
2020-03-12 08:03:55 +00:00
Mirko Bonadei
2896bf697b Add ios_use_goma_rbe=true to iOS bots.
Bug: webrtc:11401
Change-Id: Ieec115c38b300936ddf9be99a4c6c9ee1708c37f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170227
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30770}
2020-03-12 07:06:51 +00:00
Mirko Bonadei
75d91faecc Revert "Reland "Whitespace change to kick bots.""
This reverts commit f11a0287d6.

Reason for revert: Trigger bots.

Original change's description:
> Reland "Whitespace change to kick bots."
> 
> This reverts commit 984dc32776.
> 
> Reason for revert: Trigger all the bots.
> 
> Original change's description:
> > Revert "Whitespace change to kick bots."
> > 
> > This reverts commit c782263e5f.
> > 
> > 
> > Original change's description:
> > > Whitespace change to kick bots.
> > > 
> > > TBR: phoglund@webrtc.org
> > > Bug: None
> > > No-Try: True
> > > No-Tree-Checks: true
> > > Change-Id: I7c39b96c59ab074809137b10e31d722a1c43d098
> > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170106
> > > Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> > > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> > > Cr-Commit-Position: refs/heads/master@{#30736}
> > 
> > TBR=phoglund@webrtc.org,mbonadei@webrtc.org
> > 
> > Change-Id: I265e1ae044c0f44561f8910291bdabf9cc22c936
> > No-Presubmit: true
> > No-Tree-Checks: true
> > No-Try: true
> > Bug: None
> > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170221
> > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> > Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#30750}
> 
> TBR=phoglund@webrtc.org,mbonadei@webrtc.org
> 
> Change-Id: Iff32bb0ced35906f6a70e414bb72f3dc49f53abb
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: None
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170233
> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#30762}

TBR=phoglund@webrtc.org,mbonadei@webrtc.org

Change-Id: I4ad5c84b876249f9160d6cf2d3cacd4cf83b73b4
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170234
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30763}
2020-03-11 14:48:46 +00:00
Mirko Bonadei
f11a0287d6 Reland "Whitespace change to kick bots."
This reverts commit 984dc32776.

Reason for revert: Trigger all the bots.

Original change's description:
> Revert "Whitespace change to kick bots."
> 
> This reverts commit c782263e5f.
> 
> 
> Original change's description:
> > Whitespace change to kick bots.
> > 
> > TBR: phoglund@webrtc.org
> > Bug: None
> > No-Try: True
> > No-Tree-Checks: true
> > Change-Id: I7c39b96c59ab074809137b10e31d722a1c43d098
> > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170106
> > Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#30736}
> 
> TBR=phoglund@webrtc.org,mbonadei@webrtc.org
> 
> Change-Id: I265e1ae044c0f44561f8910291bdabf9cc22c936
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: None
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170221
> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#30750}

TBR=phoglund@webrtc.org,mbonadei@webrtc.org

Change-Id: Iff32bb0ced35906f6a70e414bb72f3dc49f53abb
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170233
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30762}
2020-03-11 14:34:16 +00:00
Patrik Höglund
8f47b27268 Partial revert: "Hand protos directly to histograms and fix summary."
This partially reverts commit 7427fc6560.

Turns out proto importing is broken on the catapult side. A fix is
coming. Until then I'll have to use the old JSON way.

Bug: chromium:1029452
Change-Id: Ib5c43d721fe6c4e2639a0d518f4fa69b42b6c388
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170230
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30761}
2020-03-11 13:56:14 +00:00
Danil Chapovalov
c46385c346 Add Av1 Decoder wrapper behind a build flag
Bug: webrtc:11404
Change-Id: I090ffd173d667e8845de1b986af462516b7c76e6
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/169452
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Reviewed-by: Michael Horowitz <mhoro@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30757}
2020-03-11 11:20:56 +00:00
Mirko Bonadei
984dc32776 Revert "Whitespace change to kick bots."
This reverts commit c782263e5f.


Original change's description:
> Whitespace change to kick bots.
> 
> TBR: phoglund@webrtc.org
> Bug: None
> No-Try: True
> No-Tree-Checks: true
> Change-Id: I7c39b96c59ab074809137b10e31d722a1c43d098
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170106
> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#30736}

TBR=phoglund@webrtc.org,mbonadei@webrtc.org

Change-Id: I265e1ae044c0f44561f8910291bdabf9cc22c936
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170221
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30750}
2020-03-11 07:11:10 +00:00
Patrik Höglund
7427fc6560 Hand protos directly to histograms and fix summary.
The catapult code has learned how to deserialize protos, so we don't
need JSON as a middle step.

Also, set summary options to false for now to avoid polluting the
dashboard with _avg, _count for each metric. We don't use those
anyway. The durable solution is to set these from the histogram
writer, but catapult doesn't read the summary options correctly
from the proto yet.

Bug: chromium:1029452
Change-Id: I59d300fd34d36df836064ff41f6d0bf75bd6695e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170104
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30737}
2020-03-10 10:43:17 +00:00
Mirko Bonadei
c782263e5f Whitespace change to kick bots.
TBR: phoglund@webrtc.org
Bug: None
No-Try: True
No-Tree-Checks: true
Change-Id: I7c39b96c59ab074809137b10e31d722a1c43d098
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170106
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30736}
2020-03-10 10:21:56 +00:00
Patrik Höglund
afa2e5f18c Purge phoglund from most OWNERS files.
I'll hold on to the root OWNER for a bit longer for convenience.

Bug: None
Change-Id: I13303ba726fed612adc74008eeaaeadf9595e084
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170047
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30727}
2020-03-09 14:08:30 +00:00
Patrik Höglund
269d68f521 Whitespace change to kick bots.
Testing recipe change.

Change-Id: I9f5b335c93918fce887c360a7005f8272c958163
Tbr: mbonadei@webrtc.org
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170045
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30723}
2020-03-09 12:32:45 +00:00
Patrik Höglund
ff9b8cccfc Whitespace change to kick bots.
Testing recipe change.

Change-Id: I46645757fffa90eba3d9a4277a9eff135d9dd2c6
Tbr: mbonadei@webrtc.org
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170041
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30718}
2020-03-09 09:31:24 +00:00
Patrik Höglund
63288e382a Whitespace change to kick bots.
Testing recipe change.

Change-Id: Ided1943e202d48952be0e3e79f0655293d8b879a
Tbr: mbonadei@webrtc.org
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/169131
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30640}
2020-02-28 06:44:59 +00:00
Patrik Höglund
e6994bc1f5 Whitespace change to kick bots.
Testing recipe change.

Change-Id: I48d12c73223a5b169c23a07221b4edaf72a23d6a
Tbr: mbonadei@webrtc.org
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/169124
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30618}
2020-02-26 12:07:50 +00:00
Patrik Höglund
84b78f0714 Whitespace change to kick bots.
Testing recipe change.

Change-Id: I5a301e4457605e9d0a6e01a78165164f559c6016
Tbr: mbonadei@webrtc.org
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168957
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30603}
2020-02-25 12:30:45 +00:00
Patrik Höglund
3cc6e05243 Whitespace change to kick bots.
Testing recipe change.

Change-Id: I3945972fa843fbc014fd4a6fdcb0c567b5aff93c
Tbr: mbonadei@webrtc.org
Bug: webrtc:11349
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168963
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30579}
2020-02-21 10:30:05 +00:00
Patrik Höglund
ee9da5e2c0 Whitespace change to kick bots.
Testing recipe change.

Tbr: mbonadei@webrtc.org
Bug: chromium:1053891
Change-Id: I36f344c6356296246b70320eeaf7c205af9e8341
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168821
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30562}
2020-02-20 06:45:24 +00:00
Mirko Bonadei
e52115a33e Remove inactive OWNERS.
No-Try: True
Bug: webrtc:10381
Change-Id: I3b56c74d913a47e4297518005b0cb19de8fafbff
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168421
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30556}
2020-02-19 13:37:36 +00:00
Mirko Bonadei
9d3626d15d Make error message more actionable.
When the assertion triggers, manual action is likely needed. This
CL changes the error message to make it more clear.

No-Try: True
Bug: webrtc:11369
Change-Id: I7d8b04deef7638e715b12e6dceeee9cc2ce2cc66
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168761
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30553}
2020-02-19 10:34:09 +00:00
Patrik Höglund
6baceb9b18 Reland "Whitespace change to kick bots"
This reverts commit 4145e7ce9c.

Reason for revert: Hopefully the last kick.

Original change's description:
> Revert "Whitespace change to kick bots"
> 
> This reverts commit 0bfaa7fb5f.
> 
> Reason for revert: Need to kick again.
> 
> Original change's description:
> > Whitespace change to kick bots
> > 
> > Testing recipe change.
> > 
> > Tbr: mbonadei@webrtc.org
> > Bug: chromium:1029452
> > Change-Id: Ifb1205ef11c9ddf298f7837cd0d0d53c35b575e4
> > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168642
> > Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
> > Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#30530}
> 
> TBR=phoglund@webrtc.org
> 
> Change-Id: Iae3273f39530b5699fb34ab78b420e92f8a7afc7
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: chromium:1029452
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168662
> Reviewed-by: Patrik Höglund <phoglund@google.com>
> Commit-Queue: Patrik Höglund <phoglund@google.com>
> Cr-Commit-Position: refs/heads/master@{#30534}

TBR=phoglund@google.com,phoglund@webrtc.org

Change-Id: I774ebf6f78953e3134195def54bcf40ed7265861
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:1029452
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168680
Reviewed-by: Patrik Höglund <phoglund@google.com>
Commit-Queue: Patrik Höglund <phoglund@google.com>
Cr-Commit-Position: refs/heads/master@{#30536}
2020-02-17 21:12:06 +00:00
Patrik Höglund
4145e7ce9c Revert "Whitespace change to kick bots"
This reverts commit 0bfaa7fb5f.

Reason for revert: Need to kick again.

Original change's description:
> Whitespace change to kick bots
> 
> Testing recipe change.
> 
> Tbr: mbonadei@webrtc.org
> Bug: chromium:1029452
> Change-Id: Ifb1205ef11c9ddf298f7837cd0d0d53c35b575e4
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168642
> Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
> Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#30530}

TBR=phoglund@webrtc.org

Change-Id: Iae3273f39530b5699fb34ab78b420e92f8a7afc7
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:1029452
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168662
Reviewed-by: Patrik Höglund <phoglund@google.com>
Commit-Queue: Patrik Höglund <phoglund@google.com>
Cr-Commit-Position: refs/heads/master@{#30534}
2020-02-17 18:57:55 +00:00
Patrik Höglund
0bfaa7fb5f Whitespace change to kick bots
Testing recipe change.

Tbr: mbonadei@webrtc.org
Bug: chromium:1029452
Change-Id: Ifb1205ef11c9ddf298f7837cd0d0d53c35b575e4
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168642
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30530}
2020-02-17 13:55:36 +00:00
Patrik Höglund
7252457778 Print explicitly to stdout to ensure script actually works.
I think it works, just want to make sure (and I think it's good to
print something for the build step).

Bug: chromium:1029452
Change-Id: I8df6818a2fb6305b688ae4ae7517159d1ca5b544
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168602
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@google.com>
Cr-Commit-Position: refs/heads/master@{#30528}
2020-02-17 08:20:58 +00:00
Patrik Höglund
e7c4f90651 Add perf testers to mb_config.pyl.
For now I think I have to run mb + ninja on testers in order to
generate the proto used by webrtc_dashboard_upload.py. I would prefer
a solution where we build on the builder and distribute via isolate,
but let's do this for now (it will have to be the solution if
isolate doesn't work out).

Also remove obsolete entries. I think the previous code used to try to
list all bots, but it clearly failed at that. The error one gets when
an unlisted bot runs mb is very clear anyway.

Bug: chromium:1029452
Change-Id: I2f4dda24ef0fb0337439c30c065b29b0da6bbe16
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168527
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30521}
2020-02-14 06:40:27 +00:00
Patrik Höglund
83245bde3d Make the dashboard upload script read protos instead of JSON.
I had to pivot and make tests output protos instead of JSON.
I basically move the proto -> JSON conversion into this script instead
of doing it in the test binary.

This is a temporary state. Later it will be enough to just read up
the file and pass it straight to the Catapult implementation, once
it learns to de-serialize the proto directly.

Bug: chromium:1029452
Change-Id: I7ce992eeeb1a5ae0f20eed54174b08b496e74dfd
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/166920
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30419}
2020-01-30 10:25:47 +00:00
Patrik Höglund
9c0a83ea4d Remove strip_absolute_paths_from_debug_symbols from mb.
Getting failures on more_configs bots, e.g.
https://ci.chromium.org/p/webrtc/builders/try/android_arm_more_configs/16421

Appears strip_absolute_paths_from_debug_symbols has changed behavior.
It's now forced on if the platform does it by default and not
configurable. Therefore our bots can't set it explictly on most
platforms.

Bug: None
Change-Id: I112dbb18f9d19ba3dc645a6ae640098afac3c408
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/167520
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30378}
2020-01-27 09:17:46 +00:00
Mirko Bonadei
ccbe95fd8a Reformat GN files.
`gn format` recently [1] changed its formatting behavior
for deps, source, and a few other elements when they
are assigned (with =) single-element lists to be consistent
with the formatting of updates (with +=) with single-element.

Now that we've rolled in a GN binary with the change,
reformat all files so that people don't get presubmit
warnings due to this.

CL generated with:
$ git ls-files | grep BUILD.gn | xargs gn format
$ gn format build_overrides/build.gni
$ gn format build_overrides/gtest.gni
$ gn format modules/audio_coding/audio_coding.gni
$ gn format webrtc.gni
$ gn format .gn

Plus a few manual changes to add exceptions for
"public_deps" (after changing these lines the presubmit
started to complain).

[1] - https://gn-review.googlesource.com/c/gn/+/6860

Bug: webrtc:11302
Change-Id: Iac29d23c1618ebef925c972e2891cd9f4e8cd613
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/166882
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30334}
2020-01-21 12:13:11 +00:00
Mirko Bonadei
b7dc45f8e8 Update check_package_boundaries.
Before reformatting GN files (see [1] for why this is needed), the
presubmit check to ensure targets are not violating package boundaries
needs to be fixed because its regular expressions don't always work with
the new format.

This CL removes the parsing of line numbers to relax the regular
expressions without losing any functionality.

Error before this CL:
***************
<PATH>/webrtc/src/BUILD.gn:674 in target 'android_junit_tests':
  Source file 'examples/androidjunit/src/org/appspot/apprtc/BluetoothManagerTest.java'
  crosses boundary of package 'examples'.

<PATH>/webrtc/src/BUILD.gn:675 in target 'android_junit_tests':
  Source file 'examples/androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java'
  crosses boundary of package 'examples'.

<PATH>/webrtc/src/BUILD.gn:676 in target 'android_junit_tests':
  Source file 'examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java'
  crosses boundary of package 'examples'.

<PATH>/webrtc/src/BUILD.gn:677 in target 'android_junit_tests':
  Source file 'sdk/android/tests/src/org/webrtc/AndroidVideoDecoderTest.java'
  crosses boundary of package 'sdk'.

<PATH>/webrtc/src/BUILD.gn:678 in target 'android_junit_tests':
  Source file 'sdk/android/tests/src/org/webrtc/CameraEnumerationTest.java'
  crosses boundary of package 'sdk'.
***************


Error after this CL:
***************
<PATH>/webrtc/src/BUILD.gn in target 'android_junit_tests':
  Source file 'examples/androidjunit/src/org/appspot/apprtc/BluetoothManagerTest.java'
  crosses boundary of package 'examples'.

<PATH>/webrtc/src/BUILD.gn in target 'android_junit_tests':
  Source file 'examples/androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java'
  crosses boundary of package 'examples'.

<PATH>/webrtc/src/BUILD.gn in target 'android_junit_tests':
  Source file 'examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java'
  crosses boundary of package 'examples'.

<PATH>/webrtc/src/BUILD.gn in target 'android_junit_tests':
  Source file 'sdk/android/tests/src/org/webrtc/AndroidVideoDecoderTest.java'
  crosses boundary of package 'sdk'.

<PATH>/webrtc/src/BUILD.gn in target 'android_junit_tests':
  Source file 'sdk/android/tests/src/org/webrtc/CameraEnumerationTest.java'
  crosses boundary of package 'sdk'.
***************


[1] - https://gn-review.googlesource.com/c/gn/+/6860

Bug: webrtc:11302
Change-Id: Ia39387d089a0c56a2c3ad9a7264c20eb5a38ac93
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/166535
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30331}
2020-01-21 11:06:40 +00:00
Patrik Höglund
abea26873f Repurpose upload script to read natively generated histogram json.
This script will be used when tests write proto-backed JSON. It still
has to reside source-side because we need to access the catapult Python
API to get at HistogramSet and reserved_infos, etc.

WebRTC tests will write proto-backed JSON, and this script can read
it because the Histogram class has been made capable of doing it.
Build information diagnostics are added, and then we upload in the
old JSON format (the dashboard can read the new format as well, but
there's no reason to implement export to the new format at this point).

We could imagine more outlandish solutions where the test binaries
themselves do the uploading, but then we would have to pass the
build information to them, and they would have to upload from the
shards. Alternatively, we could pass build information to tests so
they write it right into the histograms.

This solution is probably the best one for now since it's
1) consistent with how Chromium does it
2) flexible in the right ways
3) we don't have to worry if uploading from shards even works.

Bug: webrtc:11084
Change-Id: I8888ce9f24e0ca58f984d2c2e9af7740ee5e89b6
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/166464
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30301}
2020-01-17 13:19:07 +00:00
Yves Gerey
565c05888d [UBSan] Remove suppression for opus.
Defective code was fixed upstream,
so the suppression isn't needed anymore.

Bug: webrtc:11110
Change-Id: I7232f2c23de50005277893ce3ea2fe3be11c425d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/161682
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Yves Gerey <yvesg@google.com>
Cr-Commit-Position: refs/heads/master@{#30048}
2019-12-10 08:59:30 +00:00
Yves Gerey
3f75209656 Revert "Remove temporary workaround for generate_licenses."
This reverts commit eac63e7e02.

Reason for revert: The problem still arises in a flaky fashion.
See for instance https://ci.chromium.org/p/webrtc/builders/try/android_arm_rel/15429

Original change's description:
> Remove temporary workaround for generate_licenses.
> 
> Bug: webrtc:11105
> Change-Id: I6e9243237b79d2809b8ec95905498c0e7bfb1cb0
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/160403
> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> Commit-Queue: Yves Gerey <yvesg@google.com>
> Cr-Commit-Position: refs/heads/master@{#29892}

TBR=mbonadei@webrtc.org,yvesg@google.com,yvesg@webrtc.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: webrtc:11105
Change-Id: Ie5ffab243b364544e4b02034cb898ef32d922d5f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/160980
Reviewed-by: Yves Gerey <yvesg@google.com>
Commit-Queue: Yves Gerey <yvesg@google.com>
Cr-Commit-Position: refs/heads/master@{#29940}
2019-11-27 17:56:45 +00:00
Patrik Höglund
6565681128 Turn off Goma for Linux GCC.
GCC is not supported by Goma RBE.

Bug: webrtc:11129
Change-Id: Idab14eecc87f88e8b7a1d48f2da467c5c6b27a94
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/160880
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29932}
2019-11-27 12:31:45 +00:00
Yves Gerey
eac63e7e02 Remove temporary workaround for generate_licenses.
Bug: webrtc:11105
Change-Id: I6e9243237b79d2809b8ec95905498c0e7bfb1cb0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/160403
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Yves Gerey <yvesg@google.com>
Cr-Commit-Position: refs/heads/master@{#29892}
2019-11-25 10:23:25 +00:00
Yves Gerey
76a7e518bd [UBSan] Add suppressions for vp8, opus, absl.
Defects are newly detected by the latest clang version.
This CL mutes them.

Rationale:
* They concern third party code we cannot update here.
* They block chromium roll (containing said clang version).

Bug: webrtc:11110
Change-Id: I7abdfee7e42fd8e89d2296f18690fbda449509d1
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/160081
Commit-Queue: Yves Gerey <yvesg@google.com>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29860}
2019-11-21 13:40:47 +00:00
Yves Gerey
2f385d2ab8 Manual chromium roll: Compile using JDK 11
This is a manual roll of [1]:
"""
Moved from manual deps into //third_party/android_deps:
* Guava-jre
* AutoService
* ErrorProne

It looks like this CL adds other libraries, but they are just those
that already existed within errorprone-ant.jar.

This updates how ErrorProne is invoked to the JDK9+ method of being a
proper javac plugin. This move necessitated moving the above libraries
into android_deps, because the version of Guava that was already in
android_deps was conflicting with our non-android_deps one.
"""

On top of that, errorprone flags have been removed,
since they aren't recognized anymore:
"error: invalid flag: -Xep:ParameterNotNullable:ERROR"

A follow-up CL will re-activate them with proper invokation.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/1885951

Manual chromium roll: Compile using JDK 11.

Bug: webrtc:11102, chromium:693079
Change-Id: I6fdc700e71bcf39efae948d6195c97700c9cb978
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/160011
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Yves Gerey <yvesg@google.com>
Cr-Commit-Position: refs/heads/master@{#29842}
2019-11-20 12:13:43 +00:00