New issue
Advanced search Search tips

Issue 682286 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

AntiVirusMetricsProviderTest GetMetricsFullName is flaky on Windows 10

Project Member Reported by ma...@chromium.org, Jan 18 2017

Issue description

From https://build.chromium.org/p/chromium.win/builders/Win10%20Tests%20x64/builds/7625/steps/unit_tests%20on%20Windows-10-10586/logs/AntiVirusMetricsProviderTest.GetMetricsFullName_0


AntiVirusMetricsProviderTest.GetMetricsFullName/0 (run #1):
[ RUN      ] AntiVirusMetricsProviderTest.GetMetricsFullName/0
c:\c\win\src\chromerowser\metricsntivirus_metrics_provider_win_unittest.cc(51): error: Value of: defender_found
  Actual: false
Expected: true
c:\c\win\src\chromerowser\metricsntivirus_metrics_provider_win_unittest.cc(51): error: Value of: defender_found
  Actual: false
Expected: true
c:\c\win\srcase	est\histogram_tester.cc(155): error: Value of: actual_count
  Actual: 0
Expected: expected_count
Which is: 1
Histogram "UMA.AntiVirusMetricsProvider.Result" does not have the right number of samples (1) in the expected bucket (0). It has (0).
[  FAILED  ] AntiVirusMetricsProviderTest.GetMetricsFullName/0, where GetParam() = false (21 ms)

AntiVirusMetricsProviderTest.GetMetricsFullName/0 (run #2):
[ RUN      ] AntiVirusMetricsProviderTest.GetMetricsFullName/0
c:\c\win\src\chromerowser\metricsntivirus_metrics_provider_win_unittest.cc(51): error: Value of: defender_found
  Actual: false
Expected: true
c:\c\win\src\chromerowser\metricsntivirus_metrics_provider_win_unittest.cc(51): error: Value of: defender_found
  Actual: false
Expected: true
c:\c\win\srcase	est\histogram_tester.cc(155): error: Value of: actual_count
  Actual: 0
Expected: expected_count
Which is: 1
Histogram "UMA.AntiVirusMetricsProvider.Result" does not have the right number of samples (1) in the expected bucket (0). It has (0).
[  FAILED  ] AntiVirusMetricsProviderTest.GetMetricsFullName/0, where GetParam() = false (5 ms)

AntiVirusMetricsProviderTest.GetMetricsFullName/0 (run #3):
[ RUN      ] AntiVirusMetricsProviderTest.GetMetricsFullName/0
c:\c\win\src\chromerowser\metricsntivirus_metrics_provider_win_unittest.cc(51): error: Value of: defender_found
  Actual: false
Expected: true
c:\c\win\src\chromerowser\metricsntivirus_metrics_provider_win_unittest.cc(51): error: Value of: defender_found
  Actual: false
Expected: true
c:\c\win\srcase	est\histogram_tester.cc(155): error: Value of: actual_count
  Actual: 0
Expected: expected_count
Which is: 1
Histogram "UMA.AntiVirusMetricsProvider.Result" does not have the right number of samples (1) in the expected bucket (0). It has (0).
[  FAILED  ] AntiVirusMetricsProviderTest.GetMetricsFullName/0, where GetParam() = false (5 ms)

AntiVirusMetricsProviderTest.GetMetricsFullName/0 (run #4):
[ RUN      ] AntiVirusMetricsProviderTest.GetMetricsFullName/0
c:\c\win\src\chromerowser\metricsntivirus_metrics_provider_win_unittest.cc(51): error: Value of: defender_found
  Actual: false
Expected: true
c:\c\win\src\chromerowser\metricsntivirus_metrics_provider_win_unittest.cc(51): error: Value of: defender_found
  Actual: false
Expected: true
c:\c\win\srcase	est\histogram_tester.cc(155): error: Value of: actual_count
  Actual: 0
Expected: expected_count
Which is: 1
Histogram "UMA.AntiVirusMetricsProvider.Result" does not have the right number of samples (1) in the expected bucket (0). It has (0).
[  FAILED  ] AntiVirusMetricsProviderTest.GetMetricsFullName/0, where GetParam() = false (12 ms)
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jan 18 2017

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

commit d7c441b2bb058b69724261ade0dd36cbbe6f431f
Author: mathp <mathp@chromium.org>
Date: Wed Jan 18 16:34:34 2017

[Antivirus metrics] Disable flaky AntiVirusMetricsProviderTest.GetMetricsFullName

BUG=682286
TBR=wfh
NOTRY=true

Review-Url: https://codereview.chromium.org/2642763004
Cr-Commit-Position: refs/heads/master@{#444389}

[modify] https://crrev.com/d7c441b2bb058b69724261ade0dd36cbbe6f431f/chrome/browser/metrics/antivirus_metrics_provider_win_unittest.cc

Comment 2 by wfh@chromium.org, Jan 18 2017

Cc: mar...@chromium.org
Components: -Security
Labels: Stability OS-Windows
Summary: AntiVirusMetricsProviderTest GetMetricsFullName is flaky on Windows 10 (was: AntiVirusMetricsProviderTest GetMetricsFullName is flaky on Windows)
I'm not sure how this is possible unless Windows Defender has been removed from the system. Is there a changelog for any bot changes around that time?
Status: Assigned (was: Untriaged)

Sign in to add a comment