New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 803155 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
hobby only
Closed: Jan 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug

Blocking:
issue 355145



Sign in to add a comment

"PasswordManagerBrowserTestBase.InternalsPage_Renderer" is flaky

Project Member Reported by chromium...@appspot.gserviceaccount.com, Jan 17 2018

Issue description

"PasswordManagerBrowserTestBase.InternalsPage_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=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyQAsSBUZsYWtlIjVQYXNzd29yZE1hbmFnZXJCcm93c2VyVGVzdEJhc2UuSW50ZXJuYWxzUGFnZV9SZW5kZXJlcgw.

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
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jan 17 2018

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

commit 1bbe7c5c0508099e2b57bb3a4f5e58eddd6dc435
Author: Stephen McGruer <smcgruer@chromium.org>
Date: Wed Jan 17 21:49:02 2018

Disable PasswordManagerBrowserTestBase.InternalsPage_Renderer on Linux ASAN

This test is flaking due to crashing when run under ASAN.

Bug:  803155 
Change-Id: I77046d7358147af7587bbc038c0d498846614622

TBR=vabr@chromium.org

Change-Id: I77046d7358147af7587bbc038c0d498846614622
Reviewed-on: https://chromium-review.googlesource.com/871591
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#529898}
[modify] https://crrev.com/1bbe7c5c0508099e2b57bb3a4f5e58eddd6dc435/chrome/browser/password_manager/password_manager_browsertest.cc

Labels: -Sheriff-Chromium
Owner: vabr@chromium.org
Status: Assigned (was: Untriaged)

Comment 3 by vabr@chromium.org, Jan 18 2018

Blocking: 355145
Labels: -Pri-1 Hotlist-TechnicalDebt OS-Linux Pri-3

Comment 4 by vabr@chromium.org, Jan 18 2018

Status: Started (was: Assigned)
This line from the log seems relevant:

[17046:17046:0117/091748.423427:ERROR:test_password_store.cc(203)] Not implemented reached in virtual std::vector<InteractionsStats> password_manager::TestPasswordStore::GetSiteStatsImpl(const GURL &)

Comment 5 by vabr@chromium.org, Jan 18 2018

Nice, the start of the "flakes" coincides with landing of my e7acbb190061307931922e4441931e7d06bf56ba which made the contract of TestPasswordStore explicit and DCHECKED.

After I verify that the test should indeed be calling GetSiteStatsImpl, then the fix is just to implement it for TestPasswordStore.
Project Member

Comment 6 by bugdroid1@chromium.org, Jan 19 2018

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

commit cdb2f9649d924f7cb4b0866ca6fbf7ea55c08b45
Author: Vaclav Brozek <vabr@chromium.org>
Date: Fri Jan 19 13:51:57 2018

Re-enable PasswordManagerBrowserTestBase.InternalsPage_Renderer.

This CL extends the implementation of TestPasswordStore to support the
needs of PasswordManagerBrowserTestBase.InternalsPage_Renderer.

After non-implemented parts of TestPasswordStore were marked with
NOTREACHED in https://crrev.com/516737, the ensuing DCHECKS highlighted
that PasswordManagerBrowserTestBase.InternalsPage_Renderer is using
some of those non-implemented parts.

Therefore this CL provides a simplistic implementations of
FillLoginsForSameOrganizationName and GetSiteStatsImpl and
re-enables PasswordManagerBrowserTestBase.InternalsPage_Renderer.

The test now passes without DCHECKS locally in ASAN build, while it was
observed to fail with a DCHECK before the fix. The flakiness is likely due to
the test often finishing successfully before the posted tasks of the
TestPasswordStore were able to hit the NOTREACHED.

Bug:  803155 
Change-Id: I2b850a7fc24d847aa852675c71a0c5fb575d60d5
Reviewed-on: https://chromium-review.googlesource.com/875942
Commit-Queue: Vaclav Brozek <vabr@chromium.org>
Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#530503}
[modify] https://crrev.com/cdb2f9649d924f7cb4b0866ca6fbf7ea55c08b45/chrome/browser/password_manager/password_manager_browsertest.cc
[modify] https://crrev.com/cdb2f9649d924f7cb4b0866ca6fbf7ea55c08b45/components/password_manager/core/browser/test_password_store.cc
[modify] https://crrev.com/cdb2f9649d924f7cb4b0866ca6fbf7ea55c08b45/components/password_manager/core/browser/test_password_store.h

Comment 7 by vabr@chromium.org, Jan 19 2018

Status: Fixed (was: Started)

Sign in to add a comment