601 Commits

Author SHA1 Message Date
kjellander
665da28857 Autoroller: Add --ignore-unclean-workdir flag
Add a flag that makes the script more useful for local development, when
you normally develop on a local branch.

BUG=webrtc:5006
NOTRY=True

Review-Url: https://codereview.webrtc.org/2566223007
Cr-Commit-Position: refs/heads/master@{#15602}
2016-12-14 11:57:13 +00:00
kjellander
38b6dbc793 Autoroller: Support for rolling individual DEPS entries.
Add functionality for automatic rolling of individual DEPS
entries. This will make it possible to move away from the
links created by setup_links.py to real DEPS entries.

There are two kinds of such deps we intend to use:
1. Third party dependencies used by both WebRTC and Chromium:
  those are rolled to the same revision as the Chromium DEPS file of the revision passed
  to the script
2. Chromium sub-directories needed for WebRTC (mainly for //build and BUILD.gn
   files of third_party deps): those are rolled to the HEAD revision
Notice that the latter kind could be rolled ahead of the chromium_revision,
but generally these should be close (and if it passes the bots, we don't really mind).

The new functionality can coexist with the old one, to
enable a smooth transition (not everything needs to change at once).

Some of the updating logic was inspired by
https://cs.chromium.org/chromium/build/scripts/slave/recipes/v8/auto_roll_v8_deps.py

Add extensive tests for the logic of figuring out deps changes,
including mocking git ls-remote call to keep the tests hermetic.

BUG=webrtc:5006
NOTRY=True

Review-Url: https://codereview.webrtc.org/2570603003
Cr-Commit-Position: refs/heads/master@{#15570}
2016-12-13 11:35:28 +00:00
asapersson
3b11d00672 Disable TestWithNewVideoJitterBuffer/EndToEndTest.SendsAndReceivesH264 on Memcheck.
BUG=webrtc:5893

Review-Url: https://codereview.webrtc.org/2548303004
Cr-Commit-Position: refs/heads/master@{#15497}
2016-12-09 08:55:41 +00:00
Henrik Kjellander
17a32c4fb9 whitespace CL to trigger builds
TBR=ehmaldonado@webrtc.org
BUG=None

Review URL: https://codereview.webrtc.org/2557413003 .

Cr-Commit-Position: refs/heads/master@{#15496}
2016-12-09 07:39:25 +00:00
ehmaldonado
01653b1130 Add a tool to fix (some) errors reported by gn gen --check.
BUG=webrtc:6828
R=kjellander@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2555813003
Cr-Commit-Position: refs/heads/master@{#15483}
2016-12-08 15:27:45 +00:00
kjellander
7e1070df22 Roll chromium_revision 3cd4e5505f..b4a2bcaef4 (436604:437198)
Due to https://codereview.chromium.org/2521353003 mb.py had to be updated
since xvfb.py no longer expects the build dir argument.

Change log: 3cd4e5505f..b4a2bcaef4
Full diff: 3cd4e5505f..b4a2bcaef4

Changed dependencies:
* src/buildtools: 64e38f0ceb..55ad626b08
* src/third_party/catapult: 6f82f49c5a..11d3d44fb9
* src/third_party/ffmpeg: 16cdcb08bb..26be2ced90
DEPS diff: 3cd4e5505f..b4a2bcaef4/DEPS

No update to Clang.

TBR=ehmaldonado@webrtc.org
BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2557673005
Cr-Commit-Position: refs/heads/master@{#15466}
2016-12-08 08:49:11 +00:00
kjellander
969b12f6aa Remove xdisplaycheck
The tool is no longer needed and will be removed in Chromium.

BUG=chromium:670470

Review-Url: https://codereview.webrtc.org/2548763002
Cr-Commit-Position: refs/heads/master@{#15384}
2016-12-02 11:30:51 +00:00
tandrii
2d9c877c64 Revert of Whitespace.
(patchset #1 id:1 of https://codereview.webrtc.org/2547543002/ )

Reason for revert:
whitespace reverts need no reason.

Original issue's description:
> Whitespace.
>
> BUG=668624
> TBR=kjellander@webrtc.org
> NOTRY=True
> NOPRESUBMIT=True
>
> Committed: https://crrev.com/3b56e1f7b344e3a48b6765962f2e621727ef1519
> Cr-Commit-Position: refs/heads/master@{#15360}

TBR=kjellander@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=668624

Review-Url: https://codereview.webrtc.org/2549523002
Cr-Commit-Position: refs/heads/master@{#15363}
2016-12-01 15:13:07 +00:00
Andrii Shyshkalov
106edaeb85 Revert of Whitespace.
(patchset #1 id:1 of https://codereview.webrtc.org/2547553002/)

Reason for revert:
whitespace reverts need no reason.

Original issue's description:
> Whitespace.
>
> For manual commit.
>
> BUG=668624
> TBR=kjellander@webrtc.org
> NOTRY=True
> NOPRESUBMIT=True
>
> Committed: https://crrev.com/aa7a9a2dc03c11ea6dc52a8424c4485e2f48d650
> Cr-Commit-Position: refs/heads/master@{#15361}

TBR=kjellander@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=668624

Review URL: https://codereview.webrtc.org/2549453003 .

Cr-Commit-Position: refs/heads/master@{#15362}
2016-12-01 15:10:21 +00:00
Andrii Shyshkalov
aa7a9a2dc0 Whitespace.
For manual commit.

BUG=668624
TBR=kjellander@webrtc.org
NOTRY=True
NOPRESUBMIT=True

Review URL: https://codereview.webrtc.org/2547553002 .

Cr-Commit-Position: refs/heads/master@{#15361}
2016-12-01 15:07:13 +00:00
tandrii
3b56e1f7b3 Whitespace.
BUG=668624
TBR=kjellander@webrtc.org
NOTRY=True
NOPRESUBMIT=True

Review-Url: https://codereview.webrtc.org/2547543002
Cr-Commit-Position: refs/heads/master@{#15360}
2016-12-01 15:05:54 +00:00
Henrik Kjellander
024c90ed90 Whitespace CL to trigger bots.
TBR=ehmaldonado@webrtc.org
BUG=None

Review URL: https://codereview.webrtc.org/2547453002 .

Cr-Commit-Position: refs/heads/master@{#15347}
2016-12-01 07:05:44 +00:00
Henrik Kjellander
3a70cc3977 Whitespace change to trigger bots.
TBR=ehmaldonado@webrtc.org
BUG=None

Review URL: https://codereview.webrtc.org/2541323002 .

Cr-Commit-Position: refs/heads/master@{#15346}
2016-12-01 06:04:11 +00:00
philipel
b7e1dd7f47 Revert of Adding memcheck suppression. (patchset #1 id:1 of https://codereview.webrtc.org/2537563003/ )
Reason for revert:
A fix for the related bug has landed: https://codereview.webrtc.org/2535203002

Original issue's description:
> Adding memcheck suppression.
>
> See linked bug.
>
> BUG=webrtc:6788
> TBR=kjellander@webrtc.org
> NOTRY=True
>
> Committed: https://crrev.com/bdd6f4c33288e9f7bcafa26f3a4ec8422131cb0b
> Cr-Commit-Position: refs/heads/master@{#15283}

TBR=kjellander@webrtc.org,deadbeef@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6788

Review-Url: https://codereview.webrtc.org/2540113002
Cr-Commit-Position: refs/heads/master@{#15319}
2016-11-30 10:28:16 +00:00
deadbeef
c4dc4a5956 Adding RTCStatsIntegrationTest to memcheck supressions.
It's at the same level as the other end-to-end tests that are also
disabled. It seems to be failing because it's not fast enough to keep up
with processing fake video frames.

BUG=webrtc:4387
TBR=kjellander@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2538783002
Cr-Commit-Position: refs/heads/master@{#15302}
2016-11-29 17:06:21 +00:00
deadbeef
bdd6f4c332 Adding memcheck suppression.
See linked bug.

BUG=webrtc:6788
TBR=kjellander@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2537563003
Cr-Commit-Position: refs/heads/master@{#15283}
2016-11-29 03:05:43 +00:00
ehmaldonado
e1a13f8b3c MB: Remove a --target-devices-file flag for JUnit tests on android.
Not needed since it doesn't run in a device. It will enable us to run JUnit
tests on android on swarming too :) and more good stuff like flakiness dashboard

BUG=chromium:497757
R=kjellander@webrtc.org

Review-Url: https://codereview.webrtc.org/2531993003
Cr-Commit-Position: refs/heads/master@{#15268}
2016-11-28 15:14:15 +00:00
ehmaldonado
fb4a37abdd Add memcheck suppressions.
See https://bugs.chromium.org/p/webrtc/issues/detail?id=6784.
Logs at https://chromium-swarm.appspot.com/user/task/32c3751be40a5a10.

BUG=webrtc:6784
R=kjellander@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2532923002
Cr-Commit-Position: refs/heads/master@{#15263}
2016-11-28 13:40:03 +00:00
ehmaldonado
0fa164a22c Make Valgrind memcheck work in swarming.
Add a fallback path to tools/valgrind-webrtc/webrtc_tests.sh if locate_valgrind.sh fails.

This is a workaround to run memcheck on swarming, since locate_valgrind.sh fails even though the files are present. This is almost certainly because the way we use symlinks.

A warning message is displayed to warn the developers to follow the instructions to get the valgrind binaries.

Some extra suppressions were needed. The bug tracking them is https://bugs.webrtc.org/6773

R=kjellander@chromium.org
BUG=chromium:497757

Review-Url: https://codereview.webrtc.org/2531573003
Cr-Commit-Position: refs/heads/master@{#15244}
2016-11-25 13:49:00 +00:00
ehmaldonado
b365b80159 Revert of Modify the paths of the resource files to point to chromium/src/tools/... (patchset #1 id:1 of https://codereview.webrtc.org/2528893002/ )
Reason for revert:
Didn't work

Original issue's description:
> Modify the paths of the resource files to point to chromium/src/tools/...
>
> R=kjellander@chromium.org
> BUG=chromium:497757
> NOTRY=True
>
> Committed: https://crrev.com/d8ae20b362f76d2153fa65b5d82d534c546c59a4
> Cr-Commit-Position: refs/heads/master@{#15225}

TBR=kjellander@chromium.org,kjellander@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:497757

Review-Url: https://codereview.webrtc.org/2532453002
Cr-Commit-Position: refs/heads/master@{#15226}
2016-11-24 13:16:51 +00:00
ehmaldonado
d8ae20b362 Modify the paths of the resource files to point to chromium/src/tools/...
R=kjellander@chromium.org
BUG=chromium:497757
NOTRY=True

Review-Url: https://codereview.webrtc.org/2528893002
Cr-Commit-Position: refs/heads/master@{#15225}
2016-11-24 12:34:10 +00:00
ehmaldonado
ed8c8ede5d Add rtc_use_memcheck flag, update MB and GN to handle it, and add gni files listing the runtime deps
When set to true, this adds the files necessary to run memcheck as data dependencies, listed in the .gni files.
This will enable us to run memcheck on swarming.

R=kjellander@chromium.org
BUG=chromium:497757
NOTRY=True

Review-Url: https://codereview.webrtc.org/2510033004
Cr-Commit-Position: refs/heads/master@{#15219}
2016-11-23 20:58:45 +00:00
kjellander
d848a5686f DEPS: Cleanup extra_gyp_flag and extra_gitignore.py
Both of these are unused legacy stuff.

BUG=webrtc:6323
NOTRY=True

Review-Url: https://codereview.webrtc.org/2520253002
Cr-Commit-Position: refs/heads/master@{#15183}
2016-11-22 10:10:09 +00:00
ehmaldonado
ab102f1632 Update gtest-parallel and introduce gtest-parallel-wrapper.
Now gtest-parallel is the same as in the github repo.
A wrapper script was created to handle the environment variables.

TBR=pbos@webrtc.org
BUG=chromium:497757
NOTRY=True

Review-Url: https://codereview.webrtc.org/2513073002
Cr-Commit-Position: refs/heads/master@{#15170}
2016-11-21 16:01:14 +00:00
ehmaldonado
b2fcf6d96f MB: Run test with gtest-parallel on swarming.
TBR=pbos@webrtc.org
BUG=chromium:497757, chromium:664425
NOTRY=True

Review-Url: https://codereview.webrtc.org/2503503002
Cr-Commit-Position: refs/heads/master@{#15093}
2016-11-15 20:20:35 +00:00
kjellander
a013a02e01 MB: Copy MB from Chromium repo
Essentially a copy of https://codereview.chromium.org/2299953002/
plus changes to WebRTC's license, changed OWNERS and additional
MB updates up to Chromium revision http://crrev.com/f1e2718a3ff.

The PRESUBMIT.py check was updated to use the existing
webrtc/build/mb_config.pyl to avoid breaking bots (that have
this path hardcoded).

This replaces the previously symlinked MB, which already
runs validation of the WebRTC configs as part of
webrtc/build/PRESUBMIT.py.

BUG=chromium:664425
NOTRY=True
TESTED=Ran:
tools/mb/mb.py gen -m client.webrtc -b 'Mac64 Release' --config-file webrtc/build/mb_config.pyl --isolate-map-file=webrtc/build/gn_isolate_map.pyl --gyp-script=webrtc/build/gyp_webrtc.py //out/Release

Review-Url: https://codereview.webrtc.org/2306163002
Cr-Commit-Position: refs/heads/master@{#15068}
2016-11-14 13:54:29 +00:00
Henrik Kjellander
bb9212a33e Add ffmpeg and zxing to webrtc/tools/video_quality_toolchain.
Usually .sha1 files are downlaoded using DEPS hooks but since this
bucket is internal we can't run it everywhere since it would fail
non-Googler checkouts. Instead we download the binaries by calling
a Python script, which will be added as a separate build step on the
buildbots.

The .sha1 files are copied from
https://cs.chromium.org/chromium/src/chrome/test/data/webrtc/resources/tools/
leaving out pesq and sox.

BUG=webrtc:6633
TESTED=Ran the download.py script on Mac and verified the files were downloaded.
R=mandermo@google.com, phoglund@webrtc.org

Review URL: https://codereview.webrtc.org/2462023002 .

Cr-Commit-Position: refs/heads/master@{#14859}
2016-10-31 21:02:36 +00:00
Henrik Kjellander
057b8d91a6 Remove all traces of Dr Memory.
The Dr Memory toolchain is no longer supported by Chromium and
their bots have been removed. WebRTC will now rely on the LLVM
santizers for catching such errors.

BUG=webrtc:6553
NOTRY=True
R=ehmaldonado@webrtc.org

Review URL: https://codereview.webrtc.org/2434563003 .

Cr-Commit-Position: refs/heads/master@{#14703}
2016-10-20 11:17:25 +00:00
kjellander
91718a1629 Roll script: Update after SVN support was dropped from depot tools
After https://codereview.chromium.org/2404413002 PyLint started
failing for our roll script. This fixes that.

BUG=webrtc:6544
TBR=phoglund@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2425923002
Cr-Commit-Position: refs/heads/master@{#14654}
2016-10-18 08:15:05 +00:00
henrik.lundin
0d8385770b NetEq: Convert AverageIAT from int to float calculations
With this change, the calculations inside AverageIAT are changed to be
in double-precision floating point instead of in fixed point. Also,
the method's name is changed to EstimatedClockDriftPpm to better
reflect what it returns.

A few unit tests had to be updated because of minor numerical
differences.

Also removing the UBSan suppression related to this issue.

BUG=webrtc:5889

Review-Url: https://codereview.webrtc.org/2408653002
Cr-Commit-Position: refs/heads/master@{#14628}
2016-10-13 10:35:58 +00:00
ivoc
52f6f2057c Disable VideoSendStreamTest.ChangingNetworkRoute and VideoSendStreamTest.EncoderSetupPropagatesVp8Config on WinDrMemoryFull.
BUG=webrtc:6472
TBR=kjellander@webrtc.org
NOTRY=true

Review-Url: https://codereview.webrtc.org/2388893003
Cr-Commit-Position: refs/heads/master@{#14504}
2016-10-04 15:36:53 +00:00
honghaiz
8b8459e31b suppress memcheck test errors in the Opus decoder and encoder.
BUG=webrtc:6444

TBR=kjellander@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2374253006
Cr-Commit-Position: refs/heads/master@{#14444}
2016-09-30 04:12:46 +00:00
henrik.lundin
591c709fcb Suppress a memcheck error in Opus decoder
BUG=webrtc:6444
TBR=kjellander@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2376103004
Cr-Commit-Position: refs/heads/master@{#14439}
2016-09-29 15:45:26 +00:00
Henrik Kjellander
0bb7f0594a Add BUG=None to autoroll CLs for chromium_revision in DEPS.
TBR=ehmaldonado@webrtc.org
BUG=None

Review URL: https://codereview.webrtc.org/2355383003 .

Cr-Commit-Position: refs/heads/master@{#14338}
2016-09-21 21:11:41 +00:00
zijiehe
8295c9326d [WebRTC] Add TwoCapturers test and TwoMagnifierCapturers test
This change is to add more test cases for ScreenCapturer implementation.

BUG=

Review-Url: https://codereview.webrtc.org/2320763003
Cr-Commit-Position: refs/heads/master@{#14218}
2016-09-14 17:22:01 +00:00
ehmaldonado
4e869e9f34 A more useful gyp_flag_compare script
NOTRY=True
BUG=webrtc:5949

Review-Url: https://codereview.webrtc.org/2320873003
Cr-Commit-Position: refs/heads/master@{#14123}
2016-09-08 10:12:24 +00:00
ehmaldonado
0b1b472c51 Enable gyp_compare_flag_script to compare all targets.
BUG=webrtc:6310
NOTRY=True

Review-Url: https://codereview.webrtc.org/2310983002
Cr-Commit-Position: refs/heads/master@{#14079}
2016-09-06 06:19:49 +00:00
Henrik Kjellander
b27c0918f2 Exclude flaky PhysicalSocketTest tests on Dr Memory bots.
Also update the referenced bug for the Memcheck exclusion.

BUG=webrtc:4958
TBR=ehmaldonado@webrtc.org

Review URL: https://codereview.webrtc.org/2315493003 .

Cr-Commit-Position: refs/heads/master@{#14078}
2016-09-06 05:38:38 +00:00
philipel
c07c8bb626 Suppress memcheck errors on linux bot.
BUG=

Review-Url: https://codereview.webrtc.org/2278183002
Cr-Commit-Position: refs/heads/master@{#13932}
2016-08-26 12:28:43 +00:00
ehmaldonado
94b9199fb1 Add a copy of gyp_flag_compare from Chromium to WebRTC's webrtc/tools.
This should help spot any differences between GN and GYP.

BUG=webrtc:5949
NOTRY=True

Review-Url: https://codereview.webrtc.org/2246203004
Cr-Commit-Position: refs/heads/master@{#13840}
2016-08-22 09:23:27 +00:00
Peter Boström
c21560b3e1 Remove pbos@webrtc.org from autoroll TBRs.
BUG=
TBR=kjellander@webrtc.org

Review URL: https://codereview.webrtc.org/2259933002 .

Cr-Commit-Position: refs/heads/master@{#13824}
2016-08-18 19:10:49 +00:00
jbauch
ed2f1ef369 Remove memcheck suppressions pointing to libnss3.so
NSS has been replaced by BoringSSL/OpenSSL on all platforms, so the memcheck
suppressions should no longer be required.

BUG=
R=kjellander@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2222243002
Cr-Commit-Position: refs/heads/master@{#13686}
2016-08-09 06:01:36 +00:00
deadbeef
d356843706 Disable EndToEndTest.GetStats on Dr. Memory Full.
BUG=webrtc:6146
TBR=kjellander@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2182333004
Cr-Commit-Position: refs/heads/master@{#13545}
2016-07-27 18:09:37 +00:00
mflodman
d4e6cbdbbe Remove suppression for non-existing test.
R=pbos@webrtc.org

Review URL: https://codereview.webrtc.org/2177473002 .

Cr-Commit-Position: refs/heads/master@{#13509}
2016-07-22 13:36:00 +00:00
Johan Ahlers
9ddac18d1c Add minimal LLVM sanity coverage (sancov) reporting for unittests.
This CL enables generating *.sancov data. Blacklist for sancov tool is
provided, too. Sancov tool for report generation needs to be build from
llvm compiler-rt sources (llvm 3.9.0 or newer).

See http://clang.llvm.org/docs/SanitizerCoverage.html .

BUG=webrtc:6136
R=phoglund@webrtc.org
TBR=kjellander@webrtc.org

Review URL: https://codereview.webrtc.org/2144273002 .

Cr-Commit-Position: refs/heads/master@{#13506}
2016-07-22 06:57:38 +00:00
stefan
a540ada1e1 Remove stefan@webrtc.org from libvpx roll notification.
TBR=kjellander@webrtc.org
NOTRY=true

Review-Url: https://codereview.webrtc.org/2159873003
Cr-Commit-Position: refs/heads/master@{#13498}
2016-07-18 18:15:59 +00:00
minyue
fd634c43e9 Reland of Re-enable UBsan on AGC.
patchset #8 id:300001 of https://codereview.webrtc.org/2003623003/

This reverts commit 4867ca2689d6576a750180b8f8e6bd9a9e23056f.

BUG=webrtc:5530
TBR=peah@webrtc.org, kjellander@webrtc.org

Review-Url: https://codereview.webrtc.org/2072033004
Cr-Commit-Position: refs/heads/master@{#13188}
2016-06-17 11:36:15 +00:00
pbos
4867ca2689 Revert of -enable UBsan on AGC. (patchset #1 id:1 of https://codereview.webrtc.org/2063643003/ )
Reason for revert:
Breaks downstream code import.

Original issue's description:
> Reland of Re-enable UBsan on AGC.
>
> patchset #8 id:300001 of https://codereview.webrtc.org/2003623003/
>
> This reverts commit 2b9423f7a18145255deb93f2505a4fd1c3fa9ad7.
>
> BUG=webrtc:5530
> TBR=peah@webrtc.org, kjellander@webrtc.org
>
> Committed: https://crrev.com/b1963b403f8e9258c35a02d2622da254cbb90c51
> Cr-Commit-Position: refs/heads/master@{#13132}

TBR=henrik.lundin@webrtc.org,minyue@webrtc.org
BUG=webrtc:5530
NOTRY=true

Review-Url: https://codereview.webrtc.org/2078433003
Cr-Commit-Position: refs/heads/master@{#13169}
2016-06-16 14:59:13 +00:00
deadbeef
14461d42bc Fixing flaky test: WebRtcSessionTest.TestPacketOptionsAndOnPacketSent
The test sent a media packet, then verified it was sent by checking the
"last packet sent"'s ID. But the last packet sent may have been
a STUN packet that came *after* the media packet.

BUG=webrtc:5978

Review-Url: https://codereview.webrtc.org/2071573002
Cr-Commit-Position: refs/heads/master@{#13156}
2016-06-15 18:07:05 +00:00
minyue
b1963b403f Reland of Re-enable UBsan on AGC.
patchset #8 id:300001 of https://codereview.webrtc.org/2003623003/

This reverts commit 2b9423f7a18145255deb93f2505a4fd1c3fa9ad7.

BUG=webrtc:5530
TBR=peah@webrtc.org, kjellander@webrtc.org

Review-Url: https://codereview.webrtc.org/2063643003
Cr-Commit-Position: refs/heads/master@{#13132}
2016-06-14 14:18:17 +00:00