New issue
Advanced search Search tips

Issue 736263 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 736193
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

"org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingProceedThroughInterstitialForMainFrame with {--webview-sandboxed-renderer}" is flaky

Project Member Reported by chromium...@appspot.gserviceaccount.com, Jun 23 2017

Issue description

"org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingProceedThroughInterstitialForMainFrame with {--webview-sandboxed-renderer}" 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=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNymQELEgVGbGFrZSKNAW9yZy5jaHJvbWl1bS5hbmRyb2lkX3dlYnZpZXcudGVzdC5TYWZlQnJvd3NpbmdUZXN0I3Rlc3RTYWZlQnJvd3NpbmdQcm9jZWVkVGhyb3VnaEludGVyc3RpdGlhbEZvck1haW5GcmFtZSB3aXRoIHstLXdlYnZpZXctc2FuZGJveGVkLXJlbmRlcmVyfQw.

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
 
Components: Mobile>WebView Services>Safebrowsing
Labels: OS-Android
Status: Available (was: Untriaged)
org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingProceedThroughInterstitialForMainFrame with {--webview-sandboxed-renderer} (CRASHED)

The flakes are recent (within the last day).
Owner: lukasza@chromium.org
Status: Assigned (was: Available)
https://codereview.chromium.org/2928033002 touches both android_webview and safe_browsing, and landed shortly (~3h) before the first flakes appeared.

Assigning to Ɓukasz to PTAL.
assigned--> remove from sheriff queue.
Labels: -Sheriff-Chromium
It is rather painful to extract the callstack of the crash from Android bots (I've starred both  issue 657040  and  issue 631213 ), but I've managed to see the crash by

1) looking at "shard #0 isolated out" substep of the failing "webview_instrumentation_test_apk (with patch) on Android" step in https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/206358 - this is https://isolateserver.appspot.com/browse?namespace=default-gzip&hash=a36fbb27bddce27feed1039fcd95598c59676f36

2. Searching for "tombstone" and getting the following link: https://luci-logdog.appspot.com/v/?s=chromium%2Fandroid%2Fswarming%2Flogcats%2F36ec9b1697827e11%2F%2B%2Ftombstones_20170623T071749-UTC_006aaadfd9c82277


The tombstone indicates that the crash happened because of the check below:

    [FATAL:layer_tree_host_impl.cc(393)] Check failed: !pending_tree_raster_duration_timer_. 

This check corresponds to:

    void LayerTreeHostImpl::UpdateSyncTreeAfterCommitOrImplSideInvalidation() 
      ...
    
      if (!did_prepare_tiles) {
        NotifyReadyToActivate();
    
        // Ensure we get ReadyToDraw signal even when PrepareTiles not run. This
        // is important for SingleThreadProxy and impl-side painting case. For
        // STP, we commit to active tree and RequiresHighResToDraw, and set
        // Scheduler to wait for ReadyToDraw signal to avoid Checkerboard.
        if (CommitToActiveTree())
          NotifyReadyToDraw();
      } else if (!CommitToActiveTree()) {
        DCHECK(!pending_tree_raster_duration_timer_);  <--- THIS CRASHES / FAILS.
        pending_tree_raster_duration_timer_ =
            base::MakeUnique<PendingTreeRasterDurationHistogramTimer>();
      }
    }

Unfortunately, looking at the tombstone, I don't see any callstack rames corresponding to LayerTreeHostImpl::UpdateSyncTreeAfterCommitOrImplSideInvalidation :-(

FWIW, I see that the failing DCHECK was added in r481685 by khushalsagar@ on Thu Jun 22 22:02:03 2017.
Cc: lukasza@chromium.org
Owner: khushals...@chromium.org
khushalsagar@, could you PTAL?  Since r481685 is a relatively small CL, I wonder if we might want to just revert this CL and monitor the flakiness dashboard.
Mergedinto: 736193
Status: Duplicate (was: Assigned)
#5: The result_details link makes those logs a bit easier to find. For that step, it points to https://storage.cloud.google.com/chromium-result-details/html/webview_instrumentation_test_apk_android_n5x_swarming_rel_206358_2017_06_23_T07_29_44-UTC

Sign in to add a comment