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

Issue 916883 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 20
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug
Flaky-Test: SingleClientCustomPassphraseSyncTest.CommitsEncryptedDataUsingPbkdf2WhenScryptDisabled

Blocked on:
issue 916943



Sign in to add a comment

SingleClientCustomPassphraseSyncTest.CommitsEncryptedDataUsingPbkdf2WhenScryptDisabled is flaky

Project Member Reported by Findit, Dec 20

Issue description

Components: Tests>Flaky Services>Sync
Status: Started (was: Untriaged)
Blockedon: 916943
From logs:
[4952:4952:1219/142059.933515:FATAL:model_type_controller.cc(142)] Check failed: MODEL_STARTING == state_ (1 vs. 6)
Labels: -Sheriff-Chromium
Project Member

Comment 6 by bugdroid1@chromium.org, Dec 20

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

commit 94c345a1ee2dd5e81d777debf57e134ff7ad74bc
Author: Mikel Astiz <mastiz@chromium.org>
Date: Thu Dec 20 13:22:00 2018

Fix CHECK failure if datatype stopped while starting

The problematic codepath is when a controller subclass calls
ReportModelError() to disable the datatype, usually because of a
datatype policy reason (e.g. custom passphrase was enabled and the
datatype should be disabled). At this point, the datatype must be
precisely loading (MODEL_STARTING) for the crash to repro, which is
very unlikely but gets surfaced by integration tests.

Bug:  916943 , 916883 , 916886 , 916884 , 916881 
Change-Id: I5cdfed50bd28aafc1bd7e5bbbe8d851e0e0100e1
Reviewed-on: https://chromium-review.googlesource.com/c/1386424
Commit-Queue: Mikel Astiz <mastiz@chromium.org>
Reviewed-by: Florian Uunk <feuunk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#618193}
[modify] https://crrev.com/94c345a1ee2dd5e81d777debf57e134ff7ad74bc/components/sync/driver/model_type_controller.cc
[modify] https://crrev.com/94c345a1ee2dd5e81d777debf57e134ff7ad74bc/components/sync/driver/model_type_controller.h
[modify] https://crrev.com/94c345a1ee2dd5e81d777debf57e134ff7ad74bc/components/sync/driver/model_type_controller_unittest.cc

Status: Fixed (was: Started)
Test remains flaky on tsan (https://bugs.chromium.org/p/chromium/issues/detail?id=915219), but the recent broader regression seems fixed.

Sign in to add a comment