New issue
Advanced search Search tips

Issue 689292 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

"org.chromium.android_webview.test.AwContentsClientOnRenderProcessGoneTest#testOnRenderProcessCrash" is flaky

Project Member Reported by chromium...@appspot.gserviceaccount.com, Feb 7 2017

Issue description

"org.chromium.android_webview.test.AwContentsClientOnRenderProcessGoneTest#testOnRenderProcessCrash" is flaky.

This issue was created automatically by the chromium-try-flakes app. Please find the right owner to fix the respective test/step and assign this issue to them. If the step/test is infrastructure-related, please add Infra-Troopers label and change issue status to Untriaged. When done, please remove the issue from Sheriff Bug Queue by removing the Sheriff-Chromium label.

We have detected 3 recent flakes. List of all flakes can be found at https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNybQsSBUZsYWtlImJvcmcuY2hyb21pdW0uYW5kcm9pZF93ZWJ2aWV3LnRlc3QuQXdDb250ZW50c0NsaWVudE9uUmVuZGVyUHJvY2Vzc0dvbmVUZXN0I3Rlc3RPblJlbmRlclByb2Nlc3NDcmFzaAw.

Flaky tests should be disabled within 30 minutes unless culprit CL is found and reverted. Please see more details here: https://sites.google.com/a/chromium.org/dev/developers/tree-sheriffs/sheriffing-bug-queues#triaging-auto-filed-flakiness-bugs
 
 Issue 689298  has been merged into this issue.
Labels: -Sheriff-Chromium OS-Android
Owner: michaelbai@chromium.org
Status: Available (was: Untriaged)
Project Member

Comment 3 by bugdroid1@chromium.org, Feb 8 2017

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

commit 29785ff5f0981c50c14d2df00a099be628641a9e
Author: michaelbai <michaelbai@chromium.org>
Date: Wed Feb 08 02:09:38 2017

Wait 5 times for render process crash callback

The test is flaky on some device because of timeout, wait multiple
times for callback

BUG= 689292 

