New issue
Advanced search Search tips

Issue 825470 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug
Flaky-Test: WebstoreInlineInstallerTest.ReinstallDisabledExtension



Sign in to add a comment

WebstoreInlineInstallerTest.ReinstallDisabledExtension is Flaky

Project Member Reported by Findit, Mar 24 2018

Issue description

Components: Platform>Extensions
Owner: lazyboy@chromium.org
Status: Started (was: Available)
Will take a look.
Any progress on this? Looking at the failure it is a crash, and still happening, so I'm reluctant to just disable the test.
Yes, I'm about to send CL to fix this.
I've sent out https://chromium-review.googlesource.com/c/chromium/src/+/981610 for fixing this, though the failure stack trace locally on linux I got looks a bit different than that of the bots.
Project Member

Comment 5 by bugdroid1@chromium.org, Mar 27 2018

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

commit 9ad6ced2d17b993177f60b5451f196b4856a1ad8
Author: Istiaque Ahmed <lazyboy@chromium.org>
Date: Tue Mar 27 19:39:40 2018

Fix "is cancelled" checking in ContentVerifier hash retrieval code.

We call HashHelper::Cancel on IO during extension unload. If
the extension's hash retrieval through ContentHash was ongoing at
that point, ContentHash might not see the cancellation
if it already progressed enough on non-IO thread. This CL makes
sure we check for cancellation before passing the read hash value
on IO thread.

This fixes WebstoreInstallerTest.ReinstallDisabledExtension test's
flakiness locally.

Bug:  825470 
Change-Id: Ib5b166cb14d3aee16b0cac9ae198a4141dc3563c
Reviewed-on: https://chromium-review.googlesource.com/981610
Commit-Queue: Istiaque Ahmed <lazyboy@chromium.org>
Reviewed-by: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#546207}
[modify] https://crrev.com/9ad6ced2d17b993177f60b5451f196b4856a1ad8/extensions/browser/content_verifier.cc

Status: Fixed (was: Started)

Sign in to add a comment