Issue metadata
Sign in to add a comment
|
ProcessMemoryMetricsEmitter browser tests fail with high probability in debug |
||||||||||||||||||||||
Issue descriptionOn debug builds at ToT, FetchAndEmitMetrics and FetchThreeTimes fail with high probability. Release builds at ToT test runs pass reliably. Failures look like: ../../chrome/browser/metrics/process_memory_metrics_emitter_browsertest.cc:78: Failure Value of: count_matches Actual: false Expected: true ../../chrome/browser/metrics/process_memory_metrics_emitter_browsertest.cc:80: Failure Expected: (samples->sum()) > (0u), actual: 0 vs 0 Memory.Experimental.Browser2.Malloc ../../chrome/browser/metrics/process_memory_metrics_emitter_browsertest.cc:78: Failure Value of: count_matches Actual: false Expected: true ../../chrome/browser/metrics/process_memory_metrics_emitter_browsertest.cc:80: Failure Expected: (samples->sum()) > (0u), actual: 0 vs 0 Memory.Experimental.Browser2.Resident ../../chrome/browser/metrics/process_memory_metrics_emitter_browsertest.cc:78: Failure Value of: count_matches Actual: false Expected: true ../../chrome/browser/metrics/process_memory_metrics_emitter_browsertest.cc:80: Failure Expected: (samples->sum()) > (0u), actual: 0 vs 0 Memory.Experimental.Browser2.PrivateMemoryFootprint [ FAILED ] ProcessMemoryMetricsEmitterTest.FetchAndEmitMetrics, where TypeParam = and GetParam() = (3387 ms) [----------] 1 test from ProcessMemoryMetricsEmitterTest (3387 ms total) ../../chrome/browser/metrics/process_memory_metrics_emitter_browsertest.cc:78: Failure Value of: count_matches Actual: false Expected: true ../../chrome/browser/metrics/process_memory_metrics_emitter_browsertest.cc:78: Failure Value of: count_matches Actual: false Expected: true ../../chrome/browser/metrics/process_memory_metrics_emitter_browsertest.cc:78: Failure Value of: count_matches Actual: false Expected: true [ FAILED ] ProcessMemoryMetricsEmitterTest.FetchThreeTimes, where TypeParam = and GetParam() = (3498 ms) [----------] 1 test from ProcessMemoryMetricsEmitterTest (3498 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (3500 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] ProcessMemoryMetricsEmitterTest.FetchThreeTimes, where TypeParam = and GetParam() =
,
Jun 9 2017
The test in question doesn't appear flaky on flakiness dashboard: https://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=FetchAndEmitMetrics There are Linux swarming failures, but those appear unrelated. Furthermore, the nature of the failure [no browser malloc/resident/footprint] stats suggests that somehow, we're failing to get those stats from the browser process on Linux debug builds.
,
Jun 9 2017
,
Jun 9 2017
hmm, couldn't reproduce on my Linux box at 7e8ca79558fc6b22196c1f82766e12bba3b10f87 I set 'is_debug = true' and tried various combinations of enable_nacl = true/false is_component_build = true/false remove_webcore_debug_symbols = true/false Built with: ninja -C out/DesktopDebug browser_tests And ran: xvfb-run -s "-screen 0 1024x768x24" ./out/DesktopDebug/browser_tests --test-launcher-bot-mode --gtest_filter="ProcessMemoryMetricsEmitter*" --gtest_repeat=100
,
Jun 9 2017
The best way to debug this will be for me to take a look at jchinlee's machine sometime when we're both in the same location. Will do so next week.
,
Jun 9 2017
It looks like this got fixed in the interim at crrev.com/93876304f62aa5f7c2354c739e5ac84e61d3ea13. Can someone with more context confirm? Thanks!
,
Jun 9 2017
The CL shouldnt change anything. It adds an extra api that is not yet used. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by jchin...@chromium.org
, Jun 9 2017