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

Issue 605063004: Pass lsan GYP variable to swarming's test_env so that we can disable the sandbox when it's set. (Closed)

Created:
6 years, 2 months ago by jam
Modified:
6 years, 2 months ago
Reviewers:
bbudge, M-A Ruel
CC:
chromium-reviews, darin-cc_chromium.org, klundberg+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Pass lsan GYP variable to swarming's test_env so that we can disable the sandbox when it's set. This copies the logic from tools/build/scripts/slave/runtest.py in swarming. I changed test_env.py so that it sets CHROME_DEVEL_SANDBOX to be an empty string, instead of unsetting it. The latter doesn't work as Chrome triggers checks in content/browser/browser_main_loop.cc. This is what runtest.py does. BUG=414808, 336218 Committed: https://crrev.com/92ee4a3cbd8284c6f63cf8ca3eed384ca70b939e Cr-Commit-Position: refs/heads/master@{#297330}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : review comments #

Patch Set 3 : #

Patch Set 4 : fix nacl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -11 lines) Patch
M build/android/pylib/gtest/setup.py View 1 chunk +1 line, -0 lines 0 comments Download
M build/isolate.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser_tests.isolate View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/interactive_ui_tests.isolate View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/content_browsertests.isolate View 1 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/native_client/tools/browser_tester/browser_tester.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M testing/test_env.py View 1 2 3 chunks +12 lines, -10 lines 0 comments Download

Messages

Total messages: 34 (15 generated)
jam
6 years, 2 months ago (2014-09-27 00:44:12 UTC) #4
M-A Ruel
https://codereview.chromium.org/605063004/diff/40001/chrome/browser_tests.isolate File chrome/browser_tests.isolate (right): https://codereview.chromium.org/605063004/diff/40001/chrome/browser_tests.isolate#newcode14 chrome/browser_tests.isolate:14: '../testing/test_env.py', testing/xvfb calls into test_env so it's unnecessary. Maybe ...
6 years, 2 months ago (2014-09-27 01:11:08 UTC) #5
jam
https://codereview.chromium.org/605063004/diff/40001/chrome/browser_tests.isolate File chrome/browser_tests.isolate (right): https://codereview.chromium.org/605063004/diff/40001/chrome/browser_tests.isolate#newcode14 chrome/browser_tests.isolate:14: '../testing/test_env.py', On 2014/09/27 01:11:08, M-A Ruel wrote: > testing/xvfb ...
6 years, 2 months ago (2014-09-27 18:54:52 UTC) #6
M-A Ruel
I think I would have preferred a --no-sandbox instead of --lsan=1 to signal it's without ...
6 years, 2 months ago (2014-09-27 19:02:14 UTC) #7
jam
On 2014/09/27 19:02:14, M-A Ruel wrote: > I think I would have preferred a --no-sandbox ...
6 years, 2 months ago (2014-09-27 19:10:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/605063004/60001
6 years, 2 months ago (2014-09-29 16:34:37 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/14109)
6 years, 2 months ago (2014-09-29 16:41:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/605063004/60001
6 years, 2 months ago (2014-09-29 17:14:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/605063004/100001
6 years, 2 months ago (2014-09-29 17:15:54 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/72552)
6 years, 2 months ago (2014-09-29 17:47:23 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/605063004/100001
6 years, 2 months ago (2014-09-29 20:12:44 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/20829)
6 years, 2 months ago (2014-09-29 21:37:04 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/605063004/100001
6 years, 2 months ago (2014-09-29 21:41:41 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/20866)
6 years, 2 months ago (2014-09-29 23:07:03 UTC) #27
jam
+bbudge for ppapi
6 years, 2 months ago (2014-09-29 23:30:14 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/605063004/120001
6 years, 2 months ago (2014-09-29 23:31:38 UTC) #31
bbudge
NaCl lgtm
6 years, 2 months ago (2014-09-29 23:38:22 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:120001) as b5541b743c22e7539a9a13e1803f978a7d1d535f
6 years, 2 months ago (2014-09-30 01:22:18 UTC) #33
commit-bot: I haz the power
6 years, 2 months ago (2014-09-30 01:23:14 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/92ee4a3cbd8284c6f63cf8ca3eed384ca70b939e
Cr-Commit-Position: refs/heads/master@{#297330}

Powered by Google App Engine
This is Rietveld 408576698