New issue
Advanced search Search tips

Issue 632248 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: May 2017
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

BackoffTimer.Basic is failing on DrMemory bots

Project Member Reported by benwells@chromium.org, Jul 28 2016

Issue description

This seems to have started with this build:
https://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Unit%20%28DrMemory%20full%29%20%283%29/builds/10816

Sample failure: BackoffTimer.Basic:
c:\b\build\slave\drm-cr\build\src\remoting\host\backoff_timer_unittest.cc(38): error: The difference between 10 and mock_timer->GetCurrentDelay().InMillisecondsF() is 5.1989999999999998, which exceeds 1, where
10 evaluates to 10,
mock_timer->GetCurrentDelay().InMillisecondsF() evaluates to 4.8010000000000002, and
1 evaluates to 1.
 
BTW there was a build problem on the DrMemory bots which meant many changes went through with the only failure being 'failed to update build'. Because of that it's hard to see what change introduced the problem.

Put another way, the build given in the OP is the first one that this test failed, but is probably not the build that introduced the problem :(

Comment 3 by w...@chromium.org, Jul 28 2016

Cc: -w...@chromium.org
Status: Assigned (was: Untriaged)
Looks like the BackoffTimer is not passing a mock TickClock to the BackoffEntry, so if there is >1ms between firing our mock timer and checking the current delay then the returned delay may be too short.
Status: WontFix (was: Assigned)
AFAIK we no longer have any DrMemory bots and this test doesn't fail anywhere else.

Sign in to add a comment