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

Issue 1393203002: Android gtest runner: Use first test list result rather than merging (Closed)

Created:
5 years, 2 months ago by agrieve
Modified:
5 years, 2 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android gtest runner: Use first test list result rather than merging Minor simplification and added comment.

Patch Set 1 #

Total comments: 3

Patch Set 2 : query in parallel with comment #

Total comments: 2

Patch Set 3 : fix no tests matching filter thrown exception #

Patch Set 4 : no idea why it didn't work #

Patch Set 5 : yep, no idea #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M build/android/pylib/local/device/local_device_gtest_run.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 27 (7 generated)
agrieve
On 2015/10/08 01:48:36, agrieve wrote: > mailto:agrieve@chromium.org changed reviewers: > + mailto:jbudorick@chromium.org AFAICT, tests are ...
5 years, 2 months ago (2015-10-08 01:50:04 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1393203002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1393203002/1
5 years, 2 months ago (2015-10-08 03:00:13 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-08 04:12:44 UTC) #6
jbudorick
https://codereview.chromium.org/1393203002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py File build/android/pylib/local/device/local_device_gtest_run.py (right): https://codereview.chromium.org/1393203002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py#newcode233 build/android/pylib/local/device/local_device_gtest_run.py:233: return list_tests(self._env.devices[0]) The problem with this is handling the ...
5 years, 2 months ago (2015-10-08 14:35:41 UTC) #7
agrieve
https://codereview.chromium.org/1393203002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py File build/android/pylib/local/device/local_device_gtest_run.py (right): https://codereview.chromium.org/1393203002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py#newcode233 build/android/pylib/local/device/local_device_gtest_run.py:233: return list_tests(self._env.devices[0]) On 2015/10/08 14:35:41, jbudorick wrote: > The ...
5 years, 2 months ago (2015-10-08 15:49:29 UTC) #8
jbudorick
https://codereview.chromium.org/1393203002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py File build/android/pylib/local/device/local_device_gtest_run.py (right): https://codereview.chromium.org/1393203002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py#newcode233 build/android/pylib/local/device/local_device_gtest_run.py:233: return list_tests(self._env.devices[0]) On 2015/10/08 15:49:29, agrieve wrote: > On ...
5 years, 2 months ago (2015-10-08 15:52:46 UTC) #9
agrieve
On 2015/10/08 15:52:46, jbudorick wrote: > https://codereview.chromium.org/1393203002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py > File build/android/pylib/local/device/local_device_gtest_run.py (right): > > https://codereview.chromium.org/1393203002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py#newcode233 > ...
5 years, 2 months ago (2015-10-08 16:11:49 UTC) #10
jbudorick
On 2015/10/08 16:11:49, agrieve wrote: > On 2015/10/08 15:52:46, jbudorick wrote: > > > https://codereview.chromium.org/1393203002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py ...
5 years, 2 months ago (2015-10-08 16:12:29 UTC) #11
agrieve
On 2015/10/08 16:12:29, jbudorick wrote: > On 2015/10/08 16:11:49, agrieve wrote: > > On 2015/10/08 ...
5 years, 2 months ago (2015-10-08 17:11:02 UTC) #12
jbudorick
https://codereview.chromium.org/1393203002/diff/20001/build/android/pylib/local/device/local_device_gtest_run.py File build/android/pylib/local/device/local_device_gtest_run.py (right): https://codereview.chromium.org/1393203002/diff/20001/build/android/pylib/local/device/local_device_gtest_run.py#newcode234 build/android/pylib/local/device/local_device_gtest_run.py:234: return sorted(next(l for l in test_lists if l)) How ...
5 years, 2 months ago (2015-10-08 20:39:37 UTC) #13
agrieve
https://codereview.chromium.org/1393203002/diff/20001/build/android/pylib/local/device/local_device_gtest_run.py File build/android/pylib/local/device/local_device_gtest_run.py (right): https://codereview.chromium.org/1393203002/diff/20001/build/android/pylib/local/device/local_device_gtest_run.py#newcode234 build/android/pylib/local/device/local_device_gtest_run.py:234: return sorted(next(l for l in test_lists if l)) On ...
5 years, 2 months ago (2015-10-09 00:13:51 UTC) #14
jbudorick
almost missed the switch from "not l" to "l is not None" lgtm
5 years, 2 months ago (2015-10-09 00:32:30 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1393203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1393203002/40001
5 years, 2 months ago (2015-10-09 01:02:13 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/79881)
5 years, 2 months ago (2015-10-09 03:35:12 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1393203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1393203002/40001
5 years, 2 months ago (2015-10-09 14:37:09 UTC) #21
jbudorick
On 2015/10/09 03:35:12, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 2 months ago (2015-10-09 16:15:55 UTC) #22
agrieve
On 2015/10/09 16:15:55, jbudorick wrote: > On 2015/10/09 03:35:12, commit-bot: I haz the power wrote: ...
5 years, 2 months ago (2015-10-09 17:14:40 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/80091)
5 years, 2 months ago (2015-10-09 17:52:26 UTC) #25
agrieve
On 2015/10/09 17:52:26, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 2 months ago (2015-10-09 20:05:57 UTC) #26
jbudorick
5 years, 2 months ago (2015-10-09 20:57:31 UTC) #27
Message was sent while issue was closed.
On 2015/10/09 20:05:57, agrieve wrote:
> On 2015/10/09 17:52:26, commit-bot: I haz the power wrote:
> > Try jobs failed on following builders:
> >   linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED,
> >
>
http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_r...)
> 
> Abandoning. Only theory I have is that if all devices fail, the new way would
> throw and the old way would return an empty test list. That said, looking at
> other runs it seems to be working fine. Not going to waste any more time on
it.

k. I'm seeing this issue elsewhere as well, so I'll be separately investigating.

Powered by Google App Engine
This is Rietveld 408576698