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

Issue 814009 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Sep 25
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

mash: LoginMetricsRecorderTest.UnlockAttempts fails

Project Member Reported by jamescook@chromium.org, Feb 21 2018

Issue description

ash_unittests --mash --gtest_filter=LoginMetricsRecorder*

[ RUN      ] LoginMetricsRecorderTest.UnlockAttempts
../../ash/metrics/login_metrics_recorder_unittest.cc:119: Failure
Mock function called more times than expected - returning directly.
    Function call: AuthenticateUser_(@0x7ffcff45b980 {id: , email: user0@domain.com, type: 0}, @0x7ffcff45b9f0 "85a4720220f6c91cf103cd2a11423c9d", @0x7ffcff45b9c0 48-byte object <00-00 00-00 00-00 00-00 20-B6 22-68 02-96 AF-FA 5C-D1 B3-D1 2D-92 E6-2D 1D-00 00-00 00-00 00-00 52-E8 4C-FB 06-00 00-00 00-00 00-00 00-00 00-00>, false, @0x7ffcff45b978 8-byte object <00-3A 4B-E2 2F-24 00-00>)
         Expected: to be called once
           Actual: called twice - over-saturated and active
../../base/test/histogram_tester.cc:171: Failure
Expected equality of these values:
  expected_count
    Which is: 1
  actual_count
    Which is: 0
Histogram "Ash.Login.Lock.AuthMethod.Used.ClamShellMode" does not have the right number of samples (1) in the expected bucket (1). It has (0).
../../ash/metrics/login_metrics_recorder_unittest.cc:145: Failure
Actual function call count doesn't match EXPECT_CALL(*client, AuthenticateUser_(primary_user, testing::_, testing::_, true, testing::_))...
         Expected: to be called once
           Actual: never called - unsatisfied and active
[  FAILED  ] LoginMetricsRecorderTest.UnlockAttempts (331 ms)

Maybe TabletModeController is returning the wrong state, so it never records clamshell mode.

 
Owner: xiaoyinh@chromium.org
Components: -Internals>MUS Internals>Services>WindowService
Components: -Internals>Services>WindowService Internals>Services>Ash
Labels: -Proj-Mustash-Mash
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".
Status: WontFix (was: Assigned)
I think this is obsolete.

Sign in to add a comment