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

Issue 38753003: Revert 229632 "Set is_test_apk=1 for content_browsertests_apk." (Closed)

Created:
7 years, 2 months ago by wjia(left Chromium)
Modified:
7 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Revert 229632 "Set is_test_apk=1 for content_browsertests_apk." This CL has caused content_browsertests to fail to run on android_fyi_dbg with the following message: (http://build.chromium.org/p/tryserver.chromium/builders/android_fyi_dbg_trigg...) I 212s Main [F00A]> am start -a android.intent.action.MAIN -S -W -n org.chromium.content_browsertests_apk/org.chromium.content_browsertests_apk.ContentBrowserTestsActivity # 10/23/13 09:22:28: No response for adb -s 014E0FAC0500F00A shell 'am start -a android.intent.action.MAIN -S -W -n org.chromium.content_browsertests_apk/org.chromium.content_browsertests_apk.ContentBrowserTestsActivity', retrying # 10/23/13 09:22:48: No response for adb -s 014E0FAC0500F00A shell 'am start -a android.intent.action.MAIN -S -W -n org.chromium.content_browsertests_apk/org.chromium.content_browsertests_apk.ContentBrowserTestsActivity', retrying # 10/23/13 09:23:08: No response for adb -s 014E0FAC0500F00A shell 'am start -a android.intent.action.MAIN -S -W -n org.chromium.content_browsertests_apk/org.chromium.content_browsertests_apk.ContentBrowserTestsActivity', retrying W 292s Main Failed obtaining tests from 014E0FAC0500F00A with exception: Traceback (most recent call last): File "build/android/test_runner.py", line 776, in <module> sys.exit(main(sys.argv)) File "build/android/test_runner.py", line 772, in main return command_option_parser.ParseAndExecute(option_parser) File "/b/build/slave/android/build/src/build/android/pylib/utils/command_option_parser.py", line 75, in ParseAndExecute return cmd.run_command_func(argv[1], options, args, option_parser) File "build/android/test_runner.py", line 692, in RunTestsCommand return _RunGTests(options, option_parser.error, devices) File "build/android/test_runner.py", line 498, in _RunGTests runner_factory, tests = gtest_setup.Setup(gtest_options, devices) File "/b/build/slave/android/build/src/build/android/pylib/gtest/setup.py", line 303, in Setup tests = _GetTestsFromDevice(TestRunnerFactory, devices) File "/b/build/slave/android/build/src/build/android/pylib/gtest/setup.py", line 216, in _GetTestsFromDevice raise Exception('No device available to get the list of tests.') Exception: No device available to get the list of tests. > Set is_test_apk=1 for content_browsertests_apk. > > Without this set, you won't get the android_tools target > built when building only content_browsertests_apk, which is needed > in order to run the test on a device. > > In WebRTC, I'm adding buildbots using that target for building and > running content_browsertests in https://codereview.chromium.org/26738003/ > > I would like to avoid having to specify a separate target in > android_all.gyp just to get this build running, and I think all targets > should build their necessary dependencies. > > TEST=local building of content_browsertests_apk + verifying the > host_forwarder was built. > BUG=305749 > > Review URL: https://codereview.chromium.org/27622005 TBR=kjellander@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230574

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1 line) Patch
M trunk/src/content/content_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
wjia(left Chromium)
7 years, 2 months ago (2013-10-24 00:41:10 UTC) #1
wjia(left Chromium)
Committed patchset #1 manually as r230574.
7 years, 2 months ago (2013-10-24 00:41:22 UTC) #2
kjellander_chromium
On 2013/10/24 00:41:22, wjia wrote: > Committed patchset #1 manually as r230574. I have a ...
7 years, 2 months ago (2013-10-24 14:29:47 UTC) #3
wjia(left Chromium)
On 2013/10/24 14:29:47, Henrik Kjellander wrote: > On 2013/10/24 00:41:22, wjia wrote: > > Committed ...
7 years, 2 months ago (2013-10-24 16:55:25 UTC) #4
kjellander_chromium
7 years, 1 month ago (2013-10-25 13:38:03 UTC) #5
Message was sent while issue was closed.
On 2013/10/24 16:55:25, wjia wrote:
> On 2013/10/24 14:29:47, Henrik Kjellander wrote:
> > On 2013/10/24 00:41:22, wjia wrote:
> > > Committed patchset #1 manually as r230574.
> > 
> > I have a hard time seeing how someting gyp/compile related could affect the
> > connectivity of a device, and as bulach@ pointed out in
> > https://codereview.chromium.org/27622005/, it seems like the error was there
> > before/after this. 
> > Could you please revert the revert?
> 
> I have tested build locally with r229631 and r229632. The latter works
> (content_browsertests can run)
> while the former doesn't. It has the same error as try bots does. It's not the
> connectivity of device.
> 
> Please also verify this on your side.

Given the analysis in https://codereview.chromium.org/27622005 performed by
others, I'm fine with reverting this.
I've created another CL to resolve the build dependencies we need for WebRTC:
https://codereview.chromium.org/43463004/
lgtm

Powered by Google App Engine
This is Rietveld 408576698