Review-Url: https://codereview.chromium.org/2679303002
Cr-Commit-Position: refs/heads/master@{#448855}

[modify] https://crrev.com/29785ff5f0981c50c14d2df00a099be628641a9e/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnRenderProcessGoneTest.java

Project Member

Comment 4 by chromium...@appspot.gserviceaccount.com, Feb 9 2017

Labels: Sheriff-Chromium
Detected 5 new flakes for test/step "org.chromium.android_webview.test.AwContentsClientOnRenderProcessGoneTest#testOnRenderProcessCrash". To see the actual flakes, please visit https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNybQsSBUZsYWtlImJvcmcuY2hyb21pdW0uYW5kcm9pZF93ZWJ2aWV3LnRlc3QuQXdDb250ZW50c0NsaWVudE9uUmVuZGVyUHJvY2Vzc0dvbmVUZXN0I3Rlc3RPblJlbmRlclByb2Nlc3NDcmFzaAw. This message was posted automatically by the chromium-try-flakes app. Since flakiness is ongoing, the issue was moved back into Sheriff Bug Queue (unless already there).
Project Member

Comment 5 by chromium...@appspot.gserviceaccount.com, Feb 9 2017

Detected 9 new flakes for test/step "org.chromium.android_webview.test.AwContentsClientOnRenderProcessGoneTest#testOnRenderProcessCrash". To see the actual flakes, please visit https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNybQsSBUZsYWtlImJvcmcuY2hyb21pdW0uYW5kcm9pZF93ZWJ2aWV3LnRlc3QuQXdDb250ZW50c0NsaWVudE9uUmVuZGVyUHJvY2Vzc0dvbmVUZXN0I3Rlc3RPblJlbmRlclByb2Nlc3NDcmFzaAw. This message was posted automatically by the chromium-try-flakes app.
Looks like this is still showing up. @michaelbai: Any ideas what might be going on?
It seemed system crash dialog prevent test running, I will see if there is a way to disable the system crash dialog.

Device(07406225003b76cb) 02-10 15:24:17.299   184   184 I DEBUG   :     777dc648 78232314 f04f07db f88d0307 f04f303d
Device(07406225003b76cb) 02-10 15:24:19.299   814  1075 E NativeCrashListener: Exception dealing with report
Device(07406225003b76cb) 02-10 15:24:19.299   814  1075 E NativeCrashListener: libcore.io.ErrnoException: read failed: EAGAIN (Try again)
Device(07406225003b76cb) 02-10 15:24:19.299   814  1075 E NativeCrashListener:  at libcore.io.Posix.readBytes(Native Method)
Device(07406225003b76cb) 02-10 15:24:19.299   814  1075 E NativeCrashListener:  at libcore.io.Posix.read(Posix.java:128)
Device(07406225003b76cb) 02-10 15:24:19.299   814  1075 E NativeCrashListener:  at libcore.io.BlockGuardOs.read(BlockGuardOs.java:149)
Device(07406225003b76cb) 02-10 15:24:19.299   814  1075 E NativeCrashListener:  at com.android.server.am.NativeCrashListener.consumeNativeCrashData(Nat\
iveCrashListener.java:240)
Device(07406225003b76cb) 02-10 15:24:19.299   814  1075 E NativeCrashListener:  at com.android.server.am.NativeCrashListener.run(NativeCrashListener.ja\
va:138)
Device(07406225003b76cb) 02-10 15:24:19.820   814   906 W ProcessCpuTracker: Skipping unknown process pid 5082
Device(07406225003b76cb) 02-10 15:24:41.919   814   823 W JavaBinder: Binder has been finalized when calling linkToDeath() with recip=0x1d200005)
Device(07406225003b76cb) 02-10 15:24:41.929   814  1260 D dalvikvm: GC_FOR_ALLOC freed 1954K, 16% free 23988K/28464K, paused 34ms, total 37ms
Device(07406225003b76cb) 02-10 15:24:41.959  5000  5015 D dalvikvm: GC_EXPLICIT freed 132K, 3% free 17136K/17556K, paused 1ms+7ms, total 22ms
Device(07406225003b76cb) 02-10 15:24:41.969  5000  5015 D dalvikvm: GC_EXPLICIT freed 1K, 3% free 17134K/17556K, paused 1ms+2ms, total 14ms
Device(07406225003b76cb) 02-10 15:24:41.979  5000  5015 E TestStatusListener: Error while running testOnRenderProcessCrash(org.chromium.android_webview\
.test.AwContentsClientOnRenderProcessGoneTest)

Comment 8 by boliu@chromium.org, Feb 10 2017

oh oh, yes!

See my CLs in  crbug.com/680775 

But in the mean time, disable this test while fix is pending

Comment 10 by boliu@chromium.org, Feb 10 2017

> See my CLs in  crbug.com/680775 

Perhaps that's not very clear.. In the child process, in java, do "Process.killProcess(Process.myPid());". That should not throw up any dialog as that's a sigkill.

Suppressing the dialog in native crash (which usually doesn't generate sigkill) is more involved, and I don't recommend doing that.

Comment 11 by bsep@chromium.org, Feb 10 2017

Labels: -Sheriff-Chromium
Doesn't look like sheriff action is required.
SIGKILL is not an issue, there is another test uses SIGKILL to kill render process, it works well.

This test is for render crash which is killed by SIGSEGV, it seemed that the device wait for a debugger to attach on failed device.

Project Member

Comment 13 by chromium...@appspot.gserviceaccount.com, Feb 11 2017

Labels: Sheriff-Chromium
Detected 7 new flakes for test/step "org.chromium.android_webview.test.AwContentsClientOnRenderProcessGoneTest#testOnRenderProcessCrash". To see the actual flakes, please visit https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNybQsSBUZsYWtlImJvcmcuY2hyb21pdW0uYW5kcm9pZF93ZWJ2aWV3LnRlc3QuQXdDb250ZW50c0NsaWVudE9uUmVuZGVyUHJvY2Vzc0dvbmVUZXN0I3Rlc3RPblJlbmRlclByb2Nlc3NDcmFzaAw. This message was posted automatically by the chromium-try-flakes app. Since flakiness is ongoing, the issue was moved back into Sheriff Bug Queue (unless already there).

Comment 14 by perkj@chromium.org, Feb 15 2017

Labels: -Sheriff-Chromium
Status: Fixed (was: Available)
Labels: WebView-Disabled-Test

Sign in to add a comment