Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Issue 2531573003: Make Valgrind memcheck work in swarming. (Closed)

Created:
4 years ago by ehmaldonado_webrtc
Modified:
4 years ago
Reviewers:
kjellander_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

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 Committed: https://crrev.com/0fa164a22c4538b50a2c4cf62aee261fee54e404 Cr-Commit-Position: refs/heads/master@{#15244}

Patch Set 1 #

Patch Set 2 : Always include chromium's suppressions. #

Patch Set 3 : Show warning message. #

Total comments: 4

Patch Set 4 : Add supression. #

Patch Set 5 : Show warning at the top. #

Patch Set 6 : Add more suppressions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -3 lines) Patch
M tools/valgrind-webrtc/memcheck/suppressions.txt View 1 2 3 4 5 1 chunk +40 lines, -0 lines 0 comments Download
M tools/valgrind-webrtc/webrtc_tests.sh View 1 2 3 4 2 chunks +21 lines, -3 lines 0 comments Download
M webrtc/build/mb_config.pyl View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
ehmaldonado_webrtc
The idea is to add a fallback path. The only concern is how to properly ...
4 years ago (2016-11-24 15:32:27 UTC) #2
kjellander_webrtc
Adding fallback is fine, it should only be used on the bots since it's been ...
4 years ago (2016-11-24 18:58:19 UTC) #5
ehmaldonado_webrtc
Yaaaaay! It worked! https://codereview.webrtc.org/2531573003/diff/40001/tools/valgrind-webrtc/valgrind.gni File tools/valgrind-webrtc/valgrind.gni (right): https://codereview.webrtc.org/2531573003/diff/40001/tools/valgrind-webrtc/valgrind.gni#newcode24 tools/valgrind-webrtc/valgrind.gni:24: "../../tools/valgrind/gtest_exclude/ash_unittests.gtest-memcheck.txt", On 2016/11/24 18:58:19, kjellander_webrtc wrote: ...
4 years ago (2016-11-24 19:52:32 UTC) #7
kjellander_webrtc
On 2016/11/24 19:52:32, ehmaldonado_webrtc wrote: > Yaaaaay! > It worked! > > https://codereview.webrtc.org/2531573003/diff/40001/tools/valgrind-webrtc/valgrind.gni > File ...
4 years ago (2016-11-25 06:11:04 UTC) #8
kjellander_webrtc
On 2016/11/25 06:11:04, kjellander_webrtc wrote: > On 2016/11/24 19:52:32, ehmaldonado_webrtc wrote: > > Yaaaaay! > ...
4 years ago (2016-11-25 06:11:55 UTC) #9
ehmaldonado_webrtc
On 2016/11/25 06:11:55, kjellander_webrtc wrote: > On 2016/11/25 06:11:04, kjellander_webrtc wrote: > > On 2016/11/24 ...
4 years ago (2016-11-25 07:40:05 UTC) #10
kjellander_webrtc
On 2016/11/25 07:40:05, ehmaldonado_webrtc wrote: > On 2016/11/25 06:11:55, kjellander_webrtc wrote: > > On 2016/11/25 ...
4 years ago (2016-11-25 10:29:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2531573003/160001
4 years ago (2016-11-25 13:34:37 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:160001)
4 years ago (2016-11-25 13:48:55 UTC) #24
commit-bot: I haz the power
4 years ago (2016-11-25 13:49:05 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/0fa164a22c4538b50a2c4cf62aee261fee54e404
Cr-Commit-Position: refs/heads/master@{#15244}

Powered by Google App Engine
This is Rietveld 408576698