New issue
Advanced search Search tips

Issue 880915 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 10
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Add more test targets to the "Mojo Android" FYI bot

Project Member Reported by timvolod...@chromium.org, Sep 5

Issue description

Currently the "Mojo Android" FYI bots mainly runs the following two test targets:
- network_service_content_browsertests
- viz_content_browsertests

To ensure more test coverage on Android while migrating to the NetworkService, we may want to add the following targets.

As on marshamallow-arm64-rel bot [1]:
- components_browsertests
- components_unittests
- content_browsertests
- content_shell_test_apk
- net_unittests

As on e.g. Oreo Phone Tester [2]:
- chrome_public_test_apk


[1] https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/android-marshmallow-arm64-rel

[2] https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Oreo%20Phone%20Tester

 
Cc: cduvall@chromium.org jam@chromium.org
+jam@ and cduvall@: to confirm this is indeed something we may want..
Thanks Tim.

I think we also want webview_instrumentation_test_apk per your suggestion yesterday?

No need to run net_unittests and components_unittests; the network service specific codepaths only matter in integration tests.

No need to run network_service_content_browsertests on it; we should just run content_browsertests and all targets on that bot would have network service enabled.
Looks like we also have a webview specific mojo bot: https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/android-mojo-webview-rel

Do we only want the webview_instrumentation_test_apk on that one?
ah sure that sg
Components: Test>Android
Adding a component as part of the initial Chrome Android triage.  Let me know if this isn't the right one.
Owner: cduvall@chromium.org
Status: Started (was: Untriaged)
yes we definitely want webview_instrumentation_test_apk to run on the android webview bot. I filed a separate bug for this crbug.com/861740. Looks like the android_webview_unittests target is generally passing and hence probably not really interesting to add there..

also looking at a trybot run with Network Service enabled [1] it seems like some components_unittests are filing and so might still be interesting to include that as well..

[1] https://ci.chromium.org/p/chromium/builders/luci.chromium.try/android-marshmallow-arm64-rel/78789

The unittests are also failing on desktop (the desktop mojo bots don't run them), so not sure if we want to worry about those for android.
Project Member

Comment 10 by bugdroid1@chromium.org, Sep 10

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/992181fe4caa403346f5a7b497746be7549670db

commit 992181fe4caa403346f5a7b497746be7549670db
Author: Clark DuVall <cduvall@chromium.org>
Date: Mon Sep 10 19:29:09 2018

Add more tests to Android Mojo bot

Adds filter files for  chrome_public_test_apk and
webview_instrumentation_test_apk as well.

Bug:  880915 
Cq-Include-Trybots: luci.chromium.try:linux_mojo
Change-Id: I05e4fd7cf7234b0c8c2be824421765f9406d5c14
Reviewed-on: https://chromium-review.googlesource.com/1208442
Commit-Queue: Clark DuVall <cduvall@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#590022}
[modify] https://crrev.com/992181fe4caa403346f5a7b497746be7549670db/android_webview/test/BUILD.gn
[modify] https://crrev.com/992181fe4caa403346f5a7b497746be7549670db/chrome/android/BUILD.gn
[modify] https://crrev.com/992181fe4caa403346f5a7b497746be7549670db/testing/buildbot/chromium.fyi.json
[modify] https://crrev.com/992181fe4caa403346f5a7b497746be7549670db/testing/buildbot/filters/BUILD.gn
[add] https://crrev.com/992181fe4caa403346f5a7b497746be7549670db/testing/buildbot/filters/mojo.fyi.network_chrome_public_test_apk.filter
[add] https://crrev.com/992181fe4caa403346f5a7b497746be7549670db/testing/buildbot/filters/mojo.fyi.network_webview_instrumentation_test_apk.filter
[modify] https://crrev.com/992181fe4caa403346f5a7b497746be7549670db/testing/buildbot/test_suites.pyl

Status: Fixed (was: Started)
Project Member

Comment 12 by bugdroid1@chromium.org, Sep 11

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b895e8ed2f617ad83d9517b5442a9dc1b59fc5ef

commit b895e8ed2f617ad83d9517b5442a9dc1b59fc5ef
Author: Clark DuVall <cduvall@chromium.org>
Date: Tue Sep 11 18:09:13 2018

Remove viz tests from Android mojo bots

These were removed from all other Android bots in
http://crrev.com/c/1199682.

Bug:  880915 
Change-Id: I3da3ddd2651b889bb440e691ef14b2e54e055475
Reviewed-on: https://chromium-review.googlesource.com/1219968
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Clark DuVall <cduvall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#590403}
[modify] https://crrev.com/b895e8ed2f617ad83d9517b5442a9dc1b59fc5ef/testing/buildbot/chromium.fyi.json
[modify] https://crrev.com/b895e8ed2f617ad83d9517b5442a9dc1b59fc5ef/testing/buildbot/test_suites.pyl

Project Member

Comment 13 by bugdroid1@chromium.org, Dec 7

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/10692b98cca291e29f79fe8df9aae71b1ac452ff

commit 10692b98cca291e29f79fe8df9aae71b1ac452ff
Author: Clark DuVall <cduvall@chromium.org>
Date: Fri Dec 07 00:59:23 2018

Support using gtest_filter and test-launcher-filter-file together on Android

These args used to be mutually exclusive, which would cause errors when
retrying the Android network service tests (which use
--test-launcher-filter-file). This combines the filters specified in the
filter file with the gtest_filter argument.

See here for an example of a failure:
https://chromium-swarm.appspot.com/task?id=41984d0ac388e010

Bug:  880915 
Change-Id: I2fee107d13c44bd90cd9532bcabda4bb12f7e111
Reviewed-on: https://chromium-review.googlesource.com/c/1364071
Commit-Queue: Clark DuVall <cduvall@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#614509}
[modify] https://crrev.com/10692b98cca291e29f79fe8df9aae71b1ac452ff/build/android/pylib/utils/test_filter.py
[modify] https://crrev.com/10692b98cca291e29f79fe8df9aae71b1ac452ff/build/android/pylib/utils/test_filter_test.py

Sign in to add a comment